/* Neuro Data Logic — premium dark theme */
:root {
  --bg: #07090c;
  --bg-elevated: #10141a;
  --bg-panel: #151b24;
  --line: rgba(201, 168, 92, 0.18);
  --line-strong: rgba(201, 168, 92, 0.35);
  --text: #ebe6dc;
  --text-muted: #9a9488;
  --gold: #c9a85c;
  --gold-bright: #e0c278;
  --teal: #5eb8a8;
  --teal-dim: #3a8f82;
  --danger: #d9796b;
  --success: #6bbf8a;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 2px;
  --header-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(94, 184, 168, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(201, 168, 92, 0.09), transparent 45%),
    linear-gradient(180deg, #0a0e14 0%, var(--bg) 40%, #080a0e 100%);
  background-attachment: fixed;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--teal);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inline-error {
  background: #3a1c18;
  color: #f0c4bc;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 12, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.brand:hover { color: var(--gold-bright); }

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: linear-gradient(135deg, var(--teal), transparent 70%);
  border-radius: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav .nav-cta {
  color: var(--bg);
  background: var(--gold);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--gold-bright);
  color: var(--bg);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-teal {
  background: transparent;
  color: var(--teal);
  border-color: rgba(94, 184, 168, 0.45);
}

.btn-teal:hover {
  background: rgba(94, 184, 168, 0.12);
  color: #7fd4c4;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.stack-lg > * + * {
  margin-top: 2.5rem;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="left"].is-revealed {
  transform: none;
}

[data-reveal="scale"] {
  transform: scale(0.96);
}

[data-reveal="scale"].is-revealed {
  transform: none;
}

/* Home hero — full-bleed visual plane */
.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.85);
}

.hero-home-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, transparent 45%),
    linear-gradient(90deg, rgba(7, 9, 12, 0.88) 0%, rgba(7, 9, 12, 0.35) 55%, rgba(7, 9, 12, 0.55) 100%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4rem 0 5rem;
}

.hero-home .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-home h1 {
  max-width: 14ch;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.hero-home .hero-support {
  max-width: 32rem;
  font-size: 1.1rem;
  color: rgba(235, 230, 220, 0.78);
}

.hero-home .btn-row { margin-top: 1.75rem; }

/* Page heroes (inner) */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero.has-media {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.32);
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg), transparent 60%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.page-hero h1 { color: var(--text); max-width: 18ch; }

/* Proof strip — after social on home (varied order) */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item {
  background: var(--bg-elevated);
  padding: 2rem 1.5rem;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.proof-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Feature list (no cards) */
.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

.feature-rail h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-rail p {
  font-size: 0.98rem;
}

.feature-index {
  font-family: var(--font-display);
  color: var(--teal);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Course preview rows */
.course-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 1.75rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.course-row:first-of-type {
  border-top: 1px solid var(--line);
}

.course-row img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}

.course-row h3 {
  margin-bottom: 0.35rem;
  color: var(--text);
}

.course-row h3 a {
  color: inherit;
  text-decoration: none;
}

.course-row h3 a:hover { color: var(--gold); }

.course-meta {
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

/* Testimonials */
.quote-block {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: left;
}

.quote-block blockquote {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
}

.quote-block.short blockquote {
  font-size: 1.05rem;
  font-family: var(--font-body);
}

.quote-attr {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.quote-attr .stars {
  color: var(--gold);
  letter-spacing: 0.05em;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* Pricing */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tier {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease);
}

.tier:hover {
  border-color: var(--line-strong);
}

.tier.is-featured {
  border-color: var(--gold);
  background: linear-gradient(165deg, #1a1f28 0%, #12161d 100%);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  margin: 0.75rem 0;
}

.tier-price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}

.tier li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.tier li::before {
  content: "– ";
  color: var(--teal);
}

.price-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea { min-height: 140px; resize: vertical; }

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--danger);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

.address-block p {
  margin-bottom: 0.5rem;
}

.address-block strong {
  color: var(--text);
  font-weight: 600;
}

/* Blog */
.blog-list {
  display: grid;
  gap: 0;
}

.blog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.blog-item:hover { opacity: 0.88; }

.blog-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.blog-item h2 {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.blog-date {
  font-size: 0.82rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.article-body h2 {
  margin-top: 2.5rem;
  color: var(--text);
}

.article-body h3 {
  margin-top: 1.75rem;
  color: var(--text);
}

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin-bottom: 2rem;
}

/* Course detail */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: mod;
}

.module-list li {
  counter-increment: mod;
  padding: 1.25rem 0 1.25rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--text-muted);
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.25rem;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
}

.module-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
}

/* FAQ */
.faq-list { margin-top: 1.5rem; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.15rem 2rem 1.15rem 0;
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-weight: 400;
}

.faq-item.is-open button::after { content: "–"; }

.faq-panel {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--text-muted);
}

.faq-item.is-open .faq-panel { display: block; }

/* Legal */
.legal-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-body h2 {
  margin-top: 2.25rem;
  color: var(--text);
  font-size: 1.35rem;
}

.legal-body ul {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.legal-body li { margin-bottom: 0.4rem; }

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.cookies-table th,
.cookies-table td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookies-table th {
  background: var(--bg-panel);
  color: var(--gold);
  font-weight: 600;
}

.cookies-table td { color: var(--text-muted); }

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page h1 {
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--gold);
  margin-bottom: 0.25rem;
}

/* Case study */
.case-study {
  background: var(--bg-panel);
  border-left: 3px solid var(--teal);
  padding: 2rem;
  margin: 2rem 0;
}

.case-study h3 {
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #05070a;
  padding: 3.5rem 0 0;
  margin-top: 2rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.8fr) 1.3fr;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-tag {
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.footer-col a,
.footer-contact a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.footer-col a:hover,
.footer-contact a:hover {
  color: var(--text);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-base {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(16, 20, 26, 0.96);
  border-top: 1px solid var(--line-strong);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 240px;
  margin: 0;
  font-size: 0.92rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(201, 168, 92, 0.1), transparent);
}

.cta-band h2 {
  color: var(--text);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Outcomes list */
.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.outcomes li {
  padding-left: 1.1rem;
  border-left: 2px solid var(--teal-dim);
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Check flow (custom page) */
.check-steps {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.check-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.check-step .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
}

.check-step h3 {
  color: var(--text);
  margin-bottom: 0.35rem;
}

/* Media queries */
@media (max-width: 960px) {
  .split,
  .contact-layout,
  .instructor {
    grid-template-columns: 1fr;
  }

  .feature-rail,
  .pricing-tiers,
  .proof-strip,
  .testimonial-grid,
  .outcomes {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-row {
    grid-template-columns: 1fr;
  }

  .course-row img {
    height: 200px;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(7, 9, 12, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav .nav-cta {
    margin-top: 1rem;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .check-step {
    grid-template-columns: 50px 1fr;
  }
}
