/* --- 1. RESET & BASIC SETUP --- */
* { box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
}

body { 
    margin: 0; padding: 0; 
    font-family: 'Rubik', sans-serif; 
    background-color: #000; /* Warna dasar awal (hitam) */
    color: #333;
    overflow-x: hidden; /* Hilangkan scroll samping */
}

/* --- 2. HERO SECTION (3D BACKGROUND) --- */
/* Kita kunci 3D-nya di belakang agar tetap diam saat discroll */
#hero-container {
    position: fixed; /* KUNCI DI BELAKANG */
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: radial-gradient(circle at center, #3b0a05 0%, #000000 100%);
    z-index: -1; /* Paling belakang */
    transition: opacity 0.1s ease-out; /* Agar transisi halus saat di-script */
}

canvas { 
    display: block; width: 100%; height: 100%; 
}

/* UI Overlay Hero (Logo, CTA Awal) */
#ui-overlay {
    position: absolute; /* Tetap relatif terhadap layar */
    top: 48%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; max-width: 800px;
    text-align: center;
    z-index: 10;
    display: flex; flex-direction: column; 
    align-items: center; gap: 0;
    transition: opacity 0.1s ease-out;
}

/* --- 3. NAVIGASI (Sticky saat scroll) --- */
.nav-container {
    position: absolute; top: 0; right: 0; left: 0;
    padding: 20px 5%;
    z-index: 11;
    display: flex; justify-content: flex-end;
    transition: background 0.3s;
}
 
.desktop-menu { display: none; gap: 30px; }
.desktop-menu a {
    color: #FFD700; text-decoration: none; font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    text-transform: uppercase; font-size: 0.9rem;
}
.desktop-menu a:hover { color: #FFA500; }

.mobile-burger {
    display: flex; flex-direction: column; gap: 6px; cursor: pointer;
}
.mobile-burger span {
    width: 30px; height: 3px; 
    background: linear-gradient(to right, #FFA500, #FFD700);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 1);
}

/* Menu Overlay HP */
.mobile-menu-overlay {
    position: fixed; top: 0; right: -100%; opacity: 90%;
    width: 180px; height: 100vh;
    background: #000000; border-left: 2px solid #FFD700;
    z-index: 3;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 30px;
    transition: right 0.4s ease;
}
.mobile-menu-overlay.active { right: 0; }
.mobile-menu-overlay a { color: #FFD700; text-decoration: none; font-size: 1.2rem; font-weight: bold; }
.close-btn { position: absolute; top: 20px; right: 20px; color: white; font-size: 2rem; cursor: pointer; }

/* --- 4. KOMPONEN HERO (Logo, Button) --- */
#logo {
    width: 340px; max-width: 80%; height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.5)); 
    animation: floatLogo 4s ease-in-out infinite;
    margin-top: 10vh; margin-bottom: 10px;
}
.cta-button {
    display: inline-block;
    background: linear-gradient(to bottom, #FF8C00 0%, #FF4500 100%);
    color: white; padding: 15px 40px;
    font-size: 1.1rem; font-weight: 900;
    text-decoration: none; border-radius: 50px;
    box-shadow: 0 5px 0px #b33c00, 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255,255,255,0.3);
    text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.2s ease;
}
.cta-button:hover { transform: translateY(3px); box-shadow: 0 2px 0px #b33c00; }
.social-icons { margin-top: 15px; display: flex; gap: 15px; }
.social-icons img {
    width: 42px; height: 42px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 0, 1)) drop-shadow(0 0 25px rgba(255, 69, 0, 0.8));
    transition: transform 0.2s;
}
.social-icons a:hover img { transform: scale(1.15); }
.scroll-indicator {
    position: fixed; bottom: 9%; left: 0; width: 100%;
    display: flex; justify-content: center;
    z-index: -1; opacity: 0.8; animation: bounce 2s infinite; pointer-events: none;
    transition: opacity 0.3s;
}
.scroll-arrow {
    width: 35px; height: 35px; fill: none; stroke: #FFD700; stroke-width: 3;
    filter: drop-shadow(0 0 5px #FF4500);
}

/* --- 5. MAIN CONTENT (LIGHT THEME) --- */
#main-content {
    position: relative;
    margin-top: 100vh; /* Memberi jarak agar Hero 3D tampil penuh dulu */
    background: transparent; /* PENTING: Harus transparan agar efek fade Three.js terlihat */
    padding-bottom: 0;
}

/* --- HORIZONTAL SCROLL SECTION (KETAKUTAN) --- */
#fear-section {
    position: relative;
    height: 600vh; /* Jarak scroll panjang untuk efek horizontal */
    background: transparent; 
    z-index: -1;
    margin-bottom: -100vh; /* Overlap sedikit dengan section berikutnya untuk transisi halus */
}

/* Container Sticky (Agar kartu diam saat user scroll ke bawah di area ini) */
.sticky-wrapper {
    position: sticky; top: 0;
    height: 100vh; width: 100%;
    overflow: hidden; display: flex; align-items: center;
}

/* Track Horizontal (Yang bergerak ke kiri) */
.horizontal-track {
    display: flex;
    width: 500vw; /* Lebar 500% (100% per kartu) */
    height: 100vh;
    will-change: transform; /* Optimasi performa render */
}

.fear-card {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    z-index: -1;
}

/* Styling Kotak Konten Fear */
.fear-box {
    background: #fff;
    border: 4px solid #000;
    box-shadow: 15px 15px 0px #FF4500; /* Gaya Retro/Brutalist */
    border-radius: 30px;
    padding: 40px;
    width: 90%;
    max-width: 1000px;
    min-height: 75vh;
    max-height: 75vh; 
    margin-top: -10vh;
    overflow-y: none; 
    display: flex;
    gap: 40px;
    align-items: center;
    z-index: -1;
}

.fear-visual {
    flex: 1;
    text-align: center;
    font-size: 6rem;
    transition: transform 0.1s ease-out;
    display: flex; flex-direction: column; align-items: center; justify-content: center;

}

.fear-text {
    flex: 2;
}

.fear-text h3 {
    font-size: 2rem; 
    margin: 0 0 20px 0;
    color: #000;
    text-transform: uppercase;
    line-height: 1;
    text-align: left;
}
.fear-text h4 {
    font-size: 2rem; 
    margin: 0 0 0 0;
    color: #000;
    text-transform: uppercase;
    line-height: 1;
    text-align: left;
}

.fear-text h3 span { color: #FF4500; background: #000; color: #fff; padding: 0 10px; }

.fear-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
    text-align: left;
}

/* Quote/Dialog Style */
.dialog {
    background: #FFEDD5;
    border-left: 5px solid #FF4500;
    padding: 15px;
    font-style: italic;
    font-weight: bold;
    color: #8B4500;
    margin: 15px 0;
    border-radius: 0 10px 10px 0;
}

/* Indikator Progress (Dot Bawah) */
.progress-bar {
    position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px;
}
.dot { width: 15px; height: 15px; border: 2px solid #000; background: transparent; border-radius: 50%; transition: 0.3s; }
.dot.active { background: #FF4500; transform: scale(1.2); border-color: #FF4500; }



/* Section Berikutnya (Produk/Paket) */
/* --- BRUTALISM SECTION STYLE --- */

#next-section {
    background: #1d0502;
    z-index: 70;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    
    /* Padding atas harus cukup besar agar teks tidak kena potong zigzag */
    padding: 100px 0 100px 0; 

    /* --- SETTING ZIGZAG MASK --- */
    /* Variabel biar gampang atur ukuran gigi */
    --tooth-width: 40px;
    --tooth-height: 20px;

    /* Logika Masking:
       1. Layer Atas: Pola Gigi (Zigzag) yang di-repeat horizontal (repeat-x).
       2. Layer Bawah: Gradient Solid untuk mengisi sisa box ke bawah.
    */
    -webkit-mask: 
        conic-gradient(from 135deg at top, #0000, #000 1deg 90deg, #0000 91deg) 
            0 0 / var(--tooth-width) var(--tooth-height) repeat-x,
        linear-gradient(#000 0 0) 0 var(--tooth-height) / 100% 100% no-repeat;
        
    mask: 
        conic-gradient(from 135deg at top, #0000, #000 1deg 90deg, #0000 91deg) 
            0 0 / var(--tooth-width) var(--tooth-height) repeat-x,
        linear-gradient(#000 0 0) 0 var(--tooth-height) / 100% 100% no-repeat;
}

.brutal-container {
    position: relative; /* Wajib: Patokan koordinat koin */
    z-index: 70;
    width: 100%;        /* Pastikan selebar section */
    text-align: center; /* Pastikan teks di dalamnya rata tengah */
    /* Flexbox untuk memastikan konten benar-benar di tengah */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 1. TYPOGRAPHY RAKSASA */
.brutal-head {
    font-size: 10vw; /* Ukuran responsif mengikuti lebar layar */
    line-height: 0.9;
    font-weight: 900;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px; /* Huruf dempet-dempet */
    z-index: 70;
}
.brutal-head span {
    display: inline-block; /* Wajib agar bisa di-transform */
    will-change: transform; /* Optimasi performa browser */
    transition: transform 0.1s linear; /* Gerakan smooth */
}

/* Efek Teks Hollow (Hanya Garis Tepi) */
.hollow {
    color: transparent;
    -webkit-text-stroke: 2px #FF4500; /* Garis oranye */
    font-style: italic;
    z-index: 70;
    white-space: nowrap;
}

.brutal-connector {
    font-size: clamp(1.3rem, 5vw, 3rem);
    font-weight: bold;
    color: #FFD700;
    margin: 30px 0 10px 0;
    letter-spacing: 5px;
    
}

/* 2. INFINITE MARQUEE (BAWANG BERJALAN) */
.marquee-wrapper {
    background: #FF4500; /* Blok warna oranye mencolok */
    width: 100%;
    transform: rotate(-3deg) scale(1.1); /* Miringkan sedikit biar 'chaos' */
    padding: 10px 0;
    margin: 40px 0;
    border-top: 5px solid #fff;
    border-bottom: 5px solid #fff;
    display: flex;
    overflow: hidden;
    
}

.marquee-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marqueeScroll 10s linear infinite; /* Animasi jalan */
    
}

.marquee-track span {
    font-size: 8rem; /* Font super besar */
    font-weight: 900;
    line-height: 1;
    
}

.marquee-track .filled {
    color: #000;
    
}

.marquee-track .stroked {
    color: transparent;
    -webkit-text-stroke: 3px #000; /* Outline hitam di atas background oranye */
   
}

.giant-cuan {
    font-size: 15vw;
    color: #FFD700;
    /* Stroke hitam agar teks terbaca saat background koin ramai */
    -webkit-text-stroke: 3px #000; 
    text-shadow: 10px 10px 0px #3b0a05;
    margin-top: 20px;
    z-index: 90; /* Naikkan z-index agar di atas koin */
    position: relative;
    cursor: pointer;
    
    /* ANIMASI KEDIP BOMBASTIS */
    animation: bombasticPulse 0.8s infinite alternate;
}

/* Keyframes untuk efek Jantung/Disko */
@keyframes bombasticPulse {
    0% {
        transform: scale(1);
        color: #FFD700; /* Emas */
        text-shadow: 10px 10px 0px #3b0a05;
    }
    100% {
        transform: scale(1.1); /* Membesar */
        color: #FFF; /* Putih Silau */
        text-shadow: 0px 0px 20px #FFD700, 15px 15px 0px #FF4500; /* Glowing + Shadow Geser */
    }
}


/* Animasi Running Text */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Geser setengah panjang track */
   }

/* Responsive HP */
@media (max-width: 768px) {
    .brutal-head { font-size: 14vw; }
    .marquee-track span { font-size: 4rem; gap: 20px; }
    .giant-cuan { font-size: 20vw; }
}

/* Container Umum: Produk dsb */
.container {
    max-width: 1000px;
    margin: 0 auto 0 auto; 
    padding: 60px 20px;
    background: #FFF8F0; 
    position: relative;
    z-index: 80; 
}

/* Typography Umum */
h2 {
    font-size: 2.5rem; color: #3b0a05; text-transform: uppercase;
    text-align: center; margin-bottom: 20px; text-shadow: 2px 2px 0px rgba(255,140,0,0.2);
}
/* Override h2 untuk section gelap */
#next-section h2 { color: #fff; text-shadow: none; }

h2 span { color: #FF4500; }
p.lead {
    text-align: center; font-size: 1.1rem; line-height: 1.6;
    color: #555; max-width: 700px; margin: 0 auto 40px auto;
}

/* --- STYLE KHUSUS BAGIAN PRODUK --- */

/* 1. Teks Narasi */
.product-narrative {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    text-align: left; /* Rata kiri agar enak dibaca karena teksnya panjang */
    background: #fff;
    padding: 30px;
    border: 3px solid #000; /* Border tebal khas brutalist */
    border-radius: 15px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
}

.product-narrative p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}
.product-narrative p:last-child {
    margin-bottom: 0;
}

/* 2. Grid Foto Produk (3 Kolom) */
.grade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Kolom di Desktop */
    gap: 30px;
    margin-bottom: 60px;
    align-items: end; /* Agar teks judul di bawah sejajar */
}

.grade-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.grade-card:hover {
    transform: translateY(-10px);
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Memastikan foto jadi kotak sempurna */
    background: #eee;
    border: 4px solid #3b0a05;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 5px 5px 0px #FF4500; /* Bayangan oranye */
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar penuh kotak tanpa gepeng */
    cursor: zoom-in;
    transition: transform 0.2s;
}
.img-wrapper img:hover {
    transform: scale(1.05); /* Efek membesar sedikit saat disentuh */
}
.modal-overlay {
    display: none; /* Default sembunyi */
    position: fixed; 
    z-index: 9999; /* PALING DI ATAS */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    background-color: rgba(0,0,0,0.95); /* Hitam Pekat 95% */
    align-items: center;     /* Tengah Vertikal */
    justify-content: center; /* Tengah Horizontal */
    backdrop-filter: blur(5px); /* Efek blur di background */
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex !important;
}

/* Animasi Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 3. Gambar Zoom */
.modal-content {
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid #FF4500; /* Border Oranye */
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.5); /* Efek Glowing */
    border-radius: 10px;
    animation: popupAnim 0.3s ease-out; /* Animasi muncul */
    z-index: 10000;
    position: relative;
}

/* 4. Tombol Close (X) di Modal */
.modal-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    line-height: 1;
}
.modal-overlay .close-btn:hover {
    color: #FF4500;
}

/* Animasi Muncul "Boing" */
@keyframes popupAnim {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.grade-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #3b0a05;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3. Varian Kemasan */
.variants-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px dashed #ccc; /* Garis pemisah putus-putus */
}

.variants-section h3 {
    font-size: 1.5rem;
    color: #FF4500;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.variant-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag {
    background: #FFEDD5; /* Warna krem oranye muda */
    color: #8B4500;
    padding: 10px 20px;
    border-radius: 50px; /* Bentuk kapsul */
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid #FF4500;
    box-shadow: 3px 3px 0px #3b0a05;
    transition: all 0.2s;
}

.tag:hover {
    background: #FF4500;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 1px 1px 0px #3b0a05;
}

/* --- MEDIA QUERY (HP) --- */
@media (max-width: 768px) {
    .product-narrative {
        padding: 20px;
        text-align: justify; /* Rata kanan-kiri di HP */
    }
    
    .grade-grid {
        grid-template-columns: repeat(3, 1fr); /* Tetap 3 kolom di HP */
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .grade-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .img-wrapper {
        width: 100%;
        aspect-ratio: 1 / 1;
        margin-bottom: 10px;
    }
    
    .grade-card h3 {
        font-size: 0.95rem;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .tag {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}
/* Section: Tingkat Perbabuan (Packages) */
.package-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
}
.package-card {
    background: white; border-radius: 20px; padding: 30px;
    position: relative; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 2px solid #ffd7a3; transition: transform 0.3s;
    display: flex; flex-direction: column;
}
.package-card:hover { transform: scale(1.02); border-color: #FF4500; }

/* Highlight Paket Full Babu */
.package-card.highlight {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFFFFF 100%);
    border: 2px solid #FF4500;
}
.badge {
    position: absolute; top: 20px; right: 20px;
    background: #FF4500; color: white; padding: 5px 12px;
    font-size: 0.8rem; font-weight: bold; border-radius: 10px;
}

.pkg-title { font-size: 1.8rem; font-weight: 900; color: #3b0a05; margin-bottom: 5px; }
.pkg-desc { font-size: 0.95rem; color: #777; margin-bottom: 20px; font-style: italic; }
.pkg-features { list-style: none; padding: 0; margin-bottom: 30px; flex-grow: 1; }
.pkg-features li { 
    margin-bottom: 10px; padding-left: 25px; position: relative; color: #444; font-size: 0.95rem;
}
.pkg-features li::before {
    content: '✅'; position: absolute; left: 0; font-size: 0.8rem;
}
.btn-detail {
    display: block; width: 100%; padding: 12px; text-align: center;
    border: 2px solid #FF4500; color: #FF4500; border-radius: 8px;
    text-decoration: none; font-weight: bold; transition: all 0.3s;
}
.btn-detail:hover { background: #FF4500; color: white; }

/* Section: Manifesto & Social Proof */
.manifesto-box {
    background: #3b0a05; color: #FFD700; padding: 50px 30px;
    border-radius: 30px; text-align: center; position: relative; overflow: hidden;
    box-shadow: 0 20px 50px rgba(59, 10, 5, 0.4);
}
.manifesto-text {
    font-size: 1.5rem; font-weight: bold; line-height: 1.5; font-style: italic;
}

/* Section: CTA Final (Pricing) */
.pricing-section {
    background: linear-gradient(135deg, #FF8C00, #FF4500);
    color: white; padding: 60px 20px; text-align: center;
    border-radius: 30px; margin-top: 60px;
}
.pricing-price { font-size: 3.5rem; font-weight: 900; margin: 10px 0; text-shadow: 0 5px 10px rgba(0,0,0,0.2); }
.pricing-sub { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

/* Footer */
footer {
    background: #1a0500; color: #888; text-align: center; padding: 40px 20px; font-size: 0.9rem;
}
footer span { color: #FF4500; }

/* --- MEDIA QUERY --- */
@media (max-width: 768px) {
    h2 { font-size: 1.8rem; }
    .usp-grid { grid-template-columns: 1fr; }
    .pricing-price { font-size: 2.5rem; }
    #logo { width: 380px; margin-top: 2vh; margin-bottom: 0px; }
    .cta-button { margin-top: -30px; margin-bottom: 35px; padding: 15px 25px; font-size: 1rem; font-weight: 700;}
    .desktop-menu { display: none; }
    .mobile-burger { display: flex; margin-right:2%; margin-top: 2%;}
    
    /* Fear Card Mobile */
    .fear-card {
        width: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .fear-box {
        display: flex;
        width: 93%;  
        justify-content: center;
        align-items: center;
        flex-direction: column; 
        padding: 20px 20px;
        margin-right: 12px;
        margin-left: 12px;
        margin-bottom: 2px;
        gap: 20px; 
        max-height: 86vh;
        min-height: 86vh; 
    }
    .fear-visual { 
       display: none;
    }
    .progress-bar {
    position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px;
}
    /* Kecilkan font judul */
    .fear-text {flex: unset; margin: 0; text-align: center; }
    .fear-text h3 { font-size: 1.9rem; margin-bottom: 15%; }
    .fear-text p { font-size: 0.9rem; }
    .fear-text h4 {
    font-size: 1.4rem; 
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
    line-height: 1;
    text-align: left;
}
    .dialog { font-size: 0.9rem; }
}

@media (min-width: 769px) {
    .mobile-burger { display: flex; margin-right:2%; margin-top: 2%;}
    .desktop-menu { display: none;}
    #logo { width: 380px; margin-top: 2vh; margin-bottom: 0px; }
    .cta-button { margin-top: -40px; margin-bottom: 35px; padding: 15px 40px; font-size: 1.1rem; font-weight: 700;}
}

/* Animasi tambahan */
@keyframes floatLogo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}
/* --- STYLE TESTIMONI KOCAK --- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: start;
}

.testi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Lingkaran Avatar */
.testi-img-wrapper {
    width: 120px;
    height: 120px;
    background: #fff;
    border: 4px solid #000;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: -20px; /* Biar numpuk dikit ke bubble */
    z-index: 2;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.testi-img-wrapper img {
    width: 100%;
    height: 100%;
}

.testi-card:hover .testi-img-wrapper {
    transform: rotate(-5deg) scale(1.1);
}

/* Bubble Chat */
.testi-bubble {
    background: #fff;
    border: 3px solid #000;
    padding: 40px 20px 20px 20px; /* Padding atas besar biar ga ketutup foto */
    border-radius: 20px;
    text-align: center;
    width: 100%;
    box-shadow: 8px 8px 0px #3b0a05;
    position: relative;
    z-index: 1;
}

/* Khusus Bubble Founder (Warna Beda) */
.founder-card .testi-bubble {
    background: #FF4500;
    color: #fff;
    border-color: #3b0a05;
    transform: rotate(-2deg); /* Miring dikit biar heboh */
    box-shadow: 8px 8px 0px #000;
}

.founder-card .testi-bubble p {
    font-weight: 900;
    font-style: italic;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Typography Nama */
.testi-name {
    margin-top: 15px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.testi-bubble p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}
.testi-bubble small {
    display: block;
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.8rem;
}

/* Responsif HP */
@media (max-width: 768px) {
    .testi-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom ke bawah */
        gap: 60px; /* Jarak antar orang agak jauh */
    }
    .testi-img-wrapper {
        width: 100px;
        height: 100px;
    }
}
/* --- STYLE TESTIMONI (UPDATE) --- */

/* Sub-judul di bawah TESTIMONI PRODUK */
.testi-sub {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
    font-style: italic;
    line-height: 1.5;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.testi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Lingkaran Foto */
.testi-img-wrapper {
    width: 120px;
    height: 120px;
    background: #fff;
    border: 4px solid #000;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: -20px; 
    z-index: 2;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.testi-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* PENTING: Agar foto manual tidak gepeng/lonjong */
}

.testi-card:hover .testi-img-wrapper {
    transform: rotate(-5deg) scale(1.1);
}

/* Bubble Chat */
.testi-bubble {
    background: #fff;
    border: 3px solid #000;
    padding: 40px 20px 20px 20px; 
    border-radius: 20px;
    text-align: center;
    width: 100%;
    box-shadow: 8px 8px 0px #3b0a05;
    position: relative;
    z-index: 1;
}

/* Bubble Founder (Warna Beda) */
.founder-card .testi-bubble {
    background: #FF4500;
    color: #fff;
    border-color: #3b0a05;
    transform: rotate(-2deg); 
    box-shadow: 8px 8px 0px #000;
}

.founder-card .testi-bubble p {
    font-weight: 800;
    font-style: italic;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.testi-name {
    margin-top: 15px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.testi-bubble p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}
.testi-bubble small {
    display: block;
    margin-top: 5px;
    opacity: 0.8;
    font-size: 0.8rem;
}

/* Responsif HP */
@media (max-width: 768px) {
    .testi-grid {
        grid-template-columns: 1fr; 
        gap: 60px; 
    }
}
/* --- STYLE CTA PRICING (TYPOGRAPHY UPDATE) --- */

.pricing-card {
    background: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
    border-radius: 30px;
    padding: 70px 20px; /* Padding diperbesar sedikit biar lega */
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(255, 69, 0, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 4px solid #fff; /* Tambahan border putih biar makin pop-up */
}

/* Judul CTA */
.pricing-card h2 {
    color: #fff;
    font-size: 2.2rem;
    line-height: 1.1; /* Jarak antar baris dipersempit */
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-transform: uppercase; /* Huruf besar semua biar tegas */
    letter-spacing: -1px; /* Huruf agak didempetkan */
}

/* Highlight Text (Cuannya mana bang?) */
.pricing-card h2 .highlight-text {
    color: #fff;
    font-style: italic; /* Ganti garis bawah dengan Italic */
    font-weight: 900;   /* Lebih tebal */
    text-decoration: none; /* HAPUS GARIS BAWAH */
    background: transparent;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.2); /* Efek bayangan teks kasar */
    font-size: 2.8rem; /* Lebih besar dari teks "Lah, ngomongin" */
    display: block; /* Turun ke baris baru otomatis */
    margin-top: 10px;
}

/* Deskripsi */
.pricing-desc {
    font-size: 1.15rem;
    line-height: 1.5;
    width: 100%;
    max-width: 700px; 
    margin: 0 auto 40px auto;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: justify; 

    opacity: 0.95;
}
.pricing-desc p {
    
    margin-top: 0;
    margin-bottom: 10px;}

.pricing-bridge {
    margin-top:5%;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center; 
    margin-bottom: 30px;
}

/* Harga Raksasa */
.big-price {
    font-size: 8rem; /* UKURAN SUPER BESAR */
    font-weight: 900;
    margin: 0;
    text-shadow: 5px 5px 0px rgba(179, 60, 0, 0.5); /* Shadow tebal */
    line-height: 1;
    letter-spacing: -5px; /* Angka didempetkan */
}

/* Catatan (seharga kuotamu) */
.price-note {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 50px;
    letter-spacing: 2px; /* Spasi antar huruf renggang */
}

/* Tombol Putih */
.btn-white-pill {
    display: inline-block;
    background: #fff;
    color: #FF4500;
    font-weight: 900;
    font-size: 1.3rem; /* Font tombol diperbesar */
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 0px rgba(0,0,0,0.15); /* Shadow kasar di bawah tombol */
    transition: all 0.2s;
    letter-spacing: 1px;
}

.btn-white-pill:hover {
    transform: translateY(5px); /* Efek tombol ditekan */
    box-shadow: 0 5px 0px rgba(0,0,0,0.15); /* Shadow menipis saat ditekan */
    color: #FF8C00;
}

/* Responsif HP */
@media (max-width: 768px) {
    .pricing-card h2 { font-size: 1.5rem; }
    .pricing-card h2 .highlight-text { font-size: 2rem; }
    .big-price { font-size: 5rem; letter-spacing: -2px; }
    .btn-white-pill { width: 100%; padding: 15px; font-size: 1.1rem; }
}
/* =========================================
   PART 2: CSS KHUSUS HALAMAN KALKULATOR
   ========================================= */

/* --- 1. KOMPONEN DASAR --- */
.calc-section {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 10px 10px 0px #3b0a05;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden; /* Biar child radius ga bocor */
}

.sec-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 4px solid #FF4500;
    display: inline-block;
    padding-bottom: 5px;
}

.sec-desc {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Input & Select Styles (Seragam) */
.calc-section select, 
.calc-section input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #000;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    background: #f9f9f9;
}
.calc-section select:focus, 
.calc-section input:focus {
    background: #fff;
    border-color: #FF4500;
    outline: none;
}

/* --- 2. SECTION 1: TABEL KOMPARASI --- */
.compare-table-wrapper {
    overflow-x: auto; /* Scroll samping di HP */
    border: 2px solid #000;
    border-radius: 10px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Paksa lebar biar ga gepeng di HP */
}

.compare-table th, .compare-table td {
    padding: 15px;
    border: 1px solid #000;
    text-align: center;
    font-size: 0.95rem;
}

.compare-table thead th {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.1rem;
}

/* Warna Header Kolom */
.col-merdeka { background: #e0e0e0; color: #555; }
.col-babu { background: #FFEDD5; color: #e65100; }
.col-kejam { background: #FFF5CC; color: #b38f00; border-bottom: 4px solid #FFD700; }

.compare-table tbody tr:nth-child(even) { background: #f8f8f8; }

/* --- 3. SECTION 2: TABEL SIMULASI --- */
.table-scroll {
    overflow-x: auto;
    border: 2px solid #000;
    border-radius: 10px;
    margin-top: 15px;
}

.simulasi-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* Biar kolom cuan lega */
}

.simulasi-table th, .simulasi-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.simulasi-table thead th {
    background: #333;
    color: #fff;
    text-align: center;
    border-color: #555;
}

.simulasi-table td { font-size: 0.95rem; color: #333; }
.simulasi-table td strong { color: #000; }

/* Highlight Kolom Cuan */
.cuan-merdeka { background: #FFF5E6; text-align: right; font-weight: bold; color: #d35400; }
.cuan-full { background: #E6FFEA; text-align: right; font-weight: bold; color: #006400; }

/* --- 4. SECTION 3: SHOPPING CART --- */
.cart-control {
    background: #eee;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}

.shopping-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #eee;
    padding: 10px;
    border-radius: 10px;
    transition: 0.2s;
}

/* Kalau item dicentang/aktif */
.cart-item.active {
    border-color: #FF4500;
    background: #FFF8F0;
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.1);
}

.check-col { width: 40px; text-align: center; }
.check-col input { width: 20px; height: 20px; accent-color: #FF4500; cursor: pointer; }

.info-col { flex: 1; padding: 0 10px; }
.info-col h4 { margin: 0; font-size: 1rem; color: #333; }
.info-col small { color: #888; font-size: 0.85rem; }

.qty-col { width: 90px; }
.qty-col input { text-align: center; padding: 8px; font-weight: bold; }

/* Sticky Total Bar */
.sticky-total {
    position: sticky;
    bottom: 0;
    background: #111;
    color: #fff;
    padding: 15px 20px;
    margin: 0 -30px -30px -30px; /* Negatif margin biar nempel pinggir card */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
    border-top: 4px solid #FF4500;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grand-total { font-size: 1.4rem; font-weight: 900; color: #fff; }
.grand-cuan { font-size: 1.4rem; font-weight: 900; color: #00ff00; }

.btn-checkout {
    background: #FF4500;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    display: block;
}
.btn-checkout:hover { background: #ff5e00; }

/* --- 5. SECTION 4: STARTER PACK --- */
.starter-pack {
    background: linear-gradient(135deg, #FF4500 0%, #FF8C00 100%);
    border-color: #fff;
    color: #fff;
    text-align: center;
}

.starter-pack h2 { border-bottom: none; color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.2); }
.starter-pack p { color: rgba(255,255,255,0.9); }

.starter-box {
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    max-width: 500px;
    margin: 20px auto 0 auto;
}

.starter-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF4500;
    margin-bottom: 5px;
}

.starter-item {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #eee;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1rem;
}
.detail-row.highlight {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}
.container-calc {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.btn-starter {
    display: block;
    background: #000;
    color: #FFD700;
    padding: 15px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase; 
}
.btn-starter:hover { background: #333; }

/* --- RESPONSIVE ADJUSTMENT --- */
@media (max-width: 768px) {
    .container-calc { padding: 10px; }
    .calc-section { padding: 20px; box-shadow: 5px 5px 0px #3b0a05; }
    .sticky-total { 
        margin: 0 -20px -20px -20px; 
        padding: 15px;
    }
    .grand-total, .grand-cuan { font-size: 1.1rem; }
    .info-col h4 { font-size: 0.9rem; }
}

/* =========================================
   UPDATE: MOBILE SCROLL HINT (SECTION 1)
   ========================================= */

/* Container relatif untuk menampung overlay */
.mobile-scroll-hint-container {
    position: relative;
}

/* Default: Petunjuk disembunyikan di Desktop */
.scroll-hint-overlay {
    display: none;
}

/* MEDIA QUERY KHUSUS HP */
@media (max-width: 768px) {
    /* Munculkan petunjuk di HP */
    .scroll-hint-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: absolute;
        top: 50%;
        right: 0; /* Nempel di kanan */
        transform: translateY(-50%);
        background: rgba(255, 69, 0, 0.9); /* Warna Oranye Transparan */
        color: white;
        padding: 12px 20px;
        border-radius: 50px 0 0 50px; /* Sudut bulat di kiri */
        font-weight: 900;
        font-size: 0.9rem;
        z-index: 10;
        pointer-events: none; /* PENTING: Agar klik tembus ke tabel di bawahnya */
        box-shadow: -5px 5px 10px rgba(0,0,0,0.2);
        transition: opacity 0.3s, transform 0.3s;
        
        /* Animasi agar menarik perhatian */
        animation: hintPulse 1.5s infinite alternate;
    }

    /* Animasi Gerak Kanan-Kiri */
    @keyframes hintPulse {
        0% { transform: translateY(-50%) translateX(0); }
        100% { transform: translateY(-50%) translateX(10px); }
    }

    /* Ikon Tangan/Panah */
    .hint-arrow {
        font-size: 1.4rem;
    }

    /* Class untuk menyembunyikan hint saat sudah discroll (via JS) */
    .scroll-hint-overlay.hidden {
        opacity: 0;
        transform: translateY(-50%) translateX(50px); /* Geser keluar layar */
    }

    /* Tambahkan padding kanan pada wrapper tabel agar hint tidak menutupi konten awal */
    .compare-table-wrapper {
        padding-right: 40px; 
        /* Pastikan scroll behavior halus */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}
/* --- Style Tambahan untuk Section 2 --- */

.warning-box {
    margin-top: 20px;
    padding: 15px;
    background: #FFF9C4; /* Kuning muda terang */
    border: 2px dashed #FFD700; /* Garis putus-putus emas */
    color: #5D4037;
    border-radius: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.warning-box strong {
    color: #000;
    text-transform: uppercase;
}

/* Responsif untuk Warning Box di HP */
@media (max-width: 768px) {
    .warning-box {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
/* =========================================
   STYLE HALAMAN VISI (MANIFESTO)
   ========================================= */

.visi-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 1. HEADER AREA */
.visi-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 15px;
}

.highlight-black {
    background: #111;
    color: #fff;
    padding: 0 10px;
}

.highlight-orange {
    color: #FF4500;
    text-decoration: underline;
    text-decoration-thickness: 5px;
}

.sub-title {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    line-height: 1.4;
}

/* 2. KERTAS MANIFESTO */
.visi-paper {
    background: #fff;
    border: 4px solid #111;
    box-shadow: 15px 15px 0px #FF4500; /* Shadow Kasar Khas */
    padding: 60px;
    border-radius: 5px;
    position: relative;
    font-family: 'Rubik', sans-serif;
}

/* Typography Konten */
.visi-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.visi-content h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    border-bottom: 4px solid #FF4500;
    display: inline-block;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #111;
}

.bold-text { font-weight: 900; font-size: 1.25rem; }
.highlight-text { background: #FFEDD5; padding: 2px 5px; font-weight: bold; color: #8B4500; }

/* 3. KOMPONEN KHUSUS */

/* Kotak Pertanyaan Besar */
.question-box {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    border: 3px dashed #111;
    background: #f4f4f4;
    color: #FF4500;
    text-transform: uppercase;
    transform: rotate(-1deg);
}

/* List Ketakutan (FOMO) */
.fear-list {
    list-style: none; padding: 0; margin-bottom: 25px;
}
.fear-list li {
    font-size: 1.1rem; padding-left: 25px; position: relative; margin-bottom: 10px; font-style: italic; color: #555;
}
.fear-list li::before {
    content: '❌'; position: absolute; left: 0; font-size: 0.9rem;
}

/* Kotak Kearifan Lokal */
.wisdom-box {
    background: #FFF8E1; /* Kuning Pudar */
    border: 2px solid #FFD700;
    padding: 30px;
    margin: 40px 0;
    border-radius: 10px;
}
.wisdom-box h4 { margin-top: 0; font-size: 1.4rem; color: #B8860B; text-transform: uppercase; }
.wisdom-box ul { padding-left: 20px; }
.wisdom-box li { margin-bottom: 5px; font-weight: 500; }

/* Teks Dampak (Warung Hidup, dll) */
.impact-text {
    font-weight: 900; font-size: 1.4rem; color: #111; border-left: 5px solid #FF4500; padding-left: 20px; margin: 30px 0;
}

/* Grid Nilai Bangsa */
.values-grid {
    display: flex; gap: 15px; flex-wrap: wrap; margin: 20px 0;
}
.values-grid span {
    background: #111; color: #FFD700; padding: 10px 20px; font-weight: bold; border-radius: 50px; text-transform: uppercase; font-size: 0.9rem;
}

/* Divider */
.divider {
    border: 0; border-top: 2px dashed #ccc; margin: 50px 0;
}

/* Misi List (Checklist) */
.mission-list { list-style: none; padding: 0; }
.mission-list li { 
    font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; padding-left: 30px; position: relative; 
}
.mission-list li::before {
    content: '✅'; position: absolute; left: 0;
}

/* Final Call to Action */
.final-call {
    text-align: center;
    background: #111;
    color: #fff;
    padding: 40px;
    margin-top: 50px;
    margin-left: -60px; /* Melebarkan background ke pinggir container */
    margin-right: -60px;
    margin-bottom: -60px; /* Mentok bawah kertas */
    border-radius: 0 0 5px 5px;
}

.final-call p:first-child {
    font-size: 1.5rem; font-weight: 900; color: #FFD700;
}

.movement-steps {
    display: flex; flex-direction: column; gap: 10px; margin-top: 20px; font-weight: bold; font-size: 1.1rem;
}

/* RESPONSIF HP */
@media (max-width: 768px) {
    .main-title { font-size: 2rem; }
    .visi-paper { padding: 30px 20px; box-shadow: 8px 8px 0px #FF4500; }
    .question-box { font-size: 1.2rem; padding: 20px; }
    .final-call { margin: 30px -20px -30px -20px; padding: 30px 20px; }
    .final-call p:first-child { font-size: 1.2rem; }
    .impact-text { font-size: 1.2rem; }
}
/* =========================================
   STYLE: ROLE SELECTION TABS
   ========================================= */

.role-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* 1. NAVIGASI TAB (TOMBOL ATAS) */
/* 1. NAVIGASI TAB (TOMBOL ATAS) - REVISI UI */
.role-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Margin negatif agar tab menimpa border kotak konten di bawahnya */
    margin-bottom: -3px; 
    position: relative;
    z-index: 10; /* Pastikan di atas box konten */
    padding: 0 10px; /* Padding samping aman di HP */
}

.role-btn {
    /* STATE TIDAK AKTIF (INACTIVE) */
    background: #ccc; /* Abu-abu gelap (kesan di belakang) */
    color: #666; /* Teks agak mati */
    border: 3px solid #000;
    padding: 15px 30px;
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 15px 15px 0 0;
    transition: all 0.2s;
    width: 45%;
    text-transform: uppercase;
    position: relative;
    top: 0;
    z-index: 1; /* Layer bawah */
}

.role-btn small {
    display: block;
    font-size: 0.7rem;
    font-weight: normal;
    text-transform: none;
    margin-top: 5px;
    opacity: 0.8;
}

/* STATE AKTIF (ACTIVE) */
.role-btn.active {
    background: #fff; /* Putih (Menyatu dengan konten) */
    color: #000;      /* Teks Hitam Tegas */
    z-index: 20;      /* Layer Paling Atas */
    
    /* Trik menyatukan tab dengan box bawah */
    border-bottom: 3px solid #fff; /* Border bawah putih untuk menutupi garis hitam box */
    padding-bottom: 18px; /* Kompensasi tinggi */
}

/* WARNA KHUSUS SAAT AKTIF */
/* Juragan = Aksen Oranye di Top Border */
.role-btn.active[onclick*="tabJuragan"] {
    border-top: 6px solid #FF4500;
    color: #FF4500;
}

/* Mandor = Aksen Hitam Tebal di Top Border */
.role-btn.active[onclick*="tabMandor"] {
    border-top: 6px solid #000;
    color: #000;
    background: #fff;
}

/* Efek Hover pada Inactive */
.role-btn:hover:not(.active) {
    background: #ddd;
    color: #333;
}
#role-selection {
    background-color: #FFF8F0; /* Warna krem terang (sesuai tema) */
    position: relative;
    margin-top: -10vh;;
    z-index: 80; /* Pastikan di atas layer sticky/fixed */
    
    /* Opsional: Tambahan shadow di atas agar batasnya tegas */
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05); 
}
/* RESPONSIVE HP */
@media (max-width: 768px) {
    .role-btn {
        padding: 12px 5px;
        font-size: 0.9rem;
        width: 50%;
    }
    .role-btn small {
        font-size: 0.65rem;
        line-height: 1.2;
    }
    /* Pastikan active tab tetap menutupi garis di HP */
    .role-btn.active {
        padding-bottom: 15px; 
    }
}

/* 2. KONTEN TAB (BOX) */
.role-content-box {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 10px 10px 0px #FF4500;
    border-radius: 20px; /* Radius bawah saja yang besar */
    padding: 40px;
    position: relative;
    z-index: 1;
    min-height: 400px;
}

/* Panel Transisi */
.role-panel {
    display: none; /* Default sembunyi */
    animation: fadeInTab 0.5s ease;
}
.role-panel.active {
    display: block; /* Muncul jika aktif */
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* 3. LAYOUT DALAM PANEL */
.panel-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.panel-text { flex: 2; }
.panel-visual { 
    flex: 1; 
    display: flex; justify-content: center; align-items: center;
    background: #f4f4f4; border-radius: 50%; aspect-ratio: 1/1;
    border: 4px dashed #ccc;
}
.juragan-visual { border-color: #FF4500; background: #FFF5E6; }
.mandor-visual { border-color: #000; background: #e0e0e0; }

.visual-icon { font-size: 5rem; }

.panel-head {
    font-size: 1.8rem;
    margin-top: 0;
    text-transform: uppercase;
    color: #000;
    border-bottom: 4px solid #FFD700;
    display: inline-block;
    padding-bottom: 5px;
}

.panel-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.panel-option {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #FF4500;
    margin: 20px 0;
}
.panel-option ul { margin: 10px 0 0 0; padding-left: 20px; }
.panel-option li { margin-bottom: 8px; }

/* Tombol CTA di dalam Tab */
.btn-role {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    margin-top: 20px;
    transition: 0.2s;
}

.btn-role.juragan {
    background: #FF4500; color: #fff;
    box-shadow: 0 5px 0 #b33c00;
}
.btn-role.juragan:hover { background: #ff5e00; transform: translateY(3px); box-shadow: 0 2px 0 #b33c00; }

.btn-role.mandor {
    background: #000; color: #FFD700;
    box-shadow: 0 5px 0 #333;
}
.btn-role.mandor:hover { background: #222; transform: translateY(3px); box-shadow: 0 2px 0 #333; }


/* RESPONSIF HP */
@media (max-width: 768px) {
    .role-btn {
        padding: 10px;
        font-size: 0.9rem;
        width: 50%;
    }
    .role-content-box { padding: 25px; }
    
    .panel-grid {
        flex-direction: column-reverse; /* Gambar di atas, teks di bawah */
        gap: 20px;
    }
    .panel-visual {
        width: 100px; height: 100px; /* Kecilin icon di HP */
    }
    .visual-icon { font-size: 3rem; }
    
    .panel-head { font-size: 1.4rem; }
    .btn-role { display: block; text-align: center; width: 100%; }
}
/* --- STYLE TAMBAHAN SECTION 2 (INFO HARGA) --- */

.price-info-box {
    background: #fdfdfd;
    border: 2px dashed #bbb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.price-info-box h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #555;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
}

/* Grid Layout 3 Kolom */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Kartu Harga Mini */
.price-card-mini {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Badge Grade */
.badge-grade {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.grade-b { background: #795548; }    /* Coklat */
.grade-prem { background: #FF9800; } /* Oranye */
.grade-borj { background: #000; }    /* Hitam */

/* Baris Harga */
.tier-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 5px 0;
    border-bottom: 1px dotted #eee;
}
.tier-row:last-child { border-bottom: none; }

.tier-row span { color: #666; }
.tier-row strong { color: #333; }

/* Highlight baris > 10kg */
.tier-row.highlight {
    background: #E8F5E9; /* Hijau muda pudar */
    margin: 0 -10px -10px -10px; /* Melebar memenuhi padding parent */
    padding: 8px 10px;
    border-radius: 0 0 8px 8px;
}
.tier-row.highlight strong { color: #2E7D32; }

.info-note {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
    color: #d35400;
}

/* Responsive HP: Jadi 1 kolom list ke bawah agar tidak sempit */
@media (max-width: 600px) {
    .price-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .price-card-mini {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        text-align: left;
    }
    .badge-grade { margin-bottom: 0; width: 80px; text-align: center; font-size: 0.7rem; }
    
    .tier-wrapper { flex: 1; margin-left: 15px; } /* Wrapper baru (opsional via JS, tapi CSS grid bisa handle) */
    
    /* Modifikasi layout dalam card untuk HP */
    .price-card-mini {
        flex-direction: column;
        align-items: stretch;
    }
    .badge-grade { width: 100%; margin-bottom: 8px; }
}
/* --- STYLE SECTION 3: TITIP WARUNG --- */

/* 1. Box Info Skema */
.schema-box {
    background-color: #f0f8ff; /* AliceBlue */
    border: 2px dashed #4682b4;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #333;
}
.schema-box h4 {
    margin: 0 0 5px 0;
    color: #004085;
    text-transform: uppercase;
}

/* 2. Wrapper Utama */
.warung-calc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 10px;
}

/* 3. Area Input (Grid 3 Kolom) */
.warung-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

.warung-inputs .form-group {
    display: flex;
    flex-direction: column;
}

.warung-inputs label {
    font-weight: 900;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 8px;
    color: #3b0a05;
    text-transform: uppercase;
}

/* 4. Area Hasil (Result Box - Dark Mode) */
.warung-result {
    background: #1a1a1a; /* Hitam Abu */
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 4px solid #FFD700; /* Border Emas */
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.warung-result:hover {
    transform: translateY(-5px); /* Efek melayang dikit */
}

/* Watermark Duit di Background */
.warung-result::before {
    content: "Store";
    position: absolute;
    top: -10px; left: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: #ffffff;
    opacity: 0.05;
    transform: rotate(-15deg);
    z-index: 0;
    pointer-events: none;
}

.result-label {
    font-size: 1rem;
    color: #FFD700; /* Warna Emas */
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    position: relative; z-index: 1;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: #00e676; /* Hijau Neon Terang */
    margin: 10px 0;
    text-shadow: 0 0 25px rgba(0, 230, 118, 0.4);
    position: relative; z-index: 1;
    line-height: 1.1;
}

.result-breakdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    border-top: 1px dashed #555;
    padding-top: 20px;
    position: relative; z-index: 1;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breakdown-item span {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 3px;
}

.breakdown-item strong {
    font-size: 1.1rem;
    color: #fff;
}

.passive-badge {
    margin-top: 25px;
    display: inline-block;
    background: linear-gradient(45deg, #FF4500, #ff8c00);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
    position: relative; z-index: 1;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .warung-inputs {
        grid-template-columns: 1fr; /* Jadi 1 kolom ke bawah */
        gap: 15px;
    }
    
    .result-value {
        font-size: 2.5rem; /* Font diperkecil di HP */
    }

    .result-breakdown {
        flex-direction: column; /* Breakdown jadi atas bawah */
        gap: 15px;
    }
    
    .desc-content p {
        font-size: 0.95rem;
        text-align: justify;
    }
}
/* =========================================
   STYLE: SIMULATOR TYCOON (SECTION 3)
   ========================================= */

.tycoon-section {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 10px 10px 0px #2E7D32; /* Shadow Hijau Duit */
    padding-bottom: 80px; /* Space buat sticky footer */
    position: relative;
}

/* --- 1. CONTROLS AREA --- */
.tycoon-controls {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.tycoon-select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border: 2px solid #333;
    border-radius: 8px;
    margin-top: 5px;
    background: #fff;
}

/* Global Tools (Isi Otomatis) */
.global-tools {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #bbb;
}

.tools-row {
    display: flex;
    gap: 10px;
}

.tool-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px;
    flex: 1;
}

.tool-item span { font-size: 0.8rem; margin-right: 5px; white-space: nowrap; }
.tool-item input { 
    width: 100%; border: none; font-weight: bold; text-align: center; color: #333; outline: none; 
}

.btn-apply {
    background: #333; color: #fff; border: none; 
    padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; cursor: pointer;
}
.btn-apply:active { background: #000; transform: scale(0.95); }
.card-breakdown {
    background-color: #FFF3E0; /* Krem Oranye Tipis */
    border: 1px dashed #FF9800;
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
    font-size: 0.85rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #555;
}

.breakdown-row strong {
    color: #333;
}

/* Baris Profit dikasih garis pemisah dan warna hijau */
.breakdown-row.final {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #FFCC80;
    color: #2E7D32;
    font-weight: 900;
    font-size: 0.95rem;
}

/* --- 2. PRODUCT CARDS (LIST) --- */
.tycoon-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tycoon-card {
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
    background: #fff;
}

/* Kalau item aktif (ada jumlah warungnya), kasih border hijau */
.tycoon-card.active {
    border-color: #2E7D32;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.1);
}

.card-header {
    background: #f9f9f9;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h4 { margin: 0; font-size: 0.95rem; color: #333; }
.price-tag { 
    font-size: 0.8rem; background: #333; color: #FFD700; 
    padding: 2px 6px; border-radius: 4px; font-weight: bold; 
}

.card-body {
    padding: 15px;
}

/* Control Row (+/- Spinner) */
.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.control-row label { font-size: 0.9rem; color: #555; font-weight: 500; }

.qty-spinner {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 36px;
}

.spin-btn {
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 100%;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.spin-btn:active { background: #ddd; }
.spin-btn.minus { color: #d32f2f; border-right: 1px solid #ddd; }
.spin-btn.plus { color: #2E7D32; border-left: 1px solid #ddd; }

.spin-input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    color: #000;
    appearance: textfield; /* Hilangkan panah default browser */
    -moz-appearance: textfield;
}

/* Advanced Section */
.advanced-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}
.toggle-trigger {
    font-size: 0.8rem; color: #888; cursor: pointer; display: flex; align-items: center; gap: 5px;
}
.advanced-content {
    margin-top: 8px;
    background: #fff8e1;
    padding: 8px;
    border-radius: 6px;
    display: flex; justify-content: space-between; align-items: center;
}
.share-select {
    padding: 4px; border: 1px solid #ffb300; border-radius: 4px; background: #fff; font-size: 0.85rem;
}

/* Footer Card (Individual Profit) */
.card-footer {
    background: #e8f5e9;
    padding: 8px 15px;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #c8e6c9;
}
.card-footer small { color: #2E7D32; font-size: 0.8rem; }
.item-cuan { font-weight: 900; color: #1b5e20; font-size: 1rem; }


/* --- 3. STICKY FOOTER --- */
/* --- UPDATE: TYCOON STICKY FOOTER (HUD STYLE) --- */

/* =========================================
   REVISI: TYCOON STICKY INSIDE CONTAINER
   ========================================= */

.tycoon-section {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 10px 10px 0px #2E7D32;
    position: relative;
    /* PENTING: Wajib visible biar sticky di dalamnya jalan */
    overflow: visible !important; 
    padding-bottom: 0 !important; /* Reset padding bawah */
}

.tycoon-sticky {
    /* Gunakan STICKY, bukan FIXED. 
       Dia akan nempel di bawah layar TAPI berhenti saat container habis */
    position: sticky; 
    position: -webkit-sticky; /* Support Safari */
    bottom: 0; /* Nempel di dasar viewport */
    
    /* Agar lebarnya pas menutupi padding container parent */
    margin: 20px -3px -3px -3px; /* Minus margin biar nutup border parent */
    width: calc(100% + 6px);      /* Kompensasi lebar */
    
    background: #111;
    color: #fff;
    padding: 20px;
    z-index: 50;
    
    /* Border Radius Bawah (biar menyatu sama container) */
    border-radius: 0 0 17px 17px; 
    border-top: 5px solid #FFD700;
    
    /* Flexbox Center */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Bayangan biar misah sama kartu di belakangnya */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

.sticky-value { 
    display: block; 
    font-size: 2rem; 
    font-weight: 900; 
    color: #00e676; 
    line-height: 1.1; 
    text-shadow: 0 0 10px rgba(0,230,118,0.5); 
    margin: 5px 0;
}

.sticky-label { 
    font-size: 0.8rem; 
    color: #FFD700; 
    letter-spacing: 1px; 
    text-transform: uppercase;
    font-weight: bold;
}

.sticky-sub { 
    font-size: 0.85rem; 
    color: #999; 
    margin-top: 2px;
}

/* --- RESPONSIF HP --- */
@media (max-width: 768px) {
    .tycoon-section {
        /* Di HP, kita pastikan overflow visible juga */
        overflow: visible !important; 
    }

    .tycoon-sticky {
        /* Sesuaikan margin untuk HP jika padding container beda */
        /* Asumsi padding container HP biasanya lebih kecil */
        margin-left: -20px; 
        margin-right: -20px;
        margin-bottom: -20px;
        width: calc(100% + 40px);
        border-radius: 0 0 15px 15px;
        padding: 15px;
    }
    
    .sticky-value { font-size: 1.6rem; }
    /* --- PERBAIKAN TAMPILAN ISI OTOMATIS (MOBILE) --- */
    
    /* Ubah susunan jadi atas-bawah (2 baris) */
    .tools-row {
        flex-direction: column; /* Stack ke bawah */
        gap: 12px; /* Jarak antar baris */
    }

    /* Bikin itemnya full width dan lebih tebal */
    .tool-item {
        width: 100%;
        padding: 10px; /* Padding dalam diperbesar biar jari enak */
        justify-content: space-between; /* Teks di kiri, Input+Tombol di kanan */
    }

    /* Label "Jml Warung" agak digedein */
    .tool-item span {
        font-size: 0.9rem; 
        font-weight: bold;
    }

    /* Input angkanya diperjelas */
    .tool-item input {
        font-size: 1.1rem; 
        background: #f9f9f9;
        border-bottom: 2px solid #ddd !important; /* Garis bawah biar keliatan area ketik */
        margin: 0 10px; /* Jarak kiri kanan */
        border-radius: 0;
    }

    /* Tombol SET diperbesar area sentuhnya */
    .btn-apply {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
.btn-reset {
    background: #fff;
    color: #d32f2f; /* Merah Bata */
    border: 2px solid #d32f2f;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-reset:hover {
    background: #d32f2f;
    color: #fff;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
    transform: translateY(-2px);
}
/* --- UPDATE LAYOUT RESET (BARIS SENDIRI) --- */

.reset-row {
    width: 100%;
    margin-top: 20px;      /* Jarak dari input di atasnya */
    padding-top: 20px;     /* Ruang napas */
    border-top: 1px dashed #ccc; /* Garis pemisah tipis */
    text-align: center;    /* Posisi tombol di tengah */
    display: flex;         
    justify-content: center;
}

.btn-reset {
    width: 100%;           /* Di HP tombolnya full width biar gampang dipencet */
    max-width: 400px;      /* Di Desktop ga terlalu lebar */
    background: #fff;
    color: #d32f2f;
    border: 2px solid #d32f2f;
    padding: 12px;
    border-radius: 50px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reset:hover {
    background: #d32f2f;
    color: #fff;
}