@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ======= THEMES ======= */
:root, [data-theme="light"] {
    --bg: #f8f9fc; --bg2: #ffffff; --bg3: #f1f3f8; --bg-card: #ffffff;
    --text: #1a1d2e; --text2: #5a5f7a; --text3: #9298b0;
    --border: #e2e5ee; --border2: #d0d4e0;
    --accent: #16a34a; --accent-h: #15803d; --accent-r: 22, 163, 74;
    --accent-light: #f0fdf4; --accent-glow: rgba(22, 163, 74, 0.12);
    --grad: linear-gradient(135deg, #16a34a, #059669);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --red: #ef4444; --blue: #3b82f6; --purple: #8b5cf6; --cyan: #06b6d4; --orange: #f59e0b;
    --nav-bg: rgba(255, 255, 255, 0.92);
}
[data-theme="gold"] {
    --bg: #0c0f24; --bg2: #121640; --bg3: #181d4a; --bg-card: #1a1f50;
    --text: #f0f0f8; --text2: #a0a8c8; --text3: #6b7194;
    --border: #2a3060; --border2: #354080;
    --accent: #f59e0b; --accent-h: #d97706; --accent-r: 245, 158, 11;
    --accent-light: rgba(245, 158, 11, 0.08); --accent-glow: rgba(245, 158, 11, 0.15);
    --grad: linear-gradient(135deg, #f59e0b, #ea580c);
    --shadow: 0 1px 3px rgba(0,0,0,0.2); --shadow-md: 0 4px 16px rgba(0,0,0,0.3); --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --nav-bg: rgba(12, 15, 36, 0.94);
}
[data-theme="ocean"] {
    --bg: #0a1628; --bg2: #0f1f3a; --bg3: #142848; --bg-card: #182e52;
    --text: #eef2ff; --text2: #8eafc8; --text3: #5a7a94;
    --border: #1e3a5f; --border2: #2a4a72;
    --accent: #3b82f6; --accent-h: #2563eb; --accent-r: 59, 130, 246;
    --accent-light: rgba(59, 130, 246, 0.08); --accent-glow: rgba(59, 130, 246, 0.15);
    --grad: linear-gradient(135deg, #3b82f6, #06b6d4);
    --shadow: 0 1px 3px rgba(0,0,0,0.2); --shadow-md: 0 4px 16px rgba(0,0,0,0.3); --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --nav-bg: rgba(10, 22, 40, 0.94);
}
[data-theme="emerald"] {
    --bg: #05120a; --bg2: #0a1f10; --bg3: #0f2a16; --bg-card: #14351c;
    --text: #e8faf0; --text2: #7ac8a0; --text3: #4a8a6a;
    --border: #1a4028; --border2: #245530;
    --accent: #10b981; --accent-h: #059669; --accent-r: 16, 185, 129;
    --accent-light: rgba(16, 185, 129, 0.08); --accent-glow: rgba(16, 185, 129, 0.15);
    --grad: linear-gradient(135deg, #10b981, #047857);
    --shadow: 0 1px 3px rgba(0,0,0,0.2); --shadow-md: 0 4px 16px rgba(0,0,0,0.3); --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --nav-bg: rgba(5, 18, 10, 0.94);
}
[data-theme="royal"] {
    --bg: #0e0a20; --bg2: #16123a; --bg3: #1e1848; --bg-card: #221c52;
    --text: #f0eeff; --text2: #a8a0d8; --text3: #6e68a0;
    --border: #2a2460; --border2: #35307a;
    --accent: #8b5cf6; --accent-h: #7c3aed; --accent-r: 139, 92, 246;
    --accent-light: rgba(139, 92, 246, 0.08); --accent-glow: rgba(139, 92, 246, 0.15);
    --grad: linear-gradient(135deg, #8b5cf6, #6d28d9);
    --shadow: 0 1px 3px rgba(0,0,0,0.2); --shadow-md: 0 4px 16px rgba(0,0,0,0.3); --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --nav-bg: rgba(14, 10, 32, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; transition: background .4s, color .4s; }
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; }

/* === LOGO === */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 32px; height: 32px; }
.logo-icon svg { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-name { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: 1.5px; }
.logo-name em { font-style: normal; color: var(--accent); }

/* === THEME DROPDOWN === */
.theme-drop { position: relative; cursor: pointer; outline: none; z-index: 101; }
.theme-btn { font-size: 12px; font-weight: 700; color: var(--text2); background: var(--bg3); padding: 8px 14px; border-radius: 20px; display: flex; align-items: center; gap: 6px; transition: .2s; }
.theme-btn:hover, .theme-drop:focus .theme-btn { color: var(--accent); background: var(--accent-light); }
.theme-menu { position: absolute; top: 120%; left: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; min-width: 140px; }
.theme-drop:focus-within .theme-menu, .theme-drop:hover .theme-menu, .theme-drop.open .theme-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tm-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--text2); padding: 8px 12px; border-radius: 8px; transition: .2s; cursor: pointer; }
.tm-item:hover { background: var(--accent-light); color: var(--accent); }

/* Theme Dots untuk Dropdown */
.tdot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid transparent; transition: .2s; cursor: pointer; }
.tm-item:hover .tdot { transform: scale(1.2); }
.tdot.d-light { background: #e2e5ee; border-color: #d0d4e0; }
.tdot.d-gold { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.tdot.d-ocean { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.tdot.d-emerald { background: linear-gradient(135deg, #10b981, #047857); }
.tdot.d-royal { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.tdot.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); }

/* === TOAST === */
.toast-box { position: fixed; top: 16px; right: 16px; z-index: 99999; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 20px; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 280px; transform: translateX(120%); animation: tIn .4s forwards; box-shadow: var(--shadow-lg); }
.toast.ok { background: #16a34a; } 
.toast.no { background: #ef4444; } 
.toast.info { background: #3b82f6; } 
.toast.warn { background: #f59e0b; color: #1a1d2e; }
.toast.out { animation: tOut .4s forwards !important; }
@keyframes tIn { to { transform: translateX(0); } } 
@keyframes tOut { to { transform: translateX(120%); opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== LANDING ===================== */
.landing { position: relative; z-index: 1; }
.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 500; background: var(--nav-bg); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: .3s; }
.nav.on { box-shadow: var(--shadow-md); }
.nav-in { max-width: 1100px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--text2); transition: .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.btn-nav { padding: 10px 24px; background: var(--grad); border: none; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn-nav:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 4px 12px var(--accent-glow); }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; padding: 4px; }

/* MOBILE MENU */
.mob-menu { display: none; position: absolute; top: 60px; left: 0; width: 100%; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 16px 20px; z-index: 499; }
.mob-menu.open { display: flex; flex-direction: column; gap: 12px; }
.mob-menu a { font-size: 14px; font-weight: 600; color: var(--text2); padding: 10px 0; border-bottom: 1px solid var(--border); }
.mob-menu a:hover { color: var(--accent); }

/* HERO */
.hero { max-width: 1100px; margin: 0 auto; padding: 100px 20px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; background: var(--accent-light); border: 1px solid rgba(var(--accent-r), 0.2); border-radius: 20px; font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 38px; font-weight: 900; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.5px; }
.hero h1 b { color: var(--accent); }
.hero p { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 24px; max-width: 480px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-p { padding: 12px 28px; background: var(--grad); border: none; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; transition: .2s; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
.btn-p:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 8px 20px var(--accent-glow); }
.btn-s { padding: 12px 28px; background: transparent; border: 2px solid var(--accent); border-radius: 10px; color: var(--accent); font-size: 14px; font-weight: 700; cursor: pointer; transition: .2s; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
.btn-s:hover { background: var(--accent-light); }

.hero-vis { display: flex; justify-content: center; }
.hcard { width: 100%; max-width: 340px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-lg); }
.hcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.hcard-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.hcard h3 { font-size: 16px; font-weight: 700; }
.hcard .price { font-size: 22px; font-weight: 900; color: var(--accent); }
.hcard ul { list-style: none; }
.hcard li { padding: 8px 0; font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.hcard li:last-child { border-bottom: none; }
.hcard li i { color: var(--accent); font-style: normal; font-weight: 700; }

/* STATS & SECTIONS */
.stats { max-width: 1100px; margin: 0 auto 48px; padding: 0 20px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.stats-in div { text-align: center; }
.stats-in b { display: block; font-size: 26px; font-weight: 900; color: var(--accent); }
.stats-in small { font-size: 12px; color: var(--text3); font-weight: 600; }

.sec { max-width: 1100px; margin: 0 auto; padding: 48px 20px; }
.sec-tag { display: inline-block; padding: 6px 14px; background: var(--accent-light); border: 1px solid rgba(var(--accent-r), 0.15); border-radius: 16px; font-size: 11px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.sec h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.sec h2 b { color: var(--accent); }
.sec-desc { font-size: 15px; color: var(--text2); margin-bottom: 32px; max-width: 540px; }

/* PRODUCTS & BENEFITS */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: .3s; position: relative; overflow: hidden; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(var(--accent-r), 0.4); }
.pcard-badge { position: absolute; top: 16px; right: 16px; padding: 4px 12px; border-radius: 12px; font-size: 10px; font-weight: 800; background: var(--grad); color: #fff; letter-spacing: 0.5px; }
.pcard-icon { font-size: 40px; margin-bottom: 14px; }
.pcard h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.pcard .pp { font-size: 24px; font-weight: 900; color: var(--accent); margin-bottom: 16px; }
.pcard ul { list-style: none; margin-bottom: 24px; }
.pcard li { padding: 8px 0; font-size: 13px; color: var(--text2); display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--border); }
.pcard li:last-child { border-bottom: none; }
.pcard li b { color: var(--accent); font-weight: 700; }
.pcard li i { font-style: normal; font-weight: 700; color: var(--accent); }
.btn-pcard { width: 100%; padding: 14px; background: var(--grad); border: none; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; transition: .2s; }
.btn-pcard:hover { opacity: .9; box-shadow: 0 4px 12px var(--accent-glow); }

/* Kenapa Lexumedia (Keuntungan) - 3 Kolom di Desktop */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: .2s; }
.bcard:hover { border-color: rgba(var(--accent-r), 0.4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bcard-icon { font-size: 32px; margin-bottom: 12px; }
.bcard h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.bcard p { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* STEPS & TESTIMONIALS & CTA */
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scard { text-align: center; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; transition: .2s; }
.scard:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.scard-n { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin: 0 auto 16px; box-shadow: 0 4px 12px var(--accent-glow); }
.scard h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.scard p { font-size: 13px; color: var(--text2); }

.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.tcard p { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: #fff; flex-shrink: 0; }
.tcard-name { font-size: 15px; font-weight: 800; color: var(--text); }
.tcard-role { font-size: 12px; color: var(--accent); font-weight: 600; }

.cta { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }
.cta-in { padding: 60px; background: var(--grad); border-radius: 24px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 40px var(--accent-glow); }
.cta-in h2 { font-size: 32px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta-in p { font-size: 16px; color: rgba(255,255,255,.9); margin-bottom: 30px; max-width: 440px; margin-left: auto; margin-right: auto; }
.btn-cta { padding: 16px 44px; background: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 900; color: var(--accent); cursor: pointer; transition: .2s; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,.2); }

.foot { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 20px; text-align: center; }
.foot-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; font-weight: 600; color: var(--text2); transition: .2s; }
.foot-links a:hover { color: var(--accent); }
.foot-copy { font-size: 12px; color: var(--text3); }

/* MODAL LOGIN */
.modal-bg { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 20px; }
.modal-bg.open { display: flex; }
.login-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); animation: fadeUp .4s ease; position: relative; }
.login-box .close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--text3); font-size: 24px; cursor: pointer; transition: .2s; }
.login-box .close:hover { color: var(--red); transform: rotate(90deg); }
.login-box .lhead { text-align: center; margin-bottom: 28px; }
.login-box .lhead .logo-name { font-size: 24px; }
.login-box .lhead p { font-size: 13px; color: var(--text3); margin-top: 6px; font-weight: 500; }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 12px; font-weight: 700; color: var(--text2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.fg input { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; font-family: inherit; transition: .2s; }
.fg input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.btn-login { width: 100%; padding: 14px; background: var(--grad); border: none; border-radius: 10px; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; transition: .2s; margin-top: 8px; }
.btn-login:hover { opacity: .9; box-shadow: 0 4px 15px var(--accent-glow); }

/* ===================== DASHBOARD MEMBER ===================== */
.dash { display: none; min-height: 100vh; position: relative; z-index: 1; }
.dash.on { display: block; }
.topbar { position: sticky; top: 0; z-index: 100; background: var(--nav-bg); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.topbar .nav-left, .topbar .nav-right { display: flex; align-items: center; gap: 16px; }
.userinfo { display: flex; align-items: center; gap: 10px; padding: 6px 16px; background: var(--bg3); border-radius: 24px; font-size: 13px; font-weight: 700; }
.uavatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; }
.menutog { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

.side { position: fixed; left: 0; top: 64px; width: 260px; height: calc(100vh - 64px); background: var(--bg2); border-right: 1px solid var(--border); padding: 20px 14px; overflow-y: auto; z-index: 90; transition: transform .3s; }
.side-menu { list-style: none; }
.side-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text2); font-size: 14px; font-weight: 600; border-radius: 10px; transition: .2s; text-decoration: none; }
.side-menu a:hover, .side-menu a.on { background: var(--accent-light); color: var(--accent); }
.side-menu a.on { border-left: 4px solid var(--accent); }
.side-menu .mi { font-size: 20px; width: 24px; text-align: center; }
.side-menu .mbadge { margin-left: auto; padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 800; background: var(--grad); color: #fff; }
.mdiv { height: 1px; background: var(--border); margin: 14px 16px; }
.logout-btn { color: #ef4444 !important; font-weight: 700 !important; }
.logout-btn:hover { background: #fee2e2 !important; color: #dc2626 !important; }

.mc { margin-left: 260px; padding: 32px; min-height: calc(100vh - 64px); padding-bottom: 90px; }
.cs { display: none; }
.cs.on { display: block; }
.stitle { font-size: 22px; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }

/* Dashboard Cards (Statistik 4 Kolom Locked di Desktop) */
.sgrid, .bsum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.sc { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; transition: .2s; }
.sc:hover { border-color: rgba(var(--accent-r), 0.4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent); margin-bottom: 12px; }
.sc-label { font-size: 12px; color: var(--text2); margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.sc-val { font-size: 20px; font-weight: 900; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-sub { font-size: 11px; color: var(--text3); margin-top: 4px; font-weight: 500; }

.bcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; text-align: center; transition: .2s; }
.bcard-i { font-size: 32px; margin-bottom: 8px; }
.bcard-l { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; font-weight: 700; }
.bcard-v { font-size: 18px; font-weight: 900; color: var(--accent); }

/* TABLES */
.tw { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow); }
.tw-head { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--bg3); }
.tw-head h3 { font-size: 16px; font-weight: 800; color: var(--text); }
.tscr { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tscr::-webkit-scrollbar { height: 6px; }
.tscr::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.swipe-hint { display: none; padding: 6px 16px; background: var(--accent-light); border-bottom: 1px solid var(--border); font-size: 11px; color: var(--accent); font-weight: 700; text-align: center; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th { padding: 14px 24px; text-align: left; font-size: 12px; font-weight: 800; color: var(--text2); text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border); background: var(--bg-card); }
td { padding: 16px 24px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg3); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 800; }
.bg-green { background: rgba(22, 163, 74, .1); color: #16a34a; }
.bg-yellow { background: rgba(245, 158, 11, .1); color: #f59e0b; }
.bg-blue { background: rgba(59, 130, 246, .1); color: #3b82f6; }
.bg-red { background: rgba(239, 68, 68, .1); color: #ef4444; }

/* PAGINATION */
.pag { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-top: 1px solid var(--border); background: var(--bg-card); }
.pag-info { font-size: 12px; color: var(--text2); font-weight: 600; }
.pag-ctrls { display: flex; align-items: center; gap: 4px; }
.pg-btn { padding: 6px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; color: var(--text2); font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s; }
.pg-btn:hover { border-color: var(--accent); color: var(--accent); }
.pg-btn.on { background: var(--grad); color: #fff; border-color: transparent; }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-sel { padding: 6px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-size: 12px; font-family: inherit; font-weight: 600; }

/* DEPOSIT & METODE PEMBAYARAN */
.pmethods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 24px; }
.pm { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 10px; text-align: center; cursor: pointer; transition: .2s; }
.pm:hover, .pm.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); }
.pm.sel { background: var(--accent-light); }
.pm-i { font-size: 32px; margin-bottom: 6px; }
.pm-n { font-size: 13px; font-weight: 700; color: var(--text); }
.pm-d { font-size: 11px; color: var(--text3); font-weight: 600; }
.binfo { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: none; animation: fadeUp .3s ease; }
.binfo.on { display: block; }
.binfo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); font-size: 18px; }
.binfo-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.btn-copy { padding: 4px 12px; background: var(--accent-light); border: 1px solid rgba(var(--accent-r), 0.3); border-radius: 6px; color: var(--accent); font-size: 11px; cursor: pointer; font-weight: 800; transition: .2s; margin-left: 8px; }
.btn-copy:hover { background: var(--accent); color: #fff; }

/* Form Deposit & Profile - 2 Kolom Locked di Desktop */
.dform, .pcard2 { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-top: 24px; }
.dform h3, .pcard2 h3 { font-size: 16px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.dform-grid, .pgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.dform select, .dform input, .pcard2 input { width: 100%; padding: 12px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; font-family: inherit; font-weight: 500; transition: .2s; }
.dform select:focus, .dform input:focus, .pcard2 input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.btn-sub, .btn-sv { padding: 14px 28px; background: var(--grad); border: none; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; transition: .2s; margin-top: 20px; }
.btn-sub:hover, .btn-sv:hover { opacity: .9; box-shadow: 0 4px 12px var(--accent-glow); transform: translateY(-1px); }

/* TIERS PRESTASI - 3 Kolom di Desktop */
.tgrid2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.tcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center; position: relative; overflow: hidden; transition: .2s; }
.tcard:hover { border-color: rgba(var(--accent-r), 0.4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tcard-i { font-size: 36px; margin-bottom: 10px; }
.tcard-n { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.tcard-r { font-size: 12px; color: var(--text3); margin-bottom: 10px; font-weight: 600; }
.tcard-v { font-size: 18px; font-weight: 900; color: var(--accent); }
.tcard.ok::after { content: 'OK'; position: absolute; top: 12px; right: -24px; background: #16a34a; color: #fff; font-size: 10px; font-weight: 900; padding: 4px 30px; transform: rotate(45deg); box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* SHOWCASE / INFO */
.showcase { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 24px; box-shadow: var(--shadow); }
.showcase-h { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.showcase-img { width: 100px; height: 100px; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 40px; flex-shrink: 0; box-shadow: 0 4px 12px var(--accent-glow); }
.showcase .sprice { font-size: 24px; font-weight: 900; color: var(--accent); margin: 4px 0; }
.showcase .sdesc { font-size: 13px; color: var(--text2); font-weight: 500; }
.slist { list-style: none; }
.slist li { padding: 10px 0; font-size: 14px; color: var(--text2); display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--border); line-height: 1.6; }
.slist li:last-child { border-bottom: none; }
.slist li i { color: var(--accent); font-style: normal; font-weight: 800; flex-shrink: 0; margin-top: 2px; }

/* DL APP */
.dl-app { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px 24px; text-align: center; }
.dl-app-i { font-size: 56px; margin-bottom: 16px; }
.btn-dl { padding: 14px 32px; background: linear-gradient(135deg, #3b82f6, #06b6d4); border: none; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; transition: .2s; margin-top: 16px; width: 100%; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
.btn-dl:hover { transform: translateY(-2px); opacity: .9; }

/* BOTTOM NAV */
.bnav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 200; background: var(--nav-bg); backdrop-filter: blur(16px); border-top: 1px solid var(--border); padding: 6px 0 env(safe-area-inset-bottom, 8px); box-shadow: 0 -4px 12px rgba(0,0,0,0.05); }
.bnav-in { display: flex; justify-content: space-around; max-width: 500px; margin: 0 auto; }
.bnav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 8px; color: var(--text3); transition: .2s; text-decoration: none; }
.bnav-item.on { color: var(--accent); position: relative; }
.bnav-item.on i { transform: translateY(-2px) scale(1.15); }
.bnav-item.on::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; background: var(--grad); border-radius: 0 0 4px 4px; }
.bnav-item i { font-size: 20px; font-style: normal; }

.side-ov { display: none; position: fixed; top: 64px; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); z-index: 85; }
.copy2 { text-align: center; padding: 24px; font-size: 12px; color: var(--text3); border-top: 1px solid var(--border); margin-top: 40px; font-weight: 500; }

/* ===================== PRODUK DETAIL ===================== */
.produk-detail { position: relative; overflow: hidden; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pd-inner { max-width: 1100px; margin: 0 auto; padding: 80px 20px; }
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.pd-hero-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.pd-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.pd-brand-logo { font-size: 32px; font-weight: 900; letter-spacing: 2px; }
.pd-brand-logo .pw { color: #16a34a; } .pd-brand-logo .pl { color: #2563eb; }
.pd-subtitle { font-size: 14px; font-weight: 800; color: #2563eb; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.pd-hero h2 { font-size: 36px; font-weight: 900; line-height: 1.25; margin-bottom: 16px; color: var(--text); }
.pd-hero h2 b { color: #dc2626; font-weight: 900; }
.pd-calorie { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; background: linear-gradient(135deg, #dc2626, #ef4444); border-radius: 12px; color: #fff; font-size: 18px; font-weight: 800; margin: 16px 0 24px; animation: pulse-glow 2s ease-in-out infinite; box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3); }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3); } 50% { box-shadow: 0 4px 30px rgba(220, 38, 38, 0.6); } }
.pd-hero-img { display: flex; justify-content: center; align-items: center; position: relative; }
.pd-img-main { width: 100%; max-width: 420px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); transition: transform .5s ease; position: relative; z-index: 2; }
.pd-img-main:hover { transform: scale(1.03) rotate(-1deg); }
.pd-img-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%); z-index: 1; animation: glow-pulse 3s ease-in-out infinite; }
@keyframes glow-pulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 1; } }

.pd-tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.pd-tech-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; transition: all .3s ease; position: relative; overflow: hidden; }
.pd-tech-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #2563eb, #06b6d4); opacity: 0; transition: opacity .3s; }
.pd-tech-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.3); }
.pd-tech-card:hover::before { opacity: 1; }
.pd-tech-icon { font-size: 36px; margin-bottom: 12px; }
.pd-tech-card h4 { font-size: 15px; font-weight: 800; color: #2563eb; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }

.pd-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 60px; }
.pd-section-label { font-size: 13px; font-weight: 800; color: #2563eb; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.pd-benefit-list { list-style: none; }
.pd-benefit-list li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); transition: all .2s; }
.pd-benefit-list li:hover { padding-left: 8px; }
.pd-benefit-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1)); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.pd-benefit-text h5 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.pd-benefit-text p { font-size: 14px; color: var(--text2); line-height: 1.6; }

.pd-conditions { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; margin-bottom: 32px; box-shadow: var(--shadow); }
.pd-cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-cond-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(220, 38, 38, 0.04); border: 1px solid rgba(220, 38, 38, 0.1); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text2); transition: all .2s; }
.pd-cond-item:hover { background: rgba(220, 38, 38, 0.08); border-color: rgba(220, 38, 38, 0.2); transform: translateX(4px); color: var(--text); }

.pd-suitable { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.pd-suit-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; transition: all .3s; }
.pd-suit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(var(--accent-r), 0.3); }
.pd-suit-icon { font-size: 36px; margin-bottom: 12px; }
.pd-suit-card p { font-size: 14px; font-weight: 700; color: var(--text); }

.pd-warning { background: linear-gradient(135deg, #1e1b4b, #312e81); border-radius: 16px; padding: 24px 32px; margin-bottom: 32px; position: relative; overflow: hidden; }
.pd-warning-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: #dc2626; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.pd-warning p { color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.6; }

.pd-guarantee { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.pd-guar-item { display: flex; align-items: center; gap: 10px; padding: 12px 24px; background: linear-gradient(135deg, #fbbf24, #f59e0b); border-radius: 14px; font-size: 14px; font-weight: 800; color: #1a1d2e; box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25); transition: all .3s; }
.pd-guar-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35); }

.pd-promo { background: linear-gradient(135deg, #dc2626, #b91c1c); border-radius: 16px; padding: 24px; text-align: center; margin-bottom: 32px; color: #fff; }
.pd-promo h4 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }

.pd-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; z-index: 0; }
.pd-particle { position: absolute; background: rgba(37, 99, 235, 0.15); border-radius: 50%; animation: float-up linear infinite; }
@keyframes float-up { 0% { transform: translateY(100%) scale(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-100vh) scale(1); opacity: 0; } }

.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent); animation: shimmer 3s ease-in-out infinite; }
@keyframes shimmer { 0% { left: -100%; } 100% { left: 200%; } }

/* ============ RESPONSIVE & MOBILE FIXES ============ */
@media (max-width: 1024px) {
    .side { transform: translateX(-100%); }
    .side.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(0,0,0,.3); }
    .mc { margin-left: 0; }
    .menutog { display: block; }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 100px 20px 40px; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-vis { order: -1; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    
    .pd-hero { grid-template-columns: 1fr; gap: 32px; }
    .pd-hero-text { align-items: center; text-align: center; }
    .pd-brand { justify-content: center; }
    .pd-hero-img { order: -1; }
    .pd-img-main { max-width: 320px; }
}
@media (max-width: 768px) {
    .topbar { padding: 0 16px; height: 56px; }
    .mc { padding: 16px; padding-bottom: 90px; }
    
    /* UNLOCK GRID DI MOBILE -> Murni ke bawah */
    .sgrid, .bsum, .tgrid2, .bgrid, .pgrid2, .dform-grid, .pd-tech, .pd-benefits, .sgrid { grid-template-columns: 1fr; gap: 12px; }
    .stats-in { grid-template-columns: 1fr 1fr; }
    .pmethods { grid-template-columns: repeat(3, 1fr); }
    .pd-suitable { grid-template-columns: 1fr 1fr; gap: 10px; }
    .pd-cond-grid { grid-template-columns: 1fr 1fr; }

    /* MOBILE FIX INFO PRODUK DASHBOARD */
    .showcase-h { flex-direction: column; text-align: center; gap: 16px; }
    .showcase-img { width: 100% !important; height: auto !important; max-width: 240px; margin: 0 auto; aspect-ratio: 16/9; }
    .showcase-h h3 { font-size: 18px; flex-direction: column; line-height: 1.4; }
    .showcase .sdesc { font-size: 12px; line-height: 1.6; padding: 0 10px; }
    .slist li { font-size: 13px; align-items: flex-start; }
    
    .bnav { display: block; }
    .swipe-hint { display: block; }
    .userinfo span { display: none; }
}
@media (min-width: 769px) {
    .swipe-hint { display: none !important; }
}