/* =========================================================
   TradeFlow IDX — Design System v4.0.0
   Clean Light Canvas & High-Contrast Terminal Hub
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  /* Clean Light Canvas (Stockbit & Stripe Feel) */
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-sub: #f1f5f9;
  
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --line-subtle: #edf2f7;
  
  --text: #334155;
  --text-bright: #0f172a;
  --muted: #64748b;
  --sub: #94a3b8;
  
  /* Signals */
  --green: #059669;
  --green-hover: #047857;
  --green-tint: #ecfdf5;
  --green-border: #a7f3d0;
  
  --red: #ef4444;
  --amber: #d97706;
  --amber-tint: #fffbeb;
  --copper: #b45309;
  
  /* Dark Terminal Tokens */
  --term-bg: #0b0e14;
  --term-panel: #111622;
  --term-line: #1e2638;
  --term-text: #e2e6f0;
  --term-muted: #8b98ad;
  --term-green: #26a69a;
  --term-red: #ef5350;
  --term-copper: #c39b78;
  
  /* Radii */
  --r-tag: 3px;
  --r: 6px;
  --r-modal: 8px;
  --r-pill: 9999px;
  
  --shadow-terminal: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --max: 1140px;
  
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

b, strong, .ticker, .stat strong, .kpi b, table, [data-tabular="true"] {
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  padding: 0 24px;
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 68px 0;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: #ffffff;
}

.narrow {
  max-width: 740px;
  margin: auto;
  text-align: center;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-bright);
}

h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   HEADER & NAVBAR
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand span:last-child b {
  display: block;
  font-size: 0.94rem;
  color: var(--text-bright);
  line-height: 1.2;
}

.brand span:last-child small {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--r);
  color: #ffffff;
  background: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--text-bright);
}

nav .login {
  color: var(--text-bright);
  padding: 6px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.menu {
  display: none;
  width: 36px;
  height: 36px;
  color: var(--text-bright);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  place-items: center;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: var(--r);
  color: #ffffff;
  background: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.2);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--green-hover);
  border-color: var(--green-hover);
  transform: translateY(-1px);
}

.btn.small {
  height: 32px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.btn.ghost {
  color: var(--text-bright);
  background: #ffffff;
  border: 1px solid var(--line-strong);
}

.btn.ghost:hover {
  background: var(--bg-sub);
  border-color: var(--text-bright);
}

.btn.full {
  width: 100%;
}

/* =========================================================
   BABAK 1: HERO & TERMINAL PEDESTAL (ASLI)
   ========================================================= */
.hero-calm {
  position: relative;
  padding: 48px 0 60px;
  text-align: center;
}

.hero-header {
  max-width: 820px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--r-pill);
  background: #ffffff;
  color: var(--text-bright);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero-calm h1 span {
  color: var(--green);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* TERMINAL PEDESTAL */
.terminal-pedestal {
  width: 100%;
  max-width: 1100px;
  margin: 36px auto 0;
  border-radius: var(--r);
  background: var(--term-bg);
  box-shadow: var(--shadow-terminal);
  overflow: hidden;
  text-align: left;
  color: var(--term-text);
  border: 1px solid #1e293b;
}

.pedestal-topbar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #0f141e;
  border-bottom: 1px solid var(--term-line);
  font-size: 0.68rem;
  color: var(--term-muted);
  font-family: var(--mono);
}

.pedestal-topbar .dots {
  letter-spacing: 3px;
  color: #475569;
}

.pedestal-topbar b {
  color: var(--term-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.real-dash-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 250px;
  background: var(--term-bg);
  min-height: 440px;
}

.real-sidebar {
  background: #0b0e14;
  border-right: 1px solid var(--term-line);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.real-sidebar .brand {
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--term-line);
}

.real-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.real-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 0.74rem;
  color: #7b889b;
  border-radius: 3px;
}

.real-sidebar nav a.active {
  background: #141b2b;
  color: #ffffff;
  border-left: 2px solid var(--term-green);
  font-weight: 600;
}

.real-main-workspace {
  padding: 12px 14px;
  background: #080b10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.real-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--term-line);
  padding-bottom: 6px;
}

.real-title-row b {
  font-size: 0.92rem;
  color: #ffffff;
}

.real-title-row .timer-badge {
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 3px;
  background: #111622;
  border: 1px solid var(--term-line);
  color: #a6b4c9;
}

.real-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.real-stat-box {
  background: #0f141e;
  border: 1px solid var(--term-line);
  border-radius: 3px;
  padding: 6px 8px;
}

.real-stat-box span {
  display: block;
  font-size: 0.56rem;
  color: #7b889b;
  text-transform: uppercase;
  font-weight: 600;
}

.real-stat-box strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
  margin-top: 2px;
  font-weight: 700;
}

.real-stat-box small {
  display: block;
  font-size: 0.58rem;
  color: #556275;
}

.real-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.95fr);
  gap: 8px;
}

.real-chart-card {
  background: #0f141e;
  border: 1px solid var(--term-line);
  border-radius: 4px;
  padding: 10px 12px;
}

.real-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.real-chart-head b {
  font-size: 0.8rem;
  color: #ffffff;
}

.real-chart-head span {
  font-size: 0.68rem;
  color: var(--term-green);
  font-weight: 700;
}

.real-chart-card svg {
  width: 100%;
  height: 110px;
  margin-top: 4px;
}

.real-chart-actual {
  fill: none;
  stroke: var(--term-green);
  stroke-width: 2.2;
}

.real-dash-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.real-sub-card {
  background: #0f141e;
  border: 1px solid var(--term-line);
  border-radius: 4px;
  padding: 8px 10px;
}

.real-sub-card .card-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--term-line);
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.real-sub-card .card-mini-head b {
  font-size: 0.72rem;
  color: #ffffff;
}

.real-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.68rem;
}

.real-table td {
  padding: 3px 0;
  border-bottom: 1px solid var(--term-line);
  color: #d1d4dc;
}

.real-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.real-scanner-sidebar {
  background: #0b0e14;
  border-left: 1px solid var(--term-line);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scanner-tier-header {
  background: #111622;
  border: 1px solid var(--term-line);
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 0.65rem;
  color: #d1d4dc;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.scanner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  border-bottom: 1px solid var(--term-line);
  font-size: 0.66rem;
}

.scanner-row b {
  color: #ffffff;
}

.scanner-row .tag-safe {
  color: var(--term-green);
  font-size: 0.6rem;
  font-weight: 700;
}

.panoramic-footer-ticker {
  height: 26px;
  background: #080a0f;
  border-top: 1px solid var(--term-line);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.66rem;
  font-family: var(--mono);
}

.panoramic-footer-ticker .label {
  background: #111622;
  color: var(--copper);
  padding: 0 8px;
  font-weight: 800;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--term-line);
  white-space: nowrap;
}

.panoramic-footer-ticker .ticker-move {
  display: flex;
  gap: 18px;
  padding: 0 14px;
  color: #8e9bb0;
  white-space: nowrap;
}

/* =========================================================
   BABAK 2: BUKTI DATA & PROOF SECTION
   ========================================================= */
.proof-section {
  padding: 60px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.proof-headline {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.proof-cards-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.proof-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.proof-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--r-tag);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--green-tint);
  color: var(--green);
}

.proof-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.proof-card p {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* Mini Table inside proof */
.proof-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.proof-table th {
  padding: 6px 10px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 0.65rem;
  text-align: left;
}

.proof-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-subtle);
}

/* Edge badge box */
.edge-proof-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.edge-proof-box i {
  font-size: 28px;
  color: #0078d4;
}

.edge-proof-box b {
  display: block;
  font-size: 0.88rem;
  color: var(--text-bright);
}

.edge-proof-box small {
  color: var(--muted);
  font-size: 0.75rem;
}

/* Founder note banner (Desktop) */
.founder-memo-card {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--r);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.founder-memo-copy {
  flex: 1;
}

.founder-memo-copy small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.founder-memo-copy p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-bright);
  font-style: italic;
}

.founder-memo-btn {
  flex-shrink: 0;
}

/* =========================================================
   WORKFLOW 7 LANGKAH
   ========================================================= */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.workflow-grid > div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.workflow-grid > div:hover {
  transform: translateY(-2px);
  border-color: var(--green);
}

.workflow-grid b {
  display: block;
  font-size: 0.72rem;
  color: var(--green);
  font-family: var(--mono);
  margin-bottom: 4px;
}

.workflow-grid strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

.workflow-grid span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}

/* =========================================================
   MODUL 6-GRID FITUR
   ========================================================= */
.feature-six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-six-grid .proof-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.feature-six-grid .proof-card li {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 4px 0 4px 16px;
  position: relative;
}

.feature-six-grid .proof-card li:before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--green);
  font-weight: bold;
}

/* =========================================================
   CAROUSEL TESTIMONI ALA BAPAK BSJP
   ========================================================= */
.testi-carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 32px auto 0;
}

.testi-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 4px 20px;
}

.testi-track::-webkit-scrollbar {
  display: none;
}

.testi-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-quote-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--line-strong);
  font-family: serif;
  margin-bottom: 8px;
}

.testi-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-bright);
  margin: 0 0 20px;
  flex-grow: 1;
}

.testi-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-bright);
}

.testi-author small {
  color: var(--muted);
  font-size: 0.74rem;
}

/* Nav Controls: < dots > */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.testi-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text-bright);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.testi-arrow:hover {
  background: var(--bg-sub);
  border-color: var(--text-bright);
}

.testi-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: all 0.2s ease;
}

.testi-dot.active {
  width: 20px;
  border-radius: 4px;
  background: var(--text-bright);
}

/* =========================================================
   BABAK 8: PRICING (STRUKTUR HARGA ELEGAN)
   ========================================================= */
.founder-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.founder-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-tag);
  color: var(--text-bright);
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.founder-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.founder-status .status-open, .founder-status .status-safe {
  background: var(--green);
}

.pricing-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  align-items: stretch;
}

.trial-card, .offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.promo-card {
  border-top: 3px solid var(--green);
}

.trial-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.trial-top span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
}

.trial-top em {
  padding: 2px 7px;
  border-radius: var(--r-tag);
  color: #ffffff;
  background: var(--text-bright);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
}

.trial-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 10px 0 6px;
}

.trial-price sup {
  color: var(--muted);
  font-size: 1.05rem;
}

.trial-price b {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--text-bright);
  font-weight: 800;
}

.trial-card ul, .offer-benefits {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.trial-card li, .offer-benefits li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-bottom: 1px solid var(--line-subtle);
  color: var(--text);
  font-size: 0.88rem;
}

.trial-card li:before, .offer-benefits li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.trial-card > a {
  margin-top: auto;
}

.trial-card > small {
  display: block;
  margin-top: 12px;
  color: var(--sub);
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.4;
}

.offer-card {
  border-top: 3px solid var(--amber);
}

.offer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.offer-head small {
  display: block;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.offer-head h3 {
  margin: 2px 0 0;
  font-size: 1.3rem;
}

.offer-head > span {
  padding: 3px 8px;
  border-radius: var(--r-tag);
  color: #ffffff;
  background: var(--amber);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.offer-lead {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.duration-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 16px 0 12px;
}

.duration-tabs button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--muted);
  background: var(--bg-sub);
  cursor: pointer;
  transition: all 0.15s ease;
  min-width: 0;
}

.duration-tabs button strong {
  font-size: 0.84rem;
  color: var(--text-bright);
}

.duration-tabs button small {
  font-size: 0.62rem;
  color: var(--sub);
}

.duration-tabs button:hover {
  border-color: var(--line-strong);
}

.duration-tabs button.active {
  border-color: var(--green);
  background: var(--green-tint);
}

.duration-tabs button.active strong {
  color: var(--green);
}

.duration-tabs button.recommended:after {
  content: 'REKOMENDASI';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 5px;
  border-radius: var(--r-tag);
  color: #ffffff;
  background: var(--amber);
  font-size: 0.46rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Badge khusus tab VIP Zoom */
.duration-tabs button[data-duration="6"] small,
.duration-tabs button[data-duration="12"] small {
  color: var(--amber);
  font-weight: 700;
}

.offer-prices {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 0.9fr;
  align-items: flex-end;
  gap: 12px;
  padding: 14px 0;
  border-block: 1px solid var(--line);
}

.regular-block small {
  display: block;
  color: var(--sub);
  font-size: 0.66rem;
}

.regular-price {
  display: block;
  color: var(--sub);
  font-size: 1rem;
  font-weight: 600;
}

.regular-price.strike {
  text-decoration: line-through;
}

.offer-main-price {
  display: flex;
  align-items: baseline;
}

.offer-main-price sup {
  margin-right: 3px;
  color: var(--muted);
  font-size: 1rem;
}

.offer-main-price b {
  font-size: 2.8rem;
  line-height: 1;
  color: var(--text-bright);
  font-weight: 800;
}

.offer-per-month b {
  display: block;
  font-size: 1.05rem;
  color: var(--green);
}

.offer-per-month span {
  color: var(--sub);
  font-size: 0.66rem;
}

.offer-per-month small {
  display: block;
  margin-top: 2px;
  color: var(--sub);
  font-size: 0.62rem;
}

.offer-message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--green-border);
  border-radius: var(--r);
  background: var(--green-tint);
}

.offer-message strong {
  font-size: 0.8rem;
  color: var(--text-bright);
}

.offer-message span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.offer-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin: 16px 0;
}

.offer-limit {
  display: block;
  margin-top: 12px;
  color: var(--sub);
  font-size: 0.72rem;
  text-align: center;
}

/* Alumni Banner */
.alumni-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--r);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.alumni-copy small {
  display: block;
  margin-bottom: 2px;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.alumni-copy h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.alumni-copy p {
  margin: 0;
  font-size: 0.88rem;
  max-width: 660px;
}

.alumni-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 0.84rem;
}

.alumni-price-row span {
  color: var(--sub);
}

.alumni-price-row strong {
  color: var(--amber);
}

/* =========================================================
   FAQ & FOOTER
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.faqs article {
  border-bottom: 1px solid var(--line);
}

.faqs button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border: 0;
  color: var(--text-bright);
  background: none;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faqs button span {
  color: var(--green);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.faqs button.open span {
  transform: rotate(45deg);
}

.faqs article > div {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.faqs article > div p {
  padding: 0 0 16px 0;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* FOOTER */
footer {
  padding: 48px 0 24px;
  background: #f1f5f9;
  color: #475569;
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
}

.footer-grid b {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #0f172a;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 5px 0;
  color: #64748b;
  font-size: 0.86rem;
}

.footer-grid a:not(.brand):hover {
  color: #0f172a;
}

.footer-grid p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #64748b;
}

.bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.76rem;
}

/* MODAL SURAT FOUNDER */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  display: grid;
  opacity: 1;
}

.modal-dialog {
  width: 100%;
  max-width: 840px;
  max-height: 86vh;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-modal);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.98) translateY(12px); }
  to { transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header b {
  font-size: 0.92rem;
  color: var(--text-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header .close-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-tag);
}

.modal-header .close-btn:hover {
  color: var(--text-bright);
  background: #e2e8f0;
}

.modal-body {
  padding: 32px 38px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #475569;
}

.modal-body h2 {
  font-size: 1.15rem;
  color: var(--text-bright);
  margin: 20px 0 8px;
}

.modal-body h2:first-child {
  margin-top: 0;
}

.modal-body .quote-box {
  padding: 12px 18px;
  border-left: 3px solid var(--amber);
  background: #fffbeb;
  color: #92400e;
  font-style: italic;
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 16px 0;
  border-radius: 0 4px 4px 0;
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.8rem;
  background: #f8fafc;
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
}

.modal-table th, .modal-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.modal-table th {
  color: var(--muted);
  font-weight: 700;
  background: #f1f5f9;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.modal-footer {
  padding: 12px 32px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
}

/* Mobile Sticky Bar */
.mobile-offer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-offer-bar.show {
  transform: translateY(0);
  opacity: 1;
}

.mobile-offer-bar > div {
  min-width: 0;
}

.mobile-offer-bar small {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
}

.mobile-offer-bar b {
  display: block;
  color: var(--green);
  font-size: 1.05rem;
  line-height: 1.1;
}

.mobile-offer-bar .btn {
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* =========================================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================================= */
@media (max-width: 1024px) {
  .real-dash-layout {
    grid-template-columns: 1fr;
  }

  .real-sidebar, .real-scanner-sidebar {
    display: none;
  }

  .nav nav {
    position: fixed;
    inset: 64px 14px auto;
    display: none;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .nav nav.open { display: flex; }
  .menu { display: grid; }

  .proof-cards-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-six-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid, .pricing-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .alumni-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 44px 0;
  }

  .hero-calm {
    padding: 32px 0 44px;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-six-grid {
    grid-template-columns: 1fr;
  }

  .testi-card {
    flex: 0 0 85%;
  }

  .modal-dialog {
    max-width: 100%;
    margin: 0;
  }

  .modal-header, .modal-footer {
    padding: 12px 16px;
  }

  .modal-body {
    padding: 18px 16px;
  }

  .real-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .real-lower-grid {
    grid-template-columns: 1fr;
  }

  .trial-card, .offer-card, .alumni-banner {
    padding: 18px 16px;
  }

  .duration-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 12px 0;
  }

  .duration-tabs button {
    min-height: 48px;
    padding: 6px 2px;
  }

  .duration-tabs button strong { font-size: 0.8rem; }
  .duration-tabs button small { font-size: 0.58rem; white-space: nowrap; }

  .duration-tabs button.recommended:after {
    font-size: 0.44rem;
    padding: 1px 4px;
    top: -7px;
  }

  .offer-prices {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .offer-main-price b { font-size: 2.3rem; }

  .offer-message {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .offer-message strong,
  .offer-message span {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .offer-benefits {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 12px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bottom {
    flex-direction: column;
    gap: 6px;
  }

  .mobile-offer-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

/* Perbaikan Tampilan Mobile Surat Founder */
  .founder-memo-card {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .founder-memo-copy p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .founder-memo-btn {
    width: 100%;
    justify-content: center;
  }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pricing-card {
        width: 100%;
        padding: 22px 18px;
    }

    .pricing-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pricing-option {
        min-height: 72px;
    }

    .pricing-price {
        font-size: 42px;
    }

    .pricing-card .btn {
        width: 100%;
        min-height: 52px;
    }
}