:root {
  --bg: #0a0a0f;
  --bg-subtle: #12121a;
  --bg-card: #16161f;
  --fg: #e8e6e3;
  --fg-muted: #8a8890;
  --fg-dim: #5a5860;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-bright: #fbbf24;
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(245, 158, 11, 0.2);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245, 158, 11, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 60%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}

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

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

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-dim);
  max-width: 120px;
}

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

/* Dashboard Mock */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dashboard-mock {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(245, 158, 11, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg-dim);
}

.mock-dots span:first-child { background: #ef4444; }
.mock-dots span:nth-child(2) { background: #f59e0b; }
.mock-dots span:last-child { background: #22c55e; }

.mock-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--fg-dim);
}

.mock-body {
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.mock-metric {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-metric-label {
  font-size: 0.65rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mock-metric-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fg);
}

.mock-metric-change {
  font-size: 0.7rem;
  color: #22c55e;
  font-weight: 500;
}

.mock-bar-chart {
  grid-column: 1 / -1;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.mock-bar {
  flex: 1;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 4px 4px 0 0;
  min-height: 10px;
  transition: background 0.3s;
}

.mock-bar.active {
  background: var(--accent);
}

/* ===================== PROBLEM ===================== */
.problem {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

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

.problem-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

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

.problem-icon {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

/* ===================== SERVICES ===================== */
.services {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(245, 158, 11, 0.04) 0%, transparent 70%),
    var(--bg);
}

.services-header {
  margin-bottom: 60px;
}

.services-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.services-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
}

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

.service-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.service-card.featured {
  border-color: var(--border-accent);
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.04) 0%, transparent 60%),
    var(--bg-card);
}

.service-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.7;
  flex: 1;
}

.service-metric {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-bright);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ===================== HOW IT WORKS ===================== */
.how-it-works {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.step:first-child {
  border-top: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ===================== CLOSING ===================== */
.closing {
  padding: 140px 0;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245, 158, 11, 0.05) 0%, transparent 70%),
    var(--bg);
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.closing-content p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .hero-visual {
    order: -1;
  }

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

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

  .step {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .step-number {
    font-size: 1.4rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }
}