/* ============================================================
   ChatScale Agency — neo-brutalist, dark
   Inspired by chatscaleagency.com (chunky type, hard offset
   shadows, multi-color accents) on a deep-navy base.
   Tailwind (CDN) handles layout; this owns tokens, texture,
   primitives, and every JS-toggled component/state class.
   ============================================================ */

:root {
  /* Neon accent set (from ChatScale) */
  --magenta: #fc3cf7;
  --turkis:  #23f3c6;
  --blau:    #00a6ff;
  --violet:  #a668ff;
  --coral:   #ff6f91;
  --aqua:    #87ffe8;

  --accent: var(--magenta);
  --accent-grad: linear-gradient(100deg, #fc3cf7, #a668ff 55%, #00a6ff);
  --accent-dim: rgba(252,60,247,.14);
  --accent-soft: linear-gradient(180deg, rgba(252,60,247,.12), rgba(166,104,255,.07));

  --bg: #0a1120;
  --bg-soft: #0c1426;
  --card: #0f1a33;
  --card-2: #132247;
  --line: rgba(255,255,255,.14);
  --line-soft: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.3);
  --edge: #04080f; /* ink border for the neo-brutalist edges */

  --text: #f5f7fa;
  --text-muted: #9aa6c2;
  --text-dim: #5e6a86;

  --radius: 18px;
  --radius-lg: 24px;
  /* neo-brutalist hard shadow (light, so it shows on dark) */
  --hard: 6px 6px 0 0 rgba(255,255,255,.9);
  --hard-sm: 4px 4px 0 0 rgba(255,255,255,.85);

  /* legacy aliases referenced by inline styles/markup */
  --c1: var(--turkis); --c2: var(--blau); --c3: var(--violet); --c4: var(--violet); --c5: var(--magenta);
  --grad: var(--accent-grad);
  --grad-soft: var(--accent-soft);
  --card-border: var(--line);
  --card-border-soft: var(--line-soft);
  --shadow: 0 24px 60px -28px rgba(0,0,0,.9);
  --glow: 0 0 40px -8px rgba(252,60,247,.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Syne", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient: floating color blobs + film grain */
body::before {
  content: "";
  position: fixed;
  inset: -10vh -8vw;
  z-index: -2;
  background:
    radial-gradient(36vw 36vw at 12% 12%, rgba(35,243,198,.12), transparent 60%),
    radial-gradient(40vw 40vw at 88% 4%, rgba(252,60,247,.16), transparent 62%),
    radial-gradient(40vw 40vw at 72% 90%, rgba(0,166,255,.12), transparent 64%),
    radial-gradient(34vw 34vw at 18% 88%, rgba(166,104,255,.12), transparent 62%);
  filter: blur(20px);
  animation: haze 22s ease-in-out infinite alternate;
}
@keyframes haze {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%,-1.5%,0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Chunky display headings, uppercase */
h1, h2, h3, h4, .display {
  font-family: "Dela Gothic One", "Syne", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.04;
  font-weight: 400;
  overflow-wrap: break-word;
}
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Eyebrow → ChatScale "pill tag" */
.eyebrow {
  display: inline-block;
  font-family: "Syne", sans-serif; font-weight: 800;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text);
  padding: 6px 14px; border-radius: 999px;
  border: 2px solid var(--line-strong); background: var(--card-2);
  box-shadow: var(--hard-sm);
  transform: rotate(-1deg);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--magenta); color: #fff;
  font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .01em;
  border: 2px solid var(--edge); cursor: pointer; padding: 14px 28px; border-radius: 999px;
  box-shadow: 5px 5px 0 0 var(--turkis);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 0 var(--turkis); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: 5px 5px 0 0 rgba(255,255,255,.15); filter: grayscale(.4); }
.btn:disabled:hover { transform: none; box-shadow: 5px 5px 0 0 rgba(255,255,255,.15); }
.btn:active { transform: translate(4px,4px); box-shadow: 0 0 0 0 var(--turkis); }
.btn-ghost {
  background: transparent; color: var(--text); border: 2px solid var(--line-strong);
  box-shadow: 5px 5px 0 0 rgba(255,255,255,.18);
}
.btn-ghost:hover { background: rgba(255,255,255,.05); transform: translate(2px,2px); box-shadow: 2px 2px 0 0 rgba(255,255,255,.18); }
.btn-accent { animation: ctaBreath 2.6s ease-in-out infinite; }
@keyframes ctaBreath { 0%,100% { box-shadow: 5px 5px 0 0 var(--turkis); } 50% { box-shadow: 7px 7px 0 0 var(--aqua); } }

/* ---- Brand mark ---- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: "Dela Gothic One", sans-serif; font-weight: 400; font-size: 1.05rem; letter-spacing: -.02em; text-transform: none; }
.logo svg, .logo img { width: 44px; height: 44px; object-fit: contain; }

/* ---- Status pill ("now hiring") ---- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Syne", sans-serif; font-size: .85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .03em;
  color: #06101f; background: var(--turkis);
  border: 2px solid var(--edge); padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--hard-sm); transform: rotate(-1deg);
}
.pill strong, .pill span:last-child { color: #0a1120; }
.spots-n { font-weight: 800; padding: 0 1px; }
.pill.spots-flash { animation: spotsFlash .65s ease; }
@keyframes spotsFlash {
  0%, 100% { transform: rotate(-1deg) scale(1); box-shadow: var(--hard-sm); }
  35% { transform: rotate(-1deg) scale(1.07); box-shadow: 0 0 0 5px rgba(35,243,198,.4), var(--hard-sm); }
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #0a1120; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.25; } }

/* Gradient hairline frame (feature panel) */
.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--accent-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,17,32,.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 2px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .links { display: flex; gap: 28px; font-weight: 700; font-size: .92rem; color: var(--text-muted); }
.nav .links a { transition: color .15s; }
.nav .links a:hover { color: var(--magenta); }
.nav .btn { padding: 10px 20px; font-size: .82rem; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-weight: 700; font-size: .9rem; transition: color .15s; }
.back-link:hover { color: var(--magenta); }

/* ============================================================
   DASHBOARD MOCKUP (hero on index)
   ============================================================ */
.mock { position: relative; background: var(--card); border: 3px solid var(--edge); border-radius: var(--radius-lg); box-shadow: 12px 12px 0 0 var(--magenta); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 2px solid var(--line-soft); background: rgba(255,255,255,.02); }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.3); }
.mock-body { display: grid; grid-template-columns: 1.3fr 1fr; }
.chat { padding: 22px; border-right: 2px solid var(--line-soft); }
.chat-h { font-family: "Syne", sans-serif; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); margin-bottom: 16px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 14px; margin-bottom: 11px; font-size: .92rem; }
.bubble.them { background: rgba(255,255,255,.05); border: 2px solid var(--line-soft); border-bottom-left-radius: 4px; }
.bubble.me { background: var(--magenta); border: 2px solid var(--edge); color: #fff; font-weight: 600; margin-left: auto; border-bottom-right-radius: 4px; }
.dash { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.earn { font-family: "Dela Gothic One", sans-serif; font-size: 2.1rem; letter-spacing: -.02em; color: var(--turkis); display: inline-block; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 88px; }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--turkis); border: 1px solid var(--edge); display: block; }
.kpi { display: flex; justify-content: space-between; font-size: .88rem; color: var(--text-muted); border-top: 2px solid var(--line-soft); padding-top: 12px; font-weight: 700; }
.kpi b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ============================================================
   CARDS / FEATURE TILES — neo-brutalist, multi-color
   ============================================================ */
.card {
  position: relative; background: var(--card);
  border: 3px solid var(--edge); border-radius: var(--radius);
  padding: 26px; box-shadow: 7px 7px 0 0 var(--sh, var(--magenta));
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(3px,3px); box-shadow: 3px 3px 0 0 var(--sh, var(--magenta)); }
.card-bare { background: none; border: 0; border-radius: 0; padding: 4px; box-shadow: none; }
.card-bare:hover { transform: none; box-shadow: none; }
.card:nth-child(5n+1){ --sh: var(--magenta); }
.card:nth-child(5n+2){ --sh: var(--turkis); }
.card:nth-child(5n+3){ --sh: var(--blau); }
.card:nth-child(5n+4){ --sh: var(--violet); }
.card:nth-child(5n+5){ --sh: var(--coral); }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--sh, var(--magenta)); color: #0a1120; border: 2px solid var(--edge);
  display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--hard-sm);
}
.card .ico svg { width: 24px; height: 24px; }
.card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: .94rem; font-weight: 500; }

/* Numbered steps */
.step-box { position: relative; background: var(--card); border: 3px solid var(--edge); border-radius: var(--radius); padding: 28px; box-shadow: 7px 7px 0 0 var(--sh, var(--blau)); transition: transform .15s, box-shadow .15s; }
.step-box:hover { transform: translate(3px,3px); box-shadow: 3px 3px 0 0 var(--sh, var(--blau)); }
.step-box:nth-child(3n+1){ --sh: var(--turkis); }
.step-box:nth-child(3n+2){ --sh: var(--magenta); }
.step-box:nth-child(3n+3){ --sh: var(--violet); }
.step-box .n { width: 48px; height: 48px; border-radius: 12px; background: var(--sh, var(--blau)); color: #0a1120; border: 2px solid var(--edge); display: grid; place-items: center; font-family: "Dela Gothic One", sans-serif; font-size: 1.1rem; margin-bottom: 16px; box-shadow: var(--hard-sm); }
.step-box h4 { margin-bottom: 6px; font-size: 1.12rem; }
.step-box p { color: var(--text-muted); font-size: .94rem; font-weight: 500; }

/* Requirement rows */
.req { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 3px solid var(--edge); border-radius: var(--radius); padding: 20px; box-shadow: 6px 6px 0 0 var(--sh, var(--turkis)); transition: transform .15s, box-shadow .15s; }
.req:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 0 var(--sh, var(--turkis)); }
.req:nth-child(4n+1){ --sh: var(--coral); } .req:nth-child(4n+2){ --sh: var(--violet); }
.req:nth-child(4n+3){ --sh: var(--turkis); } .req:nth-child(4n+4){ --sh: var(--blau); }
.req .tick { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--sh, var(--turkis)); border: 2px solid var(--edge); display: grid; place-items: center; color: #0a1120; font-weight: 800; }
.req h4 { font-size: 1rem; margin-bottom: 2px; }
.req p { color: var(--text-muted); font-size: .9rem; font-weight: 500; }

/* Stat chips */
.stat-chip { background: var(--card); border: 3px solid var(--edge); border-radius: var(--radius); padding: 18px 24px; min-width: 160px; box-shadow: var(--hard); }
.training-page .stat-chip { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 6px 18px; min-width: 0; }
.stat-chip .num { font-family: "Dela Gothic One", sans-serif; font-size: 1.6rem; letter-spacing: -.02em; }
.stat-chip .lbl { color: var(--text-muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

/* Hero trust strip (replaces boxed stat chips) */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; color: var(--text); }
.trust-strip svg { width: 22px; height: 22px; flex: none; color: #0a1120; background: var(--turkis); border: 2px solid var(--edge); border-radius: 7px; padding: 2px; box-shadow: 3px 3px 0 0 rgba(35,243,198,.4); }
.trust-strip span:nth-child(2) svg { background: var(--magenta); box-shadow: 3px 3px 0 0 rgba(252,60,247,.4); }
.trust-strip span:nth-child(3) svg { background: var(--blau); box-shadow: 3px 3px 0 0 rgba(0,166,255,.4); }
.trust-strip span:nth-child(4) svg { background: var(--violet); box-shadow: 3px 3px 0 0 rgba(166,104,255,.4); }

/* ============================================================
   FAQ — chunky accordion
   ============================================================ */
.qa { border: 3px solid var(--edge); background: var(--card); border-radius: var(--radius); margin-bottom: 14px; box-shadow: 5px 5px 0 0 rgba(255,255,255,.16); overflow: hidden; transition: box-shadow .3s ease; }
.qa.open { box-shadow: 5px 5px 0 0 var(--magenta); }
.qa-summary { width: 100%; text-align: left; background: transparent; border: 0; color: inherit; cursor: pointer; padding: 18px 20px; font-family: "Dela Gothic One", sans-serif; font-size: .92rem; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.qa-icon { font-size: 1.4rem; line-height: 1; color: #0a1120; background: var(--turkis); width: 30px; height: 30px; border: 2px solid var(--edge); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s ease, color .3s ease; }
.qa.open .qa-icon { transform: rotate(135deg); background: var(--magenta); color: #fff; }
.qa-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.4,0,.2,1); }
.qa.open .qa-body { grid-template-rows: 1fr; }
.qa-body-inner { overflow: hidden; }
.qa-body-inner p { padding: 4px 20px 20px; color: var(--text-muted); font-weight: 500; opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .35s ease; }
.qa.open .qa-body-inner p { opacity: 1; transform: none; transition-delay: .08s; }

/* ============================================================
   CTA banner
   ============================================================ */
.cta-banner { position: relative; text-align: center; border-radius: var(--radius-lg); padding: 60px 32px; overflow: hidden; background: var(--card-2); border: 3px solid var(--edge); box-shadow: 12px 12px 0 0 var(--magenta); transform: rotate(-1deg); animation: bannerBreath 6s ease-in-out infinite; }
.cta-banner > * { position: relative; z-index: 2; }
@keyframes bannerBreath {
  0%,100% { transform: rotate(-1deg)  translateY(0);     box-shadow: 12px 12px 0 0 var(--magenta); }
  50%     { transform: rotate(-.4deg) translateY(-4px);  box-shadow: 16px 16px 0 0 var(--turkis); }
}
.cta-banner .cash-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.cta-banner .cash-bg span { position: absolute; bottom: -3rem; opacity: 0; will-change: transform;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); animation: cashFloat 10s ease-in-out infinite; }
.cta-banner .cash-bg span:nth-child(3n)   { animation-duration: 13s; }
.cta-banner .cash-bg span:nth-child(3n+1) { animation-duration: 8.5s; }
@keyframes cashFloat {
  0%   { transform: translate(0, 0)        rotate(-15deg) scale(.9);  opacity: 0; }
  10%  { opacity: .6; }
  35%  { transform: translate(22px, -38%)  rotate(10deg)  scale(1.05); }
  65%  { transform: translate(-20px, -78%) rotate(-8deg)  scale(1);    opacity: .6; }
  100% { transform: translate(10px, -125%) rotate(16deg)  scale(.85);  opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-banner { animation: none; }
  .cta-banner .cash-bg span { animation: none; opacity: .25; }
}
.cta-banner .big { font-family: "Dela Gothic One", sans-serif; font-size: clamp(2.6rem,6vw,4rem); letter-spacing: -.02em; }
.cta-banner h2 { font-size: clamp(1.4rem,3vw,2rem); margin-bottom: 14px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; font-weight: 500; }
.cta-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 6px 0 28px; }

/* ============================================================
   Trust list (apply / tests)
   ============================================================ */
.trust-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ti { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--turkis); color: #0a1120; border: 2px solid var(--edge); display: grid; place-items: center; box-shadow: var(--hard-sm); }
.trust-item:nth-child(2n) .ti { background: var(--magenta); color: #fff; }
.trust-item:nth-child(3n) .ti { background: var(--blau); color: #fff; }
.trust-item h4 { font-size: 1rem; margin-bottom: 2px; }
.trust-item p { color: var(--text-muted); font-size: .9rem; font-weight: 500; }

/* ============================================================
   APPLY / TESTS page layout
   ============================================================ */
/* sticky footer: push footer to the bottom on short pages */
.apply-page { display: flex; flex-direction: column; min-height: 100vh; }
.apply-page .apply-section { flex: 1 0 auto; }
.apply-page footer { margin-top: auto; }

/* legal pages (privacy / terms) */
.legal { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem,5vw,3rem); margin-bottom: 6px; }
.legal .updated { color: var(--text-muted); font-weight: 700; font-size: .9rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal p { color: var(--text-muted); line-height: 1.75; font-size: .98rem; margin-bottom: 12px; }
.legal ul { margin: 10px 0 14px 20px; }
.legal li { color: var(--text-muted); line-height: 1.7; font-size: .98rem; margin-bottom: 6px; }
.legal a { color: var(--c2); text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 700; }
.apply-section { padding: 56px 0 88px; position: relative; }
.apply-head { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto 46px; }
.apply-head h1 { font-size: clamp(2.2rem,5vw,3.2rem); margin-bottom: 14px; }
.apply-head p { color: var(--text-muted); font-size: 1.05rem; font-weight: 500; }
.apply-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.apply-form { margin: 0; }
.apply-side h2 { font-size: clamp(1.6rem,3.5vw,2.2rem); margin-bottom: 14px; }
.apply-side > p { color: var(--text-muted); font-size: 1rem; font-weight: 500; }
@media (max-width: 920px) { .apply-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FORM / MULTI-STEP ASSESSMENT  (JS-bound — keep class names)
   ============================================================ */
.form-card { position: relative; background: var(--card); border: 3px solid var(--edge); border-radius: var(--radius-lg); box-shadow: 10px 10px 0 0 var(--violet); padding: 32px; }
.form-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card .muted { color: var(--text-muted); font-size: .85rem; margin-bottom: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.progress { height: 10px; background: rgba(255,255,255,.08); border: 2px solid var(--edge); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.progress-bar { height: 100%; width: 8%; background: var(--accent-grad); transition: width .4s cubic-bezier(.4,0,.2,1); }

.step { display: none; animation: fade .35s ease; }
.step.active { display: block; }
.screen { display: none; text-align: center; padding: 12px 0; }
.screen.active { display: block; animation: fade .35s ease; }
@keyframes fade { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:none;} }

.step-label { font-family: "Syne", sans-serif; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--magenta); font-weight: 800; margin-bottom: 16px; }
label.field { display: block; font-size: .9rem; font-weight: 800; margin: 16px 0 8px; }

input, select, textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 2px solid var(--line-strong);
  color: var(--text); border-radius: 12px; padding: 13px 14px; font-size: .98rem;
  font-family: inherit; font-weight: 500; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--magenta); box-shadow: 4px 4px 0 0 var(--magenta); }

/* Neo-brutalist checkbox */
input[type="checkbox"] {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; min-width: 28px; padding: 0; margin-top: 1px; flex: none;
  border: 2px solid var(--edge); border-radius: 8px;
  background: rgba(255,255,255,.06); box-shadow: 3px 3px 0 0 rgba(255,255,255,.18);
  cursor: pointer; position: relative;
  transition: background .15s ease, box-shadow .12s ease, transform .12s ease;
}
input[type="checkbox"]:hover { box-shadow: 3px 3px 0 0 var(--turkis); transform: translate(-1px,-1px); }
input[type="checkbox"]:checked { background: var(--turkis); box-shadow: 3px 3px 0 0 var(--turkis); }
input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 9px; top: 4px;
  width: 6px; height: 12px; border: solid #06101f; border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
input[type="checkbox"]:focus { box-shadow: 3px 3px 0 0 var(--turkis); border-color: var(--edge); }
input[type="checkbox"]:checked:focus { box-shadow: 3px 3px 0 0 var(--turkis); }
select option { background: var(--card); color: var(--text); }
textarea { font-family: "JetBrains Mono", ui-monospace, monospace; resize: none; }
textarea:disabled { opacity: .5; }
textarea.answer { font-family: inherit; resize: vertical; min-height: 84px; }

.opts { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.opt { position: relative; border: 2px solid var(--line-strong); background: rgba(255,255,255,.04); border-radius: 12px; padding: 14px; cursor: pointer; font-weight: 700; font-size: .94rem; text-align: center; transition: transform .12s, box-shadow .12s, background .15s, border-color .15s; }
.opt:hover { border-color: var(--edge); box-shadow: 4px 4px 0 0 var(--turkis); transform: translate(-1px,-1px); }
.opt.selected { border-color: var(--edge); background: var(--magenta); color: #fff; box-shadow: 4px 4px 0 0 var(--turkis); }

.form-nav { display: flex; gap: 12px; margin-top: 28px; }
.form-nav .btn { flex: 1; }
.err { color: var(--coral); font-size: .85rem; margin-top: 9px; display: none; font-weight: 700; }
.field-err { color: var(--coral); font-size: .8rem; margin-top: 6px; display: none; font-weight: 700; }
/* copyable Discord invite */
.invite-copy { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.invite-label { font-size: .82rem; color: var(--text-muted); font-weight: 700; }
.copy-chip { display: inline-flex; align-items: center; gap: 10px; width: auto; cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 600; font-size: .92rem; color: var(--text);
  background: rgba(255,255,255,.04); border: 2px solid var(--line-strong); border-radius: 12px; padding: 10px 14px;
  transition: transform .12s, box-shadow .12s, border-color .12s, background .15s; }
.copy-chip:hover { border-color: var(--edge); box-shadow: 4px 4px 0 0 var(--turkis); transform: translate(-1px,-1px); }
.copy-chip .copy-ico svg { width: 16px; height: 16px; display: block; }
.copy-chip.copied { border-color: var(--turkis); background: rgba(35,243,198,.12); color: var(--turkis); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--coral); }
input.invalid:focus, select.invalid:focus, textarea.invalid:focus { box-shadow: 4px 4px 0 0 var(--coral); }
.serious-note { border: 2px solid var(--coral); border-left-width: 6px; border-radius: var(--radius); background: rgba(255,111,145,.08); padding: 16px 18px; margin-bottom: 16px; }
.serious-note strong { display: block; color: var(--coral); font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: 6px; }
.serious-note p { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

.success { text-align: center; padding: 18px 0; }
.success .tickbig { width: 80px; height: 80px; border-radius: 50%; background: var(--turkis); color: #0a1120; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 18px; border: 3px solid var(--edge); box-shadow: var(--hard); }
.screen .big-emoji { font-size: 2.8rem; margin-bottom: 14px; }
.screen h3 { font-size: 1.5rem; margin-bottom: 10px; }
.screen p { color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.screen .note { font-size: .9rem; background: rgba(255,255,255,.04); border: 2px solid var(--line-strong); border-radius: 12px; padding: 14px 16px; margin: 18px 0; color: var(--text-muted); font-weight: 500; }
.screen.fail h3 { color: var(--coral); }

/* Assessment helpers */
.timer-chip { display: inline-flex; align-items: center; gap: 7px; font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: .82rem; color: #0a1120; background: var(--turkis); border: 2px solid var(--edge); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; font-variant-numeric: tabular-nums; box-shadow: var(--hard-sm); }
.timer-chip.warn { background: #ffd27a; }
.timer-chip.danger { background: var(--coral); color: #fff; }
.assess-q { font-family: "Dela Gothic One", sans-serif; font-size: 1.08rem; text-transform: none; margin: 4px 0 14px; line-height: 1.4; }
.assess-pass { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; font-weight: 600; }
.q-progress { font-family: "JetBrains Mono", monospace; font-size: .74rem; color: var(--magenta); margin-bottom: 12px; letter-spacing: .06em; font-weight: 600; }
.passage { background: rgba(255,255,255,.04); border: 2px solid var(--line-strong); border-left: 5px solid var(--turkis); border-radius: 12px; padding: 14px 16px; font-size: .96rem; line-height: 1.6; margin-bottom: 16px; color: var(--text); font-weight: 500; }

.type-target { background: rgba(255,255,255,.04); border: 2px solid var(--line-strong); border-radius: 12px; padding: 13px 15px; font-size: .94rem; line-height: 1.8; margin-bottom: 9px; user-select: none; font-family: "JetBrains Mono", ui-monospace, monospace; }
.type-target.scroll { height: 110px; overflow: hidden; position: relative; }
.type-scroll { display: block; transition: transform .1s ease; will-change: transform; white-space: pre-wrap; overflow-wrap: break-word; }
.type-target .ok { color: var(--turkis); }
.type-target .bad { color: var(--coral); background: rgba(255,111,145,.18); border-radius: 3px; }
.type-target .cur { background: rgba(252,60,247,.35); border-radius: 3px; }
.type-target .todo { color: var(--text-dim); }

.metrics { display: flex; gap: 10px; margin: 10px 0 2px; }
.metric { background: rgba(255,255,255,.04); border: 2px solid var(--line-strong); border-radius: 12px; padding: 10px 6px; flex: 1; text-align: center; transition: border-color .2s, box-shadow .2s; }
.metric .mv { font-family: "Dela Gothic One", sans-serif; font-size: 1.05rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric .ml { font-size: .7rem; color: var(--text-muted); margin-top: 3px; font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.metric .ml svg { width: 13px; height: 13px; flex: none; color: var(--turkis); }
.metric.good .ml svg { color: var(--turkis); }
.metric.bad .ml svg { color: var(--coral); }
.metric.good { border-color: var(--turkis); box-shadow: 3px 3px 0 0 var(--turkis); }
.metric.bad { border-color: var(--coral); box-shadow: 3px 3px 0 0 var(--coral); }

.test-status { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.04); border: 2px solid var(--line-strong); border-radius: 12px; padding: 16px; margin-bottom: 4px; color: var(--text-muted); font-size: .94rem; font-weight: 500; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line-strong); border-top-color: var(--magenta); animation: spin .8s linear infinite; flex: none; }
.q-loader { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 0 4px; color: var(--text-muted); font-weight: 700; font-size: .9rem; animation: fade .2s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   TRAINING modules
   ============================================================ */
.module { position: relative; background: var(--card); border: 3px solid var(--edge); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 28px; box-shadow: 10px 10px 0 0 var(--blau); }
.module:nth-child(even) { box-shadow: 10px 10px 0 0 var(--magenta); }
.part-badge { display: inline-flex; align-items: center; gap: 8px; font-family: "Syne", sans-serif; font-size: .88rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #06101f; background: var(--turkis); border: 2px solid var(--edge); padding: 8px 18px; border-radius: 999px; margin-bottom: 16px; box-shadow: var(--hard-sm); }
.module h3 { font-size: 1.5rem; margin-bottom: 8px; }
.module .lead { color: var(--text-muted); margin-bottom: 24px; max-width: 680px; font-weight: 500; }
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lesson { background: var(--bg-soft); border: 2px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.lesson:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 0 var(--turkis); border-color: var(--edge); }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-bottom: 2px solid var(--line-strong); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lesson-body { padding: 16px 18px; }
.lesson-body .ln { font-family: "JetBrains Mono", monospace; font-size: .7rem; color: var(--magenta); font-weight: 700; letter-spacing: .06em; }
.lesson-body h4 { font-size: 1.02rem; margin: 4px 0 5px; }
.lesson-body p { color: var(--text-muted); font-size: .89rem; font-weight: 500; }
.module-foot { margin-top: 22px; padding: 14px 16px; background: var(--accent-soft); border: 2px solid var(--line-strong); border-radius: 12px; font-size: .92rem; color: var(--text); font-weight: 500; }
@media (max-width: 1000px) { .lessons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .lessons { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 3px solid var(--line-soft); padding: 48px 0; color: var(--text-muted); font-size: .88rem; margin-top: 24px; font-weight: 500; }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 22px; align-items: center; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; }
.foot-links a { transition: color .15s; }
.foot-links a:hover { color: var(--magenta); }
.disclaimer { margin-top: 24px; font-size: .79rem; color: var(--text-dim); max-width: 780px; line-height: 1.6; }

/* ============================================================
   MODAL  (JS-bound: .modal-overlay.open)
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5,8,16,.74); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { position: relative; width: 100%; max-width: 440px; background: var(--card-2); border: 3px solid var(--edge); border-radius: var(--radius-lg); box-shadow: 12px 12px 0 0 var(--magenta); padding: 36px 30px 30px; text-align: center; transform: translateY(16px) rotate(-1deg) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.modal-overlay.open .modal { transform: rotate(-1deg); }
.modal-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--edge); background: var(--turkis); color: #0a1120; font-size: 1.25rem; line-height: 1; cursor: pointer; padding: 0; box-shadow: var(--hard-sm); transition: transform .12s; }
.modal-close:hover { transform: translate(2px,2px); box-shadow: none; }
.modal-emoji { font-size: 2.6rem; margin-bottom: 10px; }
.modal h3 { font-size: 1.45rem; margin-bottom: 8px; }
.modal > p { color: var(--text-muted); margin-bottom: 22px; font-weight: 500; }
.modal-stat { display: flex; align-items: center; gap: 16px; text-align: left; background: rgba(255,255,255,.04); border: 2px solid var(--line-strong); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.modal-stat .ms-num { font-family: "Dela Gothic One", sans-serif; font-size: 2.1rem; line-height: 1; flex: none; }
.modal-stat div:last-child { font-size: .92rem; color: var(--text-muted); font-weight: 500; }
.modal-region { background: var(--accent-soft); border: 2px solid var(--line-strong); border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; font-size: .92rem; color: var(--text-muted); font-weight: 500; }
.modal-region strong { color: var(--text); }

/* ============================================================
   "Alive" layer — reveal, marquee, live workspace
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
[data-count] { font-variant-numeric: tabular-nums; }

/* Brand marquee strip */
.marquee { overflow: hidden; border-top: 3px solid var(--edge); border-bottom: 3px solid var(--edge); padding: 14px 0; background: var(--magenta); transform: rotate(-1deg); margin: 8px 0; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: "Dela Gothic One", sans-serif; font-size: clamp(1.1rem,2.4vw,1.8rem); letter-spacing: -.01em; padding: 0 22px; white-space: nowrap; color: #fff; }
.marquee-track .on { color: #0a1120; }
.marquee-track .sep { color: var(--turkis); padding: 0 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Live dashboard bits */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--turkis); box-shadow: 0 0 8px var(--turkis); }
.mock.shake { animation: mockShake .45s ease-out; }
@keyframes mockShake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-4px)} 40%{transform:translateX(4px)} 60%{transform:translateX(-2px)} 80%{transform:translateX(2px)} }

.inbox { display: flex; flex-direction: column; gap: 4px; max-height: 300px; overflow: hidden; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 12px; border: 2px solid transparent; transition: background .3s ease, border-color .3s ease; }
.mrow.sale { background: rgba(35,243,198,.1); border-color: var(--turkis); }
.mav { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-family: "Dela Gothic One", sans-serif; font-size: .72rem; color: #0a1120; border: 2px solid var(--edge); flex: none; }
.mav.av-mint { background: var(--turkis); } .mav.av-cyan { background: var(--blau); }
.mav.av-violet { background: var(--violet); } .mav.av-rose { background: var(--coral); }
.mbody { flex: 1; min-width: 0; }
.mname { font-size: .8rem; font-weight: 800; color: var(--text); }
.mprev { font-size: .73rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.mprev.sale-text { color: var(--turkis); font-weight: 700; }
.mmeta { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.mtime { font-size: .65rem; color: var(--text-dim); }
.mamt { font-family: "Dela Gothic One", sans-serif; font-size: .78rem; color: var(--turkis); }

.mock-spark { height: 36px; width: 100%; }
.mock-spark svg { width: 100%; height: 100%; display: block; }
.spark-l { fill: none; stroke: var(--turkis); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark-f { fill: url(#mspark); opacity: .22; }
.earn-delta { font-family: "Dela Gothic One", sans-serif; font-size: .8rem; color: var(--turkis); opacity: 0; transition: opacity .3s ease; }
.earn-delta.show { opacity: 1; }
.earn.bump { animation: earnBump .5s cubic-bezier(.2,.8,.2,1); }
@keyframes earnBump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.14); } }

.mock-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 120; }

/* Live activity toasts (social proof) */
.toast-wrap { position: fixed; left: 20px; bottom: 20px; z-index: 150; display: flex; flex-direction: column; gap: 10px; width: 300px; max-width: calc(100vw - 40px); pointer-events: none; }
.toast { display: flex; gap: 12px; align-items: center; background: #0b1322; border: 2px solid var(--edge); border-radius: 14px; padding: 11px 14px; box-shadow: 5px 5px 0 0 var(--turkis); transform: translateX(-130%); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease; }
.toast.in { transform: none; opacity: 1; }
.toast .td { width: 36px; height: 36px; border-radius: 9px; background: var(--turkis); color: #0a1120; border: 2px solid var(--edge); display: grid; place-items: center; flex: none; }
.toast .td svg { width: 18px; height: 18px; }
.toast .tt { font-size: .92rem; font-weight: 700; color: #ffffff; line-height: 1.25; }
.toast .ts { font-size: .74rem; color: var(--text-muted); margin-top: 2px; font-weight: 600; }
@media (max-width: 560px) { .toast-wrap { left: 12px; bottom: 12px; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-accent { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .nav .links { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .chat { border-right: none; border-bottom: 2px solid var(--line-soft); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 58px; }
  .logo { font-size: .92rem; gap: 8px; letter-spacing: -.03em; }
  .logo svg, .logo img { width: 34px; height: 34px; }
  .logo-suffix { display: none; }
  .nav .btn { padding: 9px 15px; font-size: .72rem; box-shadow: 3px 3px 0 0 var(--turkis); }
  .nav .btn:hover { box-shadow: 1px 1px 0 0 var(--turkis); }
  .back-link { font-size: .82rem; }

  /* calmer surfaces + spacing on phones */
  .card, .step-box, .module { padding: 22px; }
  .card, .step-box, .req { box-shadow: 5px 5px 0 0 var(--sh, var(--magenta)); }
  .cta-banner { padding: 40px 20px; box-shadow: 7px 7px 0 0 var(--magenta); transform: none; animation: none; }
  .cta-banner .big { font-size: clamp(2.2rem, 12vw, 2.9rem); }
  .marquee { transform: none; }
  .marquee-track span { font-size: 1.15rem; padding: 0 16px; }
  .marquee-track { animation-duration: 18s; }
  .form-card { padding: 22px; box-shadow: 7px 7px 0 0 var(--violet); }
  .mock { box-shadow: 7px 7px 0 0 var(--magenta); }
  .modal { box-shadow: 8px 8px 0 0 var(--magenta); }
  .trust-strip { gap: 10px 16px; }
  .trust-strip span { font-size: .88rem; }
  .apply-section { padding: 40px 0 64px; }
  footer { padding: 36px 0; }
  /* 16px inputs stop iOS Safari from auto-zooming on focus */
  input, select, textarea { font-size: 16px; padding: 12px 13px; }
  .serious-note { padding: 14px 15px; }
  .form-nav { flex-direction: column; }
}
@media (max-width: 540px) {
  .opts { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .mock { box-shadow: 7px 7px 0 0 var(--magenta); }
  /* training: keep stats and floating cash proportional on phones */
  .cta-stats { gap: 10px; }
  .training-page .stat-chip { padding: 4px 10px; }
  .stat-chip .num { font-size: 1.3rem; }
  .cta-banner .cash-bg span { font-size: 1.6rem !important; }
  /* keep the 3-up metric rows from cramping on small phones */
  .metrics { gap: 7px; }
  .metric { padding: 9px 4px; }
  .metric .mv { font-size: .92rem; }
  .metric .ml { font-size: .62rem; gap: 3px; }
  .metric .ml svg { width: 11px; height: 11px; }
  .timer-chip { font-size: .78rem; }
}

/* Custom interactive image micro-animations */
.neo-img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.neo-img:hover {
  transform: scale(1.04) !important;
}

/* ============================================================
   TRAINING Page legibility overrides
   ============================================================ */
.training-page h1,
.training-page h2,
.training-page h3,
.training-page h4,
.training-page .display,
.training-page .btn,
.training-page .stat-chip .num,
.training-page .cta-banner .big {
  font-family: "Syne", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 800 !important;
}






