:root {
  --bg: #0a0b10;
  --bg-dark: #060710;
  --bg-card: #12141e;
  --border: #1e2030;
  --text: #c9ccd6;
  --text-heading: #eef0f6;
  --text-muted: #6b7090;
  --primary: #6366f1;
  --primary-hover: #818cf8;
  --primary-glow: rgba(99,102,241,0.15);
  --green: #22c55e;
  --red: #ef4444;
  --radius: 10px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,11,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 1.25rem; font-weight: 700; color: var(--text-heading); text-decoration: none; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text-heading); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; background: var(--primary); color: #fff;
  border-radius: var(--radius); font-size: 0.875rem; font-weight: 600;
  text-decoration: none; transition: all 0.15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-ghost { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.btn-ghost:hover { color: var(--text-heading); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--text-muted); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  text-align: center; padding: 160px 24px 100px;
  background: radial-gradient(ellipse at 50% 0%, var(--primary-glow) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--primary-glow); color: var(--primary);
  font-size: 0.8125rem; font-weight: 600; margin-bottom: 24px;
  border: 1px solid rgba(99,102,241,0.2);
}
.hero h1 {
  font-size: 3.5rem; font-weight: 800; color: var(--text-heading);
  line-height: 1.15; margin-bottom: 20px; letter-spacing: -1.5px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 50%, #818cf8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; line-height: 1.8; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 48px; }
.hero-note { font-size: 0.8125rem; color: var(--text-muted); }
.hero-stats {
  display: inline-flex; align-items: center; gap: 32px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 40px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.25rem; color: var(--text-heading); font-weight: 700; }
.stat { font-size: 0.75rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Sections */
.section { padding: 100px 0; }
.bg-dark { background: var(--bg-dark); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; color: var(--text-heading); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header p { font-size: 1.0625rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Comparison */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.comparison-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
}
.comparison-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--text-heading); margin-bottom: 20px; }
.comparison-card ul { list-style: none; }
.comparison-card li { padding: 8px 0; font-size: 0.9375rem; display: flex; align-items: center; gap: 10px; }
.comparison-card li.total { padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--border); font-weight: 600; color: var(--text-heading); }
.x { color: var(--red); font-weight: 700; flex-shrink: 0; }
.check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.comparison-card.new { border-color: rgba(99,102,241,0.3); }

/* Audit Grid */
.audit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audit-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; transition: border-color 0.2s;
}
.audit-card:hover { border-color: rgba(99,102,241,0.3); }
.audit-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 16px;
}
.audit-card h3 { font-size: 1rem; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
.audit-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
}
.feature h3 { font-size: 1rem; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
.feature p { font-size: 0.875rem; color: var(--text-muted); }

/* Steps */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; flex: 1; text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1rem;
}
.step h3 { font-size: 1rem; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
.step p { font-size: 0.8125rem; color: var(--text-muted); }
.step-arrow { color: var(--text-muted); font-size: 1.5rem; margin-top: 40px; flex-shrink: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px; text-align: center; position: relative;
}
.price-card.popular { border-color: var(--primary); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px;
  border-radius: 999px; font-size: 0.75rem; font-weight: 600;
}
.price-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
.price { font-size: 2.5rem; font-weight: 800; color: var(--text-heading); }
.tokens { font-size: 0.9375rem; color: var(--primary); font-weight: 600; margin: 4px 0; }
.per-token { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 20px; }
.price-card ul { list-style: none; margin-bottom: 20px; text-align: left; }
.price-card li { padding: 6px 0; font-size: 0.8125rem; color: var(--text-muted); }
.price-card li::before { content: "\\2713 "; color: var(--green); margin-right: 6px; }
.pricing-note { text-align: center; margin-top: 24px; }
.pricing-note p { font-size: 0.875rem; color: var(--text-muted); }

/* Cost Table */
.cost-table { max-width: 700px; margin: 0 auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; font-size: 0.875rem; }
th { color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--border); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.5px; }
td { color: var(--text); border-bottom: 1px solid var(--border); }
td:first-child { color: var(--text-heading); font-weight: 500; }
tr:last-child td { border-bottom: none; font-weight: 600; color: var(--primary); }

/* CTA */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, var(--primary-glow) 0%, transparent 60%);
}
.cta-section h2 { font-size: 2rem; font-weight: 700; color: var(--text-heading); margin-bottom: 12px; }
.cta-section p { font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-top: 8px; }
.footer-links { display: flex; gap: 64px; }
.footer-links h4 { font-size: 0.8125rem; font-weight: 600; color: var(--text-heading); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.875rem; padding: 4px 0; transition: color 0.15s; }
.footer-links a:hover { color: var(--text-heading); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom p { font-size: 0.8125rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.25rem; }
  .audit-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
}
