/* ==========================================================================
   OBE Engine Pro — Refined Minimalist Dark Theme (Linear / Raycast Style)
   Standar Kurikulum OBE, SN-Dikti 2020, KKNI, BAN-PT & LAM
   ========================================================================== */

/* ── Fonts & CSS Variables ── */
:root {
  /* Brand / Semantic Accents */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #3b82f6;
  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.1);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.1);
  --rose: #ef4444;
  --rose-bg: rgba(239, 68, 68, 0.1);
  --cyan: #06b6d4;
  --cyan-bg: rgba(6, 182, 212, 0.1);
  --indigo: #4f46e5;
  --indigo-bg: rgba(79, 70, 229, 0.1);

  /* Deep Neutral Slate Surface System (Linear Style) */
  --bg-dark: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #162032;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #1e293b;
  --bg-glass: rgba(17, 24, 39, 0.75);

  /* Hairline Borders — Zero Blurry Glow */
  --border: #1e293b;
  --border-light: #283548;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-active: #3b82f6;

  /* Typography */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing & Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  /* Shadows — Subtle & Grounded */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow: none;

  --transition: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base Setup ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Accessibility & Focus Rings ── */
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.trust-item i {
  color: var(--primary-light);
  font-size: 0.8125rem;
}
.trust-item:hover {
  border-color: var(--border-light);
  color: var(--text-main);
  background: var(--bg-card-hover);
}
@media (max-width: 768px) {
  .trust-bar { padding: 0.6rem 1rem; }
  .trust-label { display: none; }
  .trust-item { padding: 0.3rem 0.65rem; font-size: 0.75rem; }
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.logo-badge {
  font-size: 0.65rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--primary-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  margin-left: 0.4rem;
  vertical-align: middle;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--text-main);
  background: var(--bg-surface-elevated);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--text-main);
  background: var(--bg-surface-elevated);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.btn-outline {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border);
}
.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  color: #fff;
}
.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: var(--radius);
}
.btn-emerald {
  background: #059669;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-emerald:hover {
  background: #047857;
  transform: translateY(-1px);
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  display: flex;
  align-items: center;
  padding: 4.5rem 1.5rem 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05), transparent 60%);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}
.hero-text {
  max-width: 580px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.hero-title .highlight-text {
  color: #38bdf8;
  display: block;
}
/* Backward compatibility for .gradient-text replaced by clean solid highlight */
.hero-title .gradient-text {
  background: none;
  -webkit-text-fill-color: #38bdf8;
  color: #38bdf8;
}
.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-desc strong {
  color: var(--text-main);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-weight: 500;
}

/* ── LINEAR-STYLE INTERACTIVE CURRICULUM INSPECTOR (MOCKUP) ── */
.hero-visual {
  position: relative;
  width: 100%;
}
.app-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.app-mockup-bar {
  background: #0d121f;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.dot-red { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.dot-yellow { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; }
.dot-green { width: 9px; height: 9px; border-radius: 50%; background: #10b981; }
.mockup-url {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.app-mockup-body {
  padding: 1.25rem;
}

/* Inspector Header & Status Pill */
.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.course-title-badge {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-main);
}
.course-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-surface-elevated);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

/* Status Badges Row */
.inspector-status-bar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
}
.status-pill.emerald {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.status-pill.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.25);
}
.status-pill.amber {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* Inspector Tabs */
.inspector-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.inspector-tab {
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: default;
  transition: all var(--transition);
}
.inspector-tab.active {
  color: var(--text-main);
  border-bottom-color: var(--primary-light);
}

/* Inspector Matrix Table */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.matrix-table th {
  text-align: left;
  padding: 0.5rem 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}
.matrix-table td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}
.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}
.matrix-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
}
.bloom-tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-main);
}
.weight-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald);
}

/* Footer of Inspector */
.inspector-footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.inspector-footer strong {
  color: var(--emerald);
  font-family: var(--font-mono);
}

/* Backward-compatible classes from old mockup */
.wizard-steps-mini { display: flex; gap: 0.25rem; margin-bottom: 1rem; flex-wrap: wrap; }
.ws-chip {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.ws-chip.active { background: rgba(37,99,235,0.15); border-color: var(--primary); color: #60a5fa; }
.ws-chip.done { background: var(--emerald-bg); border-color: var(--emerald); color: var(--emerald); }
.mockup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 0.65rem;
}
.mockup-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.mockup-value { font-size: 0.8125rem; font-weight: 600; color: var(--text-main); }
.mockup-badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.15rem 0.45rem; border-radius: var(--radius-xs); font-size: 0.68rem; font-weight: 600; }
.mb-emerald { background: var(--emerald-bg); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.2); }
.mb-cyan { background: var(--cyan-bg); color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.2); }
.mb-amber { background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.2); }
.mb-indigo { background: var(--indigo-bg); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.2); }
.mb-purple { background: rgba(147, 51, 234, 0.1); color: #c084fc; border: 1px solid rgba(147, 51, 234, 0.2); }

/* ── SECTION COMMON ── */
section {
  padding: 5.5rem 1.5rem;
  position: relative;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 3rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.85rem;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
}

/* ── PAIN POINTS ── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.pain-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--rose-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--rose);
  margin-bottom: 1.25rem;
}
.pain-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.pain-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── STATS BANNER ── */
.stats-banner {
  padding: 3.5rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-cell {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.stat-cell:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.fi-indigo { background: rgba(37, 99, 235, 0.1); color: #60a5fa; border: 1px solid rgba(37, 99, 235, 0.2); }
.fi-emerald { background: var(--emerald-bg); color: var(--emerald); border: 1px solid rgba(16, 185, 129, 0.2); }
.fi-violet { background: rgba(147, 51, 234, 0.1); color: #c084fc; border: 1px solid rgba(147, 51, 234, 0.2); }
.fi-cyan { background: var(--cyan-bg); color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.2); }
.fi-amber { background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.2); }
.fi-rose { background: var(--rose-bg); color: var(--rose); border: 1px solid rgba(239, 68, 68, 0.2); }

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ── FEATURES BENTO GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.feature-content .title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
  color: #ffffff;
}
.feature-content .desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ── HOW IT WORKS ── */
.how-bg {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.steps-container::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: var(--border-light);
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  font-family: var(--font-heading);
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}
.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: #ffffff;
}
.step-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── WIZARD SHOWCASE ── */
.wizard-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.wizard-sidebar {
  background: #0d121f;
  border-right: 1px solid var(--border);
  padding: 1.5rem;
}
.ws-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 700;
}
.ws-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.25rem;
  cursor: default;
  transition: background var(--transition);
}
.ws-step-item.active {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
}
.ws-step-item.done {
  opacity: 0.75;
}
.ws-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ws-step-item.done .ws-step-num {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.ws-step-item.active .ws-step-num {
  background: var(--primary);
  color: #fff;
}
.ws-step-item:not(.done):not(.active) .ws-step-num {
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.ws-step-info .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}
.ws-step-info .sublabel {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.wizard-content {
  padding: 1.75rem;
  overflow: hidden;
}

/* ── COMPLIANCE CARDS ── */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}
.compliance-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.compliance-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  display: block;
}
.compliance-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
  color: #ffffff;
}
.compliance-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ── PRICING CARDS ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--primary-light);
  background: #121c2e;
  box-shadow: var(--shadow-md);
}
.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.pricing-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
.pricing-period {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-features .icon-check {
  color: var(--emerald);
  font-size: 0.8125rem;
  flex-shrink: 0;
}
.pricing-features .icon-x {
  color: var(--text-muted);
  opacity: 0.5;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

/* ── USE CASES (RUMPUN ILMU) ── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.usecase-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.usecase-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.usecase-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.usecase-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.usecase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.usecase-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-light);
}
.testi-stars {
  color: var(--amber);
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.testi-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  flex-shrink: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
}
.testi-info .name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}
.testi-info .role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--transition);
}
.faq-item:hover {
  border-color: var(--border-light);
}
.faq-question {
  padding: 1.15rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
  background: transparent;
  gap: 1rem;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover {
  color: #ffffff;
}
.faq-icon {
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  font-size: 0.8125rem;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-light);
}
.faq-answer {
  padding: 0 1.35rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq-item.open .faq-answer {
  max-height: 250px;
  padding: 0 1.35rem 1.25rem;
}
.faq-answer p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── FINAL CTA SECTION ── */
.cta-final {
  text-align: center;
  padding: 6rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  position: relative;
}
.cta-final-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.cta-final-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.cta-note i {
  color: var(--emerald);
  margin-right: 0.25rem;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: #080c14;
  padding: 3.5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .brand-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--text-main);
}
.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.badges-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.foot-badge {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE NAV TOGGLE & MENU ── */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-nav-toggle:hover {
  background: var(--bg-surface-elevated);
}

.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  background: #0b0f19;
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 999;
}
.nav-links.mobile-open li {
  width: 100%;
}
.nav-links.mobile-open a {
  padding: 0.75rem 1rem;
  display: block;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .steps-container::before { display: none; }
  .wizard-showcase { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero { padding: 3.5rem 1.25rem 4rem; min-height: auto; }
  .hero-cta { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
  .pain-grid, .features-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; }
  .compliance-grid, .steps-container { grid-template-columns: repeat(2, 1fr); }
  .wizard-showcase { grid-template-columns: 1fr; }
  .wizard-sidebar { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  section { padding: 4rem 1.25rem; }
}

@media (max-width: 480px) {
  .compliance-grid, .steps-container { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── LIGHT MODE THEME OVERRIDES ── */
body.light-theme,
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-surface: #f1f5f9;
  --bg-surface-elevated: #e2e8f0;
  --bg-glass: rgba(255, 255, 255, 0.9);

  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --border-subtle: #f1f5f9;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.09);
}

body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: #e2e8f0;
}

body.light-theme .hero-title,
body.light-theme .section-title,
body.light-theme .pain-title,
body.light-theme .compliance-name,
body.light-theme .feature-content .title,
body.light-theme .step-title,
body.light-theme .usecase-title,
body.light-theme .pricing-price,
body.light-theme .stat-num,
body.light-theme .cta-final-title {
  color: #0f172a;
}

body.light-theme .app-mockup-bar,
body.light-theme .wizard-sidebar,
body.light-theme .footer {
  background: #f1f5f9;
}

body.light-theme .matrix-table th {
  background: #f8fafc;
  color: #475569;
}

body.light-theme .nav-links a {
  color: #475569;
}

body.light-theme .nav-links a:hover {
  color: #0f172a;
  background: #e2e8f0;
}

body.light-theme .btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light-theme .btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

body.light-theme .btn-ghost {
  color: #475569;
}

body.light-theme .btn-ghost:hover {
  color: #0f172a;
  background: #e2e8f0;
}

body.light-theme .nav-links.mobile-open {
  background: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .faq-item {
  background: #ffffff;
}

body.light-theme .pricing-card.featured {
  background: #f0f7ff;
  border-color: #3b82f6;
}

