/* Tambahkan di dalam tag <style> */
.float-review { 
    background: #F59E0B; /* Warna Kuning/Emas */
    color: white;
    margin-bottom: 10px; /* Jarak dengan tombol bawahnya */
} 
.float-review:hover { 
    background: #d97706; 
    transform: scale(1.1); 
}
    /* --- CSS SETUP & VARIABLES --- */
    :root {
        --primary: #0F172A; --secondary: #334155; --accent: #D4AF37; --accent-hover: #b08d4a; 
        --light: #F1F5F9; --white: #ffffff; --shadow: 0 15px 35px -5px rgba(0,0,0,0.1); --shadow-hover: 0 25px 50px -12px rgba(0,0,0,0.25);
        --header-height: 90px;
        --wa-color: #25D366; --direct-color: #0ea5e9;
        --success: #10B981; --error: #EF4444; --warning: #F59E0B;
        --transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    }

    /* AUTOMATIC TIME-BASED DARK MODE */
    html.dark-mode {
        --primary: #F8FAFC;
        --secondary: #CBD5E1;
        --accent: #FDE047;
        --accent-hover: #D4AF37;
        --light: #0B1120;
        --white: #172033;
        --shadow: 0 15px 35px -5px rgba(0,0,0,0.5);
        --shadow-hover: 0 25px 50px -12px rgba(0,0,0,0.7);
    }

    html.dark-mode .testimonial-card, html.dark-mode .contact-card { border: 1px solid rgba(255,255,255,0.1); }
    html.dark-mode input, html.dark-mode textarea, html.dark-mode select { background-color: var(--white) !important; color: #FFFFFF !important; border-color: rgba(255,255,255,0.1) !important; }
    html.dark-mode .lang-select { background-color: var(--white); color: #FFFFFF; border-color: rgba(255,255,255,0.1); }
    html.dark-mode .modal-content { border: 1px solid rgba(255, 255, 255, 0.1); background-color: var(--white); }
    html.dark-mode #mainHeader.scrolled { background: rgba(23, 32, 51, 0.95); border-bottom: 1px solid rgba(255,255,255,0.1); }

    /* DARK MODE: Tombol outline selalu terbaca */
    html.dark-mode .btn-outline-dark { border-color: #ffffff !important; color: #ffffff !important; background: transparent !important; }
    html.dark-mode .btn-outline-dark:hover { background: #ffffff !important; color: #0B1120 !important; }
    html.dark-mode .btn-outline { border-color: #ffffff !important; color: #ffffff !important; background: rgba(255,255,255,0.05) !important; }
    html.dark-mode .btn-outline:hover { background: #ffffff !important; color: #0B1120 !important; }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 90px; }

    /* BACKGROUND ORBS */
    .bg-orbs { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; z-index: -1; pointer-events: none; }
    .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: floatOrb 20s infinite ease-in-out alternate; }
    .orb-1 {
        width: 400px; height: 400px;
        background: rgba(212, 175, 55, 0.15);
        top: 10%; left: -10%;
        animation-delay: 0s;
    }
    .orb-2 {
        width: 300px; height: 300px;
        background: rgba(14, 165, 233, 0.1); /* Blue */
        bottom: 20%; right: -5%;
        animation-delay: -5s;
    }
    .orb-3 {
        width: 250px; height: 250px;
        background: rgba(16, 185, 129, 0.1); /* Green */
        top: 40%; left: 50%;
        transform: translateX(-50%);
        animation-delay: -10s;
    }

    @keyframes floatOrb {
        0% { transform: translate(0, 0) rotate(0deg) scale(1); }
        33% { transform: translate(30px, -50px) rotate(10deg) scale(1.1); }
        66% { transform: translate(-20px, 20px) rotate(-5deg) scale(0.9); }
        100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    }

    /* --- GLOBAL BODY STYLES & ANTI-SELECT --- */
    body { 
        font-family: 'Plus Jakarta Sans', sans-serif; 
        color: var(--secondary); 
        background-color: var(--light); 
        line-height: 1.7; 
        overflow-x: hidden; 
        
        /* Mencegah teks diblok/copy */
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }
    
    /* 4K Cinematic Noise Filter */
    body::before {
        content: '';
        position: fixed;
        top: 0; left: 0; width: 100vw; height: 100vh;
        pointer-events: none;
        z-index: 99999;
        opacity: 0.04;
        background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    }

    /* Pengecualian agar user tetap bisa mengetik di form */
    input, textarea {
        -webkit-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    /* Mencegah gambar di-drag/disave sembarangan */
    img { 
        max-width: 100%; 
        display: block; 
        height: auto; 
        -webkit-user-drag: none;
        user-drag: none;
        pointer-events: none; 
    }

    h1 { font-family: 'Playfair Display', serif; color: var(--primary); line-height: 1.2; font-size: clamp(2.5rem, 5vw, 3.5rem); }
    h2 { font-family: 'Playfair Display', serif; color: var(--primary); line-height: 1.2; font-size: clamp(2rem, 4vw, 2.5rem); }
    h3 { font-family: 'Playfair Display', serif; color: var(--primary); line-height: 1.2; }
    a { text-decoration: none; color: inherit; transition: 0.3s; }
    ul { list-style: none; }
    .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }

    /* --- BUTTONS --- */
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: var(--white); font-weight: 600; border-radius: 14px; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.5), inset 0 2px 3px rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.1); cursor: pointer; font-size: 0.95rem; text-align: center; white-space: nowrap; position: relative; overflow: hidden; transform-style: preserve-3d; }
    .btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
    .btn:hover::after { left: 150%; }
    .btn:hover { transform: translateY(-4px) translateZ(10px); box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.4), inset 0 2px 3px rgba(255,255,255,0.6); }
    .btn:active { transform: translateY(2px) translateZ(0); box-shadow: 0 5px 10px -5px rgba(212, 175, 55, 0.5), inset 0 -2px 3px rgba(0,0,0,0.1); }
    .btn-wa { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4), inset 0 2px 3px rgba(255,255,255,0.4); } 
    .btn-wa:hover { box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6), inset 0 2px 3px rgba(255,255,255,0.6); }
    .btn-web { background: linear-gradient(135deg, var(--primary), #1e293b); box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4), inset 0 2px 3px rgba(255,255,255,0.2); } 
    .btn-web:hover { box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.6), inset 0 2px 3px rgba(255,255,255,0.3); }
    .btn-direct { background: linear-gradient(135deg, var(--direct-color), #0284c7); box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4), inset 0 2px 3px rgba(255,255,255,0.3); } 
    .btn-direct:hover { box-shadow: 0 15px 30px -5px rgba(14, 165, 233, 0.6), inset 0 2px 3px rgba(255,255,255,0.4); }
    .btn-gold { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); } .btn-gold:hover { opacity: 0.95; }
    .btn-sm { padding: 10px 20px; font-size: 0.9rem; margin-top: 15px; width: 100%; border-radius: 50px; }
    .btn-outline { background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.8); box-shadow: 0 5px 15px rgba(0,0,0,0.1); backdrop-filter: blur(5px); } .btn-outline:hover { background: var(--white); color: var(--primary); box-shadow: 0 10px 25px rgba(255,255,255,0.2); transform: translateY(-3px) translateZ(10px); }
    .btn-outline-dark { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; backdrop-filter: blur(5px); } .btn-outline-dark:hover { background: var(--primary); color: var(--white); transform: translateY(-3px) translateZ(10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

    /* TOMBOL INSTAGRAM */
    .btn-ig { 
        background: #E1306C; 
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
        color: white;
        box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
    }
    .btn-ig:hover { 
        background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
        transform: translateY(-2px);
    }

    /* LAYOUT & SECTIONS */
    .section-header { text-align: center; margin-bottom: 60px; padding: 0 10px; }
    .section-header h2 { margin-bottom: 20px; position: relative; display: inline-block; background: linear-gradient(135deg, var(--primary) 20%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
    .section-header h2::after { content: ''; display: block; width: 70px; height: 4px; background: linear-gradient(90deg, transparent, var(--accent), transparent); margin: 15px auto 0; border-radius: 5px; }
    .section-header p { max-width: 600px; margin: 0 auto; color: #64748B; font-size: 1.05rem; line-height: 1.8;}
    section { padding: 90px 0; content-visibility: auto; contain-intrinsic-size: 800px; } /* OPTIMIZATION: Skip rendering offscreen sections */
    #home.hero { content-visibility: visible; } /* Keep hero visible always */
    .text-white h2 { background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .text-white p { color: #e2e8f0; }

    /* --- NAVBAR & LOGO STYLING --- */
    header { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        z-index: 1000; 
        background: rgba(255, 255, 255, 0.3); 
        backdrop-filter: blur(20px); 
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.2); 
        height: var(--header-height); 
        display: flex; 
        align-items: center; 
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
    }

    header.scrolled {
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid rgba(255,255,255,0.5);
    }

    .nav-wrapper { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        width: 100%; 
        height: 100%;
    }
    
    .brand-container { 
        display: flex; 
        align-items: center; 
        gap: 15px; 
        text-decoration: none; 
        height: 100%;
    }
    
    .brand-logo-img { 
        height: 50px; 
        width: 50px; 
        object-fit: cover; 
        border-radius: 50%; 
        border: 2px solid var(--accent);
        padding: 2px;
        background: var(--white);
        transition: 0.3s;
    } 
    
    .brand-text { 
        font-family: 'Playfair Display', serif; 
        font-size: 1.3rem; 
        font-weight: 700; 
        color: var(--primary); 
        line-height: 1.1; 
    }

    
    .brand-text span { color: var(--accent); }
    .brand-text small { 
        display: block;
        font-size: 0.6rem; 
        font-family: 'Plus Jakarta Sans', sans-serif; 
        color: #64748B; 
        font-weight: 600; 
        letter-spacing: 2px; 
        text-transform: uppercase;
        margin-top: 2px;
    }

    .nav-links { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 320px; 
        height: 100vh; 
        overflow-y: auto;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column; 
        justify-content: flex-start; 
        padding: 100px 30px 40px 30px; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        margin: 0; 
    } 
    .nav-links.active { right: 0; } 
    .nav-links li { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 15px; list-style: none; margin-bottom: 15px; }
    .nav-links a { 
        font-size: 1.15rem; 
        display: block; 
        font-weight: 600; 
        padding: 10px 0; 
        color: var(--primary); 
        position: relative; 
        transition: color 0.3s;
    }
    .nav-links a::after { 
        content: ''; 
        position: absolute; 
        width: 0; 
        height: 2px; 
        bottom: 0; 
        left: 0; 
        background-color: var(--accent); 
        transition: width 0.3s ease-in-out; 
    }
    .nav-links a:hover { color: var(--accent); } 
    .nav-links a:hover::after { width: 100%; }

    .lang-select-wrapper {
        position: relative;
        display: inline-block;
    }
    .lang-select { 
        appearance: none; 
        -webkit-appearance: none;
        padding: 6px 15px; 
        border-radius: 50px; 
        border: 1px solid #e2e8f0; 
        background: var(--white); 
        color: var(--primary); 
        font-weight: 600; 
        cursor: pointer; 
        outline: none; 
        font-size: 0.85rem; 
        transition: 0.3s;
        padding-right: 30px; 
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23C5A059%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 10px;
    }
    .lang-select:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

    .hamburger { display: block; font-size: 24px; cursor: pointer; color: var(--primary); padding: 10px; border-radius: 8px; z-index: 1001; position: relative; transition: color 0.3s, transform 0.3s; }
    .hamburger:hover { background: rgba(0,0,0,0.05); }
    
    /* --- HERO SECTION --- */
    .hero { 
        height: 100vh; 
        height: 100svh; 
        min-height: 600px; 
        background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.7)), url('danautoba.jpeg'); 
        background-size: cover; 
        background-position: center; 
        background-attachment: fixed; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        text-align: center; 
        color: var(--white); 
        position: relative;
    }
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 200px;
        background: linear-gradient(to top, var(--light), transparent);
        pointer-events: none;
    }
    .hero-content { max-width: 850px; padding: 50px 40px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); border-radius: 32px; box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.4); z-index: 2; position: relative; animation: fadeIn 1s ease-out; transform-style: preserve-3d; will-change: transform; }
    .hero h1 { margin-bottom: 24px; font-weight: 700; text-shadow: 0 4px 15px rgba(0,0,0,0.8); transform: translateZ(40px); }
    .hero p { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 40px; opacity: 0.95; font-weight: 400; text-shadow: 0 2px 10px rgba(0,0,0,0.8); transform: translateZ(30px); }
    .hero div { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; transform: translateZ(50px); }

    /* CARDS & GRID (HYPER 3D) */
    .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; perspective: 1200px; transform-style: preserve-3d; }
    .car-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; perspective: 1200px; transform-style: preserve-3d; }
    
    .card, .car-card { background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,250,252,0.6)); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-radius: 28px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.05), inset 0 2px 0 rgba(255,255,255,1), inset 0 -2px 0 rgba(0,0,0,0.02); transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid rgba(255,255,255,0.8); display: flex; flex-direction: column; position: relative; z-index: 1; transform-style: preserve-3d; will-change: transform; border-bottom: 3px solid rgba(212, 175, 55, 0.1); }
    .card:hover, .car-card:hover { box-shadow: 0 40px 70px rgba(0,0,0,0.15), 0 20px 30px rgba(212, 175, 55, 0.1), inset 0 2px 0 rgba(255,255,255,1); z-index: 2; border-color: rgba(212, 175, 55, 0.6); transform: translateY(-12px) rotateX(2deg); border-bottom: 3px solid rgba(212, 175, 55, 0.8); }
    
    .card-img-wrapper { overflow: hidden; height: 260px; position: relative; transform: translateZ(40px); border-radius: 20px; margin: 15px 15px 0 15px; box-shadow: 0 15px 25px rgba(0,0,0,0.15); will-change: transform; }
    .card-img-wrapper::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); pointer-events: none; }
    .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
    .card:hover img { transform: scale(1.12); }
    
    .card-body { padding: 30px 25px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; position: relative; z-index: 2; transform: translateZ(30px); }
    .card-meta { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.9rem; color: #64748B; font-weight: 700; align-items: center; }
    .card-body h3 { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .price-tag { font-size: 1.3rem; font-weight: 800; color: var(--accent); transform: translateZ(20px); text-shadow: 0 5px 15px rgba(212,175,55,0.2); }
    
    .car-card { padding: 35px 24px; display: flex; align-items: center; gap: 20px; flex-direction: column; text-align: center; }
    .car-card h3 { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .car-card img { width: 100%; max-width: 270px; height: auto; border-radius: 12px; margin-bottom: 20px; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); filter: drop-shadow(0 25px 25px rgba(0,0,0,0.4)); transform: translateZ(60px); }
    .car-card:hover img { transform: translateZ(90px) scale(1.08) translateY(-5px); filter: drop-shadow(0 40px 35px rgba(0,0,0,0.5)); }
    .car-details { width: 100%; display: flex; flex-direction: column; gap: 12px; transform: translateZ(40px); }
    .car-specs { font-size: 0.95rem; color: #64748B; margin-bottom: 10px; display: flex; justify-content: center; gap: 20px; font-weight: 600; }
    
    /* MODAL SYSTEM */
    .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: #fff; animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
    .modal-content { width: 100%; height: 100%; display: flex; flex-direction: column; background-color: #fff; }
    .modal-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 15px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 10; }
    .modal-header h3 { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--primary); }
    .close-modal { background: #f8fafc; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 24px; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid rgba(0,0,0,0.05); }
    .close-modal:hover { background: var(--error); color: white; transform: rotate(90deg) scale(1.1); box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4); border-color: transparent; }
    .modal-body { flex: 1; padding: 0; overflow-y: auto; width: 100%; margin: 0 auto; }
    
    .modal-footer { padding: 16px 20px; background: var(--white); border-top: 1px solid #eee; position: sticky; bottom: 0; z-index: 20; box-shadow: 0 -10px 30px rgba(0,0,0,0.03); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .modal-footer .btn { width: 100%; padding: 14px 10px; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; }

    /* VIEWS INSIDE MODAL */
    .detail-view { display: block; padding-bottom: 40px; max-width: 800px; margin: 0 auto; width: 100%; }
    .modal-hero-img { width: 100%; height: 350px; object-fit: cover; mask-image: linear-gradient(to bottom, black 80%, transparent 100%); }
    .detail-content { padding: 0 24px; margin-top: -40px; position: relative; }
    .modal-title-box { background: var(--white); padding: 24px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin-bottom: 30px; }
    .features-box { background: #F8FAFC; border-radius: 16px; padding: 24px; margin-bottom: 24px; border: 1px solid #E2E8F0; }
    .custom-list { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
    .custom-list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--secondary); }
    .custom-list li i { color: var(--white); background: var(--accent); min-width: 24px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }

    .form-view { display: none; padding: 40px 24px; max-width: 800px; margin: 0 auto; width: 100%; }
    .form-card { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: 1px solid #eee; }
    .form-title { font-size: 1.5rem; color: var(--primary); margin-bottom: 20px; text-align: center; font-weight: 700; }
    .product-summary { background: #eff6ff; padding: 20px; border-radius: 12px; margin-bottom: 25px; border-left: 4px solid var(--direct-color); }
    .summary-header { display: flex; justify-content: space-between; border-bottom: 1px dashed #cbd5e1; padding-bottom: 10px; margin-bottom: 10px; flex-wrap: wrap; gap: 10px; }
    .summary-features-list { list-style: none; padding: 0; font-size: 0.9rem; color: #64748B; }
    .custom-input { width: 100%; padding: 14px; border: 2px solid #e2e8f0; border-radius: 10px; margin-bottom: 20px; outline: none; transition: 0.3s; font-family: inherit; font-size: 1rem; }
    .custom-input:focus { border-color: var(--accent); background: #fff; }

    .about-view-content { padding: 0 24px 40px; margin-top: -40px; position: relative; }
    .about-text-block { color: var(--secondary); font-size: 1rem; margin-bottom: 20px; text-align: justify; line-height: 1.8; }
    .about-list { margin: 15px 0 25px 20px; color: var(--secondary); }
    .about-list li { margin-bottom: 10px; list-style-type: disc; }

    /* STATUS CHECK CSS */
    .status-view { display: none; padding: 40px 24px; max-width: 800px; margin: 0 auto; width: 100%; }
    .status-result-container { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
    .order-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: 0.3s; }
    .order-card:hover { border-color: var(--accent); box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
    .order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; }
    .order-date { font-size: 0.85rem; color: #64748B; }
    .order-product { font-weight: 700; color: var(--primary); font-size: 1.1rem; }
    .order-price { color: var(--accent); font-weight: 600; }
    .status-badge { padding: 5px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
    .status-badge.pending { background: #FEF3C7; color: #D97706; }
    .status-badge.confirmed { background: #D1FAE5; color: #059669; }
    .status-badge.rejected { background: #FEE2E2; color: #DC2626; }
    .status-section-header { font-size: 1rem; font-weight: 700; margin-top: 15px; margin-bottom: 10px; border-bottom: 2px solid #f1f5f9; padding-bottom: 5px; }

    /* OTHER SECTIONS */
    .adventure { background: linear-gradient(135deg, var(--primary), #1e293b); color: var(--white); position: relative; overflow: hidden; }
    .adventure .card, .adventure .car-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
    .adventure .card-body p, .adventure .card-meta { color: #cbd5e1; } 
    .adventure .section-header p { color: #94A3B8; }
    .about-section { background-color: var(--light); position: relative; }
    .about-content { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
    .about-text { flex: 1; min-width: 300px; }
    .about-text h3 { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 20px; font-size: 2rem; }
    .about-image { flex: 1; min-width: 300px; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.2); transform: translateZ(20px); transition: 0.5s; }
    .about-image:hover { transform: translateY(-10px) translateZ(40px) scale(1.02); box-shadow: 0 40px 80px rgba(0,0,0,0.3); }
    
    .contact-wrapper { background: linear-gradient(145deg, var(--white), var(--light)); border-radius: 30px; padding: 60px; box-shadow: 0 20px 50px rgba(0,0,0,0.05), inset 0 2px 0 rgba(255,255,255,1); max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; border: 1px solid rgba(0,0,0,0.02); }
    .contact-info-item { margin-bottom: 25px; display: flex; align-items: start; gap: 15px; background: rgba(255,255,255,0.5); padding: 20px; border-radius: 16px; border: 1px solid #f1f5f9; transition: 0.3s; }
    .contact-info-item:hover { transform: translateX(10px); background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.02); border-color: var(--accent); }
    .contact-info-item i { color: var(--accent); font-size: 1.4rem; margin-top: 5px; text-shadow: 0 2px 5px rgba(212,175,55,0.3); }
    .form-control { width: 100%; padding: 18px 20px; border: 2px solid #E2E8F0; border-radius: 16px; background: #F8FAFC; margin-bottom: 20px; font-family: inherit; outline: none; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); font-size: 1rem; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
    .form-control:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 10px 20px rgba(212,175,55,0.1), inset 0 2px 4px rgba(0,0,0,0); transform: translateY(-2px); }
    
    /* --- FOOTER & SOCIALS --- */
    footer { background: var(--primary); color: #94A3B8; padding: 60px 0 30px; text-align: center; }
    
    .footer-brand-box {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
        background: rgba(255,255,255,0.05);
        padding: 15px 30px;
        border-radius: 50px;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .footer-logo-img { 
        height: 45px; 
        width: 45px; 
        border-radius: 50%; 
        object-fit: cover;
        border: 2px solid var(--accent);
    }

    .footer-brand-text {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        color: var(--white);
        font-weight: 700;
        text-align: left;
        line-height: 1;
    }
    .footer-brand-text span { color: var(--accent); }

    .footer-socials { margin-bottom: 25px; display: flex; justify-content: center; gap: 15px; }
    .footer-socials a { display: inline-flex; width: 45px; height: 45px; background: rgba(255,255,255,0.05); color: var(--white); border-radius: 50%; align-items: center; justify-content: center; transition: 0.3s; font-size: 1.2rem; }
    .footer-socials a:hover { background: var(--accent); transform: translateY(-3px); }

    /* --- CUSTOM TOOLTIP --- */
    [data-tooltip] { position: relative; }
    [data-tooltip]::before, [data-tooltip]::after {
        position: absolute;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        z-index: 99999;
    }
    [data-tooltip]::before {
        content: attr(data-tooltip);
        background: var(--primary);
        color: #fff;
        font-size: 0.85rem;
        padding: 8px 14px;
        border-radius: 8px;
        white-space: nowrap;
        bottom: 100%;
        left: 50%;
        transform: translate(-50%, -5px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 600;
        border: 1px solid rgba(255,255,255,0.1);
    }
    [data-tooltip]::after {
        content: '';
        border-width: 6px;
        border-style: solid;
        border-color: var(--primary) transparent transparent transparent;
        bottom: 100%;
        left: 50%;
        transform: translate(-50%, 7px);
    }
    [data-tooltip]:hover::before, [data-tooltip]:active::before {
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, -12px);
    }
    [data-tooltip]:hover::after, [data-tooltip]:active::after {
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, 0px);
    }

    /* Tooltip Position for Floating Buttons (Left Side) */
    .float-btn[data-tooltip]::before {
        bottom: 50%;
        left: auto;
        right: 100%;
        transform: translate(-5px, 50%);
    }
    .float-btn[data-tooltip]::after {
        border-color: transparent transparent transparent var(--primary);
        bottom: 50%;
        left: auto;
        right: 100%;
        transform: translate(7px, 50%);
    }
    .float-btn[data-tooltip]:hover::before, .float-btn[data-tooltip]:active::before {
        transform: translate(-12px, 50%);
    }
    .float-btn[data-tooltip]:hover::after, .float-btn[data-tooltip]:active::after {
        transform: translate(0px, 50%);
    }

    /* WIDGETS */
    .float-container { position: fixed; bottom: 30px; right: 30px; z-index: 999; display: flex; flex-direction: column; gap: 15px; align-items: flex-end; }
    .float-btn { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); color: white; cursor: pointer; transition: 0.3s; position: relative; }
    .float-wa { background: #25D366; animation: pulse 3s infinite; }
    .float-chat { background: var(--primary); border: 2px solid var(--accent); } .float-chat:hover { transform: scale(1.1); background: var(--secondary); }
    .chat-widget-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); z-index: 9999; display: none; align-items: stretch; justify-content: stretch; padding: 0; animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
    .chat-widget-inner { width: 100vw; max-width: none; height: 100vh; max-height: none; background: #ffffff; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: none; border: none; position: relative; margin: 0; }
    .chat-header { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 25px 30px; color: white; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid rgba(255,255,255,0.1); }
    .chat-header h4 { font-family: 'Playfair Display', serif; margin: 0; font-size: 1.5rem; letter-spacing: 0.5px; }
    .chat-header span { font-size: 0.9rem; color: #e2e8f0; display: block; margin-top: 5px; font-weight: 300; }
    .close-chat { cursor: pointer; font-size: 1.5rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); color: white; } 
    .close-chat:hover { background: #ef4444; color: white; transform: rotate(90deg) scale(1.1); box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4); }

    .chat-messages { flex: 1; padding: 30px; overflow-y: auto; background-color: #f8fafc; display: flex; flex-direction: column; gap: 15px; background-image: linear-gradient(rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.88)), url('danautoba.jpeg'); background-size: cover; background-position: center; }
    .message-bubble { max-width: 85%; padding: 15px 20px; font-size: 1.05rem; border-radius: 16px; position: relative; word-wrap: break-word; line-height: 1.6; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
    .msg-in { align-self: flex-start; background: var(--white); color: var(--secondary); border-bottom-left-radius: 4px; border: 1px solid #edf2f7; }
    .msg-out { align-self: flex-end; background: linear-gradient(135deg, var(--accent), #b4853a); color: white; border-bottom-right-radius: 4px; border: none; }
    .msg-time { display: block; font-size: 0.75rem; margin-top: 8px; opacity: 0.6; text-align: right; }
    .chat-input-area { padding: 25px 30px; background: var(--white); border-top: 1px solid #edf2f7; display: flex; gap: 15px; align-items: center; }
    .chat-input { flex: 1; padding: 15px 25px; background: #f1f5f9; border: 2px solid transparent; border-radius: 50px; outline: none; font-size: 1.05rem; transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
    .chat-input:focus { background: var(--white); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(197, 160, 89, 0.1); }
    .chat-send-btn { background: var(--accent); color: white; width: 55px; height: 55px; border-radius: 50%; border: none; cursor: pointer; transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3); }
    .chat-send-btn:hover { background: #b4853a; transform: scale(1.1) rotate(10deg); box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5); }

    /* CUSTOM NOTIFICATION SYSTEM */
    .notification-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
    .toast-card {
        display: flex;
        align-items: center;
        gap: 15px;
        background: var(--white);
        border-left: 4px solid;
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        min-width: 320px;
        pointer-events: auto;
        animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        position: relative;
    }
    .toast-card.success { border-left-color: var(--success); }
    .toast-card.error { border-left-color: var(--error); }
    .toast-card.info { border-left-color: var(--accent); }
    .toast-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
    .toast-card.success .toast-icon { background: rgba(16, 185, 129, 0.1); color: var(--success); }
    .toast-card.error .toast-icon { background: rgba(239, 68, 68, 0.1); color: var(--error); }
    .toast-card.info .toast-icon { background: rgba(197, 160, 89, 0.1); color: var(--accent); }
    .toast-content { flex: 1; }
    .toast-title { font-weight: 700; font-size: 0.95rem; color: var(--primary); display: block; margin-bottom: 2px; }
    .toast-message { font-size: 0.85rem; color: #64748B; line-height: 1.4; }
    .toast-close { cursor: pointer; color: #94A3B8; font-size: 1.1rem; padding: 5px; transition: 0.2s; margin-left: auto; }
    .toast-close:hover { color: var(--error); }
    @keyframes slideInRight { to { transform: translateX(0); } }
    @keyframes fadeOut { to { opacity: 0; transform: translateY(-20px); } }

    @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

    /* --- ULASAN & RATING --- */
    .testimonial-section { background: var(--light); padding: 100px 0; }
    .review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
    
    /* HORIZONTAL SCROLL UNTUK RATING > 10 */
    .review-scroll-wrapper {
        display: flex;
        overflow-x: auto;
        gap: 30px;
        padding: 20px 10px 40px 10px; 
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; 
        margin-top: 40px;
    }
    
    .review-scroll-wrapper .review-card {
        min-width: 350px; 
        flex-shrink: 0;   
    }

    /* Styling Scrollbar */
    .review-scroll-wrapper::-webkit-scrollbar { height: 8px; }
    .review-scroll-wrapper::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 4px; }
    .review-scroll-wrapper::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
    .review-scroll-wrapper::-webkit-scrollbar-thumb:hover { background: var(--accent); }

    .review-card { background: linear-gradient(135deg, white, #f8fafc); padding: 30px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid white; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; }
    .review-card::before { content: '\f10d'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; top: 20px; right: 25px; font-size: 2rem; color: rgba(212,175,55,0.1); }
    .review-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(212,175,55,0.4); }
    .review-header { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
    .review-avatar { width: 55px; height: 55px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 2px solid white; }
    .review-info h4 { font-size: 1.1rem; color: var(--primary); margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
    .review-info span { font-size: 0.8rem; color: #94A3B8; display: block; margin-top: 2px; }
    .star-display { color: #F59E0B; font-size: 1rem; margin-bottom: 12px; filter: drop-shadow(0 2px 4px rgba(245,158,11,0.2)); }
    .review-text { color: var(--secondary); font-size: 1rem; line-height: 1.7; font-style: italic; }
    
    /* Star Input di Modal */
    .star-rating-input { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-direction: row-reverse; }
    .star-rating-input i { font-size: 2rem; color: #e2e8f0; cursor: pointer; transition: 0.2s; }
    .star-rating-input i:hover, .star-rating-input i:hover ~ i { color: #F59E0B; }
    .star-rating-input i.active { color: #F59E0B; }

    /* --- MEDIA QUERIES (HARUS DI PALING BAWAH!) --- */
    @media (max-width: 1024px) {
        h1 { font-size: clamp(2rem, 4vw, 3rem); }
        .hero-content { padding: 30px; border-radius: 20px; margin: 0 15px; }
    }
    
    @media (max-width: 960px) {
        .nav-links { 
            position: fixed; 
            top: 0; 
            right: -100%; 
            width: 280px; 
            height: 100vh; 
            background: rgba(255, 255, 255, 0.98); 
            backdrop-filter: blur(20px);
            flex-direction: column; 
            justify-content: flex-start; 
            padding: 100px 30px; 
            box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
            transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        } 
        .nav-links.active { right: 0; } 
        
        .hamburger { display: block; z-index: 1001; position: relative; transition: color 0.3s, transform 0.3s; padding: 10px; border-radius: 8px; }
        .hamburger:hover { background: rgba(0,0,0,0.05); }
        .nav-links li { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); padding-bottom: 15px; }
        .nav-links a { font-size: 1.15rem; display: block; font-weight: 600; padding: 10px 0; }
        .lang-select { width: 100%; margin-top: 20px; text-align: center; background-position: 95% center; }
        
        .mobile-close-btn {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid rgba(0,0,0,0.05);
            color: #64748b;
        }
        .mobile-close-btn:hover { background: var(--error); color: white; transform: rotate(90deg) scale(1.1); box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4); border-color: transparent; }

        .about-content, .contact-wrapper { flex-direction: column; grid-template-columns: 1fr; } 
        .about-image { margin-top: 30px; } 
        .contact-wrapper { padding: 40px 30px; } 
        
        /* Modal footer grid adjustment for mobile */
        .modal-footer { grid-template-columns: 1fr 1fr; padding: 12px 16px; gap: 10px; } 
        #waLink { order: 1; } #webBookBtn { order: 2; } 
        .modal-footer .btn { padding: 12px; font-size: 0.9rem; } 
        .chat-widget-container { padding: 0; align-items: stretch; justify-content: stretch; height: 100%; height: 100dvh; } 
        .chat-widget-inner { width: 100vw; max-width: 100vw; height: 100%; height: 100dvh; max-height: none; border-radius: 0; border: none; margin: 0; }
        .notification-container { right: 50%; transform: translateX(50%); top: 10px; width: 90%; align-items: center; } 
        .toast-card { width: 100%; min-width: auto; } 
    }

    @media (max-width: 768px) {
        .grid-3 { gap: 20px; }
        .car-grid { gap: 20px; }
        section { padding: 60px 0; }
        .card-body { padding: 20px; }
        .hero-content { padding: 40px 20px; }
        .chat-header { padding: 15px 20px; }
        .chat-messages { padding: 20px; }
        .chat-footer { padding: 15px 20px; }
    }

    @media (max-width: 576px) {
        /* PERBAIKAN GRID & LAYOUT HP KECIL */
        .grid-3, .car-grid, .review-grid {
            grid-template-columns: 1fr; /* 1 Kolom penuh */
            gap: 20px;
        }

        h1 { font-size: 2rem; }
        h2 { font-size: 1.75rem; }
        .hero-content { margin: 0 10px; padding: 30px 15px; }
        
        .card-img-wrapper { height: 220px; }
        
        /* Penyesuaian Modal agar Full Screen */
        .modal-content {
            height: 100vh;
            border-radius: 0;
        }
        .modal-body {
            padding-bottom: 100px; /* Ruang untuk footer */
        }
        
        /* Fix background scroll bug */
        .hero { background-attachment: scroll; }
    }

    @media (max-width: 480px) { 
        .container { padding: 0 16px; } 
        .section-header h2::after { width: 40px; } 
        .card-body { padding: 15px; } 
        .price-tag { font-size: 1.1rem; } 
        .float-btn { width: 55px; height: 55px; font-size: 28px; } 
        .float-container { bottom: 20px; right: 20px; } 
        .brand-text { font-size: 1.05rem; }
        .brand-logo-img { height: 40px; width: 40px; }
        .footer-brand-box { flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px;}
        .footer-brand-text { text-align: center; font-size: 1.2rem; }
    }

    /* Footer Links (Syarat & Kebijakan) */
    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 18px;
        margin-bottom: 10px;
    }
    .footer-links a {
        color: #94A3B8;
        text-decoration: none;
        font-size: 0.85rem;
        transition: color 0.2s;
    }
    .footer-links a:hover {
        color: var(--accent);
    }

    /* --- DARK MODE AUTOMATIS --- */
    html.dark-mode {
        background-color: var(--light);
        color: var(--primary);
    }

    html.dark-mode .card, 
    html.dark-mode .review-card, 
    html.dark-mode .modal-content,
    html.dark-mode .chat-widget-inner {
        background-color: var(--white);
        color: var(--primary);
    }

    html.dark-mode section, 
    html.dark-mode .hero-section {
        background-color: var(--light) !important;
    }

    html.dark-mode .nav-container { background: rgba(30, 41, 59, 0.95); }
    html.dark-mode .nav-links a { color: var(--primary); }
    
    html.dark-mode .section-header h2 { color: var(--primary); }
    html.dark-mode .section-header p { color: var(--secondary) !important; }
    html.dark-mode .card h3 { color: var(--primary) !important; }
    html.dark-mode .card p { color: var(--secondary) !important; }
    html.dark-mode .car-card p { color: var(--secondary) !important; }
    html.dark-mode .price-tag { color: var(--accent) !important; }
    html.dark-mode .price-tag span { color: var(--secondary) !important; }
    html.dark-mode .feature-item { color: var(--primary); }
    html.dark-mode .review-info h4 { color: var(--primary); }
    html.dark-mode .review-text { color: var(--secondary); }
    html.dark-mode .custom-input, 
    html.dark-mode .form-control { 
        background: var(--white) !important; 
        color: white !important; 
        border-color: rgba(255,255,255,0.1) !important; 
    }
    html.dark-mode label { color: var(--secondary) !important; }
    html.dark-mode .chat-body { background-color: var(--light); }
    html.dark-mode .chat-message.user { background: var(--accent); color: #0F172A; }
    html.dark-mode .chat-message.admin { background: var(--white); color: white; }
    html.dark-mode .chat-input input { background: var(--white) !important; color: white !important; border-color: rgba(255,255,255,0.1) !important; }
    html.dark-mode footer { background: #0B1120; border-top: 1px solid rgba(255,255,255,0.05); }
    html.dark-mode .contact-info-item i { background: rgba(212,175,55,0.1); }
    html.dark-mode .modal-header, 
    html.dark-mode .chat-header { border-bottom-color: rgba(255,255,255,0.1); }
    html.dark-mode .modal-footer { border-top-color: rgba(255,255,255,0.1); }
    html.dark-mode .review-card { border: 1px solid rgba(255,255,255,0.1); }
    .review-card::before { content: '\f10d'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; top: 20px; right: 25px; font-size: 2rem; color: rgba(212,175,55,0.1); }
    .review-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(212,175,55,0.4); }
    .review-header { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
    .review-avatar { width: 55px; height: 55px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 2px solid white; }
    .review-info h4 { font-size: 1.1rem; color: var(--primary); margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
    .review-info span { font-size: 0.8rem; color: #94A3B8; display: block; margin-top: 2px; }
    .star-display { color: #F59E0B; font-size: 1rem; margin-bottom: 12px; filter: drop-shadow(0 2px 4px rgba(245,158,11,0.2)); }
    .review-text { color: var(--secondary); font-size: 1rem; line-height: 1.7; font-style: italic; }
    
    /* Star Input di Modal */
    .star-rating-input { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-direction: row-reverse; }
    .star-rating-input i { font-size: 2rem; color: #e2e8f0; cursor: pointer; transition: 0.2s; }
    .star-rating-input i:hover, .star-rating-input i:hover ~ i { color: #F59E0B; }
    .star-rating-input i.active { color: #F59E0B; }

    /* Switch Toggle for Settings */
    .switch { position: relative; display: inline-block; width: 50px; height: 28px; }
    .switch input { opacity: 0; width: 0; height: 0; }
    .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
    .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
    input:checked + .slider { background-color: var(--accent); }
    input:focus + .slider { box-shadow: 0 0 1px var(--accent); }
    input:checked + .slider:before { transform: translateX(22px); }
    .slider.round { border-radius: 34px; }
    .slider.round:before { border-radius: 50%; }

    /* Nav Overlay Mobile */
    .nav-overlay {
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
        background: rgba(0,0,0,0.5); z-index: 999;
        display: none; opacity: 0; transition: opacity 0.4s ease;
    }
    .nav-overlay.active { display: block; opacity: 1; }

    /* --- MEDIA QUERIES (HARUS DI PALING BAWAH!) --- */
    @media (max-width: 1024px) {
        h1 { font-size: clamp(2rem, 4vw, 3rem); }
        .hero-content { padding: 30px; border-radius: 20px; margin: 0 15px; }
    }
    
    @media (max-width: 960px) {
        /* Nav links styles have been moved to base CSS */
        .lang-select { width: 100%; margin-top: 20px; text-align: center; background-position: 95% center; }
        
        .mobile-close-btn {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid rgba(0,0,0,0.05);
            color: #64748b;
        }
        .mobile-close-btn:hover { background: var(--error); color: white; transform: rotate(90deg) scale(1.1); box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4); border-color: transparent; }

        .about-content, .contact-wrapper { flex-direction: column; grid-template-columns: 1fr; } 
        .about-image { margin-top: 30px; } 
        .contact-wrapper { padding: 40px 30px; } 
        
        /* Modal footer grid adjustment for mobile */
        .modal-footer { grid-template-columns: 1fr 1fr; padding: 12px 16px; gap: 10px; } 
        #waLink { order: 1; } #webBookBtn { order: 2; } 
        .modal-footer .btn { padding: 12px; font-size: 0.9rem; } 
        .chat-widget-container { padding: 0; align-items: stretch; justify-content: stretch; height: 100%; height: 100dvh; } 
        .chat-widget-inner { width: 100vw; max-width: 100vw; height: 100%; height: 100dvh; max-height: none; border-radius: 0; border: none; margin: 0; }
        .notification-container { right: 50%; transform: translateX(50%); top: 10px; width: 90%; align-items: center; } 
        .toast-card { width: 100%; min-width: auto; } 
    }

    @media (max-width: 768px) {
        .grid-3 { gap: 20px; }
        .car-grid { gap: 20px; }
        section { padding: 60px 0; }
        .card-body { padding: 20px; }
        .hero-content { padding: 40px 20px; }
        .chat-header { padding: 15px 20px; }
        .chat-messages { padding: 20px; }
        .chat-footer { padding: 15px 20px; }
    }

    @media (max-width: 576px) {
        /* PERBAIKAN GRID & LAYOUT HP KECIL */
        .grid-3, .car-grid, .review-grid {
            grid-template-columns: 1fr; /* 1 Kolom penuh */
            gap: 20px;
        }

        h1 { font-size: 2rem; }
        h2 { font-size: 1.75rem; }
        .hero-content { margin: 0 10px; padding: 30px 15px; }
        
        .card-img-wrapper { height: 220px; }
        
        /* Penyesuaian Modal agar Full Screen */
        .modal-content {
            height: 100vh;
            border-radius: 0;
        }
        .modal-body {
            padding-bottom: 100px; /* Ruang untuk footer */
        }
        
        /* Fix background scroll bug */
        .hero { background-attachment: scroll; }
    }

    @media (max-width: 480px) { 
        .container { padding: 0 16px; } 
        .section-header h2::after { width: 40px; } 
        .card-body { padding: 15px; } 
        .price-tag { font-size: 1.1rem; } 
        .float-btn { width: 55px; height: 55px; font-size: 28px; } 
        .float-container { bottom: 20px; right: 20px; } 
        .brand-text { font-size: 1.05rem; }
        .brand-logo-img { height: 40px; width: 40px; }
        .footer-brand-box { flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px;}
        .footer-brand-text { text-align: center; font-size: 1.2rem; }
    }

    /* Footer Links (Syarat & Kebijakan) */
    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 18px;
        margin-bottom: 10px;
    }
    .footer-links a {
        color: #94A3B8;
        text-decoration: none;
        font-size: 0.85rem;
        transition: color 0.2s;
    }
    .footer-links a:hover {
        color: var(--accent);
    }

    /* --- DARK MODE AUTOMATIS --- */
    html.dark-mode {
        background-color: var(--light);
        color: var(--primary);
    }

    html.dark-mode .card, 
    html.dark-mode .car-card,
    html.dark-mode .review-card, 
    html.dark-mode .modal-content,
    html.dark-mode .chat-widget-inner {
        background: var(--white) !important;
        color: var(--primary);
    }

    html.dark-mode section, 
    html.dark-mode .hero-section {
        background-color: var(--light) !important;
    }

    html.dark-mode .nav-links { background: rgba(11, 17, 32, 0.98); }
    html.dark-mode .nav-links a { color: var(--primary); }
    
    html.dark-mode .section-header h2 { color: var(--primary); }
    html.dark-mode .section-header p { color: var(--secondary) !important; }
    html.dark-mode .card h3 { color: var(--primary) !important; }
    html.dark-mode .card p { color: var(--secondary) !important; }
    html.dark-mode .car-card p { color: var(--secondary) !important; }
    html.dark-mode .price-tag { color: var(--accent) !important; }
    html.dark-mode .price-tag span { color: var(--secondary) !important; }
    html.dark-mode .feature-item { color: var(--primary); }
    html.dark-mode .review-info h4 { color: var(--primary); }
    html.dark-mode .review-text { color: var(--secondary); }
    html.dark-mode .custom-input, 
    html.dark-mode .form-control { 
        background: var(--white) !important; 
        color: white !important; 
        border-color: rgba(255,255,255,0.1) !important; 
    }
    html.dark-mode label { color: var(--secondary) !important; }
    html.dark-mode .chat-body { background-color: var(--light); }
    html.dark-mode .chat-message.user { background: var(--accent); color: #0F172A; }
    html.dark-mode .chat-message.admin { background: var(--white); color: white; }
    html.dark-mode .chat-input input { background: var(--white) !important; color: white !important; border-color: rgba(255,255,255,0.1) !important; }
    html.dark-mode footer { background: #0B1120; border-top: 1px solid rgba(255,255,255,0.05); }
    html.dark-mode .contact-info-item i { background: rgba(212,175,55,0.1); }
    html.dark-mode .modal-header, 
    html.dark-mode .chat-header { border-bottom-color: rgba(255,255,255,0.1); }
    html.dark-mode .modal-footer { border-top-color: rgba(255,255,255,0.1); }
    html.dark-mode .review-card { border: 1px solid rgba(255,255,255,0.1); }
    html.dark-mode #tourNote { background-color: var(--white) !important; color: var(--secondary) !important; border-left-color: var(--accent) !important; }
    html.dark-mode .contact-info-item { background: var(--white); border-color: rgba(255,255,255,0.1); }
    html.dark-mode .product-summary { background: var(--white); border-left-color: var(--accent); }
    html.dark-mode .summary-header { border-bottom-color: rgba(255,255,255,0.1); }

    /* FIX UNTUK TEKS GELAP DI DARK MODE */
    html.dark-mode .hero { color: #FFFFFF; }
    html.dark-mode .card-meta, 
    html.dark-mode .car-specs,
    html.dark-mode .review-info span,
    html.dark-mode .summary-features-list,
    html.dark-mode .toast-message,
    html.dark-mode [style*="color: #64748B"],
    html.dark-mode [style*="color:#64748B"],
    html.dark-mode [style*="color: #64748b"],
    html.dark-mode [style*="color:#64748b"] {
        color: var(--secondary) !important;
    }
    
    html.dark-mode .close-modal { 
        background: rgba(255,255,255,0.1) !important; 
        color: #E2E8F0 !important; 
        border-color: rgba(255,255,255,0.05) !important;
    }
    html.dark-mode .close-modal:hover { background: var(--error) !important; color: #FFF !important; }
    
    html.dark-mode .modal-header { background: #172033 !important; }
    html.dark-mode .features-box { 
        background: rgba(255,255,255,0.05) !important; 
        border-color: rgba(255,255,255,0.1) !important; 
    }
    html.dark-mode .order-card { 
        background: #172033 !important; 
        border-color: rgba(255,255,255,0.1) !important; 
    }
    html.dark-mode .order-date { color: var(--secondary) !important; }
    html.dark-mode .form-card { border-color: rgba(255,255,255,0.1) !important; }
    
    html.dark-mode .chat-messages {
        background-image: linear-gradient(rgba(11, 17, 32, 0.88), rgba(11, 17, 32, 0.88)), url('danautoba.jpeg') !important;
    }
    html.dark-mode .chat-input-area { border-top-color: rgba(255,255,255,0.1) !important; }
    html.dark-mode .chat-header {
        background: #172033 !important;
        background-image: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    html.dark-mode header {
        background: rgba(11, 17, 32, 0.6) !important;
        border-bottom-color: rgba(255,255,255,0.1) !important;
    }
    
    @media (max-width: 960px) {
        html.dark-mode .nav-links { background: rgba(11, 17, 32, 0.98) !important; }
        html.dark-mode .mobile-close-btn { 
            background: rgba(255,255,255,0.1) !important; 
            color: #E2E8F0 !important; 
            border-color: rgba(255,255,255,0.1) !important; 
        }
    }
    html.dark-mode .review-scroll-wrapper::-webkit-scrollbar-track { background: rgba(255,255,255,0.1) !important; }

    html.dark-mode .footer-brand-text,
    html.dark-mode .footer-socials a { color: #FFFFFF !important; }
    html.dark-mode .footer-links a { color: #E2E8F0 !important; }
    html.dark-mode .footer-links a:hover { color: var(--accent) !important; }
    html.dark-mode input::placeholder, 
    html.dark-mode textarea::placeholder { color: rgba(255, 255, 255, 0.6) !important; }
    html.dark-mode .btn-wa, html.dark-mode .btn-web, html.dark-mode .btn-direct { color: #FFFFFF !important; }

    /* FLOAT-CHAT DARK MODE FIX */
    html.dark-mode .float-chat {
        background: #1e293b !important;
        color: white !important;
        border: 2px solid var(--accent) !important;
    }
    html.dark-mode .float-chat:hover {
        background: #334155 !important;
    }

    /* TOOLTIP DARK MODE FIX */
    html.dark-mode [data-tooltip]::before {
        background: #1e293b !important;
        color: #E2E8F0 !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
    }
    html.dark-mode [data-tooltip]::after {
        border-color: #1e293b transparent transparent transparent !important;
    }
    html.dark-mode .float-btn[data-tooltip]::after {
        border-color: transparent transparent transparent #1e293b !important;
    }

    /* --- HARD OVERRIDES TO FIX LIGHT GRADIENTS IN DARK MODE --- */
    html.dark-mode .card, 
    html.dark-mode .car-card,
    html.dark-mode .review-card, 
    html.dark-mode .modal-content,
    html.dark-mode .chat-widget-inner {
        background: #172033 !important;
        background-image: none !important;
        background-color: #172033 !important;
        color: #E2E8F0 !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    
    html.dark-mode .toast-card {
        background: #172033 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    }

    
    html.dark-mode .adventure {
        background: linear-gradient(135deg, #0B1120, #1e293b) !important;
    }
    
    html.dark-mode .card h3,
    html.dark-mode .car-card h3,
    html.dark-mode .review-info h4,
    html.dark-mode .modal-header h3,
    html.dark-mode .chat-header h4,
    html.dark-mode .section-header h2,
    html.dark-mode .toast-title {
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }

    html.dark-mode .msg-in {
        background: #1e293b !important;
        color: #E2E8F0 !important;
    }
    
    html.dark-mode .msg-out {
        color: #0F172A !important;
        -webkit-text-fill-color: #0F172A !important;
    }

    /* Override inline styles from script.js */
    html.dark-mode [style*="background:#f1f5f9"] {
        background: #1e293b !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    html.dark-mode [style*="color:#0F172A"],
    html.dark-mode [style*="color: #0F172A"] {
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }

    /* --- HIDE GOOGLE TRANSLATE BANNER --- */
    body {
        top: 0 !important;
    }
    .goog-te-banner-frame,
    #goog-gt-tt,
    .goog-te-balloon-frame {
        display: none !important;
    }
    iframe.skiptranslate {
        display: none !important;
        visibility: hidden !important;
    }
    div.skiptranslate {
        display: none !important;
        visibility: hidden !important;
    }

/* SEO H1 Fix */
.section-header h1.page-main-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; font-family: 'Playfair Display', serif; }

