/* =====================================================================
   DNA FUTURE LAYER — dreamneetacademy.com  (v26, Oct 2026)
   Loads after style.css on every page. Adds the futuristic look:
   neon HUD panels, DNA-helix hero, scroll reveals, glow, tilt, marquee,
   live widgets and simulators. Everything degrades to the plain site if
   this file fails, and all motion stops for "reduce motion" users.
   Font: Space Grotesk (SIL Open Font License), self-hosted.
   ===================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --cyan: #38e1ff;
  --cyan-soft: rgba(56, 225, 255, .16);
  --violet: #8b7bff;
  --neon-gold: #ffd54a;
  --glass: rgba(255, 255, 255, .06);
  --glass-line: rgba(255, 255, 255, .14);
  --display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Typography ---------- */
h1, h2, .hstat b, .tile b, .fx-num, .timing-chip b, .result-box strong {
  font-family: var(--display); letter-spacing: -.01em;
}
h1 { font-weight: 700; }
h2 { font-weight: 700; }

/* ---------- Scroll progress ---------- */
.fx-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--neon-gold) 40%, var(--cyan));
  box-shadow: 0 0 12px rgba(56, 225, 255, .7);
  pointer-events: none;
}

/* ---------- Header: glass that firms up on scroll ---------- */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.fx-scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 30px rgba(7, 27, 56, .12);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.site-header.fx-scrolled::after { opacity: .8; }
.brand img { transition: transform .6s var(--ease-out); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }

/* ---------- Buttons: shine + ripple + glow ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .2s var(--ease-out), box-shadow .25s ease, filter .15s ease, background .15s ease; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 8px 28px rgba(245, 197, 24, .45); }
.btn-green:hover { box-shadow: 0 8px 28px rgba(27, 122, 62, .4); }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(56, 225, 255, .35); border-color: var(--cyan); }
.fx-ripple {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: rgba(255, 255, 255, .5); transform: scale(0); animation: fxRipple .6s ease-out forwards;
}
@keyframes fxRipple { to { transform: scale(4); opacity: 0; } }
.hero-cta .btn-gold { animation: fxGlow 2.8s ease-in-out infinite; }
@keyframes fxGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 213, 74, .0), 0 6px 20px rgba(245, 197, 24, .25); }
  50% { box-shadow: 0 0 0 6px rgba(255, 213, 74, .12), 0 8px 34px rgba(245, 197, 24, .5); }
}

/* ---------- Hero: DNA helix + grid + aurora ---------- */
.hero, .pagehead { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .pagehead::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 140%; z-index: -1;
  background:
    linear-gradient(rgba(56, 225, 255, .07) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(56, 225, 255, .07) 1px, transparent 1px) 0 0 / 46px 46px;
  transform: perspective(700px) rotateX(58deg) translateY(30%);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  animation: fxGridMove 9s linear infinite;
}
@keyframes fxGridMove { to { background-position: 0 46px, 0 0; } }
.hero::after, .pagehead::after {
  content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%;
  right: -180px; top: -260px; filter: blur(70px); opacity: .55;
  background: radial-gradient(circle, rgba(56, 225, 255, .35), rgba(139, 123, 255, .18) 45%, transparent 70%);
  animation: fxFloat 14s ease-in-out infinite alternate;
}
@keyframes fxFloat { to { transform: translate(-120px, 80px) scale(1.15); } }
.fx-helix { position: absolute; z-index: -1; pointer-events: none; }
.hero .fx-helix { right: 0; top: 0; width: 46%; height: 100%; opacity: .95; }
.pagehead .fx-helix { right: 0; top: 0; width: 40%; height: 100%; opacity: .55; }
@media (max-width: 900px) {
  .hero .fx-helix { width: 100%; opacity: .35; }
  .pagehead .fx-helix { width: 70%; opacity: .3; }
}

.hero h1 .hl {
  background: linear-gradient(90deg, #ffd54a, #fff1a8 30%, #ffd54a 50%, #38e1ff 85%, #ffd54a);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fxShimmer 7s linear infinite;
}
@keyframes fxShimmer { to { background-position: -250% 0; } }
.hero-motto { display: inline-flex; align-items: center; gap: 10px; }
.hero-motto::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(56, 225, 255, .7); animation: fxPing 2s ease-out infinite; flex-shrink: 0;
}
@keyframes fxPing { 70% { box-shadow: 0 0 0 10px rgba(56, 225, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 225, 255, 0); } }

/* HUD card with corner brackets + scan line */
.hero-card, .fx-hud {
  position: relative; background: rgba(10, 31, 61, .45);
  border: 1px solid rgba(56, 225, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 30px 60px rgba(0, 0, 0, .25);
}
.hero-card::before, .fx-hud::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) top left / 22px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) top left / 2px 22px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 22px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 2px 22px no-repeat;
}
.hero-card::after, .fx-hud::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(56, 225, 255, .10) 50%, transparent);
  animation: fxScan 5.5s ease-in-out infinite; opacity: .7;
}
@keyframes fxScan { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }
.hstat {
  position: relative; border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .35s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.hstat:hover { transform: translateY(-4px); border-color: rgba(56, 225, 255, .55); box-shadow: 0 0 26px rgba(56, 225, 255, .18); }
.hstat b { text-shadow: 0 0 18px rgba(255, 213, 74, .35); white-space: nowrap; }
@media (max-width: 420px) { .hstat { padding: 14px 8px; } .hstat b { font-size: 18px; } }

/* ---------- Marquee strip ---------- */
.strip.fx-marquee { overflow: hidden; padding-left: 0; padding-right: 0; white-space: nowrap; }
.fx-marquee-track { display: inline-flex; animation: fxMarquee 28s linear infinite; }
.fx-marquee-track > span { padding: 0 28px; }
.strip.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }
@keyframes fxMarquee { to { transform: translateX(-50%); } }

/* ---------- Scroll reveal ---------- */
.fx-reveal { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(4px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: var(--fx-d, 0s); }
.fx-reveal.fx-in { opacity: 1; transform: none; filter: none; }

/* ---------- Cards: spotlight glow + tilt ---------- */
.card, .flow-step, .dark-card, .tool-tile { --mx: 50%; --my: 50%; }
.card, .flow-step { position: relative; }
.card::after, .flow-step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  transition: opacity .3s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(56, 225, 255, .12), transparent 45%);
}
.card:hover::after, .flow-step:hover::after { opacity: 1; }
.dark-card { position: relative; transition: transform .35s var(--ease-out), border-color .3s ease, background .3s ease; }
.dark-card:hover {
  transform: translateY(-4px); border-color: rgba(56, 225, 255, .5);
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(56, 225, 255, .14), rgba(255, 255, 255, .05) 60%);
}
.fx-tilt { transform-style: preserve-3d; will-change: transform; transition: transform .25s ease-out, box-shadow .3s ease; }
.icon-badge { transition: transform .5s var(--ease-out); }
.card:hover .icon-badge { transform: rotate(-8deg) scale(1.12); }

/* Flow steps: glowing numbers + travelling line */
.flow { position: relative; }
.flow-step .num { transition: box-shadow .4s ease, transform .4s var(--ease-out); }
.flow-step.fx-in .num { animation: fxNumPop .7s var(--ease-out) both; animation-delay: var(--fx-d, 0s); }
@keyframes fxNumPop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 197, 24, .18), 0 0 22px rgba(245, 197, 24, .45); } }

/* Dark sections: slow aurora */
.section.dark { position: relative; overflow: hidden; isolation: isolate; }
.section.dark::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; opacity: .5;
  background:
    radial-gradient(40% 35% at 20% 30%, rgba(56, 225, 255, .18), transparent 70%),
    radial-gradient(35% 30% at 80% 70%, rgba(139, 123, 255, .16), transparent 70%),
    radial-gradient(30% 30% at 60% 10%, rgba(245, 197, 24, .10), transparent 70%);
  animation: fxAurora 18s ease-in-out infinite alternate;
}
@keyframes fxAurora { to { transform: rotate(14deg) scale(1.1); } }

/* Table rows light up */
.table-wrap tbody tr { transition: background .2s ease; }
.table-wrap tbody tr:hover { background: rgba(56, 225, 255, .07); }

/* ---------- Floating buttons ---------- */
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: fxWave 2.6s ease-out infinite; pointer-events: none;
}
.wa-float::after { animation-delay: 1.3s; }
@keyframes fxWave { from { transform: scale(1); opacity: .7; } to { transform: scale(1.7); opacity: 0; } }
.fx-top {
  position: fixed; right: 24px; bottom: 88px; z-index: 79; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--navy-800); color: #fff; font-size: 18px; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(14px) scale(.8); pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease-out);
}
.fx-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fx-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.fx-top circle { fill: none; stroke-width: 3; }
.fx-top .trk { stroke: rgba(255, 255, 255, .15); }
.fx-top .bar { stroke: var(--neon-gold); stroke-linecap: round; }

/* ---------- Layout fixes (mobile overflow) ---------- */
.result-grid.r3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 860px) { .result-grid.r3 { grid-template-columns: 1fr; } }
.flow.f3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .flow.f3 { grid-template-columns: 1fr; } }
.g2.g2-keep { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .g2.g2-keep { grid-template-columns: 1fr; } }

/* =====================================================================
   DNA LIVE (home page HUD) + SIMULATORS
   ===================================================================== */
.fx-live { background: linear-gradient(160deg, #061630 0%, #0a1f3d 55%, #0e2c57 100%); color: #fff; }
.fx-live h2, .fx-live h3 { color: #fff; }
.fx-live p { color: #b9c6da; }
.fx-live .eyebrow { background: var(--cyan-soft); color: var(--cyan); }
.fx-live-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 980px) { .fx-live-grid { grid-template-columns: 1fr 1fr; } .fx-live-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .fx-live-grid { grid-template-columns: 1fr; } }
.fx-hud { border-radius: 18px; padding: 22px; overflow: hidden; }
.fx-hud h3 { font-family: var(--display); font-size: 18px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.fx-hud .fx-tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
}
.fx-dot { width: 8px; height: 8px; border-radius: 50%; background: #3dff8a; box-shadow: 0 0 10px #3dff8a; animation: fxBlink 1.4s ease-in-out infinite; }
@keyframes fxBlink { 50% { opacity: .25; } }

/* Campus clock */
.fx-clock-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.fx-clock { width: 168px; height: 168px; flex-shrink: 0; }
.fx-clock text { font-family: var(--display); }
.fx-status { flex: 1; min-width: 180px; }
.fx-status .fx-time { font-family: var(--display); font-size: 30px; font-weight: 700; color: #fff; line-height: 1.1; }
.fx-status .fx-time small { font-size: 13px; color: var(--cyan); font-weight: 600; margin-left: 6px; }
.fx-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; font-size: 13.5px; color: #c6d2e4; line-height: 1.45; }
.fx-row i { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; margin-top: 4px; }
.fx-row b { color: #fff; }
.fx-note { font-size: 11.5px; color: #8ea3c0; margin: 12px 0 0; }

/* Countdown */
.fx-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 8px; }
.fx-count div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(56, 225, 255, .2); border-radius: 12px; padding: 10px 4px; text-align: center; }
.fx-count b { display: block; font-family: var(--display); font-size: 26px; color: var(--neon-gold); line-height: 1.1; font-variant-numeric: tabular-nums; text-shadow: 0 0 16px rgba(255, 213, 74, .35); }
.fx-count span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8ea3c0; }
.fx-meter { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 12px; }
.fx-meter > i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--cyan)); box-shadow: 0 0 14px rgba(56, 225, 255, .6); transition: width 1.4s var(--ease-out); }

/* Challenge launcher */
.fx-launch { display: flex; flex-direction: column; height: 100%; }
.fx-launch .fx-orb {
  width: 74px; height: 74px; border-radius: 50%; margin: 6px 0 14px; display: grid; place-items: center; font-size: 30px;
  background: radial-gradient(circle at 35% 30%, #5ff0ff, #1a5fb4 60%, #0a1f3d);
  box-shadow: 0 0 0 6px rgba(56, 225, 255, .1), 0 0 40px rgba(56, 225, 255, .45);
  animation: fxBob 3.6s ease-in-out infinite;
}
@keyframes fxBob { 50% { transform: translateY(-6px); } }
.fx-launch .btn { margin-top: auto; align-self: flex-start; }
.fx-launch ul { margin: 0 0 16px; }
.fx-launch li { font-size: 13.5px; color: #c6d2e4; padding-left: 18px; position: relative; margin-bottom: 4px; }
.fx-launch li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); }

/* ---------- Score simulator (tools page) ---------- */
.fx-sim { display: grid; grid-template-columns: 1.25fr .9fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .fx-sim { grid-template-columns: 1fr; } }
.fx-subj { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; position: relative; overflow: hidden; }
.fx-subj::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--blue)); }
.fx-subj-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fx-subj-head h4 { margin: 0; font-family: var(--display); }
.fx-subj-head span { font-size: 12.5px; color: var(--text-soft); }
.fx-subj-score { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy-800); }
.fx-slide { display: grid; grid-template-columns: 92px 1fr 46px; gap: 10px; align-items: center; margin-top: 12px; font-size: 13.5px; }
.fx-slide label { font-weight: 800; color: var(--text); }
.fx-slide output { font-family: var(--display); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.fx-slide input[type=range] { width: 100%; height: 10px; margin: 0;
  background: linear-gradient(90deg, var(--c, var(--blue)) 0 var(--p, 0%), #dfe6f0 var(--p, 0%) 100%); }
.fx-slide input[type=range].w { background: linear-gradient(90deg, #e0533d 0 var(--p, 0%), #dfe6f0 var(--p, 0%) 100%); }
.fx-slide input[type=range]::-webkit-slider-thumb { width: 24px; height: 24px; border: 3px solid #fff; background: var(--c, var(--blue)); box-shadow: 0 0 0 1px rgba(7,27,56,.15), 0 2px 10px rgba(7,27,56,.3); }
.fx-slide input[type=range].w::-webkit-slider-thumb { background: #e0533d; }
.fx-slide input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid #fff; background: var(--c, var(--blue)); }
.fx-slide input[type=range].w::-moz-range-thumb { background: #e0533d; }
.fx-stack { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--bg-soft); margin-top: 12px; }
.fx-stack i { display: block; height: 100%; transition: width .4s var(--ease-out); }
.fx-stack .ok { background: #1b9e55; } .fx-stack .bad { background: #e0533d; } .fx-stack .skip { background: #cfd8e5; }
.fx-result {
  position: sticky; top: 92px; border-radius: 20px; padding: 26px; color: #fff; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #14457f, #0a1f3d 60%, #061630);
  border: 1px solid rgba(56, 225, 255, .25); box-shadow: 0 30px 60px rgba(7, 27, 56, .25); overflow: hidden;
}
.fx-result h3 { color: #fff; font-family: var(--display); margin-bottom: 4px; }
.fx-gauge { width: 230px; max-width: 100%; margin: 6px auto 0; display: block; }
.fx-gauge text { font-family: var(--display); }
.fx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 16px; }
.fx-kpis div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px 4px; }
.fx-kpis b { display: block; font-family: var(--display); font-size: 19px; color: var(--neon-gold); }
.fx-kpis span { font-size: 11px; color: #a9bad2; text-transform: uppercase; letter-spacing: .06em; }
.fx-result p { color: #b9c6da; font-size: 13.5px; }
.fx-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.fx-presets button { border: 1px solid var(--border); background: #fff; border-radius: 99px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--navy-800); transition: all .2s ease; }
.fx-presets button:hover { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }

/* ---------- 60-second challenge modal ---------- */
.fx-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 12, 28, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fx-modal.open { display: flex; animation: fxFade .3s ease; }
@keyframes fxFade { from { opacity: 0; } }
.fx-quiz {
  width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; border-radius: 22px; padding: 24px; color: #fff;
  background: radial-gradient(120% 80% at 50% 0%, #123d72, #0a1f3d 55%, #061630);
  border: 1px solid rgba(56, 225, 255, .3); box-shadow: 0 0 60px rgba(56, 225, 255, .18);
  animation: fxPop .45s var(--ease-out);
}
@keyframes fxPop { from { transform: scale(.92) translateY(10px); opacity: 0; } }
.fx-quiz h3 { color: #fff; font-family: var(--display); margin: 0; }
.fx-quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.fx-quiz-top .x { background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; }
.fx-qmeta { display: flex; justify-content: space-between; font-size: 12.5px; color: #8ea3c0; margin-bottom: 8px; font-weight: 700; letter-spacing: .04em; }
.fx-timer { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-bottom: 18px; }
.fx-timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #3dff8a, var(--neon-gold), #ff5d4a); background-size: 300% 100%; transform-origin: 0 50%; }
.fx-q { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 0 0 16px; color: #fff; }
.fx-q small { display: block; font-size: 11.5px; color: var(--cyan); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.fx-opts { display: grid; gap: 10px; }
.fx-opts button {
  text-align: left; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05); color: #fff; font-size: 15px; font-weight: 600; transition: all .18s ease;
}
.fx-opts button:hover:not(:disabled) { border-color: var(--cyan); background: rgba(56, 225, 255, .1); transform: translateX(4px); }
.fx-opts button.ok { border-color: #3dff8a; background: rgba(61, 255, 138, .16); }
.fx-opts button.bad { border-color: #ff5d4a; background: rgba(255, 93, 74, .16); animation: fxShake .35s; }
@keyframes fxShake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.fx-quiz-end { text-align: center; }
.fx-quiz-end .big { font-family: var(--display); font-size: 58px; font-weight: 700; color: var(--neon-gold); line-height: 1; text-shadow: 0 0 30px rgba(255, 213, 74, .4); }
.fx-quiz-end p { color: #c6d2e4; }
.fx-quiz .fx-mute { background: none; border: 0; color: #8ea3c0; font-size: 18px; }
.fx-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 310; }

/* Enquiry form polish */
#enquiry-form .req { color: #d93025; margin-left: 3px; font-weight: 900; }
.fx-legend { font-size: 12.5px; color: var(--text-soft); margin: -4px 0 14px; }
.fx-mob { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fx-mob:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 95, 180, .15); }
.fx-mob span.pre { display: flex; align-items: center; padding: 0 12px; background: var(--bg-soft); font-weight: 800; color: var(--navy-800); border-right: 1px solid var(--border); }
.fx-mob input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; letter-spacing: .12em; font-variant-numeric: tabular-nums; font-weight: 700; }
.fx-mob em { display: flex; align-items: center; padding: 0 12px; font-style: normal; font-size: 12px; font-weight: 800; color: var(--text-soft); }
.fx-mob.full em { color: var(--green); }
.fx-wa-done { display: none; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #e9f9ef; border: 1px solid #b6e7c8; font-size: 14px; color: #14532d; }
.fx-wa-done.show { display: block; animation: fxPop .4s var(--ease-out); }
.fx-wa-done a { display: inline-block; margin-top: 8px; }

/* ---------- Reduced motion: everything calm ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .pagehead::before, .hero::after, .pagehead::after, .section.dark::before,
  .hero-card::after, .fx-hud::after, .hero h1 .hl, .hero-motto::before, .hero-cta .btn-gold,
  .fx-marquee-track, .wa-float::before, .wa-float::after, .fx-launch .fx-orb, .fx-dot { animation: none !important; }
  .fx-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .fx-helix { display: none; }
  .btn::before { display: none; }
}
@media print {
  .fx-progress, .fx-top, .fx-helix, .fx-modal, .wa-float { display: none !important; }
  .fx-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
