/* ===========================
   FORMA — Landing Page Styles
   =========================== */

:root {
  --bg: #09090B;
  --surface: #111113;
  --surface-2: #18181B;
  --accent: #FF6B35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --accent-glow: rgba(255, 107, 53, 0.25);
  --fg: #FAFAF9;
  --fg-muted: #71717A;
  --fg-subtle: #3F3F46;
  --border: #27272A;
  --border-bright: #3F3F46;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
}

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

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;
}

/* Grid background */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--fg-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--fg-subtle) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
}

/* Nav */
.nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 96px 0 80px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  padding: 6px 14px;
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--surface);
}

/* Neural visual */
.neural-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.neural-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.neural-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

/* Proof bar */
.proof {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.proof-stat {
  padding: 0 40px;
}
.proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.proof-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 180px;
}
.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* Section commons */
.section-header {
  margin-bottom: 56px;
}
.section-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  max-width: 640px;
}

/* How it works */
.how {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}
.how > .section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 32px;
}
.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--surface);
  padding: 40px 36px;
  position: relative;
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.step-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 0 0 96px;
}
.features > .section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 32px;
}
.feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover {
  background: var(--surface);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Outcomes */
.outcomes {
  position: relative;
  z-index: 1;
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.outcomes-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.outcomes-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 24px;
}
.outcomes-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
}
.outcome-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* Closing */
.closing {
  position: relative;
  z-index: 1;
  padding: 96px 0 120px;
  text-align: center;
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--fg);
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .proof-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 32px; }
  .proof-divider { display: none; }
  .proof-stat { padding: 0; }
  .how-steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 48px; }
  .outcomes-visual { order: -1; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .hero-headline { letter-spacing: -1px; }
  .nav-inner, .how > .section-header, .features > .section-header, .outcomes-inner, .closing-inner, .footer-inner { padding: 0 20px; }
  .hero-inner, .proof-inner, .how-steps, .feature-grid, .outcomes-inner, .closing-inner { padding: 0 20px; }
  .how, .features, .outcomes, .closing { padding-top: 64px; padding-bottom: 64px; }
}