/* ============================================
   THE BRAIN SONG — LANDING PAGE STYLES
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-bg:        #05060f;
  --c-bg-2:      #0c0e1f;
  --c-bg-3:      #111428;
  --c-surface:   #161932;
  --c-border:    rgba(255,255,255,0.08);
  --c-accent:    #7c6af7;
  --c-accent-2:  #a78bfa;
  --c-glow:      #7c6af740;
  --c-gold:      #f5c842;
  --c-text:      #e8eaf6;
  --c-text-muted:#8b90b8;
  --c-pro:       #22c55e;
  --c-con:       #f87171;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --shadow-glow: 0 0 40px rgba(124,106,247,0.25);
  --font-body:   'Inter', system-ui, sans-serif;
  --font-display:'Playfair Display', Georgia, serif;
  --max-w:       1280px;
  --max-w-narrow:920px;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
ol { list-style: none; }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.container--narrow { max-width: var(--max-w-narrow); }

@media (min-width: 1400px) {
  .container { padding: 0 3rem; }
}

.section {
  padding: 5.5rem 0;
}

/* --- TYPOGRAPHY --- */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.25rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  width: fit-content;
  align-self: flex-start;
}
.btn:focus-visible { outline: 2px solid var(--c-accent-2); outline-offset: 3px; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, #7c6af7, #a78bfa);
  color: #fff;
  padding: 0.95rem 2.2rem;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(124,106,247,0.45);
}
.btn--primary:hover { box-shadow: 0 8px 36px rgba(124,106,247,0.65); }

.btn--lg { padding: 1.1rem 2.6rem; font-size: 1.1rem; }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn--white { background: #fff; color: #1a1a2e; }
.btn--white:hover { background: #e8e8ff; }

/* Centered contexts — override align-self */
.hero__cta-group .btn,
.cta-final__inner .btn {
  align-self: center;
}

/* --- BADGE --- */
.badge {
  display: inline-block;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

/* --- TOPBAR --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #1a0a3e, #0d1033);
  border-bottom: 1px solid var(--c-border);
  padding: 0.6rem 1rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.topbar__badge {
  background: var(--c-gold);
  color: #1a1a00;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.topbar__text {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* --- HERO --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1b1154 0%, var(--c-bg) 70%);
}
.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__bg-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c6af730, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
}
.hero__bg-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #a78bfa20, transparent 70%);
  bottom: -100px; right: 10%;
}

.hero__label {
  display: inline-block;
  background: rgba(124,106,247,0.15);
  border: 1px solid rgba(124,106,247,0.4);
  color: var(--c-accent-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero__heading em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--c-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero__cta-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero__cta-note {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

.hero__trust-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  color: var(--c-text-muted);
}
.trust-pill__icon {
  font-size: 0.9rem;
  color: var(--c-accent-2);
  line-height: 1;
}

/* --- PAIN SECTION --- */
.pain { background: var(--c-bg-2); }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.pain-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.pain-card:hover { border-color: rgba(124,106,247,0.4); transform: translateY(-3px); }
.pain-card__icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--c-accent-2);
  line-height: 1;
}

.pain__insight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--c-accent-2);
  margin-top: 0.1rem;
}

.pain__insight {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(124,106,247,0.12), rgba(167,139,250,0.06));
  border: 1px solid rgba(124,106,247,0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.pain-card p { font-size: 0.95rem; color: var(--c-text-muted); }

.pain__insight-icon { font-size: 1.5rem; flex-shrink: 0; color: var(--c-accent-2); margin-top: 0.1rem; }
.pain__insight strong { display: block; margin-bottom: 0.5rem; color: #fff; }
.pain__insight p { font-size: 0.95rem; color: var(--c-text-muted); }

/* --- PRODUCT SECTION --- */
.product { background: var(--c-bg); }
.product__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .product__layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.product__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-glow);
  max-height: 420px;
}
.product__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__badge-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.product__copy { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.product__copy p { color: var(--c-text-muted); font-size: 0.97rem; }

/* --- STEPS --- */
.steps { background: var(--c-bg-2); }
.steps__list { display: flex; flex-direction: column; gap: 1.25rem; }
.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(124,106,247,0.4); }
.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.step-card__body h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.step-card__body p { font-size: 0.9rem; color: var(--c-text-muted); }

/* --- SCIENCE --- */
.science { background: var(--c-bg); }
.science .section-sub { margin-bottom: 2rem; }

.freq-table {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}
.freq-row {
  display: grid;
  grid-template-columns: 120px 120px 1fr;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9rem;
  gap: 1rem;
  align-items: center;
}
.freq-row:last-child { border-bottom: none; }
.freq-row--head {
  background: rgba(255,255,255,0.04);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.freq-row--highlight {
  background: linear-gradient(90deg, rgba(124,106,247,0.15), transparent);
  border-color: rgba(124,106,247,0.3);
}

.freq-label {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}
.delta { background: rgba(99,102,241,0.2); color: #818cf8; }
.theta { background: rgba(139,92,246,0.2); color: #a78bfa; }
.alpha { background: rgba(34,197,94,0.2); color: #4ade80; }
.beta  { background: rgba(250,204,21,0.2); color: #fcd34d; }
.gamma { background: rgba(239,68,68,0.2); color: #f87171; }

.bdnf-callout {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
}
.bdnf-callout__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--c-accent-2);
  margin-top: 0.1rem;
}
.bdnf-callout strong { display: block; color: #fff; margin-bottom: 0.4rem; }
.bdnf-callout p { font-size: 0.9rem; color: var(--c-text-muted); }
.bdnf-callout em { color: var(--c-accent-2); font-style: italic; }

/* --- BENEFITS --- */
.benefits { background: var(--c-bg-2); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.benefit-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
  border-color: rgba(124,106,247,0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(124,106,247,0.15);
}
.benefit-card__icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--c-accent-2);
  line-height: 1;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.benefit-card p { font-size: 0.88rem; color: var(--c-text-muted); }

/* --- TESTIMONIALS --- */
.testimonials { background: var(--c-bg); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: rgba(124,106,247,0.4); }
.testimonial-card__stars {
  font-size: 1rem;
  color: var(--c-gold);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 0.93rem;
  color: var(--c-text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.testimonial-card footer { font-size: 0.82rem; color: var(--c-text); }
.testimonial-card footer strong { color: var(--c-accent-2); }

/* --- PROS/CONS --- */
.proscons { background: var(--c-bg-2); }
.proscons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) { .proscons__grid { grid-template-columns: 1fr; } }

.proscons__col {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.proscons__col--pro { border-top: 3px solid var(--c-pro); }
.proscons__col--con { border-top: 3px solid var(--c-con); }
.proscons__col-title { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.proscons__col--pro .proscons__col-title { color: var(--c-pro); }
.proscons__col--con .proscons__col-title { color: var(--c-con); }
.proscons__col ul li {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--c-border);
}
.proscons__col ul li:last-child { border-bottom: none; }

/* --- WHO IS IT FOR --- */
.whois { background: var(--c-bg); }
.whois__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) { .whois__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .whois__grid { grid-template-columns: 1fr; } }

.whois-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.whois-card:hover {
  border-color: var(--c-accent-2);
  border-left-color: var(--c-accent-2);
  transform: translateY(-2px);
}
.whois-card__body strong {
  display: block;
  font-size: 0.97rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.whois-card__body p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  margin: 0;
}
.whois__disclaimer {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  background: var(--c-surface);
}

/* --- TIMELINE --- */
.timeline { background: var(--c-bg-2); }
.timeline__track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 2rem;
}
.timeline__track::before {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item__marker {
  position: absolute;
  left: -1.65rem;
  top: 1.8rem;
  width: 0.85rem;
  height: 0.85rem;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-glow);
  flex-shrink: 0;
}
.timeline-item__label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent-2);
  margin-bottom: 0.3rem;
}
.timeline-item__content p { font-size: 0.9rem; color: var(--c-text-muted); }

/* --- COMPARISON TABLE --- */
.comparison { background: var(--c-bg); }
.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--c-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.comp-table th, .comp-table td {
  padding: 0.85rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-muted);
}
.comp-table th[scope="row"] { text-align: left; font-weight: 600; color: var(--c-text); }
.comp-table thead th { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--c-text-muted); }
.comp-table__highlight {
  background: rgba(124,106,247,0.1);
  color: var(--c-accent-2) !important;
  font-weight: 700;
  border-left: 1px solid rgba(124,106,247,0.3);
  border-right: 1px solid rgba(124,106,247,0.3);
}
.comp-table thead .comp-table__highlight {
  background: rgba(124,106,247,0.18);
  color: #fff !important;
}
.comp-table tr:last-child td, .comp-table tr:last-child th { border-bottom: none; }

/* --- FAQ --- */
.faq { background: var(--c-bg-2); }
.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(124,106,247,0.4); }
.faq-item summary {
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--c-accent-2);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* --- GUARANTEE --- */
.guarantee { background: var(--c-bg); }
.guarantee__card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(124,106,247,0.14), rgba(167,139,250,0.07));
  border: 1px solid rgba(124,106,247,0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.guarantee__card > div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.guarantee__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  color: var(--c-accent-2);
  line-height: 1;
  margin-top: 0.2rem;
}
.guarantee__card h2 { font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin-bottom: 0.75rem; }
.guarantee__card p { font-size: 0.95rem; color: var(--c-text-muted); }
@media (max-width: 600px) { .guarantee__card { flex-direction: column; padding: 1.75rem; gap: 1rem; } }

/* --- FINAL CTA --- */
.cta-final {
  background: radial-gradient(ellipse 80% 60% at 50% 100%, #1b1154 0%, var(--c-bg-2) 70%);
  text-align: center;
}
.cta-final__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-final__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.cta-final p { font-size: 1.05rem; color: var(--c-text-muted); max-width: 500px; }
.cta-final__note { font-size: 0.8rem; color: var(--c-text-muted); line-height: 1.6; }

.cta-final__price {
  font-size: 1rem;
  color: var(--c-text-muted);
  font-weight: 500;
}
.cta-final__price span {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-left: 0.25rem;
}

/* --- PRODUCT BULLETS --- */
.product__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.product__bullets li {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product__bullets li span,
.product__bullets li::before {
  color: var(--c-accent-2);
}

/* --- FOOTER SUPPORT / GUARANTEE LINES --- */
.footer__support {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}
.footer__support a {
  color: var(--c-accent-2);
  text-decoration: underline;
}
.footer__guarantee {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* --- FOOTER --- */
.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: 2.5rem 0;
  text-align: center;
}
.footer__disclaimer {
  font-size: 0.77rem;
  color: var(--c-text-muted);
  max-width: 640px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer__links a {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--c-accent-2); }
.footer__copy { font-size: 0.75rem; color: rgba(139,144,184,0.5); }

/* ============================================
   RESPONSIVE — TABLET (max 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Layout */
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  /* Typography */
  .section-heading { font-size: clamp(1.5rem, 5vw, 2rem); }

  /* Hero */
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero__heading { font-size: clamp(2rem, 7vw, 3rem); }
  .hero__sub { font-size: 1rem; }

  /* Grids — go 2 col */
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .after-buy__steps { grid-template-columns: repeat(2, 1fr); }

  /* Product section */
  .product__layout { grid-template-columns: 1fr; gap: 2rem; }
  .product__img-wrap { max-height: 280px; }

  /* Frequency table */
  .freq-row { grid-template-columns: 90px 90px 1fr; font-size: 0.8rem; padding: 0.7rem 0.85rem; }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Comparison table */
  .comp-table th, .comp-table td { padding: 0.65rem 0.75rem; font-size: 0.82rem; }

  /* Guarantee */
  .guarantee__card { flex-direction: column; padding: 1.75rem; gap: 1.25rem; }

  /* Timeline */
  .timeline__track { padding-left: 1.5rem; }
}

/* ============================================
   RESPONSIVE — MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  /* Layout */
  .section { padding: 2.75rem 0; }
  .container { padding: 0 1rem; }

  /* Topbar */
  .topbar { padding: 0.5rem 0.75rem; }
  .topbar__text { display: none; }
  .topbar__badge { font-size: 0.65rem; }

  /* Hero */
  .hero { padding: 4rem 0 3rem; text-align: center; }
  .hero__heading { font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.2; }
  .hero__sub { font-size: 0.95rem; }
  .hero__trust-bar { gap: 0.5rem; }
  .trust-pill { font-size: 0.72rem; padding: 0.4rem 0.75rem; }

  /* Section headings */
  .section-heading { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .section-sub { font-size: 0.92rem; }

  /* Grids — go 1 col */
  .benefits__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .after-buy__steps { grid-template-columns: 1fr; }
  .whois__grid { grid-template-columns: 1fr; }
  .proscons__grid { grid-template-columns: 1fr; }

  /* Pain cards */
  .pain__grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .pain-card { padding: 1.1rem; }
  .pain__insight { flex-direction: column; gap: 0.75rem; padding: 1.25rem; }

  /* Product section */
  .product__img-wrap { max-height: 220px; }
  .product__copy { gap: 0.75rem; }

  /* Steps */
  .step-card { padding: 1.1rem 1.25rem; gap: 1rem; }

  /* Frequency table */
  .freq-row { grid-template-columns: 80px 1fr; padding: 0.65rem 0.75rem; }
  .freq-row > *:nth-child(2) { display: none; }

  /* BDNF callout */
  .bdnf-callout { flex-direction: column; gap: 0.75rem; padding: 1.25rem; }

  /* Testimonials */
  .testimonial-card { padding: 1.25rem; }

  /* Who it's for */
  .whois-card { padding: 1rem 1.1rem; }

  /* Timeline */
  .timeline__track { padding-left: 1.25rem; }
  .timeline-item__marker { left: -1.4rem; top: 1.6rem; width: 0.7rem; height: 0.7rem; }

  /* Comparison table */
  .comp-table { font-size: 0.78rem; }
  .comp-table th, .comp-table td { padding: 0.55rem 0.5rem; }
  .comp-table th[scope="col"]:nth-child(3),
  .comp-table td:nth-child(3) { display: none; } /* hide Brain Training Apps on tiny screens */

  /* FAQ */
  .faq-item summary { font-size: 0.88rem; padding: 0.9rem 1.1rem; }
  .faq-item p { padding: 0 1.1rem 1rem; font-size: 0.85rem; }

  /* Guarantee */
  .guarantee__card { padding: 1.25rem; gap: 0.75rem; }
  .guarantee__icon { font-size: 1.8rem; }
  .guarantee__card h2 { font-size: 1.2rem; }

  /* Mid-page CTA banner */
  .section[aria-label="Mid-page call to action"] > .container > div {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Final CTA */
  .cta-final__heading { font-size: clamp(1.4rem, 6vw, 2rem); }
  .cta-final p { font-size: 0.92rem; }
  .cta-final__price span { font-size: 1.6rem; }

  /* Buttons */
  .btn--lg { padding: 0.95rem 1.75rem; font-size: 1rem; }

  /* Footer */
  .footer__links { gap: 1rem; }
  .footer__disclaimer { font-size: 0.72rem; }
}


/* --- KEY FEATURES --- */
.features { background: var(--c-bg-2); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(124,106,247,0.4); transform: translateY(-3px); }
.feature-card__num {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--c-accent-2);
  margin-bottom: 0.6rem;
  display: block;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.88rem; color: var(--c-text-muted); }

/* --- AFTER BUY --- */
.after-buy { background: var(--c-bg-2); }
.after-buy__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.after-buy__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.after-buy__step:hover { border-color: rgba(124,106,247,0.4); }
.after-buy__num {
  min-width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}
.after-buy__step h3 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
.after-buy__step p { font-size: 0.87rem; color: var(--c-text-muted); }

/* end */

/* --- VIDEO EMBED --- */
.infographic-wrap {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(124,106,247,0.4);
  box-shadow: 0 0 40px rgba(124,106,247,0.2), 0 0 0 1px rgba(124,106,247,0.1);
  background: var(--c-surface);
}
.infographic-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   GLOBAL ALIGNMENT & MOBILE FIXES
   ============================================ */

/* Infographic — full width, proper containment */
.infographic-wrap {
  width: 100%;
  max-width: 100%;
}

/* Buttons — allow wrapping so long text doesn't overflow */
.btn {
  white-space: normal;
  text-align: center;
  word-break: break-word;
}

/* section-sub — full width on small screens */
.section-sub {
  width: 100%;
  box-sizing: border-box;
}

/* Product bullets — no overflow */
.product__bullets li {
  word-break: break-word;
}

/* ============================================
   ADDITIONAL MOBILE FIXES (max 480px)
   ============================================ */
@media (max-width: 480px) {

  /* Infographic border thinned, radius reduced for small screens */
  .infographic-wrap {
    border-width: 1px;
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
  }

  /* Primary CTA buttons — full width, centered */
  .hero__cta-group .btn--primary,
  .cta-final__inner .btn--primary {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
  }

  /* Mid-page CTA banner button — full width */
  .section[aria-label="Mid-page call to action"] .btn {
    width: 100%;
    justify-content: center;
    align-self: center;
  }
  .section[aria-label="Mid-page call to action"] > .container > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  /* Product copy button — full width */
  .product__copy .btn {
    width: 100%;
    justify-content: center;
  }

  /* Guarantee button — full width */
  .guarantee__card .btn {
    width: 100%;
    justify-content: center;
  }

  /* Trust bar — 2x2 grid on very small screens */
  .hero__trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .trust-pill {
    justify-content: center;
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
  }

  /* Product image — natural aspect ratio, no max-height clipping */
  .product__img-wrap {
    max-height: none;
  }
  .product__img-wrap img {
    height: auto;
    object-fit: contain;
  }
}

/* ============================================
   ADDITIONAL TABLET FIXES (max 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Infographic */
  .infographic-wrap {
    border-width: 1px;
  }

  /* Mid-page CTA — stack on tablet too */
  .section[aria-label="Mid-page call to action"] > .container > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  /* Product image — don't clip on tablet */
  .product__img-wrap {
    max-height: none;
  }
  .product__img-wrap img {
    height: auto;
    object-fit: contain;
  }
}

/* --- VIDEO EMBED --- */
.video-wrap {
  margin-top: 2.5rem;
}
.video-wrap__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: 0.75rem;
}
.video-wrap__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-glow);
}
.video-wrap__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
