@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-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #18182a;
  --fg-primary: #e8e8ed;
  --fg-secondary: #8888a0;
  --fg-muted: #55556a;
  --accent: #7c6aff;
  --accent-glow: rgba(124, 106, 255, 0.15);
  --accent-bright: #a08eff;
  --border: rgba(255, 255, 255, 0.06);
  --gradient-hero: linear-gradient(135deg, #7c6aff 0%, #c86aff 50%, #ff6ab0 100%);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* ---- Hero ---- */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  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-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-secondary);
  letter-spacing: 0.03em;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  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, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--fg-secondary);
  max-width: 540px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ---- Hero CTA ---- */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 32px var(--accent-glow);
}

.btn-hero-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(124, 106, 255, 0.35);
}

.cta-arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover .cta-arrow { transform: translateX(5px); }

.hero-cta-note {
  font-size: 14px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.closing-cta {
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

/* ---- Divider ---- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ---- How It Works ---- */
.how-section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.how-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 64px;
}

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

.how-card {
  background: var(--bg-secondary);
  padding: 44px 36px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.how-card:first-child { border-radius: 16px 0 0 16px; }
.how-card:last-child { border-radius: 0 16px 16px 0; }

.how-card .card-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--fg-muted);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 28px;
  line-height: 1;
}

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

.how-card p {
  color: var(--fg-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* ---- Features ---- */
.features-section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.features-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 650px;
  margin-bottom: 64px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 80px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-content p {
  color: var(--fg-secondary);
  font-size: 16px;
  max-width: 480px;
  line-height: 1.7;
}

.feature-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: var(--fg-secondary);
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}

.feature-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
}

.feature-visual .highlight {
  color: var(--accent-bright);
  font-weight: 500;
}

.feature-visual .dim {
  color: var(--fg-muted);
}

/* ---- Comparison ---- */
.comparison {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.comparison h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.comparison-table td {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--fg-secondary);
  border-bottom: 1px solid var(--border);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table td:last-child {
  color: var(--accent-bright);
  font-weight: 500;
}

.comparison-table td:first-child {
  color: var(--fg-primary);
  font-weight: 500;
}

/* ---- Closing ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.closing p {
  color: var(--fg-secondary);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.65;
}

/* ---- Footer ---- */
footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .how-card:first-child { border-radius: 16px 16px 0 0; }
  .how-card:last-child { border-radius: 0 0 16px 16px; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .comparison-table {
    font-size: 14px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
  }

  .hero { min-height: 80vh; padding: 60px 20px 40px; }
  .how-section,
  .features-section { padding: 72px 20px; }
  .closing { padding: 80px 20px; }
}