:root {
    --av-primary: #0091EA;   /* Biru Cerah Dominan */
    --av-yellow: #FEC400;    /* Kuning SUNRA (Aksen) */
    --av-secondary: #02B4D8; /* Biru Gradasi */
    --av-tertiary: #90E0EF;  /* Biru Soft (Card/Border) */
    
    --av-dark: #0A192F;      /* Biru Sangat Gelap (Teks/Kontras) */
    --av-white: #FFFFFF;
    --av-wa: #25D366;        /* Hijau WhatsApp */
    --text-muted: #475569;
    
    /* Efek Glow */
    --glow-yellow: 0 0 15px rgba(254, 196, 0, 0.5), 0 0 30px rgba(254, 196, 0, 0.3);
    --glow-blue: 0 0 15px rgba(0, 145, 234, 0.5);
    --neon-glow-wa: 0 0 15px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.4);
}

/* Mencegah Horizontal Overflow Bug (Gap Putih di Kanan) secara Global */
html, body {
    font-family: 'Outfit', sans-serif;
    color: var(--av-dark);
    background-color: #F8FAFC;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; 
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--av-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-padding { padding: 100px 0; }
.text-yellow { color: var(--av-yellow); text-shadow: 0 2px 4px rgba(0,0,0,0.2); }

/* --- TOMBOL WHATSAPP NEON --- */
.btn-wa-neon {
    background-color: var(--av-wa);
    color: var(--av-white) !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--neon-glow-wa);
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Mencegah teks turun jadi dua baris saat terdesak */
    text-align: center;
}
.btn-wa-neon:hover {
    background-color: #1ebc59;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8), 0 0 45px rgba(37, 211, 102, 0.5);
}

/* --- DESAIN TOMBOL LOGIN & OUTLINE --- */
.btn-login-neon {
    background-color: transparent;
    color: var(--av-primary) !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--av-primary);
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Mencegah teks turun jadi dua baris saat terdesak */
    text-align: center;
}
.btn-login-neon:hover {
    background-color: var(--av-primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 137, 234, 0.3);
}

/* Khusus Tombol Outline Putih (Hero Section) */
.btn-outline-white {
    border-color: var(--av-white) !important;
    color: var(--av-white) !important;
}
.btn-outline-white:hover {
    background-color: var(--av-white) !important;
    color: var(--av-primary) !important;
}

/* --- NAVBAR & LOGO --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--av-yellow);
    padding: 12px 0;
    transition: all 0.3s;
}
.navbar-brand img {
    height: 55px; 
    object-fit: contain; 
    border-radius: 6px;
    transition: all 0.3s;
}
.logo-sunra {
    height: 70px !important; 
    transition: all 0.3s;
}
.footer-logo-img {
    height: 50px; 
    object-fit: contain;
}
.nav-link {
    font-weight: 600;
    color: var(--av-dark) !important;
    margin: 0 15px;
    transition: all 0.3s;
    white-space: nowrap; /* Mencegah teks menu turun ke bawah */
}
.nav-link:hover {
    color: var(--av-primary) !important;
}

/* Menyesuaikan ukuran khusus untuk ke dua tombol saat berada di dalam Navbar di desktop (FHD/4K) */
.navbar .btn-wa-neon,
.navbar .btn-login-neon {
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}
.navbar .btn-wa-neon i,
.navbar .btn-login-neon i {
    font-size: 1rem !important; 
}

/* --- SECTION 1: HERO BANNER --- */
.hero-section {
    background: linear-gradient(135deg, var(--av-primary) 0%, var(--av-secondary) 100%);
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    color: var(--av-white);
    border-bottom: 8px solid var(--av-yellow);
}
.hero-title {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--av-white);
}
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--av-tertiary);
    margin-bottom: 40px;
    font-weight: 400;
}
.hero-image {
    width: 100%;
    max-width: 700px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    animation: floating 4s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.badge-hero {
    background: var(--av-yellow);
    color: var(--av-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 50px; /* Menambah jarak khusus di atas badge pada tampilan HP */
    margin-bottom: 25px;
    display: inline-block;
    box-shadow: var(--glow-yellow);
}
/* Menyeragamkan ukuran tombol di Hero Section (Desktop) */
.hero-buttons .btn-wa-neon,
.hero-buttons .btn-login-neon {
    flex: 1; /* Membuat kedua tombol berbagi ruang yang sama */
    max-width: 300px; /* Batas maksimal agar tidak kepanjangan */
}

/* --- SECTION 2: KREDIBILITAS --- */
.credibility-section { background-color: var(--av-white); }
.cred-card {
    background: var(--av-tertiary);
    border: none;
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
}
.cred-card:hover {
    background: var(--av-primary);
    transform: translateY(-5px);
    box-shadow: var(--glow-blue);
}
.cred-card:hover h3, .cred-card:hover p, .cred-card:hover .cred-icon { color: var(--av-white); }
.cred-icon {
    font-size: 3rem;
    color: var(--av-primary);
    margin-bottom: 25px;
    transition: all 0.3s;
}
.cred-card h3 { color: var(--av-dark); font-size: 1.5rem; transition: all 0.3s; }
.cred-card p { color: var(--text-muted); line-height: 1.6; margin-bottom: 0; transition: all 0.3s; }

/* --- SECTION 3: PELUANG PASAR --- */
.market-section { background-color: #F8FAFC; }
.stat-box {
    background: var(--av-white);
    border-left: 6px solid var(--av-yellow);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.stat-box:hover {
    box-shadow: 0 10px 25px rgba(0, 145, 234, 0.15);
    border-left-color: var(--av-primary);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--av-primary);
    line-height: 1;
    margin-bottom: 10px;
}
.stat-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 0; font-weight: 500; }

/* --- GRAFIK CSS --- */
.chart-container {
    background: var(--av-dark);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
    border-bottom: 5px solid var(--av-yellow);
}
.chart-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: -20%;
    background-image: 
        linear-gradient(rgba(144, 224, 239, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(144, 224, 239, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    transform: perspective(600px) rotateX(60deg);
    transform-origin: bottom;
}
.svg-chart {
    position: absolute;
    bottom: 25%; left: 0; width: 100%; height: 50%;
    z-index: 2; overflow: visible;
}
.chart-path {
    fill: none; stroke: var(--av-yellow); stroke-width: 4;
    filter: drop-shadow(0 0 10px var(--av-yellow));
    stroke-dasharray: 1000; stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.bar-container {
    position: relative; z-index: 1;
    display: flex; justify-content: space-around; align-items: flex-end;
    height: 60%; width: 100%; padding: 0 10px;
}
.data-bar {
    width: 14%;
    background: linear-gradient(to top, rgba(0, 145, 234, 0.1), rgba(0, 145, 234, 0.9));
    border-top-left-radius: 6px; border-top-right-radius: 6px;
    box-shadow: var(--glow-blue);
    border-top: 3px solid var(--av-tertiary); 
    opacity: 0;
    height: 0; 
    animation: growBar 1.5s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

.data-bar:nth-child(1) { --target-height: 25%; animation-delay: 0.2s; }
.data-bar:nth-child(2) { --target-height: 45%; animation-delay: 0.4s; }
.data-bar:nth-child(3) { --target-height: 35%; animation-delay: 0.6s; }
.data-bar:nth-child(4) { --target-height: 70%; animation-delay: 0.8s; }
.data-bar:nth-child(5) { --target-height: 95%; animation-delay: 1.0s; }

@keyframes growBar {
    0% { height: 0; opacity: 0; }
    100% { height: var(--target-height); opacity: 1; }
}

.floating-ui {
    position: absolute; top: 25px; left: 25px;
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px; border-radius: 12px; z-index: 3;
    color: var(--av-white); font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: floatUI 4s ease-in-out infinite;
}
.floating-ui span {
    color: var(--av-yellow); font-weight: 900; font-size: 1.8rem; display: block;
}
@keyframes floatUI {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.floating-ui-2 { top: auto; bottom: 30px; left: auto; right: 25px; text-align: right; animation-delay: 2s; }

/* --- SECTION BARU: SKEMA INVESTASI (CLEAN & MODERN) --- */
.step-card {
    background: var(--av-white);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0, 145, 234, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: left;
}
.step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--av-primary);
    transition: height 0.3s ease;
    z-index: -1;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 145, 234, 0.12);
    border-color: rgba(0, 145, 234, 0.2);
}
.step-card:hover::before {
    background: var(--av-yellow);
}
.step-icon-wrapper {
    width: 60px; height: 60px;
    background: rgba(0, 145, 234, 0.08);
    color: var(--av-primary);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s;
}
.step-card:hover .step-icon-wrapper {
    background: var(--av-primary);
    color: var(--av-white);
    transform: scale(1.05);
}
.step-number-badge {
    position: absolute;
    top: 25px; right: 25px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 145, 234, 0.05);
    line-height: 1;
    transition: all 0.3s;
}
.step-card:hover .step-number-badge {
    color: rgba(254, 196, 0, 0.15);
    transform: scale(1.1) rotate(5deg);
}
.step-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--av-dark);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.step-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* BANK VIP CARD */
.vip-bank-wrapper {
    background: linear-gradient(135deg, #0A192F 0%, #112B52 100%);
    border-radius: 24px;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.vip-bank-wrapper::after {
    content: '\f19c'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -30px; right: -30px;
    font-size: 16rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-10deg);
    z-index: 0;
    pointer-events: none;
}
/* GANTI DAN TIMPA KODE INI */
.bank-details-box {
    background: var(--av-white);
    border-radius: 16px;
    padding: 35px;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-left: 8px solid var(--av-primary);
    text-align: left;
    
    /* Tambahan transisi agar efeknya mulus dan sedikit membal */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

/* TAMBAHKAN EFEK HOVER DI BAWAHNYA */
.bank-details-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-left: 8px solid var(--av-yellow);
}

/* Membuat ikon centang ikut membesar dan menyala saat kartu di-hover */
.bank-details-box .fa-check-circle {
    transition: all 0.4s ease;
}
.bank-details-box:hover .fa-check-circle {
    color: var(--av-yellow) !important;
    opacity: 1 !important;
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(254, 196, 0, 0.6));
}
.bank-logo-placeholder {
    font-size: 1.3rem;
    font-weight: 900;
    color: #003399; /* Warna biru BCA */
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-style: italic;
}
.bank-acc-number {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--av-dark);
    letter-spacing: 2px;
    margin-bottom: 5px;
    word-break: break-word;
    line-height: 1.2;
}
.bank-acc-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- SECTION 5: GALERI --- */
.gallery-section { background-color: #F8FAFC; }
.carousel-item img {
    border-radius: 20px; height: 600px; object-fit: cover;
    border: 4px solid var(--av-white); box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- SECTION 6: FOOTER --- */
.footer-cta {
    background: var(--av-dark); color: var(--av-white); padding: 100px 0; text-align: center;
    border-top: 10px solid var(--av-yellow); 
}
.footer-cta h2 { color: var(--av-white); font-size: 3rem; margin-bottom: 20px; }
footer { background-color: #060F1D; color: var(--av-tertiary); padding: 60px 0 30px; }
footer h5 { color: var(--av-yellow); margin-bottom: 20px; }

/* =======================================================================
   MEDIA QUERIES (RESPONSIVE)
   ======================================================================= */

/* --- FIX KHUSUS UNTUK LAPTOP ENTRY LEVEL (HD/720p) & TABLET LANDSCAPE (992px - 1366px) --- */
@media (min-width: 992px) and (max-width: 1366px) {
    .nav-link {
        margin: 0 8px !important; 
        font-size: 0.9rem !important; 
    }
    .navbar .btn-wa-neon,
    .navbar .btn-login-neon {
        padding: 6px 12px !important; 
        font-size: 0.75rem !important; 
    }
    .navbar-brand img { height: 45px !important; }
    .logo-sunra { height: 55px !important; }
    .navbar-brand .fs-4 { font-size: 1.2rem !important; margin: 0 8px !important; }
}

/* --- FIX KHUSUS UNTUK TABLET POTRAIT & MOBILE (< 991px) --- */
@media (max-width: 991px) {
    .hero-section { 
        padding: 110px 0 50px; 
        text-align: center; 
    }
    .hero-title { font-size: 2.2rem; margin-bottom: 15px; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 30px; }
    .hero-image { margin-top: 30px; max-width: 90%; }
    
    /* Tombol Hero di Mobile ditumpuk dan lebar penuh */
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn-wa-neon,
    .hero-buttons .btn-login-neon {
        width: 100%;
        max-width: 100%; 
    }

    .carousel-item img { height: 400px; }
    
    /* Navbar Mobile Behavior */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-link { margin: 5px 0 !important; padding: 10px 15px !important; }
    
    .navbar .d-flex.flex-column.flex-lg-row { flex-direction: column !important; }
    .navbar .btn-wa-neon,
    .navbar .btn-login-neon {
        width: 100%;
        margin-bottom: 10px;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .market-section .position-absolute { left: 0 !important; top: 0 !important; border-radius: 0 !important; }
    .container { overflow-x: hidden; }

    /* Footer CTA */
    .footer-cta { padding: 60px 15px; }
    .footer-cta h2 { font-size: 2.2rem !important; }
    .footer-cta .btn-wa-neon {
        white-space: normal !important; 
        padding: 15px 20px !important; 
        font-size: 1.1rem !important; 
        width: 100%; 
        max-width: 320px; 
    }
}