:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --fg: #e8e8ed;
  --fg-muted: #8b8b9e;
  --accent: #4ade80;
  --accent-dim: rgba(74, 222, 128, 0.12);
  --accent-glow: rgba(74, 222, 128, 0.25);
  --card-bg: #16161f;
  --card-border: #1e1e2a;
  --radius: 12px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

.accent { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, var(--accent-dim) 0%, transparent 70%);
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  max-width: 800px;
  margin-bottom: 24px;
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--card-border);
}

/* ===== HOW ===== */
.how {
  padding: 100px 24px;
  background: var(--bg-subtle);
}

.how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
}

.how-desc {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 56px;
}

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

.how-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.how-card:hover {
  border-color: var(--accent);
}

.how-step {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.how-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 24px;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

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

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mock-card {
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 0 40px var(--accent-dim);
}

.mock-header {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.mock-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mock-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg-muted);
  border: 1px solid var(--card-border);
}

.mock-tag.good {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: rgba(74, 222, 128, 0.25);
}

.pulse-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 2.5s ease-in-out infinite;
}

.pulse-ring::before,
.pulse-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(74, 222, 128, 0.15);
}

.pulse-ring::before {
  width: 200px;
  height: 200px;
}

.pulse-ring::after {
  width: 240px;
  height: 240px;
}

.pulse-core {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 20px transparent; }
}

/* ===== CLOSING ===== */
.closing {
  padding: 120px 24px;
  text-align: center;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, var(--accent-dim) 0%, transparent 70%);
}

.closing h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--card-border);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero {
    min-height: 80vh;
    padding: 60px 20px 40px;
  }
}