/* ============================================================
   Neuro Academy — Startup Landing Page
   Modern, bold, glassmorphic. Layers on top of tokens.css.
   ============================================================ */

.lp { --lp-max: 1180px; --lp-ease: cubic-bezier(0.22, 1, 0.36, 1); color: var(--na-color-on-surface); }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp-wrap { max-width: var(--lp-max); margin: 0 auto; padding: 0 22px; }

/* ---------- Animated mesh background ---------- */
.lp-mesh { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #07090F; }
[data-theme="light"] .lp-mesh { background: #F4F5FA; }
.lp-mesh__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.lp-mesh__blob--1 { width: 48vw; height: 48vw; top: -12vw; left: -8vw; background: radial-gradient(circle, #5B5BFF, transparent 65%); animation: lp-float-1 24s var(--lp-ease) infinite alternate; }
.lp-mesh__blob--2 { width: 42vw; height: 42vw; top: 10vw; right: -10vw; background: radial-gradient(circle, #7A3FE4, transparent 65%); animation: lp-float-2 28s var(--lp-ease) infinite alternate; }
.lp-mesh__blob--3 { width: 38vw; height: 38vw; bottom: -10vw; left: 25vw; background: radial-gradient(circle, #2EC27E, transparent 65%); opacity: 0.35; animation: lp-float-3 32s var(--lp-ease) infinite alternate; }
[data-theme="light"] .lp-mesh__blob { opacity: 0.30; }
.lp-mesh__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(143,168,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(143,168,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
}
@keyframes lp-float-1 { to { transform: translate(8vw, 10vw) scale(1.15); } }
@keyframes lp-float-2 { to { transform: translate(-6vw, 8vw) scale(1.1); } }
@keyframes lp-float-3 { to { transform: translate(4vw, -8vw) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .lp-mesh__blob { animation: none; } }

.lp-main { position: relative; z-index: 1; }

/* ---------- Nav ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.lp-nav.is-scrolled { background: rgba(10,13,22,0.72); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: rgba(143,168,255,0.14); }
[data-theme="light"] .lp-nav.is-scrolled { background: rgba(255,255,255,0.78); border-bottom-color: rgba(15,23,42,0.08); }
.lp-nav__inner { display: flex; align-items: center; gap: 16px; }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--na-color-on-surface); }
.lp-logo__mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #5B5BFF, #7A3FE4); display: grid; place-items: center; position: relative; box-shadow: 0 6px 20px rgba(91,91,255,0.4); }
.lp-logo__mark svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-logo__mark::after { content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: #2EC27E; box-shadow: 0 0 10px #2EC27E; animation: lp-blink 2.4s ease-in-out infinite; }
@keyframes lp-blink { 0%,100%{opacity:.4;transform:scale(.85);} 50%{opacity:1;transform:scale(1.15);} }
.lp-logo__name { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.lp-logo__name span { display: block; font-family: var(--na-font-mono); font-size: 8px; letter-spacing: 0.18em; color: var(--na-color-on-surface-muted); }
.lp-nav__links { display: none; gap: 4px; margin-left: 20px; }
@media (min-width: 920px) { .lp-nav__links { display: flex; } }
.lp-nav__links a { padding: 8px 14px; border-radius: 9px; text-decoration: none; color: var(--na-color-on-surface-muted); font-size: 14px; font-weight: 500; transition: color .2s, background .2s; }
.lp-nav__links a:hover { color: var(--na-color-on-surface); background: rgba(143,168,255,0.08); }
.lp-nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 11px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: transform .2s var(--lp-ease), box-shadow .2s, background .2s; white-space: nowrap; }
.lp-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-btn--primary { background: linear-gradient(135deg, #5B5BFF, #7A3FE4); color: #fff; box-shadow: 0 8px 24px -6px rgba(91,91,255,0.6); }
.lp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(91,91,255,0.7); }
.lp-btn--ghost { background: rgba(143,168,255,0.08); color: var(--na-color-on-surface); border: 1px solid rgba(143,168,255,0.20); }
.lp-btn--ghost:hover { background: rgba(143,168,255,0.16); transform: translateY(-2px); }
.lp-btn--lg { padding: 15px 28px; font-size: 15px; border-radius: 13px; }
.lp-icbtn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(143,168,255,0.18); background: transparent; color: var(--na-color-on-surface); cursor: pointer; display: grid; place-items: center; }
.lp-icbtn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-icbtn [data-l] { display: none; }
[data-theme="light"] .lp-icbtn [data-d] { display: none; }
[data-theme="light"] .lp-icbtn [data-l] { display: inline-block; }

/* ---------- Hero ---------- */
.lp-hero { padding: 70px 0 50px; text-align: center; }
@media (min-width: 920px) { .lp-hero { padding: 96px 0 60px; } }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(143,168,255,0.10); border: 1px solid rgba(143,168,255,0.25); font-size: 13px; font-weight: 600; color: var(--na-color-on-surface); margin-bottom: 26px; }
.lp-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: #2EC27E; box-shadow: 0 0 8px #2EC27E; }
.lp-hero h1 { font-size: clamp(34px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin: 0 auto 22px; max-width: 14ch; }
.lp-hero h1 .grad { background: linear-gradient(120deg, #6E8BFF, #7A3FE4 40%, #2EC27E); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-hero__lede { font-size: clamp(16px, 2.2vw, 20px); line-height: 1.6; color: var(--na-color-on-surface-muted); max-width: 56ch; margin: 0 auto 34px; }
.lp-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.lp-hero__note { font-size: 13px; color: var(--na-color-on-surface-muted); }
.lp-hero__note b { color: var(--na-color-on-surface); }

/* Hero product mockup */
.lp-hero__shot { margin-top: 54px; position: relative; }
.lp-shot { border-radius: 20px; border: 1px solid rgba(143,168,255,0.20); background: linear-gradient(180deg, rgba(20,24,38,0.9), rgba(12,15,26,0.95)); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(91,91,255,0.45); }
[data-theme="light"] .lp-shot { background: linear-gradient(180deg, #fff, #f0f2fa); box-shadow: 0 40px 100px -30px rgba(15,23,42,0.25); }
.lp-shot__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(143,168,255,0.12); }
.lp-shot__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.lp-shot__dots i:nth-child(1){background:#F25E62;} .lp-shot__dots i:nth-child(2){background:#F0B73A;} .lp-shot__dots i:nth-child(3){background:#2EC27E;}
.lp-shot__url { margin-left: 12px; font-family: var(--na-font-mono); font-size: 11px; color: var(--na-color-on-surface-muted); }
.lp-shot__body { padding: 22px; }
.lp-shot__eeg { height: 90px; margin-bottom: 18px; }
.lp-shot__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 620px) { .lp-shot__grid { grid-template-columns: repeat(4, 1fr); } }
.lp-shot__stat { padding: 14px; border-radius: 12px; background: rgba(143,168,255,0.06); border: 1px solid rgba(143,168,255,0.12); text-align: left; }
.lp-shot__stat-v { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.lp-shot__stat-l { font-family: var(--na-font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--na-color-on-surface-muted); margin-top: 4px; }
.lp-float-card { position: absolute; padding: 12px 16px; border-radius: 14px; background: rgba(20,24,38,0.92); backdrop-filter: blur(14px); border: 1px solid rgba(143,168,255,0.25); box-shadow: 0 16px 40px -10px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
[data-theme="light"] .lp-float-card { background: rgba(255,255,255,0.95); }
.lp-float-card--a { top: 30px; left: -10px; animation: lp-bob 5s ease-in-out infinite; }
.lp-float-card--b { bottom: 40px; right: -10px; animation: lp-bob 6s ease-in-out infinite 0.5s; }
@media (max-width: 620px) { .lp-float-card { display: none; } }
.lp-float-card__ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }
@keyframes lp-bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@media (prefers-reduced-motion: reduce) { .lp-float-card { animation: none; } }

/* ---------- Marquee ---------- */
.lp-marquee { padding: 36px 0; border-block: 1px solid rgba(143,168,255,0.10); overflow: hidden; }
.lp-marquee__label { text-align: center; font-family: var(--na-font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--na-color-on-surface-muted); margin-bottom: 20px; }
.lp-marquee__track { display: flex; gap: 48px; width: max-content; animation: lp-scroll 26s linear infinite; }
.lp-marquee__track span { font-size: 18px; font-weight: 700; color: var(--na-color-on-surface-muted); opacity: 0.7; white-space: nowrap; }
@keyframes lp-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-marquee__track { animation: none; } }

/* ---------- Section ---------- */
.lp-sec { padding: 80px 0; }
.lp-sec__head { text-align: center; max-width: 64ch; margin: 0 auto 50px; }
.lp-eyebrow { font-family: var(--na-font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--na-color-primary-300); font-weight: 700; }
.lp-sec h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 12px 0 14px; }
.lp-sec__lede { font-size: 17px; line-height: 1.6; color: var(--na-color-on-surface-muted); }

/* ---------- Bento ---------- */
.lp-bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .lp-bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); } }
.lp-card { border-radius: 18px; padding: 24px; border: 1px solid rgba(143,168,255,0.14); background: rgba(20,24,38,0.55); backdrop-filter: blur(12px); position: relative; overflow: hidden; transition: transform .3s var(--lp-ease), border-color .3s; }
[data-theme="light"] .lp-card { background: rgba(255,255,255,0.7); border-color: rgba(15,23,42,0.07); }
.lp-card:hover { transform: translateY(-4px); border-color: rgba(143,168,255,0.4); }
.lp-card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; background: rgba(91,91,255,0.14); }
.lp-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.lp-card p { font-size: 14px; line-height: 1.6; color: var(--na-color-on-surface-muted); margin: 0; }
@media (min-width: 760px) {
  .lp-card--wide { grid-column: span 4; }
  .lp-card--tall { grid-column: span 2; grid-row: span 2; }
  .lp-card--sm { grid-column: span 2; }
  .lp-card--md { grid-column: span 3; }
}
.lp-card--feature { background: linear-gradient(135deg, rgba(91,91,255,0.18), rgba(122,63,228,0.12)); }
.lp-card__viz { margin-top: 18px; height: 80px; border-radius: 12px; background: rgba(10,15,31,0.5); overflow: hidden; }
.lp-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lp-card__tag { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(143,168,255,0.1); border: 1px solid rgba(143,168,255,0.18); color: var(--na-color-on-surface-muted); }

/* ---------- Stats band ---------- */
.lp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 44px; border-radius: 24px; background: linear-gradient(135deg, rgba(91,91,255,0.14), rgba(46,194,126,0.08)); border: 1px solid rgba(143,168,255,0.2); }
@media (min-width: 760px) { .lp-stats { grid-template-columns: repeat(4, 1fr); } }
.lp-stat { text-align: center; }
.lp-stat__v { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(120deg, #6E8BFF, #2EC27E); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-stat__l { font-size: 13px; color: var(--na-color-on-surface-muted); margin-top: 6px; }

/* ---------- Steps ---------- */
.lp-steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(3, 1fr); } }
.lp-step { padding: 26px; border-radius: 18px; border: 1px solid rgba(143,168,255,0.14); background: rgba(20,24,38,0.5); }
[data-theme="light"] .lp-step { background: rgba(255,255,255,0.7); }
.lp-step__n { font-family: var(--na-font-mono); font-size: 13px; font-weight: 800; color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#5B5BFF,#7A3FE4); margin-bottom: 16px; }
.lp-step h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.02em; }
.lp-step p { font-size: 14px; line-height: 1.6; color: var(--na-color-on-surface-muted); margin: 0; }

/* ---------- Testimonials ---------- */
.lp-quotes { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .lp-quotes { grid-template-columns: repeat(3, 1fr); } }
.lp-quote { padding: 26px; border-radius: 18px; border: 1px solid rgba(143,168,255,0.14); background: rgba(20,24,38,0.5); }
[data-theme="light"] .lp-quote { background: rgba(255,255,255,0.7); }
.lp-quote__text { font-size: 15px; line-height: 1.65; margin: 0 0 18px; }
.lp-quote__by { display: flex; align-items: center; gap: 10px; }
.lp-quote__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; background: linear-gradient(135deg,#5B5BFF,#7A3FE4); }
.lp-quote__name { font-size: 13px; font-weight: 700; }
.lp-quote__role { font-size: 11px; color: var(--na-color-on-surface-muted); }

/* ---------- Pricing ---------- */
.lp-prices { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .lp-prices { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.lp-price { padding: 30px; border-radius: 20px; border: 1px solid rgba(143,168,255,0.16); background: rgba(20,24,38,0.55); display: flex; flex-direction: column; }
[data-theme="light"] .lp-price { background: rgba(255,255,255,0.75); }
.lp-price--featured { border-color: rgba(91,91,255,0.55); background: linear-gradient(160deg, rgba(91,91,255,0.16), rgba(122,63,228,0.08)); box-shadow: 0 20px 50px -20px rgba(91,91,255,0.5); position: relative; }
.lp-price__tag { position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg,#5B5BFF,#7A3FE4); color: #fff; }
.lp-price__name { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--na-color-on-surface-muted); }
.lp-price__amt { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 4px; }
.lp-price__amt span { font-size: 14px; font-weight: 500; color: var(--na-color-on-surface-muted); }
.lp-price__list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lp-price__list li { font-size: 14px; display: flex; align-items: flex-start; gap: 9px; color: var(--na-color-on-surface-muted); }
.lp-price__list li::before { content: "✓"; color: #2EC27E; font-weight: 800; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq__item { border-bottom: 1px solid rgba(143,168,255,0.14); }
.lp-faq__q { width: 100%; text-align: left; background: none; border: none; color: var(--na-color-on-surface); padding: 20px 0; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lp-faq__q span:last-child { transition: transform .3s; flex-shrink: 0; color: var(--na-color-primary-300); font-size: 22px; }
.lp-faq__item.is-open .lp-faq__q span:last-child { transform: rotate(45deg); }
.lp-faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--lp-ease); }
.lp-faq__a p { font-size: 14px; line-height: 1.65; color: var(--na-color-on-surface-muted); margin: 0 0 20px; }

/* ---------- Final CTA ---------- */
.lp-final { text-align: center; padding: 64px 32px; border-radius: 28px; background: linear-gradient(135deg, #5B5BFF, #7A3FE4 60%, #3D5BD9); position: relative; overflow: hidden; }
.lp-final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 40%), radial-gradient(circle at 80% 80%, rgba(46,194,126,0.25), transparent 40%); }
.lp-final > * { position: relative; }
.lp-final h2 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.03em; color: #fff; margin: 0 0 14px; }
.lp-final p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 50ch; margin: 0 auto 28px; line-height: 1.5; }
.lp-final .lp-btn--primary { background: #fff; color: #2A1A6E; box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.lp-final .lp-btn--ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.3); }

/* ---------- Footer ---------- */
.lp-foot { padding: 56px 0 32px; border-top: 1px solid rgba(143,168,255,0.12); margin-top: 40px; }
.lp-foot__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 760px) { .lp-foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.lp-foot__intro p { font-size: 13px; line-height: 1.6; color: var(--na-color-on-surface-muted); margin: 14px 0 0; max-width: 38ch; }
.lp-foot h4 { font-size: 12px; font-family: var(--na-font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--na-color-on-surface-muted); margin: 0 0 14px; }
.lp-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-foot ul a { font-size: 14px; color: var(--na-color-on-surface-muted); text-decoration: none; }
.lp-foot ul a:hover { color: var(--na-color-on-surface); }
.lp-foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(143,168,255,0.1); font-size: 12px; color: var(--na-color-on-surface-muted); }

.lp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--lp-ease), transform .7s var(--lp-ease); }
.lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-reveal { opacity: 1; transform: none; } }
