/* =========================================
   ANIMATION & UTILITIES
   ========================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

.text-left { text-align: left; }
.bg-white { background: var(--bg-main) !important; }
.loader-text { text-align: center; color: var(--gold-primary); font-style: italic; grid-column: 1 / -1; }

/* =========================================
   DARK MODE VARIABLES (GLOBAL OVERRIDE)
   ========================================= */
html.dark {
    --bg-main: #0A0A0E;
    --bg-soft: #111115;
    --text-dark: #FFFFFF;
    --text-muted: #A0A0A0;
    --border-light: rgba(197, 160, 89, 0.2);
}
body { transition: background-color 0.4s ease, color 0.4s ease; background: var(--bg-main); color: var(--text-dark);}

/* =========================================
   NAVBAR
   ========================================= */
.navbar { 
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 5%; 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid transparent; z-index: 9999; transition: all 0.4s ease;
}
.navbar.scrolled { 
    background: rgba(255, 255, 255, 0.98); 
    border-bottom: 1px solid rgba(197, 160, 89, 0.15); 
    padding: 15px 5%; 
}
html.dark .navbar { background: rgba(10, 10, 14, 0.8); }
html.dark .navbar.scrolled { background: rgba(10, 10, 14, 0.98); }

.logo { font-family: var(--font-serif); font-size: 1.6rem; letter-spacing: 2px; font-weight: 700; color: var(--gold-primary); z-index: 10001; }

.nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; position: absolute; left: 50%; transform: translateX(-50%);}
.nav-links a { text-decoration: none; color: var(--text-dark); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: var(--gold-primary); }

.nav-right { display: flex; align-items: center; gap: 20px; z-index: 10001; }

/* Styling Ikon Cart di Navbar */
.nav-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    color: var(--text-dark);
    transition: 0.3s;
}
.nav-cart-icon:hover {
    background: var(--gold-primary);
    color: #FFF;
}
.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--gold-primary);
    color: #FFF;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFF;
}
html.dark .cart-badge { border-color: #0A0A0E; color: #000; }

.btn-nav-pill { 
    background: var(--text-dark); color: var(--bg-main) !important; padding: 10px 24px; text-decoration: none;
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; 
    transition: 0.3s; border: 1px solid var(--text-dark);
}
.btn-nav-pill:hover { background: var(--gold-primary); border-color: var(--gold-primary); color: #FFF !important; box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-menu-btn span { width: 25px; height: 2px; background: var(--text-dark); transition: 0.3s; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { 
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; background: var(--bg-main); padding: 120px 5% 80px; z-index: 1;
}
.hero-glow-bg {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, rgba(255,255,255,0) 70%);
    z-index: -2; pointer-events: none;
}
html.dark .hero-glow-bg { background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%); }
.hero-grid-bg {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 40%;
    background-image: 
        linear-gradient(to right, rgba(197, 160, 89, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom; z-index: -1; pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.announcement-badge {
    display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-light); padding: 6px 16px 6px 6px; border-radius: 50px; text-decoration: none;
    font-size: 0.85rem; color: #444; margin-bottom: 35px; transition: 0.3s;
    backdrop-filter: blur(10px); cursor: pointer;
}
html.dark .announcement-badge { background: rgba(10, 10, 14, 0.8); color: #CCC; }
.announcement-badge:hover { border-color: var(--gold-primary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.1); }
.badge-highlight { background: rgba(197, 160, 89, 0.15); color: var(--gold-primary); padding: 4px 12px; border-radius: 50px; font-weight: 600; margin-right: 10px; }
.read-more { font-weight: 600; color: var(--text-dark); margin-left: 8px; }

.hero-title { font-family: var(--font-sans); font-size: 5.5rem; font-weight: 700; color: var(--text-dark); margin-bottom: 25px; line-height: 1.05; letter-spacing: -1.5px; }
.text-gold-gradient { background: linear-gradient(to right, var(--text-dark), var(--gold-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { color: var(--text-muted); font-size: 1.15rem; max-width: 700px; margin: 0 auto 40px; line-height: 1.6; }

.hero-actions { display: flex; gap: 15px; justify-content: center; }
.btn-pill-primary { 
    background: var(--text-dark); color: var(--bg-main); padding: 16px 32px; font-size: 1rem; font-weight: 600; text-decoration: none;
    border-radius: 50px; display: inline-block; transition: 0.3s; border: 1px solid var(--text-dark);
}
.btn-pill-primary:hover { background: var(--gold-primary); border-color: var(--gold-primary); color: #FFF; box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2); transform: translateY(-2px); }

.btn-pill-outline { 
    background: transparent; color: var(--text-dark); padding: 16px 32px; font-size: 1rem; font-weight: 600; text-decoration: none;
    border-radius: 50px; display: inline-block; transition: 0.3s; border: 1px solid var(--text-muted);
}
.btn-pill-outline:hover { border-color: var(--gold-primary); color: var(--gold-primary); background: rgba(197, 160, 89, 0.05); }

/* =========================================
   SECTIONS UMUM
   ========================================= */
.ecommerce-section { padding: 120px 5%; background: var(--bg-soft); }
.section-header { text-align: center; margin-bottom: 60px; }
.hero-subtitle { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 4px; color: var(--text-muted); margin-bottom: 20px; font-weight: 600; }
.section-title { font-family: var(--font-serif); font-size: 3rem; color: var(--text-dark); margin-bottom: 15px; line-height: 1.2; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* =========================================
   E-COMMERCE: KARTU PAKET (TAHAP PERTAMA)
   ========================================= */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }

.nls-pkg-card {
    background: var(--bg-main);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-align: left;
}
html.dark .nls-pkg-card { box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.nls-pkg-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15); border-color: var(--gold-primary); }

.pkg-image-wrapper { width: 100%; height: 220px; overflow: hidden; background: var(--bg-soft); }
.pkg-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.nls-pkg-card:hover .pkg-image { transform: scale(1.05); }

.pkg-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.pkg-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 10px; }
.pkg-title { font-family: var(--font-sans); font-size: 1.4rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; letter-spacing: -0.5px; }
.pkg-badge { border: 1px solid rgba(197, 160, 89, 0.4); color: var(--text-dark); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background: rgba(197, 160, 89, 0.05); white-space: nowrap; }

.pkg-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; font-weight: 500; }
.pkg-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }

.pkg-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px solid var(--border-light); padding-top: 20px; }
.pkg-price { display: flex; align-items: baseline; gap: 5px; }
.pkg-price strong { font-size: 1.25rem; color: var(--text-dark); font-weight: 700; }
.pkg-price span { font-size: 0.85rem; color: var(--text-muted); }

.pkg-btn { background: var(--text-dark); color: var(--bg-main) !important; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; display: flex; align-items: center; gap: 5px; text-decoration: none;}
.nls-pkg-card:hover .pkg-btn { background: var(--gold-primary); color: #FFF !important; box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3); }

/* =========================================
   PETA PENGETAHUAN (5 ROOTS - WHITE & GOLD/DARK)
   ========================================= */
.clarity-section { padding: 120px 5%; position: relative; background: var(--bg-main); }
.nls-roots-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1400px; margin: 60px auto 0; }

.nls-light-card {
    background: var(--bg-main); border: 1px solid var(--border-light); border-radius: 8px; padding: 40px 20px; text-align: center;
    position: relative; transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    overflow: hidden; display: flex; flex-direction: column;
}
html.dark .nls-light-card { background: var(--bg-soft); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.nls-light-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(197, 160, 89, 0.08) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.nls-light-card:hover::before { opacity: 1; }
.nls-light-card:hover { transform: translateY(-10px); border-color: var(--gold-primary); box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15); }

.card-corners-gold { position: absolute; inset: 15px; pointer-events: none; opacity: 0.5; transition: 0.5s; }
.card-corners-gold::before, .card-corners-gold::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: var(--gold-primary); border-style: solid; }
.card-corners-gold::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.card-corners-gold::after { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.nls-light-card:hover .card-corners-gold { inset: 10px; opacity: 1; }

.nls-card-icon-gold { color: var(--gold-primary); width: 35px; height: 35px; margin: 0 auto 15px; opacity: 0.8; transition: 0.4s; }
.nls-light-card:hover .nls-card-icon-gold { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.5)); }

.nls-roman-num-gold { font-family: var(--font-serif); color: var(--text-muted); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 15px; }
.nls-card-title-gold { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text-dark); margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; line-height: 1.2; }
.nls-card-desc-gold { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.nls-divider-short-gold { width: 30px; height: 1px; background: rgba(197, 160, 89, 0.4); margin: 0 auto 15px; }
.nls-javanese-script-gold { font-family: 'Times New Roman', serif; font-size: 1.4rem; color: var(--gold-primary); opacity: 0.6; transition: 0.4s; }
.nls-light-card:hover .nls-javanese-script-gold { opacity: 1; text-shadow: 0 0 10px rgba(197, 160, 89, 0.3); }

/* =========================================
   THE VAULT (EBOOK) - 5 KOLOM & RASIO A4
   ========================================= */
.nls-vault-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; max-width: 1400px; margin: 0 auto; padding: 0 2%; }

.vault-card { background: var(--bg-main); border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; position: relative; transition: all 0.4s ease; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03); display: flex; flex-direction: column; }
html.dark .vault-card { box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.vault-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15); border-color: var(--gold-primary); }

.vault-img-container { position: relative; width: 100%; aspect-ratio: 1 / 1.414; background: var(--bg-soft); overflow: hidden; cursor: pointer; }
.vault-cover { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.vault-card:hover .vault-cover { transform: scale(1.05); }

.vault-content { padding: 20px 15px; display: flex; flex-direction: column; flex-grow: 1; }
.vault-badge { position: absolute; top: 10px; left: 10px; background: var(--gold-primary); color: #FFF; font-size: 0.65rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.vault-title { font-family: var(--font-serif); font-size: 1.2rem; color: var(--text-dark); margin-bottom: 5px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: color 0.3s;}
.vault-title:hover { color: var(--gold-primary); }
.vault-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 15px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.vault-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-light); padding-top: 15px; margin-top: auto; }
.vault-price { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); }

.btn-cart-action { width: 38px; height: 38px; background: var(--text-dark); color: var(--bg-main); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.btn-cart-action:hover { background: var(--gold-primary); color: #FFF; transform: scale(1.1); box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4); }

/* State In-Cart */
.btn-cart-action.in-cart { background: var(--gold-primary); color: #000; box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4); cursor: default; pointer-events: none; }
.btn-cart-action.in-cart svg { display: none; }
.btn-cart-action.in-cart::after { content: '✓'; font-size: 1.2rem; font-weight: 700; }

/* =========================================
   TAHAP ASELERASI (PRICING NLS SAAS STYLE)
   ========================================= */
.nls-pricing-section { padding: 120px 5%; background: var(--bg-main); }
.pricing-container { max-width: 1100px; margin: 0 auto; }

.nls-pricing-box { display: grid; grid-template-columns: 1fr 2.2fr; background: var(--bg-main); border-radius: 20px; border: 1px solid var(--border-light); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); overflow: hidden; }
html.dark .nls-pricing-box { box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

/* Free Plan */
.nls-plan-free { padding: 50px 40px; background: var(--bg-soft); border-right: 1px solid var(--border-light); display: flex; flex-direction: column; }
.plan-header { margin-bottom: 30px; }
.plan-name { font-family: var(--font-sans); font-size: 1.2rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; font-weight: 600; }
.plan-price-wrap { display: flex; align-items: baseline; gap: 5px; margin-bottom: 10px; }
.price-currency { font-size: 1.2rem; font-weight: 600; color: var(--text-muted); }
.plan-price { font-family: var(--font-serif); font-size: 3rem; color: var(--text-dark); line-height: 1; }
.plan-subtitle { font-size: 0.9rem; color: var(--text-muted); }

/* Premium Plan (Selalu Gelap) */
.nls-plan-premium { padding: 50px; background: #0A0A0E; color: #FFF; position: relative; display: flex; flex-direction: column; gap: 40px; border-left: 1px solid rgba(197, 160, 89, 0.2); }
.premium-glow { position: absolute; top: -20%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.premium-badge { position: absolute; top: 25px; right: 25px; background: var(--gold-primary); color: #000; padding: 6px 15px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.premium-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; z-index: 2; }
.nls-plan-premium .plan-name { color: var(--gold-primary); }
.nls-plan-premium .plan-price { color: var(--gold-primary); }
.text-light { color: #AAA !important; }

.nls-chart-wrapper { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(197, 160, 89, 0.2); border-radius: 12px; padding: 20px; position: relative; }
.chart-info h4 { font-family: var(--font-sans); font-size: 0.9rem; color: #FFF; margin-bottom: 2px; }
.chart-info span { font-size: 0.75rem; color: #888; }
.nls-chart-wrapper canvas { margin-top: 15px; max-height: 100px; }

.nls-feature-list { list-style: none; margin: 0 0 40px 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.nls-feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text-dark); }
.nls-plan-premium .nls-feature-list li { color: #CCC; }
.check-icon { font-size: 1.1rem; color: var(--text-muted); line-height: 1; }
.gold-icon { color: var(--gold-primary); text-shadow: 0 0 10px rgba(197, 160, 89, 0.5); }

.premium-list-title { font-size: 0.9rem; font-weight: 600; color: #FFF; margin-bottom: 20px; border-bottom: 1px solid rgba(197, 160, 89, 0.2); padding-bottom: 10px; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; }
.premium-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: auto; z-index: 2; }
.mt-auto { margin-top: auto; }
.text-center { text-align: center; }

/* =========================================
   COMPLEX FOOTER (FULL WIDTH ALIGN NAVBAR)
   ========================================= */
.nls-complex-footer { border-top: 1px solid var(--border-light); background: var(--bg-main); color: var(--text-dark); }
.footer-container-fluid { width: 100%; padding: 80px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 60px; }

.footer-heading-serif { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; margin-bottom: 15px; color: var(--text-dark); letter-spacing: -0.5px; }
.footer-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; max-width: 90%; }

.newsletter-form { position: relative; max-width: 100%; }
.newsletter-input { width: 100%; height: 50px; border-radius: 50px; border: 1px solid var(--border-light); background: transparent; padding: 10px 60px 10px 20px; font-size: 0.9rem; color: var(--text-dark); transition: 0.3s; }
.newsletter-input:focus { outline: none; border-color: var(--gold-primary); }
.newsletter-btn { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; background: var(--text-dark); color: var(--bg-main); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.newsletter-btn:hover { background: var(--gold-primary); color: #FFF; transform: scale(1.05); }

.footer-heading { font-size: 1.1rem; font-weight: 600; margin-bottom: 25px; color: var(--text-dark); }
.footer-nav { display: flex; flex-direction: column; gap: 15px; }
.footer-nav a, .footer-address p { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; line-height: 1.5; }
.footer-nav a:hover { color: var(--gold-primary); }

.social-links { display: flex; gap: 12px; margin-bottom: 30px; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-light); color: var(--text-muted); transition: 0.3s; text-decoration: none;}
.social-btn:hover { background: var(--gold-primary); color: #FFF; border-color: var(--gold-primary); transform: translateY(-3px); }

.theme-toggle-wrapper { display: flex; align-items: center; gap: 15px; }
.theme-icon { color: var(--text-muted); }
.theme-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.theme-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(197, 160, 89, 0.2); transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: var(--gold-primary); transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #111; }
html.dark input:checked + .slider { background-color: var(--gold-primary); }
html.dark input:checked + .slider:before { background-color: #111; }
input:checked + .slider:before { transform: translateX(22px); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-light); padding-top: 30px; }
.copyright { color: var(--text-muted); font-size: 0.9rem; }
.legal-nav { display: flex; gap: 30px; }
.legal-link { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; transition: 0.3s; cursor: pointer;}
.legal-link:hover { color: var(--gold-primary); }

#legalModal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

/* =========================================
   SIDE CART OVERLAY & PANEL 
   ========================================= */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10000; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: 0.3s ease-in-out; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.side-cart { position: fixed; top: 0; right: -450px; width: 100%; max-width: 400px; height: 100vh; background: var(--bg-main); z-index: 10001; box-shadow: -10px 0 40px rgba(0,0,0,0.15); display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
html.dark .side-cart { box-shadow: -10px 0 40px rgba(0,0,0,0.8); }
.side-cart.active { right: 0; }

.side-cart-header { padding: 25px 30px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; }
.side-cart-header h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text-dark); margin: 0; }
.close-cart { background: transparent; border: none; font-size: 2rem; color: var(--text-muted); cursor: pointer; transition: 0.3s; line-height: 1; }
.close-cart:hover { color: var(--gold-primary); transform: scale(1.1); }

.side-cart-items { padding: 25px 30px; flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; }
.cart-empty-text { text-align: center; color: var(--text-muted); font-size: 0.95rem; margin-top: 50px; }

.side-cart-item { display: flex; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); }
.side-cart-img { width: 70px; height: 95px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border-light); }
.side-cart-info { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.side-cart-title { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 5px; line-height: 1.3; }
.side-cart-price { font-size: 0.9rem; font-weight: 600; color: var(--gold-primary); margin-bottom: 10px; }
.btn-remove-item { background: transparent; border: none; color: #d9534f; font-size: 0.8rem; font-weight: 600; text-align: left; padding: 0; cursor: pointer; }
.btn-remove-item:hover { text-decoration: underline; }

.side-cart-footer { padding: 30px; background: var(--bg-soft); border-top: 1px solid var(--border-light); }
.side-cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 1.1rem; color: var(--text-muted); }
.side-cart-total strong { font-size: 1.4rem; color: var(--text-dark); }

.btn-checkout-full { display: block; background: var(--text-dark); color: var(--bg-main); text-align: center; padding: 16px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: 0.3s; border: 1px solid var(--text-dark); }
.btn-checkout-full:hover { background: var(--gold-primary); border-color: var(--gold-primary); color: #FFF; box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2); }

/* =========================================
   RESPONSIF
   ========================================= */
@media (max-width: 1200px) { .nls-roots-grid { grid-template-columns: repeat(3, 1fr); } .nls-vault-grid-5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px) { 
    .nav-links { display: none; } .mobile-menu-btn { display: flex; } .hero-title { font-size: 3.5rem; letter-spacing: -0.5px; }
    .nls-pricing-box { grid-template-columns: 1fr; } .nls-plan-free { border-right: none; border-bottom: 1px solid var(--border-light); } .premium-top { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; } .pl-lg { padding-left: 0; } .nls-vault-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) { 
    .nls-roots-grid { grid-template-columns: repeat(2, 1fr); } .nls-vault-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
    .hero-title { font-size: 2.5rem; } .hero-actions { flex-direction: column; width: 100%; padding: 0 20px; } .btn-pill-primary, .btn-pill-outline { width: 100%; }
}
@media (max-width: 600px) { 
    .nls-roots-grid { grid-template-columns: 1fr; } .nls-vault-grid-5 { grid-template-columns: 1fr; } .vault-img-container { aspect-ratio: 16/9; }
    .grid-2-col { grid-template-columns: 1fr; } .premium-actions { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; } .footer-bottom { flex-direction: column; gap: 15px; text-align: center; } .legal-nav { gap: 15px; flex-wrap: wrap; justify-content: center; }
}

/* === RESPONSIVE LAYAR MEDIUM / TABLET === */
@media (max-width: 992px) {
    .btn-nav-pill { display: none !important; }
    .mobile-login-icon { display: flex; margin-right: 15px; }
    .mobile-menu-btn { display: flex; }
    
    /* PERBAIKAN MUTLAK DROPDOWN MENU */
    .nav-links { 
        display: flex !important; /* WAJIB ADA: Mencegah menu disembunyikan oleh display:none bawaan */
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: rgba(255, 255, 255, 0.98); 
        backdrop-filter: blur(15px);
        flex-direction: column; 
        align-items: center;
        padding: 30px 5%; 
        border-bottom: 1px solid var(--border-light, #E5E7EB);
        gap: 25px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 20px 40px rgba(0,0,0,0.05);
        z-index: 999; /* WAJIB ADA: Memastikan menu berada di lapisan paling atas */
    }
    
    html.dark .nav-links { background: rgba(10, 10, 14, 0.98); }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==============================================================
   PERBAIKAN TATA LETAK HERO SECTION (KHUSUS MOBILE)
   Masukkan kode ini di dalam @media (max-width: 768px)
   ============================================================== */

@media (max-width: 768px) {
    
    /* 1. Memberi ruang napas dari Navbar yang melayang (Fixed) */
    .hero {
        padding-top: 140px; /* Tambah jarak agar konten tidak tertabrak navbar */
        padding-bottom: 60px;
        padding-left: 5%;
        padding-right: 5%;
    }

    /* 2. Memperbaiki Badge Pengumuman agar tidak berdesakan */
    .hero-badge {
        display: flex;
        flex-direction: column; /* Ubah orientasi ke bawah agar tidak memanjang menyempit */
        align-items: center;
        text-align: center;
        gap: 10px; /* Jarak antar elemen di dalam badge */
        padding: 12px 20px;
        border-radius: 12px; /* Buat sudutnya sedikit lebih mengotak, tidak terlalu pil */
        margin: 0 auto 30px auto;
        width: 100%;
    }
    
    /* Elemen dalam badge */
    .hero-badge .badge-label { margin: 0; }
    .hero-badge .badge-text { font-size: 0.85rem; line-height: 1.4; margin: 0; }

    /* 3. Menyesuaikan Tipografi (Teks) */
    .hero h1 {
        font-size: 2.2rem; /* Ukuran font yang pas untuk HP */
        line-height: 1.25;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 40px; /* Jarak yang lebih jauh ke tombol */
        padding: 0 10px; /* Mencegah teks terlalu mepet ke tepi layar */
    }

    /* 4. Memperbaiki Tombol (Buttons) agar Finger-Friendly */
    .hero-buttons {
        display: flex;
        flex-direction: column; /* Tumpuk tombol ke bawah secara vertikal */
        gap: 15px; /* Jarak antar tombol yang lebih lega */
        width: 100%;
    }

    .hero-buttons a, 
    .hero-buttons button {
        width: 100%; /* Tombol memenuhi lebar layar */
        padding: 16px 20px; /* Area klik yang lebih besar */
        font-size: 1rem;
        justify-content: center;
    }
}