/* ==========================================================================
   BYD ARISTA SURABAYA - OFFICIAL THEME STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@400;500;600&family=Inter:ital,wght@0,400;0,600;0,700;1,700&family=Outfit:wght@300;400;500;600;700;800&family=Public+Sans:wght@300;400;600;700;800&display=swap');

:root {
    --theme-bg: #141414;
    --panel: #17191C;
    --panel-2: #1E2124;
    --border: #2A2D33;
    --accent: #00A8D1;
    --accent-hover: #0086ab;
    --text-muted: #bcbdc0;
    --text-light: #ffffff;
    --theme_rounded: 12px;
    --theme_btn_rounded: 30px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--theme-bg);
}

body {
    background-color: var(--theme-bg);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #4cd2f3;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.25;
}

/* Page container width matching 89% */
.pagewidth {
    width: 89%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar-wrap {
    background-color: #0d0f12;
    border-bottom: 1px solid #1f232b;
    font-size: 13px;
    color: #9ba0aa;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-link {
    color: #cfcfcf;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-link:hover {
    color: var(--accent);
}

.social-icons-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons-wrap a {
    color: #8c93a0;
    font-size: 14px;
    transition: color 0.2s;
}

.social-icons-wrap a:hover {
    color: var(--accent);
}

/* Main Navigation */
#headerwrap {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    padding: 10px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.brand-logo-img {
    height: 24px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(1);
    transition: opacity 0.3s ease;
}

.site-logo:hover .brand-logo-img {
    opacity: 0.85;
}

.logo-brand .logo-divider {
    color: var(--accent);
    font-weight: 300;
    margin: 0 1px;
}

.logo-brand .dealer-name {
    color: #ffffff;
    font-weight: 800;
}

.logo-sub {
    border-left: 1px solid #333842;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
}

.logo-sub .dealer-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-sub .dealer-badge {
    font-size: 10px;
    color: var(--accent);
}

#main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

#main-nav li a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
    transition: color 0.2s;
    text-decoration: none;
    padding: 6px 0;
}

#main-nav li a:hover {
    color: var(--accent);
}

#main-nav li.active a,
#main-nav li.current-menu-item a {
    color: var(--accent) !important;
    font-weight: 700;
}

#main-nav .highlight-link a {
    background-color: var(--accent) !important;
    color: #000000 !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: background-color 0.25s, transform 0.25s !important;
}

#main-nav .highlight-link a:hover {
    background-color: var(--accent-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS (THEMIFY / XPENG STYLE)
   ========================================================================== */
.ui.builder_button, .btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
}

.btn-pill.accent-color {
    background-color: var(--accent);
    color: #000000;
}

.btn-pill.accent-color:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-pill.btn-dark {
    background-color: #2A2D33;
    color: #ffffff;
    border: 1px solid #3d424c;
}

.btn-pill.btn-dark:hover {
    background-color: #383c44;
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION WITH BACKGROUND VIDEO (MATCHING inicontoh.html lines 364-404)
   ========================================================================== */
.hero-full-wrap {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0a0b0d;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.95;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,16,20,0.4) 0%, rgba(14,16,20,0.08) 35%, rgba(14,16,20,0.15) 65%, rgba(20,20,20,0.95) 100%),
                radial-gradient(circle at 18% 45%, rgba(0,0,0,0.25) 0%, transparent 60%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 70px 0 60px;
    width: 100%;
}

.hero-grid-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

/* Left Column */
.hero-col-left {
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-title {
    font-size: clamp(32px, 3.8vw, 48px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.hero-accent {
    color: var(--accent);
}

.hero-action {
    display: inline-flex;
}

.hero-btn-test-drive {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 11px 26px !important;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 6px 20px rgba(0, 168, 209, 0.4);
    transition: all 0.3s ease;
}

.hero-btn-test-drive:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 209, 0.6);
}

/* Spacer in the middle */
.hero-col-spacer {
    flex: 1;
    min-width: 40px;
}

/* Right Glass Card */
.hero-col-right {
    max-width: 380px;
}

.hero-glass-card {
    background: rgba(18, 22, 28, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 24px 28px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-glass-card:hover {
    border-color: rgba(0, 168, 209, 0.4);
    transform: translateY(-3px);
}

.hero-glass-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    line-height: 1.35;
    letter-spacing: 0.2px;
}

.hero-glass-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.68;
    margin: 0;
}

/* Transitions and Animations ("transisi dari bawah dan kiri") */
.hero-anim-left {
    opacity: 0;
    animation: heroSlideLeft 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-anim-up {
    opacity: 0;
    animation: heroSlideUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-anim-right {
    opacity: 0;
    animation: heroSlideRight 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

@keyframes heroSlideLeft {
    0% {
        opacity: 0;
        transform: translate3d(-35px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroSlideUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 35px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroSlideRight {
    0% {
        opacity: 0;
        transform: translate3d(35px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ==========================================================================
   VIDEO EMBED & TENTANG KAMI SECTION
   ========================================================================== */
.section-video-wrap {
    padding: 60px 0 80px;
    text-align: center;
}

.video-container-center {
    max-width: 920px;
    margin: 0 auto 36px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 168, 209, 0.2);
    border: 1px solid #2a2d33;
    position: relative;
    background: #000;
}

.video-container-center video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 0;
    outline: none;
}

.section-title-wrap {
    max-width: 820px;
    margin: 0 auto 20px;
}

.section-title-wrap h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.section-title-wrap h2 span {
    color: var(--accent);
}

.section-title-wrap p {
    font-size: 15px;
    color: #a4abb8;
    line-height: 1.7;
}

.about-card-inner {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 28px 32px;
    background: #17191C;
    border: 1px solid #262930;
    border-radius: 16px;
}

.about-card-inner h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffffff;
}

.about-card-inner p {
    font-size: 14px;
    color: #9ba0aa;
    line-height: 1.7;
}

/* ==========================================================================
   CAR MODEL SHOWCASE ROWS (EXACT REPLICA FROM inicontoh.html)
   ========================================================================== */
.model-section {
    padding: 30px 0;
}

.model-row-card {
    background: linear-gradient(180deg, #1E2124 0%, #17191C 100%);
    border: 1px solid #282c34;
    border-radius: 24px;
    padding: 44px 48px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.model-row-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 168, 209, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 35px rgba(0, 168, 209, 0.1);
}

/* Reverse layout for alternating rows */
.model-row-card.reverse-row {
    grid-template-columns: 1fr 1fr;
}

.model-row-card.reverse-row .model-col-left {
    order: 2;
}

.model-row-card.reverse-row .model-col-right {
    order: 1;
}

.model-col-left h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
}

/* 3-Column Specs Box */
.specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-box p {
    font-size: 12px;
    color: #8c93a0;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.spec-box h3 strong {
    color: var(--accent);
}

/* Color List and Pills */
.color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.color-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px 3px 4px;
    border-radius: 50px;
    background: #2A2D33;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    transition: 0.3s;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #6b707d;
    flex-shrink: 0;
}

/* Color Gradients */
.dot-white { background: linear-gradient(135deg, #ffffff, #ececec); }
.dot-gray { background: linear-gradient(135deg, #7b7f87, #5e6269); }
.dot-black { background: linear-gradient(135deg, #2b2f36, #16181c); }
.dot-silver { background: linear-gradient(135deg, #dce1e8, #aeb6c2); }
.dot-blue { background: linear-gradient(135deg, #1e3a8a, #0284c7); }
.dot-green { background: linear-gradient(135deg, #10b981, #047857); }
.dot-pink { background: linear-gradient(135deg, #f472b6, #db2777); }
.dot-navy { background: linear-gradient(135deg, #0f172a, #1e293b); }
.dot-gold { background: linear-gradient(135deg, #fbbf24, #d97706); }
.dot-atlantic-gray, .dot-atlantic { background: linear-gradient(135deg, #8ba0b8 0%, #687e97 50%, #4a5f78 100%); box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4); }

/* Model Price */
.model-price {
    font-size: 14px;
    color: #cfcfcf;
    margin-bottom: 24px;
    font-weight: 500;
}

.model-price strong {
    color: var(--accent);
    font-size: 16px;
}

/* Model Button Pair */
.model-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Model Col Right: Car image */
.model-col-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.model-col-right img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}

.model-row-card:hover .model-col-right img {
    transform: scale(1.04) translateY(-3px);
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.7));
}

/* ==========================================================================
   3 OVERLAY CARDS (SUSTAINABILITY, INTELLIGENCE, QUALITY) - FULLWIDTH EDGE-TO-EDGE
   ========================================================================== */
.brand-pillars-section {
    width: 100%;
    max-width: 100%;
    margin: 40px 0;
    padding: 0;
    overflow: hidden;
}

.overlay-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.overlay-card {
    position: relative;
    border-radius: 0px !important;
    overflow: hidden;
    height: 330px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px 20px;
    border: none;
    outline: none;
    background: #0f1115;
    box-sizing: border-box;
}

.overlay-card picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.overlay-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0px !important;
    transition: transform 0.6s ease;
}

.overlay-card:hover img {
    transform: none;
}

.overlay-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(10,12,15,0.7) 65%, rgba(10,12,15,0.92) 100%);
    z-index: 1;
}

.overlay-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.overlay-card-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.overlay-card-content p {
    font-size: 13px;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.5;
}

/* ==========================================================================
   TEKNOLOGI & FEATURES GRID (EXACT SVG FROM inicontoh.html)
   ========================================================================== */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #17191C;
    border: 1px solid #282c34;
    border-radius: 16px;
    padding: 18px 22px;
    transition: border-color 0.3s, transform 0.25s;
}

.feature-item:hover {
    border-color: rgba(0, 168, 209, 0.4);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 168, 209, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}

.feature-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* ==========================================================================
   DEALER PROMO HEADLINE & CAPSULE (REPLICATING inicontoh.html lines 1147-1194)
   ========================================================================== */
.dealer-headline-section {
    background: #0c0d10;
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.dealer-headline-wrap {
    max-width: 950px;
    padding: 20px 0;
}

.dealer-headline-title {
    font-size: clamp(40px, 5.4vw, 66px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.16;
    margin-bottom: 22px;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
}

.dealer-headline-subtitle {
    font-size: 18px;
    color: #9da3ae;
    margin-bottom: 44px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* Scroll Transition from the Side (fadeInLeft) */
.anim-fade-in-left .dealer-headline-title {
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 1.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.3s ease-out;
    will-change: transform, opacity;
}

.anim-fade-in-left .dealer-headline-subtitle {
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 1.3s ease-out 0.25s;
    will-change: transform, opacity;
}

.anim-fade-in-left .capsule-promo-container {
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, opacity 1.3s ease-out 0.5s;
    will-change: transform, opacity;
}

.anim-fade-in-left.in-view .dealer-headline-title,
.anim-fade-in-left.in-view .dealer-headline-subtitle,
.anim-fade-in-left.in-view .capsule-promo-container {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .dealer-headline-section {
        min-height: calc(100vh - 70px);
        padding: 50px 0 35px;
    }
    .dealer-headline-title {
        font-size: 32px;
        line-height: 1.2;
    }
    .dealer-headline-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .anim-fade-in-left .dealer-headline-title,
    .anim-fade-in-left .dealer-headline-subtitle,
    .anim-fade-in-left .capsule-promo-container {
        transform: translateX(-25px);
    }
}
    
    .dealer-promo-capsule {
        width: 100%;
        justify-content: space-between;
        padding: 6px 6px 6px 14px;
        gap: 8px;
    }

    .capsule-phone-label span {
        font-size: 12px;
    }

    .capsule-btn-kontak {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .dealer-promo-capsule {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 16px;
    }
    .capsule-phone-label {
        justify-content: center;
        margin-bottom: 8px;
    }
    .capsule-btn-kontak {
        justify-content: center;
    }
}

/* ==========================================================================
   MENGAPA MEMILIH KAMI (4 COLS WITH CYAN ICONS)
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.why-us-card {
    background: #17191C;
    border: 1px solid #262930;
    border-radius: 18px;
    padding: 30px 24px;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

.why-us-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 168, 209, 0.4);
}

.why-us-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.why-us-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.why-us-card p {
    font-size: 13px;
    color: #9ba0aa;
    line-height: 1.6;
}

/* ==========================================================================
   DUAL CTA GRID (TEST DRIVE & SIMULASI KREDIT)
   ========================================================================== */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 50px 0;
}

.cta-card {
    background: #17191C;
    border: 1px solid #282c34;
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 168, 209, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
}

.cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.cta-desc {
    font-size: 14px;
    color: #9da3ae;
    line-height: 1.6;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    background: var(--accent);
    color: #000000;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    width: fit-content;
    margin-top: auto;
    transition: all 0.25s;
}

.cta-link:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-link.outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.cta-link.outline:hover {
    background: var(--accent);
    color: #000000;
}

/* ==========================================================================
   CUSTOMER HANDOVER GALLERY (REAL IMAGES FROM img/)
   ========================================================================== */
.handover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.handover-card {
    background: #17191C;
    border: 1px solid #282c34;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.handover-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 168, 209, 0.4);
}

.handover-img-wrap {
    height: 380px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.handover-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.handover-card:hover .handover-img-wrap img {
    transform: scale(1.04);
}

.handover-body {
    padding: 20px 24px;
}

.handover-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.handover-body p {
    font-size: 13px;
    color: #9ba0aa;
}

/* ==========================================================================
   ARTICLES & INFO TERBARU
   ========================================================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.article-card {
    background: #17191C;
    border: 1px solid #282c34;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-img-wrap {
    height: 210px;
    overflow: hidden;
    background: #0d0f12;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-img-wrap img {
    transform: scale(1.05);
}

.article-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    display: inline-block;
    background: var(--accent);
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 12px;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-desc {
    font-size: 13px;
    color: #9ba0aa;
    line-height: 1.6;
    margin-bottom: 18px;
}

.article-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
}

/* ==========================================================================
   BOOKING TEST DRIVE & SIMULASI KREDIT FORMS
   ========================================================================== */
.form-section-card {
    background: #17191C;
    border: 1px solid #282c34;
    border-radius: 24px;
    padding: 40px;
    margin: 50px 0;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: #111418;
    border: 1px solid #2a2e38;
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--accent);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (EXACT MATCH #wa-float)
   ========================================================================== */
#wa-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 999999;
    font-family: sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
    animation: waPulse 2s infinite;
}

#wa-float:hover {
    transform: translateY(-4px);
    color: #ffffff;
}

#wa-float img {
    width: 28px;
    height: 28px;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
    70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footerwrap {
    background-color: #0e1014;
    border-top: 1px solid #1f232b;
    padding: 60px 0 30px;
    color: #8c93a0;
    font-size: 13px;
}

.footer-grid-4 {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #a4abb8;
    text-decoration: none;
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom-text {
    border-top: 1px solid #1a1e26;
    padding-top: 24px;
    font-size: 12px;
    color: #6d7582;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid-3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }
    .hero-col-left, .hero-col-right {
        max-width: 100%;
        width: 100%;
    }
    .hero-col-spacer {
        display: none;
    }

    /* Model Row Card - single column stack */
    .model-row-card,
    .model-row-card.reverse-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        padding: 32px 24px !important;
        gap: 24px !important;
    }
    /* Car on TOP */
    .model-row-card .model-col-right,
    .model-row-card.reverse-row .model-col-right {
        order: 1 !important;
        width: 100% !important;
    }
    /* Details below Car */
    .model-row-card .model-col-left,
    .model-row-card.reverse-row .model-col-left {
        order: 2 !important;
        width: 100% !important;
    }

    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-wrap {
        display: none;
    }
    #main-nav {
        display: none;
    }
    .mobile-nav-toggle {
        display: block !important;
        font-size: 20px !important;
        color: #ffffff !important;
        padding: 6px !important;
        margin: 0 !important;
        cursor: pointer;
    }

    /* Header & Navbar on Mobile matching XPENG inicontoh.html */
    #headerwrap {
        background: #000000 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    #header {
        min-height: 58px !important;
        padding: 12px 0 !important;
        width: 90% !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .site-logo {
        gap: 0 !important;
    }

    /* On mobile, show clean BYD | ARISTA logo without the crowding sub-badge */
    .logo-brand {
        font-size: 19px !important;
        gap: 6px !important;
        letter-spacing: 1px !important;
    }

    .brand-logo-img {
        height: 19px !important;
    }

    .logo-brand .dealer-name {
        font-size: 19px !important;
    }

    .logo-sub {
        display: none !important;
    }

    /* Hero Section on Mobile matching XPENG media_1791518539904_33e81c7f.png */
    .hero-full-wrap {
        min-height: calc(100vh - 58px) !important;
        min-height: 92vh !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding-top: clamp(150px, 22vh, 210px) !important;
        padding-bottom: 60px !important;
        box-sizing: border-box !important;
    }

    .hero-content {
        width: 90% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .hero-grid-3 {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* Left Column: Title & Button */
    .hero-col-left {
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: clamp(40px, 6vh, 60px) !important; /* Generous gap between button and glass card so background car is visible */
    }

    .hero-title {
        font-size: 25px !important;
        font-weight: 800 !important;
        line-height: 1.22 !important;
        margin-bottom: 16px !important;
        letter-spacing: -0.3px !important;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7) !important;
        max-width: 320px !important;
    }

    .hero-action {
        display: inline-flex !important;
        margin-bottom: 0 !important;
    }

    .hero-btn-test-drive {
        padding: 8px 20px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: 0.6px !important;
        gap: 7px !important;
        border-radius: 50px !important;
        box-shadow: 0 4px 14px rgba(0, 168, 209, 0.35) !important;
    }

    .hero-btn-test-drive i {
        font-size: 11px !important;
    }

    /* Middle spacer */
    .hero-col-spacer {
        display: none !important;
    }

    /* Right Column Glass Card - positioned lower with breathing room matching XPENG */
    .hero-col-right {
        display: block !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .hero-glass-card {
        padding: 16px 20px !important;
        border-radius: 18px !important;
        background: rgba(18, 22, 28, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4) !important;
        max-width: 340px !important;
        margin-top: 0 !important;
        margin-bottom: 35px !important;
    }

    .hero-glass-title {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        color: var(--accent) !important;
        margin-bottom: 7px !important;
        line-height: 1.3 !important;
        letter-spacing: 0.2px !important;
    }

    .hero-glass-desc {
        font-size: 11px !important;
        line-height: 1.55 !important;
        color: #cbd5e1 !important;
        margin: 0 !important;
    }

    /* Floating WhatsApp Button on Mobile matching XPENG */
    #wa-float {
        right: 18px !important;
        bottom: 22px !important;
        padding: 8px 16px !important;
        font-size: 12px !important;
        border-radius: 50px !important;
        gap: 8px !important;
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4) !important;
        z-index: 9999 !important;
    }

    #wa-float img {
        width: 20px !important;
        height: 20px !important;
    }

    /* Model Row Card on Mobile Phones */
    .model-row-card,
    .model-row-card.reverse-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        padding: 24px 18px !important;
        margin-bottom: 24px !important;
        gap: 16px !important;
        border-radius: 20px !important;
    }

    .model-row-card .model-col-right,
    .model-row-card.reverse-row .model-col-right {
        order: 1 !important;
        width: 100% !important;
        min-height: auto !important;
        padding: 6px 0 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .model-row-card .model-col-left,
    .model-row-card.reverse-row .model-col-left {
        order: 2 !important;
        width: 100% !important;
    }

    .model-col-left h2 {
        font-size: 22px !important;
        margin-bottom: 14px !important;
        text-align: left !important;
    }

    .car-frame-box {
        min-height: 190px !important;
        width: 100% !important;
        padding: 8px 0 !important;
    }

    .car-picture {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .car-img-fluid {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.65)) !important;
    }

    .car-model-watermark {
        font-size: clamp(2rem, 8.5vw, 3.4rem) !important;
        top: 45% !important;
    }

    /* Mobile subtle vertical slide - no horizontal off-screen shift */
    .car-col-animate {
        transition: transform 1.0s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease-out !important;
    }
    .drive-from-right, .drive-from-left {
        transform: translateY(20px) !important;
    }
    .car-col-animate.in-view {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .specs-row {
        gap: 8px !important;
        margin-bottom: 14px !important;
    }
    .spec-box {
        padding: 9px 4px !important;
        text-align: center !important;
    }
    .spec-box p {
        font-size: 11px !important;
    }
    .spec-box h3 {
        font-size: 15px !important;
    }

    .color-list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
        margin-bottom: 14px !important;
    }
    .color-item {
        font-size: 11px !important;
    }
    .model-price {
        font-size: 13px !important;
        margin-bottom: 18px !important;
    }
    .model-buttons {
        display: flex !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .model-buttons a {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 11px 12px !important;
        font-size: 13px !important;
    }

    /* Brand pillars on mobile */
    .overlay-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .overlay-card {
        height: 250px !important;
    }
    html.light .overlay-card {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
    }
    .cta-grid {
        grid-template-columns: 1fr !important;
    }
    .handover-grid {
        grid-template-columns: 1fr !important;
    }
    .articles-grid {
        grid-template-columns: 1fr !important;
    }
    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
    .footer-grid-4 {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   Page Header Banner (Matching Model Unit & Multi-page screenshot)
   ========================================================================== */
.page-header-banner {
    background: #0c0d10;
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    box-sizing: border-box;
}

.page-header-content {
    max-width: 950px;
    padding: 20px 0;
}

.page-title {
    font-size: clamp(40px, 5.4vw, 66px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.16;
    margin-bottom: 22px;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
}

.page-subtitle {
    font-size: 18px;
    color: #9da3ae;
    margin-bottom: 46px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.capsule-promo-container {
    display: flex;
    align-items: center;
}

.capsule-promo-box {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 7px 7px 7px 26px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.capsule-promo-box:hover {
    border-color: rgba(0, 168, 209, 0.45);
    box-shadow: 0 10px 30px rgba(0, 168, 209, 0.12);
    transform: translateY(-2px);
}

.capsule-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

.capsule-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #000000 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.capsule-btn:hover {
    background: var(--accent-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .page-header-banner {
        min-height: calc(100vh - 70px);
        padding: 50px 0 35px;
    }
    .page-title {
        font-size: 32px;
        line-height: 1.2;
    }
    .page-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .capsule-promo-box {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 6px 6px 16px;
    }
    .capsule-left {
        font-size: 12px;
    }
    .capsule-btn {
        padding: 9px 18px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Smooth Page Entrance & Scroll Transitions (Parity with Themify Ultra/XPENG)
   ========================================================================== */
main#content {
    animation: pageEntranceFade 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageEntranceFade {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframe Animations */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-38px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(38px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -22px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Entrance Utility Classes - Silky Smooth, Gentle, Luxury EV Style */
.anim-fade-left {
    animation: fadeInLeft 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-fade-right {
    animation: fadeInRight 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-fade-up {
    animation: fadeInUp 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.anim-fade-down {
    animation: fadeInDown 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 0.28s; }
.delay-2 { animation-delay: 0.56s; }
.delay-3 { animation-delay: 0.84s; }

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    transform: translate3d(-40px, 0, 0);
}

.reveal-right {
    transform: translate3d(40px, 0, 0);
}

.reveal-up {
    transform: translate3d(0, 30px, 0);
}

.reveal-on-scroll.is-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

@media (max-width: 768px) {
    .reveal-left, .reveal-right {
        transform: translate3d(0, 25px, 0) !important;
    }
}

/* ==========================================================================
   Test Drive Benefits Grid
   ========================================================================== */
.test-drive-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0 30px;
}

.benefit-card {
    background: linear-gradient(180deg, #1e2126 0%, #16181c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 168, 209, 0.4);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 168, 209, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(0, 168, 209, 0.12);
    border: 1px solid rgba(0, 168, 209, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
}

.benefit-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.benefit-card p {
    font-size: 13px;
    color: #9da3ae;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .test-drive-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   Dedicated Contact Page Styles (Showroom & Map)
   ========================================================================== */
.contact-page-section {
    padding: 60px 0;
    position: relative;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 40px;
}

.contact-cards-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-card {
    background: linear-gradient(180deg, #181a20 0%, #121418 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover {
    border-color: rgba(0, 168, 209, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(0, 168, 209, 0.08);
}

.contact-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(0, 168, 209, 0.12);
    border: 1px solid rgba(0, 168, 209, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 19px;
    flex-shrink: 0;
}

.contact-card-body h4 {
    color: #9da3ae;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 5px 0;
}

.contact-card-body p {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.contact-card-body span.sub-label {
    display: block;
    color: #00d26a;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.contact-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.contact-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-act-btn.maps-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-act-btn.maps-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff;
    color: #ffffff;
}

.contact-act-btn.wa-btn {
    background: #00A8D1;
    color: #000000;
    font-weight: 700;
}

.contact-act-btn.wa-btn:hover {
    background: #00c0f0;
    color: #000000;
    transform: translateY(-1px);
}

.contact-map-col {
    height: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.contact-map-container {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: #111317;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: none;
    filter: brightness(0.92) contrast(1.05);
}

.contact-map-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(12, 13, 16, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 209, 0.4);
    padding: 10px 18px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-map-col,
    .contact-map-container,
    .contact-map-container iframe {
        min-height: 340px;
    }
}

/* ==========================================================================
   THEME TOGGLE & VIEW TRANSITION ANIMATIONS (MATCHING USER REFERENCE)
   ========================================================================== */

/* Circular View Transition matching user reference */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

::view-transition-old(root) {
    z-index: 1;
}

::view-transition-new(root) {
    z-index: 999999;
}

/* Fallback smooth transition */
html.theme-transitioning,
html.theme-transitioning body,
html.theme-transitioning * {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1E2124;
    border: 1px solid #2A2D33;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    position: relative;
    user-select: none;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(0, 168, 209, 0.3);
}

.theme-toggle-btn svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.25s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(20deg) scale(1.08);
}

/* Default (Dark Mode): Show Moon, Hide Sun */
html:not(.light) .theme-toggle-btn .theme-icon-sun {
    display: none !important;
}
html:not(.light) .theme-toggle-btn .theme-icon-moon {
    display: block !important;
}

/* Light Mode: Show Sun, Hide Moon */
html.light .theme-toggle-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

html.light .theme-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 16px rgba(0, 168, 209, 0.25);
}

html.light .theme-toggle-btn .theme-icon-moon {
    display: none !important;
}

html.light .theme-toggle-btn .theme-icon-sun {
    display: block !important;
}

/* Header actions for mobile */
.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .header-mobile-actions {
        display: flex;
    }
}

/* ==========================================================================
   LIGHT THEME OVERRIDES (CLEAN & NON-DESTRUCTIVE)
   ========================================================================== */
html.light {
    --theme-bg: #f8fafc;
    --panel: #ffffff;
    --panel-2: #f1f5f9;
    --border: #e2e8f0;
    --accent: #0090b8;
    --accent-hover: #007699;
    --text-muted: #475569;
    --text-light: #0f172a;
    background-color: #f8fafc;
}

html.light body {
    background-color: #f8fafc;
    color: #475569;
}

html.light h1:not(#hero h1):not(.hero-title),
html.light h2,
html.light h3:not(#hero h3):not(.hero-glass-title),
html.light h4,
html.light h5,
html.light h6 {
    color: #0f172a;
}

/* Hero section text MUST always stay crisp white & electric cyan over video */
html.light #hero .hero-title,
html.light .hero-title {
    color: #ffffff !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85), 0 8px 30px rgba(0, 0, 0, 0.7) !important;
}

html.light #hero .hero-accent,
html.light .hero-accent {
    color: #00c6f7 !important;
    text-shadow: 0 0 22px rgba(0, 198, 247, 0.65), 0 2px 10px rgba(0, 0, 0, 0.9) !important;
}

html.light #hero .hero-glass-card,
html.light .hero-glass-card {
    background: rgba(12, 16, 22, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

html.light #hero .hero-glass-title,
html.light .hero-glass-title {
    color: #00c6f7 !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

html.light #hero .hero-glass-desc,
html.light .hero-glass-desc {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7) !important;
}

/* Top bar light */
html.light .top-bar-wrap {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
}

html.light .top-bar-link {
    color: #334155;
}

html.light .top-bar-link:hover {
    color: var(--accent);
}

/* Navigation bar light */
html.light #headerwrap {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

html.light .logo-brand .brand-logo-img {
    filter: invert(1) brightness(0.1);
}

html.light .logo-brand .dealer-name {
    color: #0f172a;
}

html.light .logo-sub .dealer-title {
    color: #0f172a;
}

html.light #main-nav li a {
    color: #1e293b;
}

html.light #main-nav li a:hover {
    color: var(--accent);
}

html.light #main-nav li.active a {
    color: var(--accent) !important;
}

html.light .mobile-nav-toggle {
    color: #0f172a !important;
}

html.light #mobile-menu-drawer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
}

html.light #mobile-menu-drawer a {
    color: #1e293b !important;
}

/* Model cards light */
html.light .model-section {
    background-color: #f8fafc;
}

html.light .model-row-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

html.light .model-row-card:hover {
    border-color: rgba(0, 168, 209, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 0 30px rgba(0, 168, 209, 0.12);
}

html.light .model-col-left h2 {
    color: #0f172a;
}

html.light .specs-row {
    border-bottom: 1px solid #e2e8f0;
}

html.light .spec-box p {
    color: #64748b;
}

html.light .spec-box h3 {
    color: #0f172a;
}

html.light .color-item {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

html.light .model-price {
    color: #475569 !important;
}

html.light .model-price strong {
    color: var(--accent) !important;
}

html.light .car-img-fluid {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12)) !important;
}

html.light .model-row-card:hover .model-col-right img,
html.light .model-row-card:hover .car-img-fluid {
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.15)) !important;
}

html.light .car-model-watermark {
    color: rgba(15, 23, 42, 0.035) !important;
}

html.light .btn-pill.btn-dark {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

html.light .btn-pill.btn-dark:hover {
    background: #e2e8f0;
    color: #000000;
}

/* Brand Pillars light: High-contrast, rich, vibrant photography (NEVER faded) */
html.light .brand-pillars-section {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background-color: transparent;
}

html.light .overlay-card {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

html.light .overlay-card img {
    filter: brightness(0.98) contrast(1.1) saturate(1.15) !important;
}

html.light .overlay-card::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(10, 12, 15, 0.45) 65%, rgba(10, 12, 15, 0.85) 100%) !important;
}

html.light .overlay-card-content h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
    font-weight: 800 !important;
}

html.light .overlay-card-content p {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8) !important;
}

/* Features & Tech Grid light */
html.light .features-section {
    background-color: #ffffff;
}

html.light .feature-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

html.light .feature-item:hover {
    background: #ffffff;
    border-color: rgba(0, 168, 209, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

html.light .feature-text {
    color: #0f172a !important;
}

html.light .feature-text h4 {
    color: #0f172a !important;
}

html.light .feature-text p {
    color: #64748b !important;
}

html.light .feature-icon {
    background: rgba(0, 168, 209, 0.1);
}

/* Dealer promo headline section light */
html.light .dealer-headline-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

html.light .dealer-headline-title {
    color: #0f172a;
}

html.light .dealer-headline-subtitle {
    color: #475569;
}

html.light .capsule-promo-box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

html.light .capsule-left {
    color: #0f172a !important;
}

html.light .dealer-promo-capsule {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

html.light .capsule-phone-label span {
    color: #0f172a;
}

/* Why us grid light */
html.light .why-us-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

html.light .why-us-card:hover {
    border-color: rgba(0, 168, 209, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

html.light .why-us-card h4 {
    color: #0f172a;
}

html.light .why-us-card p {
    color: #64748b;
}

/* Dual CTA light */
html.light .cta-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

html.light .cta-title {
    color: #0f172a;
}

html.light .cta-desc {
    color: #64748b;
}

/* Articles light */
html.light .article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

html.light .article-content h3 {
    color: #0f172a;
}

html.light .article-content p {
    color: #64748b;
}

/* Form section cards light */
html.light .form-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

html.light .form-group label {
    color: #334155;
}

html.light .form-control {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

html.light .form-control:focus {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 168, 209, 0.15);
}

/* Other Pages (Model Unit, Test Drive, Simulasi, Galeri, Kontak) */
html.light .page-header-banner {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

html.light .page-header-title {
    color: #0f172a;
}

html.light .page-breadcrumb {
    color: #64748b;
}

html.light .page-breadcrumb a {
    color: #334155;
}

html.light .contact-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

html.light .contact-card-body h4 {
    color: #64748b;
}

html.light .contact-card-body p {
    color: #0f172a;
}

html.light .contact-act-btn.maps-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

html.light .contact-act-btn.maps-btn:hover {
    background: #e2e8f0;
    color: #000000;
}

html.light .contact-map-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

html.light .contact-map-badge {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--accent);
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

html.light .test-drive-benefits-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

html.light .calculator-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

html.light .calc-result-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

html.light .calc-result-box h4 {
    color: #0f172a;
}

html.light .about-card-inner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

html.light .about-card-inner h3 {
    color: #0f172a;
}

html.light .about-card-inner p {
    color: #475569;
}

/* Video container light */
html.light #video-container-box {
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

/* Customer Handover Gallery light */
html.light .handover-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
}

html.light .handover-body h4 {
    color: #0f172a !important;
}

html.light .handover-body p {
    color: #64748b !important;
}

/* Section Title & Subtitle light */
html.light .section-title-wrap p {
    color: #64748b !important;
}

/* Footer light */
html.light #footerwrap {
    background-color: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

html.light #footerwrap p {
    color: #64748b !important;
}

html.light .footer-col h4 {
    color: #0f172a !important;
}

html.light .footer-col ul li a {
    color: #475569 !important;
}

html.light .footer-col ul li a:hover {
    color: var(--accent) !important;
}

html.light .footer-bottom-text {
    border-top: 1px solid #e2e8f0 !important;
    color: #94a3b8 !important;
}

html.light .social-icons-wrap a {
    color: #64748b !important;
}

html.light .social-icons-wrap a:hover {
    color: var(--accent) !important;
}




