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

:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --fg: #e2e8f0;
  --fg-muted: #94a3b8;
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.15);
  --accent-warm: #f59e0b;
  --grid-line: rgba(148, 163, 184, 0.06);
  --card-border: rgba(148, 163, 184, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.content-wrapper {
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 5vw 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 800px;
  margin-bottom: 2rem;
}

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

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

.hero-stat {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.hero-stat-item .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero-stat-item .number .unit {
  font-size: 1rem;
  color: var(--accent);
  margin-left: 4px;
}

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

/* Divider */
.section-divider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.section-divider hr {
  border: none;
  border-top: 1px solid var(--card-border);
}

/* Insight Section */
.insight {
  padding: 100px 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.insight-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 1.5rem;
}

.insight h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

/* Visual data block */
.data-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.data-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
}

.data-row:last-child {
  border-bottom: none;
}

.data-row .metric-name {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.data-row .metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #fff;
}

.data-row .metric-value.savings {
  color: var(--accent);
}

.data-row .metric-value.overpay {
  color: #f87171;
}

/* Features */
.features {
  padding: 100px 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
  max-width: 500px;
}

.features-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--fg-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(34, 211, 238, 0.25);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

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

/* Closing */
.closing {
  padding: 120px 5vw;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Footer */
footer {
  padding: 3rem 5vw;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--card-border);
}

footer .footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

footer .footer-note {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .insight-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    gap: 2rem;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}