:root {
  --bg: #0a0e14;
  --bg-elevated: #111820;
  --bg-card: #151d28;
  --fg: #e8edf3;
  --fg-muted: #8694a7;
  --accent: #00e87b;
  --accent-dim: rgba(0, 232, 123, 0.12);
  --accent-glow: rgba(0, 232, 123, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 232, 123, 0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-inner {
  max-width: 820px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 123, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
}

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

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

/* === PROBLEM === */
.problem {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.problem h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

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

.problem-icon {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent);
  background: var(--accent-dim);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* === HOW === */
.how {
  padding: 100px 24px;
}

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

.how h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  text-align: center;
}

.timeline {
  position: relative;
  padding-left: 64px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-dim), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -64px;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid rgba(0, 232, 123, 0.3);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 500;
}

.timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === FEATURES === */
.features {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.feature-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 232, 123, 0.05) 0%, transparent 70%),
    var(--bg);
}

.closing-inner {
  max-width: 660px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-text {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

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

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-brand {
  font-weight: 600;
  color: var(--fg);
}

.footer-sep {
  opacity: 0.3;
}

/* === HERO CTA BUTTONS === */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}
.hero-cta-primary {
  background: var(--accent);
  color: #0a0e14;
}
.hero-cta-primary:hover {
  background: #00ff88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.hero-cta-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.hero-cta-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--fg);
}

/* Auth modal form fields (landing page) */
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--fg-muted); margin-bottom: 6px; letter-spacing: 0.5px; text-transform: uppercase; }
input, select, textarea { width: 100%; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--fg); font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.15s; }
input:focus, select:focus { outline: none; border-color: var(--accent); }
input::placeholder { color: var(--fg-muted); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { min-height: 80vh; padding: 60px 20px 40px; }
  .hero-stat-row { gap: 20px; }
  .stat-divider { display: none; }
  .hero-stat-row { flex-direction: column; }
  .problem { padding: 60px 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .how { padding: 60px 20px; }
  .features { padding: 60px 20px; }
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .closing { padding: 80px 20px; }
  .timeline { padding-left: 56px; }
  .timeline-marker { left: -56px; }
}