@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --green: #34d399;
  --amber: #fbbf24;
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─── HERO ─── */
.hero {
  padding: 140px 0 100px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  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 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  font-family: var(--font-display);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── METRICS BAR ─── */
.metrics {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.metric {
  text-align: center;
  padding: 20px 0;
}

.metric:not(:last-child) {
  border-right: 1px solid var(--border);
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-value.accent { color: var(--accent); }
.metric-value.green { color: var(--green); }
.metric-value.amber { color: var(--amber); }

.metric-label {
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 100px 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 500px;
  line-height: 1.15;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.step:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.step-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ─── COMPARISON ─── */
.comparison {
  padding: 80px 0 100px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.comparison-card.quintel {
  border-color: rgba(99, 102, 241, 0.3);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, var(--bg-card) 100%);
}

.comparison-card-header {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.comparison-card.old .comparison-card-header { color: var(--fg-muted); }
.comparison-card.quintel .comparison-card-header { color: var(--accent); }

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
}

.comparison-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.comparison-row .label {
  color: var(--fg-muted);
}

.comparison-row .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

.comparison-card.old .value { color: var(--fg-muted); }
.comparison-card.quintel .value { color: var(--fg); }

/* ─── CLOSING ─── */
.closing {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 600px;
  margin: 0 auto 20px;
  position: relative;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 16px;
  position: relative;
}

/* ─── FOOTER ─── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-muted);
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .metrics-grid { grid-template-columns: 1fr; gap: 0; }
  .metric:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }
  .metric { padding: 24px 0; }
  .steps { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .section-title { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .hero { padding: 80px 0 50px; }
  .container { padding: 0 16px; }
}