*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #08090c;
  --bg2: #0e0f14;
  --bg3: #13151b;
  --border: #1e2028;
  --text: #eaeaea;
  --muted: #9aa0a6;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-light: #818cf8;
  --green: #4ade80;
  --yellow: #f59e0b;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,9,12,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 960px; margin: 0 auto; padding: 0 24px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 700; font-size: 17px; letter-spacing: -0.3px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: none; transition: background 0.15s, opacity 0.15s;
  font-family: inherit;
}
.btn-sm  { padding: 7px 16px; font-size: 13px; }
.btn-lg  { padding: 13px 28px; font-size: 15px; }
.btn-xl  { padding: 16px 40px; font-size: 16px; width: 100%; }
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover  { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg3); border-color: #2e3038; }

/* ── Hero ────────────────────────────────────────── */
.hero { padding: 96px 0 80px; text-align: center; }

.badge {
  display: inline-block;
  background: #1a1c24; border: 1px solid var(--border);
  color: var(--muted); font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700; letter-spacing: -2px; line-height: 1.05;
  margin: 0 0 20px;
}
.accent { color: var(--accent-light); }

.hero-sub {
  font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-note { color: var(--muted); font-size: 13px; margin: 0; }

.demo-box {
  margin: 48px auto 0;
  max-width: 680px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.demo-step {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 12px;
}
.demo-key {
  background: var(--bg3); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 6px; font-family: monospace;
  font-size: 14px; color: var(--accent-light);
}
.demo-arrow { color: var(--muted); font-size: 18px; }
.demo-label { color: var(--text); font-weight: 500; font-size: 15px; }
.demo-result {
  background: #1a2a1a; border: 1px solid #2d4a2d;
  color: var(--green); padding: 6px 14px; border-radius: 6px;
  font-size: 14px; font-style: italic;
}
.demo-note { color: var(--muted); font-size: 13px; margin: 0; }

/* ── VS Section ──────────────────────────────────── */
.vs-section { padding: 80px 0; background: var(--bg2); }

.section-title {
  text-align: center; font-size: 32px; font-weight: 700;
  letter-spacing: -0.8px; margin: 0 0 40px;
}

.comparison-table-wrap { overflow-x: auto; }

.comparison-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.comparison-table th, .comparison-table td {
  padding: 12px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table thead th {
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover td { background: var(--bg3); }

.highlight-col {
  background: rgba(99,102,241,0.07);
  color: #c7d2fe;
}
.comparison-table thead .highlight-col {
  color: var(--accent-light); font-weight: 700;
}

.vs-note {
  text-align: center; color: var(--yellow); font-size: 14px;
  margin: 28px 0 0; font-weight: 500;
}

/* ── Features ────────────────────────────────────── */
.features { padding: 80px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color 0.15s;
}
.feature-card:hover { border-color: #2e3240; }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ── How it works ────────────────────────────────── */
.how-it-works { padding: 80px 0; background: var(--bg2); }

.steps {
  display: flex; align-items: flex-start; gap: 0;
  justify-content: center; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 200px; max-width: 280px;
  text-align: center; padding: 0 16px;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }
.step-connector {
  flex: 0 0 40px; height: 2px; background: var(--border);
  align-self: center; margin-top: -60px;
}
@media (max-width: 640px) { .step-connector { display: none; } }

/* ── Pricing ─────────────────────────────────────── */
.pricing { padding: 80px 0; }

.pricing-card {
  max-width: 440px; margin: 0 auto;
  background: var(--bg2); border: 1px solid var(--accent);
  border-radius: 16px; padding: 40px 40px 32px; text-align: center;
  box-shadow: 0 0 60px rgba(99,102,241,0.12);
}
.pricing-badge {
  display: inline-block; background: rgba(99,102,241,0.15);
  color: var(--accent-light); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-amount {
  font-size: 56px; font-weight: 800; letter-spacing: -2px;
  line-height: 1; margin-bottom: 28px;
}
.pricing-period { font-size: 18px; font-weight: 400; color: var(--muted); }

.pricing-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  text-align: left;
}
.pricing-features li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  color: var(--muted); font-size: 14px;
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-note { color: var(--muted); font-size: 12px; margin: 12px 0 0; }

/* ── Trial ───────────────────────────────────────── */
.trial { padding: 80px 0; background: var(--bg2); text-align: center; }
.trial-sub { color: var(--muted); font-size: 16px; margin: -20px 0 32px; }
.trial-downloads { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.trial-note { color: var(--muted); font-size: 13px; }
.trial-note a { color: var(--accent-light); text-decoration: none; }
.trial-note a:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px; color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-sep { margin: 0 10px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .demo-box { padding: 20px 16px; }
  .pricing-card { padding: 28px 24px; }
  .pricing-amount { font-size: 44px; }
}
