:root {
  --bg: #F8F7F4;
  --fg: #1A1A1A;
  --fg-muted: #6A6A6A;
  --fg-subtle: #9A9A9A;
  --accent: #2D9E87;
  --accent-dark: #1F7A6C;
  --accent-glow: rgba(45, 158, 135, 0.15);
  --amber: #E8A838;
  --sage: #8A9E8E;
  --border: rgba(26, 26, 26, 0.08);
  --card-bg: #FFFFFF;
  --font-head: 'Sora', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: rgba(248, 247, 244, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--fg); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--fg);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-primary.btn-large { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: var(--fg-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--fg); }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.stat-label {
  font-size: 0.7rem;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* BRAIN VIZ */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brain-viz {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brain-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45, 158, 135, 0.2);
  animation: pulse-ring 3s ease-in-out infinite;
}
.ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.ring-2 { width: 260px; height: 260px; animation-delay: 0.5s; }
.ring-3 { width: 320px; height: 320px; animation-delay: 1s; }
@keyframes pulse-ring {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.03); }
}
.brain-core {
  position: absolute;
  color: var(--accent);
  z-index: 2;
}
.brain-node {
  position: absolute;
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--fg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.brain-node:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  transform: scale(1.08);
}
.node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.node-2 { top: 25%; right: 0; }
.node-3 { bottom: 25%; right: 0; }
.node-4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-5 { bottom: 25%; left: 0; }
.node-6 { top: 25%; left: 0; }

/* SECTIONS */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.problem-label, .features-label, .compare-label, .pricing-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.problem-headline, .features-headline, .compare-headline, .pricing-headline, .closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.problem-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* PROBLEM LIST */
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.problem-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* FEATURES */
.features { background: var(--fg); color: #fff; }
.features .features-label { color: var(--accent); }
.features .features-headline { color: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(45, 158, 135, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* COMPARE */
.compare-table {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1rem;
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-header {
  background: var(--fg);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
}
.compare-col { font-size: 0.875rem; }
.compare-col-name { color: var(--fg-muted); font-weight: 500; }
.compare-col-us {
  font-weight: 700;
  color: var(--accent);
}
.compare-row:not(.compare-header):hover { background: rgba(45, 158, 135, 0.03); }
.compare-footnote {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--fg-subtle);
  font-style: italic;
}

/* PRICING */
.pricing { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: start;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}
.pricing-card-featured {
  border-color: var(--fg);
  position: relative;
  box-shadow: 0 8px 40px rgba(26, 26, 26, 0.1);
}
.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.pricing-label-small {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 1rem;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
}
.price-period {
  font-size: 1rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.price-original {
  font-size: 0.8rem;
  color: var(--fg-subtle);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.pricing-cta {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: var(--fg);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}
.pricing-cta:hover { background: #333; }
.pricing-cta-secondary {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: transparent;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.pricing-cta-secondary:hover { border-color: var(--fg); }
.pricing-spots {
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-subtle);
  font-weight: 500;
}

/* CLOSING */
.closing {
  padding: 6rem 2rem;
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.closing-cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.closing-note { font-size: 0.8rem; color: var(--fg-subtle); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-subtle);
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 7rem 1.5rem 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .compare-col-name { grid-column: 1 / -1; font-weight: 600; color: var(--fg); }
  .compare-col:not(.compare-col-name) { display: none; }
  .compare-col-us { display: block !important; }
  .compare-header { grid-template-columns: 1fr 1fr; }
  .compare-header .compare-col:not(.compare-col-us) { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.8rem; }
  .section-inner { padding: 3rem 1.5rem; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-stats { gap: 1rem; }
  .stat-value { font-size: 1.2rem; }
  .pricing-card-featured { padding: 1.5rem; }
  .price-amount { font-size: 2rem; }
}