/* ==========================================
   Tanggo Landing Page - Styles
   Brand Color: #FF6600 (Orange)
   ========================================== */

/* CSS Variables */
:root {
    --color-primary: #FF6600;
    --color-primary-dark: #E55A00;
    --color-primary-light: #FF8533;
    --color-secondary: #1a1a2e;
    --color-dark: #0f0f1a;
    --color-light: #ffffff;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    --color-success: #28a745;
    --color-danger: #dc3545;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(255, 102, 0, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-light);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.btn-secondary {
    background: var(--color-light);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-gray-700);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-ctas {
    display: flex;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-800);
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1a 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 102, 0, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-light);
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-400);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.phone-mockup {
    width: 320px;
    background: linear-gradient(180deg, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0f0f1a;
    border-radius: 12px;
}

.phone-screen {
    background: linear-gradient(180deg, #128C7E 0%, #075E54 100%);
    border-radius: 28px;
    padding: 60px 16px 24px;
    min-height: 500px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    max-width: 85%;
    animation: messageIn 0.5s ease-out backwards;
}

.chat-bubble:nth-child(1) { animation-delay: 0.5s; }
.chat-bubble:nth-child(2) { animation-delay: 1s; }
.chat-bubble:nth-child(3) { animation-delay: 1.5s; }

.chat-user {
    background: #DCF8C6;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-tanggo {
    background: var(--color-light);
    border-bottom-left-radius: 4px;
}

.chat-bubble p {
    font-size: 14px;
    color: var(--color-gray-800);
    line-height: 1.4;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--color-light);
}

.section-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

.section-gradient {
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-light) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}

.text-white {
    color: var(--color-light) !important;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.text-light {
    color: var(--color-gray-400) !important;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--color-light);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 102, 0, 0.05) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.benefit-text {
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Driver Highlight */
.driver-highlight {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 48px 80px;
    text-align: center;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
}

.highlight-percent {
    display: block;
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--color-light);
    line-height: 1;
}

.highlight-label {
    display: block;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

/* Comparison Section */
.comparison-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.comparison-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform var(--transition-base);
}

.comparison-card:hover {
    transform: translateY(-4px);
}

.comparison-others {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-tanggo {
    background: rgba(255, 102, 0, 0.1);
    border: 2px solid var(--color-primary);
}

.comparison-header {
    text-align: center;
    margin-bottom: 24px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-header h4 {
    color: var(--color-gray-400);
    font-size: 1.25rem;
}

.comparison-logo {
    height: 36px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.comparison-list li.negative {
    color: var(--color-gray-400);
}

.comparison-list li.negative svg {
    color: var(--color-danger);
    flex-shrink: 0;
}

.comparison-list li.positive {
    color: var(--color-light);
}

.comparison-list li.positive svg {
    color: var(--color-success);
    flex-shrink: 0;
}

/* Investment Box */
.investment-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.investment-content h3 {
    color: var(--color-primary-light);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.investment-content p {
    color: var(--color-gray-300);
    font-size: 1.1rem;
    line-height: 1.7;
}

.investment-content strong {
    color: var(--color-primary);
}

/* Steps Section */
.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: start;
}

.steps-divider {
    width: 1px;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(180deg, transparent 0%, var(--color-gray-300) 20%, var(--color-gray-300) 80%, transparent 100%);
}

.steps-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-light);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.step-content p {
    color: var(--color-gray-600);
    font-size: 15px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-light);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gray-800);
    text-align: left;
}

.faq-icon {
    color: var(--color-primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* CTA Final Section */
.section-cta-final {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 80px 0;
}

.cta-final-content {
    text-align: center;
}

.cta-final-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-light);
    margin-bottom: 16px;
}

.cta-final-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-final-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-final-buttons .btn-primary {
    background: var(--color-light);
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.cta-final-buttons .btn-primary:hover {
    background: var(--color-gray-100);
}

.cta-final-buttons .btn-secondary {
    background: transparent;
    color: var(--color-light);
    border-color: var(--color-light);
}

.cta-final-buttons .btn-secondary:hover {
    background: var(--color-light);
    color: var(--color-primary);
}

/* Footer */
.footer {
    background: var(--color-dark);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--color-gray-500);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--color-light);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-gray-600);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .phone-mockup {
        width: 280px;
    }
    
    .phone-screen {
        min-height: 400px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-ctas {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links.active,
    .nav-ctas.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-light);
        padding: 24px;
        box-shadow: var(--shadow-lg);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-section {
        grid-template-columns: 1fr;
    }
    
    .highlight-box {
        padding: 32px 48px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .cta-final-buttons {
        flex-direction: column;
    }
    
    .cta-final-buttons .btn {
        width: 100%;
    }
}
