/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0: #07090d;
  --bg-1: #0f1218;
  --bg-2: #161b24;
  --bg-3: #1f2632;
  --border: #2a3140;
  --text-1: #f8fafc;
  --text-2: #c0c8d4;
  --text-3: #7c8693;
  --blue:  #4a90ff;
  --blue-2: #2563eb;
  --green: #10b981;
  --yellow: #f59e0b;
  --red:   #ef4444;
  --radius: 12px;
  --max: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(7, 9, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
}
.logo svg { width: 22px; height: 22px; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-2);
}
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--text-1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover {
  background: var(--blue-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 144, 255, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--text-3);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}
.btn-block { width: 100%; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 144, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(74, 144, 255, 0.1);
  border: 1px solid rgba(74, 144, 255, 0.25);
  border-radius: 100px;
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.grad {
  background: linear-gradient(135deg, #4a90ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-stats > div {
  text-align: center;
}
.hero-stats strong {
  display: block;
  font-size: 28px;
  color: var(--text-1);
  font-weight: 700;
}
.hero-stats span {
  font-size: 13px;
  color: var(--text-3);
}

/* ── Sections ──────────────────────────────────────────────────────────── */
section {
  padding: 90px 0;
}
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(74, 144, 255, 0.1);
  border: 1px solid rgba(74, 144, 255, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--text-2);
  font-size: 15px;
}

/* ── Features ──────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s ease;
}
.feature:hover {
  border-color: rgba(74, 144, 255, 0.4);
  transform: translateY(-2px);
}
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}
.feat-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── How It Works ──────────────────────────────────────────────────────── */
.how { background: var(--bg-1); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-2);
}

/* ── Pricing ───────────────────────────────────────────────────────────── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.plan {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(74, 144, 255, 0.08) 0%, var(--bg-1) 60%);
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(74, 144, 255, 0.15);
}
.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.plan-price .amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan-price .period {
  font-size: 14px;
  color: var(--text-3);
}
.plan-blurb {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 24px;
  min-height: 38px;
}
.plan-feats {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.plan-feats li {
  font-size: 14px;
  color: var(--text-2);
  padding: 7px 0 7px 24px;
  position: relative;
}
.plan-feats li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.plan-feats li strong {
  color: var(--text-1);
}
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { background: var(--bg-1); }
.faq .container { max-width: 760px; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--text-3);
  transition: transform 0.2s;
}
.faq-item[open] summary { color: var(--blue); }
.faq-item[open] summary::after {
  content: '−';
  color: var(--blue);
}
.faq-item summary:hover { background: var(--bg-3); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

/* ── CTA Section ───────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1f2632 0%, #161b24 100%);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.cta-section p {
  color: var(--text-2);
  margin-bottom: 32px;
  font-size: 16px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-0);
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-tag {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 12px;
  max-width: 280px;
}
.foot-grid h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.foot-grid a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 4px 0;
  transition: color 0.15s;
}
.foot-grid a:hover { color: var(--text-1); }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Mobile ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 28px; }
  .hero-stats strong { font-size: 22px; }
  section { padding: 60px 0; }
  .plan.featured { transform: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

@media (max-width: 480px) {
  .nav-cta .btn-ghost { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
}
