:root {
  --bg: #0d0f14;
  --bg-alt: #12141a;
  --surface: #181b23;
  --surface-2: #1e212b;
  --border: #252830;
  --fg: #f0ece4;
  --fg-2: #9a9488;
  --fg-3: #5c5850;
  --accent: #e8a832;
  --accent-dim: rgba(232, 168, 50, 0.12);
  --pos: #4ade80;
  --neg: #f87171;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SECTIONS ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-body {
  color: var(--fg-2);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 540px;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,168,50,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-overline {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-statement {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,168,50,0.2);
  border-radius: 8px;
  max-width: 380px;
}
.statement-icon { flex-shrink: 0; }
.hero-statement p { font-size: 0.88rem; color: var(--fg-2); font-weight: 500; }

/* ── HERO CARD VISUAL ── */
.hero-visual { display: flex; justify-content: center; }
.hero-card-stack { position: relative; width: 340px; height: 280px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  position: absolute;
}
.card-back {
  width: 260px;
  top: 20px;
  left: 0;
  transform: rotate(-3deg);
  opacity: 0.6;
}
.card-front {
  width: 300px;
  top: 0;
  right: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-color: rgba(232,168,50,0.2);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.card-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.card-dot.red { background: #f87171; }
.card-dot.yellow { background: #fbbf24; }
.card-dot.green { background: #4ade80; }
.card-title { font-size: 0.7rem; color: var(--fg-3); margin-left: auto; font-weight: 500; }
.card-lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.card-line { height: 6px; background: var(--border); border-radius: 3px; }
.card-line.short { width: 65%; }
.card-parse-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--fg-3);
}
.card-metrics { display: flex; gap: 12px; margin-bottom: 14px; }
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric-val { font-size: 0.88rem; font-weight: 600; color: var(--fg); }
.metric-val.pos { color: var(--pos); }
.metric-label { font-size: 0.62rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.card-drill { }
.drill-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.drill-cat { font-size: 0.72rem; color: var(--fg-2); width: 70px; flex-shrink: 0; }
.drill-bar {
  height: 6px;
  width: var(--w);
  background: var(--accent);
  border-radius: 3px;
  opacity: 0.5;
}
.drill-val { font-size: 0.72rem; color: var(--fg); font-weight: 500; }
.drill-more { display: flex; align-items: center; gap: 5px; font-size: 0.65rem; color: var(--accent); margin-top: 4px; }

/* ── WORKFLOW ── */
.workflow { padding: 80px 0; background: var(--bg-alt); }
.workflow .section-title { text-align: center; margin-bottom: 60px; }
.workflow-steps { display: flex; align-items: center; justify-content: center; gap: 0; }
.step { max-width: 260px; text-align: center; }
.step-num { font-family: var(--font-head); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 20px; }
.step-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.step-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 0.88rem; color: var(--fg-2); line-height: 1.65; }
.step-connector { display: flex; align-items: center; padding: 0 20px; }

/* ── DASHBOARD ── */
.dashboard { padding: 100px 0; }
.dashboard .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--fg-2); line-height: 1.5; }
.feature-list svg { flex-shrink: 0; margin-top: 2px; }

/* DB Window */
.db-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.db-titlebar { background: var(--bg-alt); padding: 10px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.db-dots { display: flex; gap: 5px; }
.db-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.db-title { font-size: 0.68rem; color: var(--fg-3); margin-left: auto; }
.db-body { display: flex; }
.db-sidebar { width: 130px; padding: 14px 12px; border-right: 1px solid var(--border); }
.sidebar-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; font-size: 0.72rem; color: var(--fg-3); cursor: pointer; margin-bottom: 4px; }
.sidebar-item.active { background: var(--accent-dim); color: var(--accent); }
.db-main { flex: 1; padding: 14px; }
.db-metrics { display: flex; gap: 10px; margin-bottom: 16px; }
.db-metric { flex: 1; background: var(--surface-2); border-radius: 6px; padding: 10px 12px; }
.db-metric-label { font-size: 0.62rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 4px; }
.db-metric-value { font-size: 0.95rem; font-weight: 600; display: block; }
.db-metric-delta { font-size: 0.62rem; display: block; margin-top: 2px; }
.db-metric-delta.pos { color: var(--pos); }
.db-metric-delta.neg { color: var(--neg); }
.db-chart-label { font-size: 0.62rem; color: var(--fg-3); margin-bottom: 10px; }
.db-chart { }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.chart-group { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.bar-wrap { display: flex; gap: 4px; align-items: flex-end; height: 90px; }
.bar { width: 14px; border-radius: 2px 2px 0 0; }
.bar-rev { background: var(--accent); }
.bar-exp { background: rgba(232,168,50,0.3); }
.chart-group.active-group .bar-rev { background: var(--accent); box-shadow: 0 0 8px rgba(232,168,50,0.4); }
.bar-label { font-size: 0.58rem; color: var(--fg-3); }
.chart-legend { display: flex; gap: 12px; margin-top: 10px; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 0.6rem; color: var(--fg-3); }
.legend-dot { width: 8px; height: 8px; border-radius: 2px; }
.legend-dot.rev { background: var(--accent); }
.legend-dot.exp { background: rgba(232,168,50,0.3); }

/* ── SECURITY ── */
.security { padding: 100px 0; background: var(--bg-alt); }
.security .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.security-visual { display: flex; flex-direction: column; gap: 24px; }
.shield-icon { }
.security-details { display: flex; flex-direction: column; gap: 20px; }
.security-item { display: flex; gap: 14px; align-items: flex-start; }
.sec-icon { flex-shrink: 0; margin-top: 2px; }
.security-item strong { font-size: 0.88rem; font-weight: 600; display: block; margin-bottom: 4px; }
.security-item p { font-size: 0.82rem; color: var(--fg-3); line-height: 1.55; }

/* ── CLOSING ── */
.closing { padding: 100px 0; text-align: center; }
.closing-content { max-width: 640px; margin: 0 auto; }
.closing-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.closing-body { font-size: 1.05rem; color: var(--fg-2); line-height: 1.7; margin-bottom: 40px; }
.closing-statement {
  display: inline-block;
  padding: 16px 24px;
  border: 1px solid rgba(232,168,50,0.2);
  border-radius: 8px;
  background: var(--accent-dim);
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1rem;
  color: var(--fg-2);
  max-width: 500px;
}

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.footer-note { font-size: 0.78rem; color: var(--fg-3); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner, .dashboard .section-inner, .security .section-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 50px; }
  .hero-visual { display: none; }
  .workflow-steps { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 10px 0; }
  .db-sidebar { display: none; }
  .section-inner { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .nav-tagline { display: none; }
}