/* ============================================
   Fonts
   ============================================ */
@font-face {
    font-family: 'RF Dewi Expanded';
    src: url('../assets/fonts/RFDewiExpanded-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.text-bolder {
    font-weight: 900;
    -webkit-text-stroke: 0.5px currentColor;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-purple: #4D21FF;
    --primary-purple-light: #2159FF1A;
    --dark-text: #1a1a1a;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'San Francisco', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    /* scroll-behavior handled via JS for cross-page navigation compatibility */
}

body {
    font-family: var(--font-family);
    background-color: #F7F8FC;
    color: var(--dark-text);
    min-height: 100vh;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* iOS-style edge-fading blur: strong at top, fades to clear at bottom */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -32px;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 0;
}

.header > .container { position: relative; z-index: 1; }

.header--hidden {
    transform: translateY(calc(-100% - 32px));
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

/* Navigation Container - flat */
.nav-container {
    position: relative;
}

/* Glass slider removed — keep selector to avoid runtime errors elsewhere */
.glass-slider { display: none; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 16px;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Active Link Style */
.nav-link.active {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Hover Effect */
.nav-link:hover {
    color: var(--primary-purple);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 6px 12px;
    }
    
    .nav-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: relative;
        justify-content: space-between;
    }
    
    .nav-container {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container.mobile-open {
        display: block;
        position: absolute;
        top: calc(100% + 16px);
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        background: white;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    
    .nav-container.mobile-open .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 8px;
    }
    
    .nav-container.mobile-open .nav-link {
        width: 100%;
        padding: 12px 16px;
        text-align: left;
        border-radius: 8px;
    }
    
    .nav-container.mobile-open .glass-slider {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .mobile-menu-toggle span {
        width: 18px;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px 80px;
    background-image:
        linear-gradient(to top right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.5) 55%, transparent 100%),
        url('../assets/images/hero-dubai.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero .container {
    max-width: 1400px;
    margin-left: 0;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Hero map markers — drigo-mobile style price pills on hero image */
.hero-markers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    pointer-events: none;
    opacity: 0;
    animation: heroMarkerIn 0.5s ease forwards;
}
@keyframes heroMarkerIn {
    from { opacity: 0; transform: translate(-50%, calc(-100% + 6px)); }
    to   { opacity: 1; transform: translate(-50%, -100%); }
}
.hero-marker-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 7px 11px 8px;
    box-shadow: 0 8px 22px -8px rgba(31, 21, 80, 0.28), 0 1px 2px rgba(0, 0, 0, 0.05);
    line-height: 1.15;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    white-space: nowrap;
}
.hero-marker-brand {
    font-size: 10px;
    font-weight: 500;
    color: #7a7a85;
    letter-spacing: 0.1px;
    margin-bottom: 3px;
}
.hero-marker-price {
    font-size: 13px;
    color: #0a0a0a;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}
.hero-marker-price .now { font-weight: 700; }
.hero-marker-price .cur { font-weight: 600; font-size: 11px; color: #1a1a1a; }
.hero-marker-price .per { font-weight: 500; font-size: 10px; color: #9a9aa3; }
.hero-marker-price .orig {
    font-size: 11px;
    color: #b0b0bb;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    font-weight: 500;
    margin-right: 2px;
}
.hero-marker-arrow {
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #ffffff;
    filter: drop-shadow(0 2px 1px rgba(31, 21, 80, 0.08));
    margin-top: -1px;
}
.hero-marker-car {
    width: 36px;
    height: auto;
    margin-top: 2px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.18));
}
/* Perspective tiers — far markers smaller (no blur) */
.hero-marker.tier-far    { transform: translate(-50%, -100%) scale(0.72); }
.hero-marker.tier-mid    { transform: translate(-50%, -100%) scale(0.86); }
.hero-marker.tier-far    .hero-marker-brand,
.hero-marker.tier-far    .hero-marker-price .per { opacity: 0.9; }

/* Hide markers on small screens — they'd overlap the hero text */
@media (max-width: 900px) {
    .hero-markers { display: none; }
}

/* Download App Button */
.btn-download {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-download:hover {
    background: #3d1ae6;
    transform: translateY(-1px);
}

.hero-tagline {
    font-family: 'Inter', var(--font-family);
    font-size: 16px;
    font-weight: 500;
    color: #4D21FF;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 72px;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.1;
    margin-bottom: 40px;
}

.btn-hero {
    padding: 18px 36px;
    font-size: 16px;
}

.hero-download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-download-buttons .app-download-btn {
    background: rgba(79, 127, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Responsive Hero */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
        padding-left: var(--spacing-md);
    }
    
    .hero .container {
        padding-left: 0;
        padding-right: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 24px;
    }
    
    .hero-tagline {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .btn-hero {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 30px;
        padding-left: var(--spacing-sm);
    }
    
    .hero .container {
        padding-right: var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .hero-tagline {
        font-size: 11px;
    }
    
    .btn-hero {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* ============================================
   Statistics Section
   ============================================ */
.statistics {
    padding: 80px 0;
    background-color: #F7F8FC;
}

.stats-container {
    background: white;
    border-radius: 24px;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    position: relative;
    gap: 10px;

}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #e0e0e0;
}

.stat-number {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1;
}

.stat-text {
    text-align: left;
}

.stat-line {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    line-height: 1.4;
}

/* Responsive Statistics */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        padding: 40px 20px;
    }

    .stat-number {
        font-size: 32px;
    }
    
    .stat-card:nth-child(2)::after {
        display: none;
    }
    
    .stat-card:nth-child(odd):not(:last-child):not(:nth-last-child(2))::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background-color: #e0e0e0;
    }
}

@media (max-width: 768px) {
    .statistics {
        padding: 60px 0;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 0;
    }
    
    .stat-card::after {
        display: none !important;
    }
    
    .stat-card {
        padding: 30px 20px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .stat-card:last-child {
        border-bottom: none;
    }
    
    .stat-number {
        font-size: 48px;
    }
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 100px 0;
    background-color: #F7F8FC;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tagline {
    font-family: 'Inter', var(--font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 56px;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.steps-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
}

.steps-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step-card {
    background: white;
    border-radius: 24px;
    padding: 40px 40px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.step-card-large {
    height: 100%;
    min-height: 0;
}

.step-header {
    text-align: center;
    margin-bottom: 16px;
}

.step-number {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
    display: block;
    margin-bottom: 8px;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
    text-align: center;
}

.step-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: center;
}

.step-image {
    width: 100%;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    margin-top: auto;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 0;
}

.step-image-dual {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: center;
    flex: 1;
    min-height: 0;
}

.step-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px 16px 0 0;
    object-fit: contain;
    max-height: 100%;
}

.step-image-dual .step-img {
    flex: 1;
    max-width: 50%;
    max-height: 100%;
}

/* Step 3 image should be larger */
.step-card-large .step-image {
    flex: 1.5;
}

.step-card-large .step-img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
}

/* Responsive How It Works */
@media (max-width: 1200px) {
    .section-title {
        font-size: 42px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-card-large {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 0;
    }
    
    .how-it-works-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .step-card {
        padding: 24px 24px 0;
    }
    
    .step-title {
        font-size: 24px;
    }
    
    .step-number {
        font-size: 20px;
    }
    
    .step-image-dual {
        flex-direction: row;
        gap: 8px;
    }
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-choose-us {
    padding: 100px 0;
    background-color: #F7F8FC;
}

.why-choose-us-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 80px;
}

.why-choose-us-left {
    display: flex;
    flex-direction: column;
}

.why-choose-us-right {
    display: flex;
    align-items: flex-end;
}

.why-choose-us-description {
    font-family: 'Inter', var(--font-family);
    font-size: 16px;
    font-weight: 400;
    color: var(--dark-text);
    line-height: 1.8;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.advantage-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-icon {
    margin-bottom: 24px;
}

.advantage-icon img {
    display: block;
    width: 60px;
}

.advantage-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.advantage-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* Responsive Why Choose Us */
@media (max-width: 1200px) {
    .why-choose-us-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0;
    }
    
    .why-choose-us-header {
        margin-bottom: 40px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        padding: 32px 24px;
    }
}

/* ============================================
   Partner With Us Section
   ============================================ */
.partner {
    padding: 100px 0;
    background-color: #F7F8FC;
}

.partner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.partner-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.partner-description {
    font-size: 16px;
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 8px;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: fit-content;
}

.btn-primary:hover {
    background: #3d1ae6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 33, 255, 0.3);
}

.partner-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-image {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* Responsive Partner */
@media (max-width: 1200px) {
    .partner-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .partner-right {
        order: -1;
    }
    
    .partner-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .partner {
        padding: 60px 0;
    }
    
    .partner-content {
        gap: 40px;
    }
    
    .partner-left {
        gap: 20px;
    }
    
    .partner-description {
        font-size: 15px;
    }
    
    .partner-image {
        max-width: 100%;
    }
}

/* ============================================
   Available Cars Section
   ============================================ */
.available-cars {
    padding: 100px 0;
    background-color: #F7F8FC;
}

.available-cars-header {
    text-align: center;
    margin-bottom: 60px;
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.car-card {
    background: white;
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.car-name {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 14px;
}

.car-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.car-tag {
    background: transparent;
    color: var(--dark-text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 24px;
    border: 1.5px solid #E0E0E0;
}

.car-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    overflow: hidden;
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.car-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.car-detail-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
    border: 1.5px solid #E8E8E8;
    border-radius: 20px;
}

.car-detail-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.car-detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

.car-detail-value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
}

.car-price {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.car-price-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
}

.car-price-value {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
}

/* Responsive Available Cars */
@media (max-width: 1200px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .available-cars {
        padding: 60px 0;
    }
    
    .available-cars-header {
        margin-bottom: 40px;
    }
    
    .cars-grid {
        display: flex;
        flex-direction: row;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .cars-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .cars-grid::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 2px;
    }
    
    .cars-grid::-webkit-scrollbar-thumb {
        background: var(--primary-purple);
        border-radius: 2px;
    }
    
    .car-card {
        flex: 0 0 280px;
        min-width: 280px;
        padding: 20px;
        scroll-snap-align: start;
    }

    .car-name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .car-tags {
        margin-bottom: 16px;
        gap: 6px;
    }

    .car-tag {
        font-size: 12px;
        padding: 6px 14px;
    }

    .car-image {
        height: 150px;
        margin-bottom: 20px;
    }

    .car-details {
        gap: 8px;
        margin-bottom: 20px;
    }

    .car-detail-box {
        padding: 14px;
    }

    .car-detail-icon {
        width: 26px;
        height: 26px;
    }

    .car-detail-label {
        font-size: 12px;
    }

    .car-detail-value {
        font-size: 14px;
    }

    .car-price {
        padding-top: 16px;
    }

    .car-price-value {
        font-size: 16px;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: 100px 0;
    background-color: #F7F8FC;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    cursor: pointer;
    transition: var(--transition);
    text-transform: lowercase;
}

.filter-btn:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.filter-btn.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    margin-bottom: 0;
    overflow: hidden;
    border-bottom: 1.5px solid rgba(77, 33, 255, 0.15);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.active {
    background: rgba(77, 33, 255, 0.06);
    border-bottom: none;
    border-radius: 24px;
}

.faq-question {
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(77, 33, 255, 0.02);
}

.faq-item.active .faq-question {
    background: transparent;
    padding-bottom: 16px;
}

.faq-question h3 {
    font-family: 'Inter', var(--font-family);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    flex: 1;
    margin: 0;
}

.faq-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(77, 33, 255, 0.1);
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 16px;
    flex-shrink: 0;
}

.faq-icon svg {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    background: rgba(77, 33, 255, 0.15);
}

.faq-item.active .faq-icon svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    position: relative;
    margin-left: 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 28px 0;
}

.faq-answer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 28px;
    width: 3px;
    border-radius: 2px;
    background: var(--primary-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-answer::before {
    opacity: 1;
}

.faq-answer p {
    font-family: 'Inter', var(--font-family);
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding-left: 20px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq-header {
        margin-bottom: 32px;
    }
    
    .faq-filters {
        margin-bottom: 32px;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .faq-question {
        padding: 22px 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-icon {
        width: 38px;
        height: 38px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 22px 0;
    }

    .faq-answer {
        margin-left: 20px;
    }

    .faq-answer p {
        padding-left: 16px;
        font-size: 14px;
    }
}

/* ============================================
   Call to Action Section
   ============================================ */
.cta {
    padding: 100px 0;
    background-color: #F7F8FC;
}

.cta-card {
    background: linear-gradient(135deg, rgba(77, 33, 255, 0.08) 0%, rgba(77, 33, 255, 0.05) 100%);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cta-headline {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 28px;
    font-weight: 500;
    color: #666;
    margin-bottom: 12px;
}

.cta-title {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    padding: 18px 48px;
    font-size: 18px;
}

/* Responsive CTA */
@media (max-width: 768px) {
    .cta {
        padding: 60px 0;
    }
    
    .cta-card {
        padding: 60px 40px;
    }
    
    .cta-title {
        font-size: 42px;
    }
    
    .cta-headline {
        font-size: 18px;
    }
    
    .cta-description {
        font-size: 15px;
    }
    
    .btn-cta {
        padding: 16px 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cta-card {
        padding: 40px 24px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-headline {
        font-size: 16px;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background-color: #F7F8FC;
    border-top: 1px solid #e0e0e0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #e0e0e0;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-slogan-light {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 4px;
}

.footer-slogan-bold {
    font-family: 'RF Dewi Expanded', var(--font-family);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social-title {
    font-family: 'Inter', var(--font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-end;
}

.app-download-btn {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    padding: 14px 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.app-download-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.75);
}

.app-download-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-purple);
    flex-shrink: 0;
}

.app-download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-download-label {
    font-family: 'Poppins', var(--font-family);
    font-size: 10px;
    font-weight: 500;
    color: #4D21FFE5;
    line-height: 1.2;
    letter-spacing: 1.5px;
}

.app-download-name {
    font-family: 'Poppins', var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-purple);
    line-height: 1.2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-purple);
}

.footer-link-separator {
    font-size: 14px;
    color: #666;
}

/* Responsive Footer */
@media (max-width: 1200px) and (min-width: 769px) {
    /* Tablet Layout - Centered */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
        text-align: center;
    }
    
    .footer-center {
        align-items: center;
    }
    
    .footer-right {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
        padding-bottom: 40px;
        text-align: center;
    }

    .footer-left {
        align-items: center;
        order: 0;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
        order: 1;
    }

    .footer-center {
        align-items: center;
        order: 2;
    }

    .app-download-btn {
        width: auto;
        min-width: 280px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-link-separator {
        display: none;
    }
}

/* ============================================
   Privacy Page
   ============================================ */
.privacy-page {
    padding: 120px 0 80px;
    background-color: #F7F8FC;
    min-height: 100vh;
}

.privacy-content {
    max-width: 1320px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    text-align: center;
}

.privacy-updated {
    font-size: 14px;
    color: #666;
    margin-bottom: 48px;
}

.privacy-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.privacy-main {
    flex: 1;
    min-width: 0;
    max-width: 900px;
}

.privacy-toc {
    position: sticky;
    top: 140px;
    margin-top: 60px;
    width: 240px;
    flex-shrink: 0;
    background: transparent;
    border-left: 3px solid var(--primary-purple);
    border-radius: 0;
    padding: 0 0 0 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    order: 2;
}

.privacy-toc h2 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.privacy-toc ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 14px;
}

.privacy-toc ol li {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.4;
}

.privacy-toc ol li a,
.privacy-toc p a {
    color: #666;
    text-decoration: none;
    transition: var(--transition-fast);
    display: block;
    padding: 5px 0;
}

.privacy-toc ol li a:hover,
.privacy-toc p a:hover {
    color: var(--primary-purple);
    text-decoration: none;
}

.privacy-toc p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 4px;
}

.privacy-toc p a {
    color: var(--primary-purple);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .privacy-layout {
        flex-direction: column;
    }

    .privacy-toc {
        position: static;
        width: 100%;
        order: 0;
        max-height: none;
        margin-bottom: 32px;
    }
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.privacy-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.privacy-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.privacy-content .privacy-list {
    margin: 1em 0;
    padding-left: 1.5em;
}
.privacy-content .privacy-list li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.privacy-table thead th {
    background-color: #1a1a2e;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 14px 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.privacy-table tbody td {
    padding: 12px 18px;
    color: #444;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}
.privacy-table tbody tr:last-child td {
    border-bottom: none;
}
.privacy-table tbody tr:nth-child(even) {
    background-color: #f8f9fc;
}
.privacy-table tbody tr:hover {
    background-color: #f0f1f5;
}

.privacy-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 32px 0;
}

@media (max-width: 768px) {
    .privacy-page {
        padding: 100px 0 60px;
    }
    
    .privacy-title {
        font-size: 32px;
    }
    
    .privacy-section h2 {
        font-size: 20px;
    }
    
    .privacy-section p {
        font-size: 15px;
    }

    .privacy-table {
        font-size: 13px;
    }
    .privacy-table thead th {
        padding: 10px 12px;
        font-size: 12px;
    }
    .privacy-table tbody td {
        padding: 10px 12px;
    }
}
