/* ============================================================
   Getinsighto Content Reviewer — Design System v3
   Light theme, brand violet #6b46f0 (samain sama landing).
   Reskin cukup ganti token di :root.
   ============================================================ */
:root {
  /* palette */
  --bg: #f8f9ff;
  --bg-2: #f1f2fa;
  --surface: #ffffff;
  --surface-2: #fbfbfe;
  --surface-3: #eef0f6;
  --border: #e5e7f0;
  --border-strong: #d7dae8;
  --text: #161832;
  --text-2: #4b5065;
  --muted: #6b7280;
  --primary: #6b46f0;
  --primary-strong: #5a38d6;
  --primary-deep: #4c2fb8;
  --primary-rgb: 107, 70, 240;
  --primary-soft: rgba(107, 70, 240, 0.08);
  --primary-glow: rgba(107, 70, 240, 0.3);
  --on-primary: #ffffff;
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.1);
  --red: #e5533c;
  --red-soft: rgba(229, 83, 60, 0.08);
  --score-red: #e5533c;
  --score-yellow: #d97706;
  --score-green: #16a34a;

  /* type */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", var(--font);

  /* shape */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow: 0 10px 36px rgba(12, 16, 38, 0.09);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--primary); color: var(--on-primary); }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }


/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; max-width: 1160px; margin: 0 auto;
}
.brand { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); display: flex; align-items: center; gap: 9px; }
.brand-dot { width: 26px; height: 26px; flex-shrink: 0; display: block; object-fit: contain; }
.brand span { color: var(--primary); }

/* topbar reskin waktu landing page aktif (light nav, matching gaya premium landing) */
body.on-landing .topbar { background: rgba(255, 255, 255, 0.88); border-bottom: 1px solid #e5e7f0; }
body.on-landing .brand { color: #161832; }
body.on-landing .brand span { color: #6b46f0; }
body.on-landing #btn-open-auth { background: #fff; color: #161832; border-color: #e5e7f0; }
body.on-landing #btn-open-auth:hover { border-color: #6b46f0; color: #6b46f0; }
body.on-landing #btn-cta-topbar {
  background: linear-gradient(135deg, #cf38df, #6b46f0); box-shadow: 0 4px 16px rgba(107, 70, 240, 0.35);
  color: #fff;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 22px;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  cursor: pointer; transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: var(--on-primary);
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.2);
}
.btn-primary:hover { box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.28); transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-outline { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 15px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- forms ---------- */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font);
  background: var(--bg-2); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: block; margin: 20px 0 8px; }

.card {
  background: linear-gradient(180deg, var(--surface), var(--surface) 60%, var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.muted { color: var(--muted); font-size: 13px; }
.error-box {
  background: var(--red-soft); color: var(--red);
  border: 1px solid rgba(229, 83, 60, 0.3);
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; margin-top: 14px;
}
.hidden { display: none !important; }

/* ---------- animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes shimmer { from { background-position: -400px 0; } to { background-position: 400px 0; } }
.anim-1, .anim-2, .anim-3, .anim-4 { animation: fadeUp 0.7s var(--ease) both; }
.btn-spinner {
  display: inline-block; width: 14px; height: 14px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: currentColor;
  border-radius: 50%; animation: spin 0.7s linear infinite; margin-right: 4px;
  vertical-align: -2px;
}
.anim-2 { animation-delay: 0.12s; }
.anim-3 { animation-delay: 0.24s; }
.anim-4 { animation-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ============================================================
   LANDING — reskin premium (light + navy accent + gradient magenta→violet),
   mengadaptasi gaya visual getinsighto.com versi analytics lama.
   Semua token di-scope di bawah #view-landing supaya app/auth (dark theme
   "tools kreator") gak kesentuh — komponen bersama (.demo-card, .ring-*,
   .dims/.dim/.bar, .band-*) otomatis ikut terang karena reuse token yang sama.
   ============================================================ */
#view-landing {
  --bg: #f8f9ff;
  --bg-2: #f1f2fa;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #eef0f6;
  --border: #e5e7f0;
  --border-strong: #d7dae8;
  --text: #161832;
  --text-2: #4b5065;
  --muted: #6b7280;
  --primary: #6b46f0;
  --primary-strong: #5a38d6;
  --primary-deep: #4c2fb8;
  --primary-rgb: 107, 70, 240;
  --primary-soft: rgba(107, 70, 240, 0.08);
  --primary-glow: rgba(107, 70, 240, 0.35);
  --on-primary: #ffffff;
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.1);
  --red: #e5533c;
  --red-soft: rgba(229, 83, 60, 0.08);
  --score-red: #e5533c;
  --score-yellow: #d97706;
  --score-green: #16a34a;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", "Space Grotesk", var(--font);
  --shadow: 0 20px 50px rgba(12, 16, 38, 0.12);

  --lp-brand-1: #cf38df;
  --lp-brand-2: #6b46f0;
  --lp-grad: linear-gradient(135deg, var(--lp-brand-1), var(--lp-brand-2));
  --lp-navy: #0c1026;
  --lp-good: #16a34a;
  --lp-fd: "DM Mono", monospace;

  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}
#view-landing .lp-wrap, #view-landing .lp-section-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
#view-landing .lp-center { text-align: center; }
#view-landing .lp-center .lp-section-sub { margin-left: auto; margin-right: auto; }
#view-landing .lp-muted { color: var(--muted); font-size: 13px; }
#view-landing a:not(.lp-btn-hero):not(.lp-btn-ghost):not(.lp-btn-plan) { color: var(--lp-brand-2); }

/* ── hero ── */
.lp-hero { background: var(--lp-navy); color: #fff; padding: 128px 24px 88px; text-align: center; position: relative; overflow: hidden; }
.lp-hero::before {
  content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(207,56,223,.32) 0%, rgba(107,70,240,.18) 40%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  padding: 7px 16px; border-radius: 30px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 28px; position: relative;
}
.lp-hero-badge .dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; }
.lp-h1 {
  font-family: var(--font-display); font-size: clamp(34px, 5.8vw, 64px); font-weight: 800;
  line-height: 1.06; max-width: 900px; margin: 0 auto 22px; letter-spacing: -.025em; position: relative;
}
.lp-grad-text { background: var(--lp-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lp-hero-sub { font-size: clamp(16px, 1.9vw, 19px); color: rgba(255,255,255,.76); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; position: relative; }
.lp-hero-actions, .lp-hero-actions.lp-hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }
.lp-btn-hero {
  padding: 17px 34px; background: var(--lp-grad); color: #fff; border: 0; border-radius: 40px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(107,70,240,.45); display: inline-flex; align-items: center; gap: 10px;
  transition: opacity .15s, transform .15s;
}
.lp-btn-hero:hover { opacity: .94; transform: translateY(-1px); }
.lp-btn-ghost {
  padding: 14px 26px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 40px;
  font-weight: 600; font-size: 14.5px; color: rgba(255,255,255,.85); text-decoration: none;
}
.lp-btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.lp-hero-micro { margin-top: 22px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.58); position: relative; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ── hero mockup ── */
.lp-hero-visual { position: relative; max-width: 620px; margin: 56px auto 0; z-index: 2; }
.lp-float-card {
  position: absolute; background: #fff; border-radius: 13px; box-shadow: 0 20px 50px rgba(12,16,38,.35);
  padding: 13px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--border);
  text-align: left;
}
.lp-float-1 { right: -18px; top: 6%; animation: lp-floaty 4s ease-in-out infinite; }
.lp-float-2 { left: -22px; bottom: 10%; animation: lp-floaty 4s ease-in-out infinite .8s; }
.lp-fc-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--lp-grad); display: grid; place-items: center; font-size: 16px; flex: none; }
.lp-fc-t { font-size: 12px; font-weight: 800; color: var(--text); }
.lp-fc-s { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
@keyframes lp-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.lp-browser { background: #fff; border-radius: 16px; box-shadow: 0 40px 100px rgba(0,0,0,.5); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.lp-browser-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #eef0f6; border-bottom: 1px solid var(--border); }
.lp-b-dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-b-dot.r { background: #ff5f57; } .lp-b-dot.y { background: #febc2e; } .lp-b-dot.g { background: #28c840; }
.lp-browser-url { margin-left: 10px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 5px 14px; font-size: 11.5px; color: var(--muted); font-family: var(--lp-fd); }
.lp-browser-body { padding: 18px; background: #f6f7fc; }
.lp-browser-body .demo-card { box-shadow: none; border-radius: 14px; }

/* ── trust strip ── */
.lp-trust { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 24px; }
.lp-trust-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-around; gap: 20px; flex-wrap: wrap; }
.lp-trust-item { text-align: center; }
.lp-trust-num { font-family: var(--font-display); font-size: 23px; font-weight: 800; background: var(--lp-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lp-trust-lbl { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ── generic section ── */
.lp-section { padding: 92px 24px; }
.lp-section-badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lp-brand-2); background: rgba(107,70,240,.08); padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.lp-section-title { font-family: var(--font-display); font-size: clamp(27px, 4vw, 44px); font-weight: 800; line-height: 1.12; margin-bottom: 16px; letter-spacing: -.02em; }
.lp-section-sub { font-size: 16.5px; color: var(--muted); max-width: 580px; line-height: 1.7; }

/* ── problem / pain ── */
.lp-problem { background: var(--bg-2); }
.lp-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.lp-pain-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.lp-pain-ico { font-size: 26px; margin-bottom: 12px; }
.lp-pain-title { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.lp-pain-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── before / after ── */
.lp-ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.lp-ba-col { border-radius: 14px; padding: 30px; border: 1px solid var(--border); text-align: left; }
.lp-ba-col.lp-before { background: var(--surface); }
.lp-ba-col.lp-after { background: linear-gradient(135deg, rgba(207,56,223,.05), rgba(107,70,240,.06)); border-color: rgba(107,70,240,.25); }
.lp-ba-head { margin-bottom: 18px; }
.lp-ba-badge { font-size: 13px; font-weight: 800; }
.lp-ba-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; }
.lp-ba-list li { display: flex; gap: 11px; font-size: 14px; line-height: 1.55; }
.lp-ba-list .ic { width: 21px; height: 21px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.lp-before .ic { background: rgba(229,83,60,.12); color: var(--red); }
.lp-after .ic { background: var(--lp-grad); color: #fff; }
.lp-before li { color: var(--muted); }

/* ── spotlight ── */
.lp-spotlight { background: var(--bg-2); }
.lp-spot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.lp-spot-row + .lp-spot-row { margin-top: 60px; }
.lp-spot-row.lp-rev .lp-spot-text { order: 2; }
.lp-spot-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-brand-2); margin-bottom: 12px; }
.lp-spot-text h3 { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 25px); font-weight: 800; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.01em; }
.lp-spot-text p { font-size: 15px; color: var(--muted); line-height: 1.75; margin: 0; }
.lp-spot-visual { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: 0 20px 50px rgba(12,16,38,.08); }
.lp-mk-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 11px; margin-bottom: 10px; font-size: 13.5px; line-height: 1.5; }
.lp-mk-row:last-child { margin-bottom: 0; }
.lp-mk-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 4px 9px; border-radius: 20px; flex: none; }
.lp-mk-tag.lp-fat { background: rgba(229,83,60,.1); color: var(--red); }
.lp-mk-tag.lp-opp { background: rgba(22,163,74,.12); color: var(--lp-good); }
.lp-mk-name { flex: 1; color: var(--text-2); }
.lp-mk-after .lp-mk-name { color: var(--text); font-weight: 600; }

/* ── feature grid ── */
.lp-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.lp-feat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; transition: .2s; }
.lp-feat-card:hover { border-color: rgba(107,70,240,.3); box-shadow: 0 8px 28px rgba(107,70,240,.1); transform: translateY(-4px); }
.lp-feat-icon { width: 42px; height: 42px; background: linear-gradient(135deg, rgba(207,56,223,.12), rgba(107,70,240,.12)); border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; font-size: 19px; }
.lp-feat-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.lp-feat-desc { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ── dashboard preview ── */
.lp-dash-section { background: var(--bg); }
.lp-dash-preview { margin-top: 44px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.lp-dash-tag {
  display: inline-flex; align-items: center; gap: 6px; background: var(--surface-3); color: var(--muted);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 5px 12px; margin-bottom: 18px;
}
.lp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.lp-tile { background: var(--bg-2); border: 1px solid var(--border); border-radius: 11px; padding: 13px 14px; }
.lp-tl { font-size: 11px; color: var(--muted); font-weight: 600; }
.lp-tv { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-top: 3px; letter-spacing: -.02em; }
.lp-tf { font-size: 11px; color: var(--muted); margin-top: 3px; }
.lp-dash-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.lp-dash-cta .lp-btn-hero { box-shadow: 0 4px 16px rgba(107,70,240,.28); }

/* ── how it works ── */
.lp-how { background: var(--bg-2); }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 44px; position: relative; }
.lp-steps::before { content: ""; position: absolute; top: 27px; left: calc(16.67% + 18px); right: calc(16.67% + 18px); height: 1.5px; background: var(--lp-grad); opacity: .25; }
.lp-step { text-align: center; position: relative; }
.lp-step-num {
  width: 54px; height: 54px; background: var(--lp-grad); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-weight: 800; font-size: 19px; color: #fff; margin: 0 auto 18px; box-shadow: 0 6px 18px rgba(107,70,240,.35);
}
.lp-step-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lp-step-desc { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 270px; margin: 0 auto; }

/* ── who ── */
.lp-who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; max-width: 760px; margin-left: auto; margin-right: auto; }
.lp-who-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px; text-align: left; }
.lp-who-ico { font-size: 26px; margin-bottom: 12px; }
.lp-who-card h4 { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin: 0 0 8px; }
.lp-who-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── testimoni (ilustratif — avatar inisial, bukan foto orang asli) ── */
.lp-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.lp-testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; text-align: left; }
.lp-testi-stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.lp-testi-quote { font-size: 14px; line-height: 1.7; color: var(--text); flex: 1; }
.lp-testi-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.lp-testi-av {
  width: 42px; height: 42px; border-radius: 50%; background: var(--lp-grad); flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; font-family: var(--font-display);
}
.lp-testi-name { font-weight: 800; font-size: 13.5px; }
.lp-testi-role { font-size: 12px; color: var(--muted); }

/* ── bonus ── */
.lp-bonus { background: var(--bg-2); }
.lp-bonus-card {
  background: linear-gradient(135deg, #151934, #0b0f24); border-radius: 22px;
  padding: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 40px); align-items: center; position: relative; overflow: hidden;
  border: 1px solid rgba(207,56,223,.28); box-shadow: 0 26px 70px rgba(12,16,38,.25);
}
.lp-bonus-card::before {
  content: ""; position: absolute; top: -100px; right: -60px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(207,56,223,.3), transparent 65%); filter: blur(32px); pointer-events: none;
}
.lp-bonus-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 16px; position: relative;
}
.lp-bonus-left h2 { font-family: var(--font-display); font-size: clamp(21px, 2.8vw, 30px); font-weight: 800; color: #fff; line-height: 1.2; margin: 0 0 12px; position: relative; letter-spacing: -.01em; }
.lp-bonus-sub { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 20px; position: relative; }
.lp-bonus-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; position: relative; }
.lp-bonus-list li { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.86); font-weight: 600; }
.lp-bonus-list li::before { content: "✓"; width: 19px; height: 19px; background: var(--lp-grad); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; flex: none; }
.lp-bonus-visual { position: relative; padding-bottom: 12px; }
.lp-tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-tpl { aspect-ratio: 4/5; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.lp-tpl-ic { font-size: 15px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.lp-tpl-lines { display: flex; flex-direction: column; gap: 4px; }
.lp-tpl i { display: block; height: 4px; border-radius: 3px; background: rgba(255,255,255,.8); }
.lp-tpl i.s { width: 55%; } .lp-tpl i.m { width: 80%; }
.lp-tpl-badge {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); background: var(--lp-grad); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 12px; padding: 8px 18px; border-radius: 30px;
  box-shadow: 0 10px 24px rgba(107,70,240,.5); white-space: nowrap;
}
.lp-plan-bonus { color: #4ade80 !important; font-weight: 800; }
.lp-plan-bonus::before { background: rgba(74,222,128,.2) !important; }

/* ── pricing ── */
.lp-pricing { background: var(--lp-navy); color: #fff; padding: 84px 24px; }
.lp-pricing .lp-section-title { color: #fff; }
.lp-pricing .lp-section-sub { color: rgba(255,255,255,.65); }
.lp-pricing .lp-section-badge { color: #c4b5fd; background: rgba(255,255,255,.1); }
.lp-pricing-inner { max-width: 900px; margin: 0 auto; }
.lp-urgency-note { max-width: 560px; margin: 16px auto 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); border-radius: 12px; padding: 12px 18px; font-size: 13.5px; }
.lp-promo-bar {
  max-width: 620px; margin: 26px auto 0;
  background: linear-gradient(135deg, rgba(207,56,223,.22), rgba(107,70,240,.22)); border: 1.5px solid rgba(207,56,223,.55);
  border-radius: 16px; padding: 20px 26px; display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; text-align: center;
  box-shadow: 0 12px 34px rgba(207,56,223,.18);
}
.lp-promo-txt { font-size: 15px; color: #fff; font-weight: 700; line-height: 1.5; }
.lp-cd-timer { display: inline-flex; gap: 8px; }
.lp-cd-box {
  display: inline-flex; flex-direction: column; align-items: center; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 9px 13px;
  font-family: var(--lp-fd); font-weight: 800; font-size: 22px; line-height: 1; min-width: 54px;
}
.lp-cd-box i { font-family: var(--font); font-style: normal; font-weight: 700; font-size: 9.5px; color: rgba(255,255,255,.7); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.lp-plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.lp-plan-cards-single { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
.lp-plan-card { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); border-radius: 20px; padding: 32px; position: relative; }
.lp-plan-card.lp-featured { border-color: var(--lp-brand-1); background: linear-gradient(135deg, rgba(207,56,223,.12), rgba(107,70,240,.12)); }
.lp-plan-flag { position: absolute; top: -12px; right: 20px; font-size: 11px; font-weight: 800; letter-spacing: .05em; background: var(--lp-grad); color: #fff; padding: 5px 14px; border-radius: 20px; }
.lp-plan-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.lp-plan-oldprice { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: rgba(255,255,255,.4); text-decoration: line-through; margin-bottom: 2px; }
.lp-plan-price { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.lp-plan-period { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.lp-plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 0 0 26px; padding: 0; }
.lp-plan-features li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(255,255,255,.85); }
.lp-plan-features li::before { content: "✓"; width: 20px; height: 20px; background: var(--lp-grad); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; color: #fff; }
.lp-btn-plan {
  display: block; text-align: center; width: 100%; padding: 14px; background: var(--lp-grad); color: #fff;
  border-radius: 12px; font-family: var(--font-display); font-weight: 700; font-size: 15px; text-decoration: none;
}
.lp-value-callout {
  text-align: center; margin-top: 28px; color: rgba(255,255,255,.75); font-size: 13.5px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 18px;
}
.lp-value-callout b { color: #fff; }
.lp-pricing .lp-muted { color: rgba(255,255,255,.55); }
.lp-pricing .lp-muted a { color: #d9c8ff; }

/* ── faq ── */
.lp-faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.lp-faq-item { background: var(--surface); border-bottom: 1px solid var(--border); }
.lp-faq-item:last-child { border-bottom: 0; }
.lp-faq-item summary {
  padding: 20px 22px; cursor: pointer; font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary:hover { background: var(--bg-2); }
.lp-faq-ico {
  width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--border);
  display: grid; place-items: center; flex: none; font-size: 14px; font-weight: 800; color: var(--lp-brand-2);
  transition: .2s;
}
.lp-faq-item[open] .lp-faq-ico { transform: rotate(45deg); background: var(--lp-grad); color: #fff; border-color: transparent; }
.lp-faq-item p { margin: 0 22px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ── final cta ── */
.lp-final-cta { background: var(--lp-navy); text-align: center; padding: 96px 24px; position: relative; overflow: hidden; }
.lp-final-cta::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(207,56,223,.28), rgba(107,70,240,.14), transparent 70%);
  filter: blur(50px); pointer-events: none;
}
.lp-final-cta h2 { font-family: var(--font-display); font-size: clamp(27px, 4vw, 46px); font-weight: 800; color: #fff; margin: 0 0 16px; position: relative; letter-spacing: -.02em; line-height: 1.12; }
.lp-final-cta p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 460px; margin: 0 auto 32px; position: relative; }
.lp-fc-micro { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); position: relative; }

/* ── footer ── */
.lp-footer { background: #060c1f; color: rgba(255,255,255,.4); padding: 36px 24px; font-size: 13px; }
.lp-footer-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-footer-logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: rgba(255,255,255,.7); }
.lp-footer a { color: rgba(255,255,255,.4); text-decoration: none; }
.lp-footer a:hover { color: rgba(255,255,255,.7); }

/* ── responsive ── */
@media (max-width: 900px) {
  .lp-float-card { display: none; }
}
@media (max-width: 780px) {
  .lp-hero { padding: 104px 20px 64px; }
  .lp-pain-grid, .lp-feat-grid, .lp-steps, .lp-plan-cards, .lp-ba-grid, .lp-who-grid, .lp-tiles { grid-template-columns: 1fr; }
  .lp-spot-row { grid-template-columns: 1fr; gap: 28px; }
  .lp-spot-row.lp-rev .lp-spot-text { order: 0; }
  .lp-steps::before { display: none; }
}

/* score ring & bar-band colors — SHARED, dipakai landing (demo hero) & hasil review beneran (app dark theme) */
.ring-wrap { position: relative; display: inline-grid; place-items: center; }
.ring-wrap svg { transform: rotate(-90deg); display: block; }
.ring-track { stroke: var(--surface-3); }
.ring-val { transition: stroke-dashoffset 1.4s var(--ease), stroke 0.4s; stroke-linecap: round; }
.ring-num {
  position: absolute; text-align: center; font-family: var(--font-display);
  font-weight: 700; line-height: 1;
}
.ring-num small { display: block; font-family: var(--font); font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; margin-top: 4px; }

.band-red { color: var(--score-red); }
.band-yellow { color: var(--score-yellow); }
.band-green { color: var(--score-green); }

/* demo card — dipakai di hero landing (light, di dalam browser mockup) & referensi umum */
.demo-card {
  background: linear-gradient(165deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: 20px; padding: 26px;
  box-shadow: var(--shadow);
  text-align: left;
}
.demo-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.demo-score-row { display: flex; align-items: center; gap: 22px; }
.demo-note {
  margin-top: 18px; background: var(--surface-3); border-left: 3px solid var(--primary);
  border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--text-2);
}
.demo-note b { color: var(--primary); }

/* ============================================================
   AUTH
   ============================================================ */
.auth-wrap { max-width: 420px; margin: 48px auto; padding: 0 20px; }
.tabs { display: flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.tab {
  flex: 1; text-align: center; padding: 10px; border-radius: 9px;
  color: var(--muted); font-weight: 700; cursor: pointer; font-size: 14px;
  transition: all 0.2s var(--ease);
}
.tab.active { background: var(--surface-3); color: var(--text); box-shadow: 0 2px 8px rgba(12,16,38,0.08); }

/* ============================================================
   APP
   ============================================================ */
.appnav { display: flex; gap: 8px; align-items: center; margin: 22px 0; }
.quota-pill {
  background: var(--primary-soft); color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 800;
}
.panel-title { font-size: 22px; margin: 0 0 4px; }
.panel-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 20px; }

/* upload */
.dropzone {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius);
  padding: 34px 20px; text-align: center; color: var(--muted); cursor: pointer;
  background: var(--bg-2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.dropzone:hover { border-color: var(--primary); background: var(--primary-soft); }
.dropzone.drag { border-color: var(--primary); background: var(--primary-soft); transform: scale(1.01); }
.dropzone .dz-icon { font-size: 30px; display: block; margin-bottom: 8px; }
.dropzone strong { color: var(--text); }

.slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; margin-top: 16px; }
.slide-item {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--surface-2);
  animation: fadeUp 0.4s var(--ease);
}
.slide-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.slide-item .pos {
  position: absolute; top: 6px; left: 6px;
  background: rgba(12, 16, 38, 0.72); color: #fff;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  border-radius: 6px; padding: 2px 7px;
}
.slide-item .ops { display: flex; border-top: 1px solid var(--border); }
.slide-item .ops button {
  flex: 1; border: 0; background: var(--surface); color: var(--muted);
  padding: 6px 0; cursor: pointer; font-size: 12px; transition: all 0.15s;
}
.slide-item .ops button:hover { background: var(--surface-3); color: var(--text); }

.rereview-banner {
  display: flex; gap: 10px; align-items: center;
  background: var(--amber-soft); border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--amber); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 13.5px; font-weight: 600; margin-bottom: 18px;
}

/* progress */
.progress-wrap { text-align: center; padding: 44px 20px; }
.progress-ring { width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; border: 4px solid var(--surface-3); border-top-color: var(--primary); animation: spin 0.9s linear infinite; }
.progress-steps { max-width: 340px; margin: 22px auto 0; text-align: left; display: grid; gap: 12px; }
.pstep { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); transition: color 0.3s; }
.pstep .ic {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; transition: all 0.3s;
}
.pstep.active { color: var(--text); }
.pstep.active .ic { border-color: var(--primary); color: var(--primary); animation: pulse 1.4s infinite; }
.pstep.done { color: var(--text-2); }
.pstep.done .ic { border-color: var(--primary); background: var(--primary); color: var(--on-primary); animation: none; }

/* ============================================================
   HASIL REVIEW
   ============================================================ */
.score-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 6px; }
.band-chip {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 999px; padding: 7px 16px;
  font-size: 13px; font-weight: 800; margin-top: 16px;
}
.band-chip.red { background: var(--red-soft); color: var(--score-red); border: 1px solid rgba(229,83,60,0.3); }
.band-chip.yellow { background: var(--amber-soft); color: var(--score-yellow); border: 1px solid rgba(217,119,6,0.3); }
.band-chip.green { background: rgba(22,163,74,0.08); color: var(--score-green); border: 1px solid rgba(22,163,74,0.3); }
.delta-hero { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-top: 10px; }
.delta.up, .delta-hero.up { color: var(--score-green); }
.delta.down, .delta-hero.down { color: var(--score-red); }
.score-summary { color: var(--text-2); font-size: 14.5px; max-width: 500px; margin: 14px auto 0; }

.dims { display: grid; gap: 14px; margin: 26px 0 8px; }
.dim { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.dim .delta { font-size: 11.5px; margin-left: 5px; }
.bar { height: 9px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; width: 0; transition: width 1.2s var(--ease); }
.dim .val { text-align: right; font-family: var(--font-display); font-size: 15px; }

.result-section {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin-top: 16px;
  animation: fadeUp 0.5s var(--ease) both;
}
.result-section .rs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.result-section h3 { font-size: 16px; margin: 0; display: flex; align-items: center; gap: 9px; }
.rs-score { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.finding { font-size: 14px; color: var(--text-2); margin: 10px 0; padding-left: 12px; border-left: 3px solid var(--border-strong); }
.finding b, .finding strong { color: var(--text); }
.copy-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 4px; }
.copy-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 15px; margin: 8px 0; font-size: 14px;
  transition: border-color 0.2s;
}
.copy-item:hover { border-color: var(--border-strong); }
.copy-item p { margin: 0; flex: 1; color: var(--text-2); }
.copy-btn {
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text-2);
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap; font-family: var(--font);
  transition: all 0.15s;
}
.copy-btn:hover { border-color: var(--primary); color: var(--primary); }
.copy-btn.copied { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.cal-week { display: flex; flex-direction: column; gap: 8px; }
.cal-day {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.cal-day.is-off { opacity: 0.55; }
.cal-day-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cal-day-num { font-weight: 800; font-size: 13px; color: var(--text); }
.cal-day-fmt { font-size: 12px; font-weight: 700; color: var(--text-2); }
.cal-day-pilar {
  font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-soft);
  border-radius: 6px; padding: 2px 8px; margin-left: auto;
}
.cal-day-topik { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cal-day-hook, .cal-day-cta { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.cal-recap { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-recap-item {
  font-size: 13px; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
}
.cal-recap-item b { color: var(--primary); margin-right: 4px; }

.seg-toggle { display: flex; gap: 8px; margin: 0 0 16px; }
.seg {
  flex: 1; border: 1px solid var(--border-strong); background: var(--bg-2); color: var(--text-2);
  border-radius: var(--radius-sm); padding: 11px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: var(--font); transition: all 0.15s;
}
.seg:hover { border-color: var(--primary); color: var(--text); }
.seg.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.result-actions { display: flex; gap: 12px; margin-top: 20px; position: sticky; bottom: 14px; }
.result-actions .btn { flex: 1; }

/* ============================================================
   RIWAYAT
   ============================================================ */
.history-item {
  display: flex; gap: 14px; align-items: center; padding: 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 12px; cursor: pointer;
  transition: border-color 0.2s, transform 0.2s var(--ease);
  animation: fadeUp 0.4s var(--ease) both;
}
.history-item:hover { border-color: var(--primary); transform: translateX(3px); }
.history-thumb { width: 56px; height: 70px; border-radius: 8px; object-fit: cover; background: var(--surface-3); flex-shrink: 0; }
.history-meta { flex: 1; min-width: 0; }
.history-meta .t { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.history-meta .muted { margin-top: 3px; }
.score-badge { font-family: var(--font-display); font-weight: 700; font-size: 22px; min-width: 48px; text-align: right; }
.rev-badge {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  font-size: 10.5px; font-weight: 800; border-radius: 5px; padding: 2px 7px; margin-left: 7px;
}
.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty-state .big { font-size: 40px; display: block; margin-bottom: 12px; }

.skeleton {
  border-radius: var(--radius); height: 86px; margin-bottom: 12px;
  background: linear-gradient(90deg, var(--surface-3) 25%, var(--bg-2) 50%, var(--surface-3) 75%);
  background-size: 800px 100%; animation: shimmer 1.4s infinite linear;
}

/* ---------- toast ---------- */
#toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  background: var(--surface-3); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; z-index: 100;
  transition: opacity 0.25s, transform 0.25s var(--ease);
  box-shadow: var(--shadow);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

footer { text-align: center; padding: 40px 20px; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--border); margin-top: 40px; }

/* ---------- admin ---------- */
table.admin { width: 100%; border-collapse: collapse; font-size: 13px; }
table.admin th, table.admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
table.admin th { color: var(--muted); font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
table.admin input { padding: 6px 8px !important; }

/* ============================================================
   DASHBOARD SHELL v3 — sidebar (desktop) + bottomnav (mobile)
   ============================================================ */
:root { --chart-line: var(--primary); --sidebar-w: 236px; }

.sidebar { display: none; }
.bottomnav { display: none; }
.appmain { max-width: 720px; margin: 0 auto; padding: 8px 20px 96px; }

/* mobile bottom nav */
@media (max-width: 899px) {
  body.in-app footer { display: none; }
  .bottomnav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .bn {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: transparent; border: 0; color: var(--muted);
    font-family: var(--font); font-size: 10.5px; font-weight: 700;
    padding: 6px 0; cursor: pointer; border-radius: 12px;
    transition: color 0.2s;
  }
  .bn.active { color: var(--primary); }
  .bn-primary {
    color: var(--on-primary); background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border-radius: 14px; margin: -14px 6px 0; padding: 10px 0 7px;
    box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.35);
  }
  .bn-primary.active { color: var(--on-primary); }
}

/* desktop sidebar */
@media (min-width: 900px) {
  body.in-app .topbar { display: none; }
  body.in-app footer { margin-left: var(--sidebar-w); }
  .sidebar {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w); z-index: 40;
    background: var(--bg-2); border-right: 1px solid var(--border);
    padding: 22px 16px;
  }
  .sidebar .brand { margin-bottom: 30px; padding: 0 8px; }
  .snav-list { display: grid; gap: 4px; }
  .snav {
    display: flex; align-items: center; gap: 11px;
    background: transparent; border: 0; text-align: left; width: 100%;
    color: var(--muted); font-family: var(--font); font-size: 14px; font-weight: 600;
    padding: 11px 12px; border-radius: 11px; cursor: pointer;
    transition: all 0.18s var(--ease);
  }
  .snav:hover { color: var(--text); background: var(--surface); }
  .snav.active { color: var(--primary); background: var(--primary-soft); font-weight: 700; }
  .sidebar-foot { margin-top: auto; display: grid; gap: 10px; }
  .appmain { margin-left: var(--sidebar-w); max-width: none; padding: 30px 40px 60px; }
  .appmain > div { max-width: 760px; }
  #quota-pill { display: none !important; }
}

.quota-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 14px;
}
.quota-card-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 9px; }
.quota-card-top b { font-family: var(--font-display); font-size: 14px; color: var(--text); }
.quota-bar { height: 6px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.quota-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--primary-deep), var(--primary)); transition: width 0.8s var(--ease); }

/* dash */
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.dash-cta { margin-top: 6px; }
@media (max-width: 480px) { .dash-cta { display: none; } }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 17px;
  animation: fadeUp 0.5s var(--ease) both;
}
.tile:nth-child(2) { animation-delay: 0.06s; } .tile:nth-child(3) { animation-delay: 0.12s; } .tile:nth-child(4) { animation-delay: 0.18s; }
.tile .tl { font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.tile .tv { font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.2; margin-top: 5px; color: var(--text); }
.tile .tf { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.chart-card { padding: 20px 22px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.chart-head h3 { margin: 0 0 2px; font-size: 16px; }
.trend-chart { position: relative; }
.trend-chart svg { display: block; width: 100%; height: auto; }
.trend-chart .grid-line { stroke: var(--border); stroke-width: 1; }
.trend-chart .band-line { stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.5; }
.trend-chart .axis-text { fill: var(--muted); font-family: var(--font); font-size: 10px; font-weight: 600; }
.trend-chart .trend-area { fill: url(#trendFill); }
.trend-chart .trend-line { fill: none; stroke: var(--chart-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trend-chart .pt { fill: var(--surface); stroke: var(--chart-line); stroke-width: 2; }
.trend-chart .pt-last-label { fill: var(--text); font-family: var(--font-display); font-size: 12px; font-weight: 700; }
.trend-chart .crosshair { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 2 3; }
#landing-chart .trend-area { fill: url(#landingTrendFill); }
.chart-tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  border-radius: 9px; padding: 8px 11px; font-size: 12px; line-height: 1.5;
  box-shadow: var(--shadow); white-space: nowrap;
  transform: translate(-50%, -110%); opacity: 0; transition: opacity 0.12s;
}
.chart-tip b { font-family: var(--font-display); font-size: 14px; }
.chart-empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 34px 10px; }

.dash-recent { margin-top: 24px; }
.dash-recent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dash-recent-head h3 { margin: 0; font-size: 16px; }

/* ============================================================
   FITUR v4 — compare, reels teaser, rubrik, langganan, more
   ============================================================ */
.badge-soon {
  margin-left: auto; background: var(--amber-soft); color: var(--amber);
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 5px; padding: 2px 6px;
}
.side-divider { height: 1px; background: var(--border); margin: 12px 8px; }
.snav { position: relative; }
a.snav { text-decoration: none; }

/* compare */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 22px 0 8px; }
.compare-side { text-align: center; }
.compare-side .cs-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.compare-side .cs-date { font-size: 12px; color: var(--muted); margin-top: 8px; }
.compare-arrow { text-align: center; }
.compare-arrow .ca-delta { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.compare-arrow .ca-ico { font-size: 18px; color: var(--muted); }
.compare-dims { margin-top: 20px; display: grid; gap: 10px; }
.cmp-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; font-size: 13px; font-weight: 700; }
.cmp-vals { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 14px; }
.cmp-vals .old { color: var(--muted); }
.cmp-vals .arrow { color: var(--muted); font-size: 12px; }
.compare-note { margin-top: 18px; }

/* teaser reels */
.teaser-card { text-align: center; padding: 40px 26px; }
.teaser-icon { font-size: 44px; margin-bottom: 14px; }
.teaser-list { display: grid; gap: 10px; max-width: 440px; margin: 0 auto; text-align: left; }
.teaser-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 15px; font-size: 13.5px; color: var(--text-2); }
.teaser-item b { color: var(--text); }

/* rubrik */
.rubric-bands { display: grid; gap: 14px; }
@media (min-width: 640px) { .rubric-bands { grid-template-columns: repeat(3, 1fr); } }
.rubric-band { position: relative; padding-left: 20px; }
.rubric-band .band-dot { position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 50%; }
.rubric-band b { font-family: var(--font-display); font-size: 14px; }
.rubric-band p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.rubric-dim { margin-bottom: 12px; padding: 20px 22px; }
.rubric-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.rubric-head h3 { margin: 0; font-size: 16px; }
.rubric-w { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 7px; padding: 4px 10px; }
.rubric-dim p { margin: 0; }

/* langganan */
.plan-current-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; text-transform: capitalize; }
.plan-cards { display: grid; gap: 14px; }
@media (min-width: 720px) { .plan-cards { grid-template-columns: repeat(3, 1fr); } }
.plan-cards-single { grid-template-columns: 1fr !important; max-width: 340px; margin: 0 auto; }
.plan-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column;
}
.plan-card.featured { border-color: rgba(var(--primary-rgb), 0.4); background: linear-gradient(170deg, rgba(var(--primary-rgb), 0.07), var(--surface)); }
.plan-flag {
  position: absolute; top: -10px; right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong)); color: var(--on-primary);
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 6px; padding: 3px 9px;
}
.plan-card h4 { margin: 0; font-size: 15px; }
.plan-oldprice { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: line-through; margin-top: 8px; }
.plan-price { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 2px 0 12px; color: var(--text); }
.plan-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--text-2); font-size: 13px; display: grid; gap: 7px; flex: 1; }

/* more (mobile) */
.more-list { display: grid; gap: 10px; }
.more-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--font); font-size: 14.5px; font-weight: 600;
  padding: 16px 18px; cursor: pointer; transition: border-color 0.2s;
}
.more-item:hover { border-color: var(--primary); }
.more-item .chev { margin-left: auto; color: var(--muted); }
.more-item .badge-soon { margin-left: 6px; }
a.more-item { text-decoration: none; }
@media (min-width: 900px) {
  #panel-more .more-list { max-width: 420px; }
}

/* reels */
.reels-info {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--primary-soft); border: 1px solid rgba(var(--primary-rgb), 0.22);
  color: var(--primary); border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 13px; font-weight: 600; margin-top: 14px;
}
.slide-item .frame-label {
  position: absolute; bottom: 30px; left: 0; right: 0;
  background: rgba(12, 16, 38, 0.65); color: rgba(255,255,255,.85);
  font-size: 10px; font-weight: 700; text-align: center; padding: 2px 0;
}
.slide-item.frame .ops { display: none; }
.type-chip { font-size: 12px; margin-right: 4px; }
.slide-item.frame .frame-label { bottom: 0; }

.btn-link-inline {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font-family: var(--font); font-size: inherit; color: var(--primary);
  text-decoration: underline; text-underline-offset: 2px;
}
.btn-link-inline:hover { color: var(--primary-strong); }
