:root {
  --bg-deep: #060B18;
  --bg-surface: #0B1426;
  --bg-elevated: #111D35;
  --fg-primary: #F0F4FC;
  --fg-secondary: #8A95AD;
  --fg-muted: #5A6680;
  --accent: #00E5C3;
  --accent-dim: rgba(0, 229, 195, 0.15);
  --accent-glow: rgba(0, 229, 195, 0.4);
  --gold: #FFB547;
  --gold-dim: rgba(255, 181, 71, 0.15);
  --coral: #FF6B6B;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(6, 11, 24, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(138, 149, 173, 0.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }
.nav-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 71, 0.2) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 640px; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--fg-primary);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lede {
  font-size: 1.2rem;
  color: var(--fg-secondary);
  line-height: 1.65;
  max-width: 520px;
}

/* HERO STAT CARD */
.hero-stats {
  background: var(--bg-surface);
  border: 1px solid rgba(138, 149, 173, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-glow), transparent 50%);
  z-index: -1;
  opacity: 0.3;
}
.stat-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(138, 149, 173, 0.08);
}
.stat-item:last-child { border-bottom: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-number.teal { color: var(--accent); }
.stat-number.gold { color: var(--gold); }
.stat-number.coral { color: var(--coral); }
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

/* PROBLEM */
.problem {
  padding: 7rem 0;
  position: relative;
}
.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 149, 173, 0.15), transparent);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.problem-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.problem-left h2 span { color: var(--coral); }
.problem-left p {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}
.problem-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.problem-card {
  background: var(--bg-surface);
  border: 1px solid rgba(138, 149, 173, 0.08);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.problem-icon.red { background: rgba(255, 107, 107, 0.12); color: var(--coral); }
.problem-icon.amber { background: var(--gold-dim); color: var(--gold); }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--fg-primary);
}
.problem-card p {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* DOMAINS */
.domains {
  padding: 7rem 0;
  background: var(--bg-surface);
  position: relative;
}
.domains::before,
.domains::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 195, 0.2), transparent);
}
.domains::before { top: 0; }
.domains::after { bottom: 0; }
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  max-width: 600px;
  margin-bottom: 3.5rem;
}
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.domain-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(138, 149, 173, 0.08);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.domain-card:hover {
  border-color: rgba(0, 229, 195, 0.25);
  transform: translateY(-2px);
}
.domain-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.domain-card:nth-child(1)::after { background: var(--accent); }
.domain-card:nth-child(2)::after { background: var(--coral); }
.domain-card:nth-child(3)::after { background: var(--gold); }
.domain-card:nth-child(4)::after { background: #A78BFA; }
.domain-card:nth-child(5)::after { background: #60A5FA; }
.domain-card:nth-child(6)::after { background: #F472B6; }
.domain-emoji {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}
.domain-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg-primary);
}
.domain-card p {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* METHOD */
.method {
  padding: 7rem 0;
  position: relative;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.method-step {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-surface);
  border: 1px solid rgba(138, 149, 173, 0.08);
  border-radius: 16px;
}
.method-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, rgba(0, 229, 195, 0.3), rgba(0, 229, 195, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.method-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg-primary);
}
.method-step p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* PHILOSOPHY */
.philosophy {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-deep) 100%);
  text-align: center;
  position: relative;
}
.philosophy::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.08;
  pointer-events: none;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.philosophy-quote em {
  font-style: normal;
  color: var(--accent);
}
.philosophy-body {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.philosophy-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.pillar {
  padding: 1.5rem;
  border: 1px solid rgba(138, 149, 173, 0.08);
  border-radius: 14px;
  background: rgba(11, 20, 38, 0.5);
}
.pillar h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.pillar p {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  line-height: 1.55;
}

/* PROOF */
.proof {
  padding: 7rem 0;
  position: relative;
}
.proof-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.proof-stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-surface);
  border-radius: 16px;
  border: 1px solid rgba(138, 149, 173, 0.08);
}
.proof-stat .big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.proof-stat .label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.45;
}

/* CLOSING */
.closing {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(0deg, var(--bg-surface), transparent);
  pointer-events: none;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.closing h2 em {
  font-style: normal;
  color: var(--accent);
}
.closing p {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* FOOTER */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(138, 149, 173, 0.08);
  background: var(--bg-surface);
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.footer-brand span { color: var(--accent); }
.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-stats { max-width: 400px; }
  .problem-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .philosophy-pillars { grid-template-columns: 1fr; }
  .proof-numbers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .domains-grid { grid-template-columns: 1fr; }
  .proof-numbers { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; gap: 1rem; text-align: center; }
  .hero { padding: 7rem 0 4rem; }
}