html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* =================
   BASE & RESET
================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #111;
    line-height: 1.6;
    scroll-behavior: auto !important;
}

/* Lenis Smooth Scroll Setup */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* =================
   NAVBAR (FIXED)
================= */
/* --- Navbar Base (Desktop) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 64px; 
    display: flex;
    justify-content: space-between; /* Tetap space-between jika nanti ada menu di kanan */
    align-items: center;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1); /* Ganti abu-abu ke emas tipis */
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d6a84d, #fcf6ba, #b38728);
    background-size: 200% auto; 
    color: rgb(0, 0, 0); 
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(191, 149, 63, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    background-position: right center;
    box-shadow: 0 8px 25px rgba(191, 149, 63, 0.5);
    filter: brightness(1.1);
}

/* Efek kilatan cahaya saat dihover (optional tapi bikin premium) */
.nav-contact-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.nav-contact-btn:hover::after {
    left: 100%;
}

.nav-contact-btn i {
    font-size: 16px;
    font-weight: bold;
    color: black;
}

.logo {
    height: 30px; /* Ukuran ideal desktop agar tetap terbaca tapi tidak kebesaran */
    width: auto;  /* Menjaga aspek rasio agar tidak gepeng */
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

/* --- Mobile Responsive Adjustment --- */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        justify-content: space-between; /* Kembalikan ke space-between agar logo kiri, tombol kanan */
    }

    .logo {
        height: 16px;
    }

    .nav-contact-btn span {
        display: none;
    }

    .nav-contact-btn {
        padding: 8px 20px;
    }
}
/* =================
   MAIN CONTENT
================= */
.main-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Ubah ke kolom agar card & bento berurutan ke bawah */
    align-items: center;
    padding: 90px 24px 20px 24px; /* Jarak atas diperkecil, bawah diperlebar */
}

/* --- Hero Section Base --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background-color: #ffffff; /* Pastikan background kontras dengan partikel emas */
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

/* --- Availability Badge (Hijau) --- */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.08);
    color: #15803d;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    letter-spacing: 0.2px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    /* Delay dikurangi agar lebih responsif */
    animation: pulse-green 1.2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --- Typography --- */
.hero-title {
    font-size: clamp(40px, 8vw, 72px); /* Responsive font size */
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    max-width: 900px;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.gold-text {
    background: linear-gradient(135deg, #bf953f, #b38728);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 19px;
    color: #64748b;
    max-width: 700px; /* Sedikit dilebarkan agar teks mengalir bagus */
    line-height: 1.7;
    margin: 0 auto;
}

/* --- Buttons --- */
.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: #0f172a;
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); background: #1e293b; }

/* --- Scroll Down Animation --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #d4af37;
    border-radius: 2px;
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 30px;
    margin-top: 60px;
}

/* Bento Grid System */
.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px; /* Sedikit lebih tinggi agar lega */
    gap: 24px;
    max-width: 1100px; /* Diperlebar agar lebih 'Cinema' */
    width: 100%;
    margin: 0 auto 100px auto; /* Tambah margin bottom agar tidak nempel ke bawah layar */
}
.bento-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
}

/* Grid Spanning */
.large { grid-column: span 2; grid-row: span 2; }
.medium { grid-column: span 2; grid-row: span 1; }
.small { grid-column: span 1; grid-row: span 1; }

.bento-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 8px;
    display: block;
}

.bento-content h3 { font-size: 18px; margin-bottom: 8px; color: #1e293b; }
.bento-content p { font-size: 13px; color: #64748b; line-height: 1.5; }

@media (max-width: 768px) {
    .bento-content p {
        margin-bottom: 15px; /* Memberi jarak ke tombol di mobile */
        font-size: 12.5px;    /* Sedikit penyesuaian ukuran agar lebih pas di layar kecil */
    }

}

.btn-study {
    margin-top: auto;
    background: none;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    width: fit-content;
    cursor: pointer;
    transition: all 0.2s;
}

.bento-item:hover .btn-study { background: #1e293b; color: #fff; border-color: #1e293b; }

.bento-bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 80px;
    color: rgba(212, 175, 55, 0.05);
    z-index: 1;
    transform: rotate(-15deg);
}

/* POPUP STYLES */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(5px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.popup-card {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 30px;
    position: relative;
    animation: slideUp 0.4s ease;
    
    /* FIX UNTUK MOBILE */
    max-height: 90vh; /* Agar tidak melebihi tinggi layar */
    overflow-y: auto; /* Memungkinkan scroll jika konten panjang */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #d4af37 transparent;
}

/* Custom Scrollbar untuk Chrome/Safari agar tetap terlihat premium */
.popup-card::-webkit-scrollbar {
    width: 6px;
}
.popup-card::-webkit-scrollbar-thumb {
    background-color: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    /* Gunakan absolute agar menempel tepat di pojok container card */
    position: absolute; 
    top: 20px; 
    right: 20px;
    
    background: #f1f5f9;
    border: none; 
    width: 35px; 
    height: 35px;
    border-radius: 50%; 
    cursor: pointer; 
    font-size: 18px;
    z-index: 100; /* Pastikan di atas konten lainnya */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #64748b;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: rotate(90deg); /* Animasi putar biar lebih premium */
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
    }
    .large, .medium, .small { grid-column: span 1; }

    .popup-card {
    position: relative;}
}


.web3-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

/* --- Marquee Section --- */
.marquee-section {
    width: 100%;
    max-width: 1100px;
    margin: 60px auto 100px auto;
    overflow: hidden;
}

.marquee-title {
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.marquee-container {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    /* Efek Fade di sisi kiri & kanan */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 60px; /* Jarak antar logo */
    animation: scrollMarquee 30s linear infinite; /* Gerakan pelan banget */
    white-space: nowrap;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    filter: grayscale(100%); /* Bikin semua abu-abu agar minimalis */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-item i {
    font-size: 20px;
}

/* Hover effect: Berwarna saat didekati */
.marquee-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: #d4af37; /* Aksen emas */
}

/* Animasi Infinite Scroll */
@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Geser separuh (karena kita duplikat isinya) */
}

/* Berhenti saat hover agar user bisa baca */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.flow-section {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 100px auto;
}

.flow-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.flow-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 40px;
    border-radius: 24px;
    border: 1px dashed #e2e8f0; /* Garis putus-putus memberikan kesan 'Blueprint' */
    position: relative;
    transition: all 0.3s ease;
}

.flow-card:hover {
    border-style: solid;
    border-color: #d4af37;
    background: #fff;
    transform: translateY(-5px);
}

.flow-number {
    font-size: 40px;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.1); /* Angka besar tapi sangat transparan */
    position: absolute;
    top: 20px;
    right: 30px;
}

.flow-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1e293b;
}

.flow-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .flow-container {
        grid-template-columns: 1fr;
    }
}

/* --- Final CTA Section (No Card) --- */
.final-cta {
    width: 100%;
    padding: 120px 24px 0px 24px;
    background: #ffffff; /* Tetap putih bersih */
    display: flex;
    justify-content: center;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    margin-bottom: 20px;
    display: inline-block;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px); /* Ukuran lebih besar & dinamis */
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

/* Re-use gradasi emas yang konsisten */
.gold-text {
    background: linear-gradient(135deg, #bf953f, #b38728);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-desc {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 45px;
}

/* --- Button Premium (Smooth Style) --- */
.btn-premium-wa {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1e293b; /* Warna gelap elegan */
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.btn-premium-wa:hover {
    transform: translateY(-5px);
    background: #d4af37; /* Berubah jadi emas saat hover */
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.btn-premium-wa i {
    font-size: 20px;
}

/* --- Footer Minimal --- */
.footer-minimal {
    margin-top: 100px;
    width: 100%;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f1f5f9, transparent);
    margin-bottom: 30px;
}

.footer-minimal p {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 400;
}

/* --- Responsif --- */
@media (max-width: 768px) {
    .final-cta {
        padding: 80px 24px 40px 24px;
    }
    
    .cta-title {
        font-size: 28px;
        letter-spacing: -1px;
    }
    
    .btn-premium-wa {
        width: 100%;
        justify-content: center;
    }
}

/* SEO & SEM Section */
.seo-sem-section {
    width: 100%;
    padding: 80px 24px;
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(212, 175, 55, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(212, 175, 55, 0.03) 0px, transparent 50%);
    display: flex;
    justify-content: center;
}

.seo-sem-container {
    max-width: 1100px;
    width: 100%;
}

.seo-sem-title {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.seo-sem-intro {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px auto;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

/* Edu Cards (Apa itu SEO/SEM) */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.edu-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid #f1f5f9;
}

.edu-icon {
    background: #ffffff;
    color: #d4af37;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.edu-text h4 { font-size: 18px; color: #1e293b; margin-bottom: 8px; }
.edu-text p { font-size: 14px; color: #64748b; line-height: 1.5; margin: 0; }

.seo-sem-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 40px;
    text-align: center;
}

/* Klien Grid System */
.seo-sem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Card Style */
.seo-sem-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 32px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.seo-sem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.08);
}

.seo-sem-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #b38e1d;
    background: rgba(212, 175, 55, 0.1);
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.seo-sem-header h4 { font-size: 22px; color: #1e293b; margin-bottom: 5px; }
.seo-sem-link {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 30px;
    transition: color 0.3s;
}
.seo-sem-link:hover { color: #d4af37; }

.seo-sem-info { margin-bottom: 20px; }
.seo-sem-info h5 {
    font-size: 11px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.seo-sem-info p, .seo-sem-list li {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.seo-sem-list { padding-left: 20px; margin-top: 10px; }
.seo-sem-list li { margin-bottom: 5px; color: #64748b; }

.seo-sem-result {
    margin-top: 30px;
    padding: 15px 20px;
    background: #f0fdf4;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .edu-grid, .seo-sem-grid {
        grid-template-columns: 1fr;
    }
    .seo-sem-section { padding: 60px 20px; }
    .edu-card { padding: 20px; }
    .seo-sem-card { padding: 30px; }
    .seo-sem-title { margin-top: 20px; }
    .seo-sem-header h4 { font-size: 18px; }
}

/* About Section */
.about-section {
    width: 100%;
    padding: 100px 24px;
    background: #fff;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-top: 15px;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.about-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 40px;
}

/* Stats Styling */
.stats-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 40px;
    gap: 20px;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d4af37;
    margin-top: 10px;
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: #e2e8f0;
}

.about-closing {
    font-size: 15px;
    color: #1e293b;
    font-style: italic;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .about-title {
        font-size: 28px;
    }
    
    .about-section {
        padding: 60px 20px;
    }

    /* Memastikan angka tetap berdampingan di HP */
    .stats-wrapper {
        padding: 30px 15px;
        gap: 10px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 10px;
    }
}