:root {
  --bg: #0a0a0b;
  --bg-elevated: #131316;
  --bg-card: #1a1a1f;
  --fg: #e8e8ec;
  --fg-muted: #8b8b96;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-subtle: #d97706;
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --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;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 7% 80px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.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;
  margin-bottom: 28px;
  color: #fff;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 56px;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

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

/* Hero visual */
.hero-visual {
  position: absolute;
  top: 0;
  right: -5%;
  width: 55%;
  height: 100%;
  pointer-events: none;
}

.orb {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  top: 50%;
  right: 25%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  animation-delay: -4s;
  animation-duration: 10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.grid-lines {
  position: absolute;
  inset: 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;
}

/* ===== WHAT SECTION ===== */
.what {
  padding: 120px 7%;
}

.section-header {
  max-width: 620px;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

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

.cap-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.cap-row:nth-child(2) {
  grid-template-columns: 1fr 1.4fr;
}

.cap-bottom {
  grid-template-columns: 1fr 1fr 1fr;
}

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

.cap-card:hover {
  border-color: rgba(245,158,11,0.2);
}

.cap-accent {
  background: var(--bg-elevated);
}

.cap-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

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

/* ===== HOW SECTION ===== */
.how {
  padding: 120px 7%;
  background: var(--bg-elevated);
}

.steps {
  max-width: 680px;
  margin-top: 56px;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  min-width: 80px;
}

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

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

.step-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(245,158,11,0.2), transparent);
  margin: 16px 0 16px 38px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 7%;
  text-align: center;
  position: relative;
}

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

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

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

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

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

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

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

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

  .hero-visual {
    width: 100%;
    right: -20%;
    opacity: 0.5;
  }

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

  .stat-divider {
    display: none;
  }

  .what, .how, .closing {
    padding: 80px 6%;
  }

  .cap-row,
  .cap-bottom {
    grid-template-columns: 1fr;
  }

  .cap-row:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .step-num {
    font-size: 2.5rem;
    min-width: auto;
  }

  .step-line {
    margin-left: 0;
    height: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
