/* Neuro Switch – Design-System */
:root {
  --bg: #07090f;
  --bg-2: #0b0f19;
  --surface: #111827;
  --surface-2: #161f33;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1f7;
  --muted: #9aa4b8;
  --beta: #ff7a59;
  --alpha: #5ee6c8;
  --accent: #4f8cff;
  --radius: 18px;
  --max: 1160px;
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 9, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: 0.06em; font-size: 15px; text-transform: uppercase; }
.brand svg { width: 34px; height: 20px; }
.brand small { display: block; font-weight: 400; color: var(--muted); letter-spacing: 0.12em; font-size: 11px; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 8px 30px -10px rgba(79, 140, 255, .7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(79, 140, 255, .9); }
.btn.ghost { background: transparent; box-shadow: none; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: rgba(255,255,255,.25); }
.nav .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(79,140,255,.18), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--alpha); box-shadow: 0 0 12px var(--alpha); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 7vw, 92px); font-weight: 700; margin: 22px 0 26px; max-width: 14ch; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--alpha); }
.lead { font-size: clamp(19px, 2vw, 23px); color: var(--muted); max-width: 46ch; margin: 0 0 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.wave-stage { position: relative; margin-top: 70px; }
.wave-stage svg { width: 100%; height: clamp(140px, 22vw, 240px); overflow: visible; }
.wave-labels { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; }
.wave-labels .b { color: var(--beta); }
.wave-labels .s { color: var(--muted); }
.wave-labels .a { color: var(--alpha); }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin: 16px 0 20px; }
.section-head p { color: var(--muted); margin: 0; font-size: 19px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.prose p { margin: 0 0 1.1em; color: #c9d0dd; }
.prose strong { color: var(--text); }
.big-statement {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25;
  margin: 0; letter-spacing: -0.01em;
}
.big-statement span { color: var(--alpha); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; position: relative; overflow: hidden;
}
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }
.card .goal { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: #c9d0dd; }
.card .goal b { color: var(--alpha); font-weight: 600; }
.tag { display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: .1em; margin-bottom: 18px; display: block; }

.wave-card.beta { border-color: rgba(255,122,89,.25); }
.wave-card.alpha { border-color: rgba(94,230,200,.25); }
.wave-card .mini { height: 60px; margin: 0 0 22px; }
.wave-card.beta h3 { color: var(--beta); }
.wave-card.alpha h3 { color: var(--alpha); }

.callout {
  margin-top: 40px; padding: 30px 34px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(79,140,255,.14), rgba(94,230,200,.10));
  border: 1px solid rgba(94,230,200,.2); font-size: 19px;
}
.callout strong { color: var(--alpha); }

/* Study quotes */
.study {
  border-left: 2px solid var(--accent); padding: 6px 0 6px 28px; margin: 0;
  max-width: 860px;
}
.study p { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; margin: 0 0 16px; }
.study cite { font-style: normal; font-size: 14px; color: var(--muted); }

/* Pro list */
.pro-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pro-item { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.pro-item h3 { font-size: 22px; }
.pro-item h3 small { display: block; font-size: 14px; color: var(--muted); font-weight: 400; margin-top: 6px; letter-spacing: 0; }
.pro-item p { margin: 0; color: #c9d0dd; }

/* Quotes slider */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 86%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.quote { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; display: flex; flex-direction: column; justify-content: space-between; margin: 0; }
.quote blockquote { margin: 0 0 26px; font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote figcaption b { color: var(--text); display: block; font-size: 16px; }
.slider-nav { display: flex; gap: 10px; margin-top: 18px; }
.slider-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; }
.slider-nav button:hover { border-color: rgba(255,255,255,.3); }

/* Phases */
.phases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.phase .tag { color: var(--accent); }
.phase h3 { font-size: 28px; }
.phase .sub { color: var(--muted); margin: 6px 0 26px; }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.phase li { padding-left: 26px; position: relative; color: #c9d0dd; font-size: 17px; }
.phase li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--alpha); }
.phase li b { color: var(--text); display: block; }

/* Proofs */
.proof { display: grid; grid-template-columns: 340px 1fr; gap: 50px; padding: 50px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.proof + .proof { margin-top: 22px; }
.metric { display: flex; flex-direction: column; justify-content: center; }
.metric .from-to { display: flex; align-items: baseline; gap: 14px; font-weight: 700; letter-spacing: -0.03em; }
.metric .from { font-size: clamp(40px, 5vw, 58px); color: var(--beta); }
.metric .arrow { color: var(--muted); font-size: 28px; }
.metric .to { font-size: clamp(40px, 5vw, 58px); color: var(--alpha); }
.metric .unit { color: var(--muted); font-size: 15px; margin-top: 6px; }
.proof h3 { font-size: 24px; margin-bottom: 16px; }
.proof dl { margin: 0; display: grid; gap: 14px; }
.proof dt { font-weight: 600; font-size: 15px; color: var(--text); }
.proof dd { margin: 0; color: #c9d0dd; font-size: 17px; }
.proof .benefit { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: clamp(34px, 5vw, 62px); max-width: 18ch; margin: 18px auto 22px; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 38px; }
.cta .hero-cta { justify-content: center; }

/* Portrait */
.portrait {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 1 / 1; background: var(--surface);
  box-shadow: 0 30px 80px -40px rgba(79, 140, 255, .45);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) brightness(.92); }
.portrait::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, #4f8cff 0%, #5ee6c8 100%);
  mix-blend-mode: color; opacity: .38;
}
.portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 15, .85) 100%);
}
.portrait figcaption {
  position: absolute; left: 26px; bottom: 22px; z-index: 1;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.portrait figcaption b { display: block; color: var(--text); font-size: 20px; letter-spacing: 0; text-transform: none; margin-bottom: 2px; }
.trainer { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.trainer .big-statement { margin: 20px 0 26px; }
.contact-portrait { max-width: 340px; margin-top: 34px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-item:hover { border-color: rgba(94,230,200,.4); transform: translateY(-2px); }
.contact-item svg { width: 26px; height: 26px; color: var(--alpha); flex: none; }
.contact-item span { display: block; font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.contact-item b { font-weight: 600; word-break: break-word; }

/* Legal pages */
.legal { padding-top: 80px; }
.legal h1 { font-size: clamp(38px, 5vw, 60px); max-width: none; }
.legal .prose { max-width: 780px; }
.legal h2 { font-size: 26px; margin: 48px 0 14px; }
.legal h3 { font-size: 19px; margin: 30px 0 10px; }
.legal p, .legal li { color: #c9d0dd; font-size: 17px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .contact-grid, .phases, .trainer { grid-template-columns: 1fr; gap: 40px; }
  .trainer .portrait { max-width: 460px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pro-item { grid-template-columns: 1fr; gap: 12px; }
  .proof { grid-template-columns: 1fr; gap: 26px; padding: 34px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 24px;
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; width: 100%; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 18px; width: auto; border: 0; padding: 12px 22px; }
  section { padding: 80px 0; }
  .hero { padding: 70px 0 40px; }
  .card, .phase { padding: 28px; }
  .quote { padding: 28px; }
  .quote blockquote { font-size: 19px; }
  .proof { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
