:root {
  --bg: #0a0a0c;
  --bg-elevated: #131318;
  --bg-card: #1a1a22;
  --fg: #e8e8ec;
  --fg-muted: #8a8a96;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --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);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === GRID OVERLAY === */
.grid-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 32px;
  font-family: var(--font-body);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

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

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* === PROBLEM === */
.problem {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

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

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

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 48px;
  max-width: 700px;
  line-height: 1.15;
}

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

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

.pain-card:first-child { border-radius: 12px 12px 0 0; }
.pain-card:last-child { border-radius: 0 0 12px 12px; }

.pain-icon {
  font-size: 24px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}

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

/* === FEATURES === */
.features {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

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

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 64px;
  max-width: 600px;
  line-height: 1.15;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

.feature-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 48px 36px;
  transition: background 0.3s;
}

.feature-block:hover {
  background: var(--bg-card);
}

.feature-row:first-child .feature-block:first-child { border-radius: 12px 0 0 0; }
.feature-row:first-child .feature-block:last-child { border-radius: 0 12px 0 0; }
.feature-row:last-child .feature-block:first-child { border-radius: 0 0 0 12px; }
.feature-row:last-child .feature-block:last-child { border-radius: 0 0 12px 0; }

.feature-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.feature-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

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

/* === CLOSING === */
.closing {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
}

.closing p {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

.closing-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 48px auto 0;
  border-radius: 2px;
}

/* === CTA BUTTON === */
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--accent);
  color: #0a0a0c;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.01em;
}
.hero-btn-primary:hover { background: #fbbf24; transform: translateY(-1px); }

/* === FOOTER === */
footer {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

footer .footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; min-height: auto; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:first-child .feature-block:first-child { border-radius: 12px 12px 0 0; }
  .feature-row:first-child .feature-block:last-child { border-radius: 0; }
  .feature-row:last-child .feature-block:first-child { border-radius: 0; }
  .feature-row:last-child .feature-block:last-child { border-radius: 0 0 12px 12px; }
  .pain-grid { grid-template-columns: 1fr; }
  .problem, .features { padding: 60px 20px; }
  .closing { padding: 80px 20px; }
}