/* ============================================================
   BellTeck · NDIS Ready — shared design system
   Aesthetic: futuristic, crisp, professional, uncluttered
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-900: #0a1330;
  --navy-800: #0f1c44;
  --navy-700: #16265c;
  --ink: #111a2e;
  --slate: #475069;
  --slate-light: #6b7590;
  --line: #e4e8f2;
  --bg: #f6f8fc;
  --white: #ffffff;
  --cyan: #19e3d3;
  --cyan-deep: #0bb6c7;
  --indigo: #5b6cff;
  --violet: #8a5bff;

  --red: #ff4d6d;
  --red-soft: #fff0f3;
  --amber: #f7a83a;
  --amber-soft: #fff7ea;
  --green: #20c997;
  --green-soft: #eafaf3;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,26,46,.06), 0 2px 8px rgba(16,26,46,.05);
  --shadow-md: 0 10px 30px rgba(16,26,46,.10);
  --shadow-glow: 0 0 0 1px rgba(25,227,211,.25), 0 12px 40px rgba(25,227,211,.12);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #d7e0fb;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(720px 460px at 82% -4%, rgba(91,108,255,.42), transparent 60%),
    radial-gradient(680px 520px at 4% 6%, rgba(25,227,211,.28), transparent 55%),
    radial-gradient(620px 520px at 92% 42%, rgba(11,182,199,.20), transparent 55%),
    radial-gradient(760px 620px at 10% 74%, rgba(138,91,255,.28), transparent 60%),
    radial-gradient(700px 560px at 58% 112%, rgba(91,108,255,.24), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800) 50%, var(--navy-900));
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* global grid overlay — the hero look applied site-wide */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(150% 100% at 50% 0%, #000 55%, transparent 95%);
  -webkit-mask-image: radial-gradient(150% 100% at 50% 0%, #000 55%, transparent 95%);
}
.nav, main, section, footer { position: relative; z-index: 1; }
h1, h2, h3, .brand-mark, .stepper, .kicker { font-family: 'Space Grotesk', 'Inter', sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-deep);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--indigo)); border-radius: 2px; }

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10,18,44,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: radial-gradient(120% 120% at 20% 10%, var(--cyan), var(--indigo) 60%, var(--violet));
  position: relative; box-shadow: var(--shadow-sm);
}
.brand-logo::after {
  content: ""; position: absolute; inset: 7px;
  border-radius: 5px; border: 2px solid rgba(255,255,255,.85);
  border-bottom-color: transparent; border-right-color: transparent;
  transform: rotate(45deg);
}
.brand-mark { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-mark span { color: var(--cyan-deep); }
.brand-sub { font-size: 11px; color: #8ea0cf; letter-spacing: .12em; text-transform: uppercase; margin-top: -3px; }
.brand-mark { color: #eef2ff; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14.5px; color: #c2cdec; font-weight: 500; }
.nav-links a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  color: #04121a;
  background: linear-gradient(100deg, var(--cyan), #4be0ff 55%, var(--indigo));
  box-shadow: 0 8px 24px rgba(25,170,227,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(25,170,227,.38); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--slate-light); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(91,108,255,.45), transparent 60%),
    radial-gradient(720px 420px at 8% 6%, rgba(25,227,211,.30), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #eaf0ff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 78%);
}
.hero-inner { position: relative; padding: 92px 0 104px; }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.02em;
  font-weight: 700; max-width: 16ch; margin: 22px 0 0;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--cyan), #79e7ff 55%, #b6a0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(16px, 1.7vw, 19px); color: #b9c5ec; max-width: 56ch; margin: 22px 0 34px; }
.hero .kicker { color: var(--cyan); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { color: #8ea0cf; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(25,227,211,.18); }

.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 54px; }
.hero-badge { display: flex; flex-direction: column; gap: 2px; }
.hero-badge b { font-family: 'Space Grotesk'; font-size: 26px; color: #fff; }
.hero-badge span { font-size: 13px; color: #8ea0cf; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.02em; margin-top: 14px; line-height: 1.1; color: #f2f5ff; }
.section-head p { color: #aab8df; font-size: 17px; margin-top: 14px; }
.muted { color: #aab8df; }
.card .muted, .panel .muted, .summary-box .muted { color: var(--slate); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgba(248,250,255,.93); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-lg);
  padding: 30px; color: var(--ink); box-shadow: 0 16px 44px rgba(4,9,28,.34);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(4,9,28,.42); border-color: rgba(255,255,255,.75); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(25,227,211,.16), rgba(91,108,255,.16));
  color: var(--cyan-deep); margin-bottom: 18px; font-size: 22px;
}
.card h3 { font-size: 19px; letter-spacing: -.01em; }
.card p { color: var(--slate); font-size: 15px; margin-top: 9px; }
.step-num { font-family: 'Space Grotesk'; font-weight: 700; color: var(--cyan-deep); font-size: 14px; letter-spacing: .1em; }

/* band */
.band { background: transparent; }

/* CTA strip */
.cta-strip {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(700px 300px at 85% 0%, rgba(91,108,255,.5), transparent 60%), linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #eaf0ff; padding: 52px; text-align: center;
}
.cta-strip h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.cta-strip p { color: #b9c5ec; margin: 12px auto 26px; max-width: 50ch; }

/* footer */
.footer { background: var(--navy-900); color: #9fb0d8; padding: 52px 0 38px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand-mark { color: #fff; }
.footer p { font-size: 14px; max-width: 42ch; margin-top: 12px; }
.footer-links { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-col h4 { color: #cdd8f2; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; padding: 5px 0; color: #9fb0d8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 34px; padding-top: 22px; font-size: 12.5px; color: #6f80ab; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   QUIZ
   ============================================================ */
.quiz-bg { min-height: 100vh; }
.quiz-shell { max-width: 940px; margin: 0 auto; padding: 32px 24px 80px; }

.progress-wrap { margin: 8px 0 30px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--slate); margin-bottom: 9px; font-weight: 500; }
.progress-track { height: 8px; background: #e7ecf6; border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--indigo)); transition: width .45s cubic-bezier(.4,0,.2,1); }

.panel {
  background: rgba(249,251,255,.94); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius-lg);
  padding: 30px 34px; color: var(--ink);
  box-shadow: 0 20px 56px rgba(4,9,28,.42); animation: rise .45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.module-tag { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color: var(--indigo); }
.module-tag .pill { background: rgba(91,108,255,.12); color: var(--indigo); padding: 3px 10px; border-radius: 99px; letter-spacing: .04em; }
.panel h2 { font-size: 22px; letter-spacing: -.01em; margin: 10px 0 4px; line-height: 1.2; }
.panel .panel-sub { color: var(--slate); font-size: 14.5px; margin-bottom: 6px; }

/* two questions side-by-side on wide screens, stacked on smaller */
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; }
.q { margin-top: 16px; }
.q-text { font-weight: 600; font-size: 15.5px; margin-bottom: 10px; color: var(--ink); }
.q-num { color: var(--cyan-deep); font-family: 'Space Grotesk'; }
.opts { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 12px; cursor: pointer; color: var(--ink);
  border: 1.5px solid #c5d1ea; border-radius: 11px; padding: 10px 13px;
  font-size: 14px; transition: all .15s ease; background: #dde6f5;
}
.opt:hover { border-color: var(--indigo); background: #e9eefa; }
.opt input { display: none; }
.opt .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #b3c0db; display: grid; place-items: center; flex: none; transition: all .15s; background: #eef2fb; }
.opt.checked { border-color: var(--indigo); background: #d4dbfb; box-shadow: 0 0 0 3px rgba(91,108,255,.16); }
.opt.checked .box { background: var(--indigo); border-color: var(--indigo); }
.opt.checked .box::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 700; }
.opt.multi .box { border-radius: 6px; }

/* one-question-at-a-time card */
.q-single { margin-top: 18px; }
.q-text-lg {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 22px;
  line-height: 1.32; color: var(--ink); margin: 4px 0 20px; max-width: 34ch;
}
.q-single .opts { max-width: 580px; }
.q-single .opt { padding: 13px 16px; font-size: 15px; }
.q-hint { font-size: 13px; color: var(--slate-light); }

/* quick, snappy transitions between questions */
@keyframes qIn  { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes qOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-26px); } }
.qcard.q-enter { animation: qIn .19s cubic-bezier(.4,0,.2,1) both; }
.qcard.q-exit  { animation: qOut .12s ease-in both; }

.nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px; }
.nav-row .spacer { flex: 1; }

/* intro */
.intro-points { display: grid; gap: 14px; margin: 26px 0 32px; }
.intro-point { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--slate); }
.intro-point .tick { width: 24px; height: 24px; border-radius: 7px; flex: none; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-weight: 700; }

/* gate */
.gate-form { display: grid; gap: 16px; margin-top: 26px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #c5d1ea;
  font-size: 15px; font-family: inherit; transition: border .15s, box-shadow .15s; background: #dde6f5; color: var(--ink);
}
.field input::placeholder { color: #8696bb; }
.field input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(91,108,255,.12); }
.field.err input { border-color: var(--red); }
.field .msg { font-size: 12.5px; color: var(--red); margin-top: 6px; display: none; }
.field.err .msg { display: block; }
.gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-note { font-size: 12.5px; color: var(--slate-light); display: flex; gap: 9px; align-items: flex-start; margin-top: 4px; }

/* ---------- Results ---------- */
.score-hero { text-align: center; padding: 8px 0 6px; }
.gauge { width: 184px; height: 184px; margin: 8px auto 6px; position: relative; }
.gauge svg { transform: rotate(-90deg); }
.gauge .val { position: absolute; inset: 0; display: grid; place-content: center; }
.gauge .val b { font-family: 'Space Grotesk'; font-size: 44px; line-height: 1; }
.gauge .val span { font-size: 12.5px; color: var(--slate); letter-spacing: .1em; text-transform: uppercase; }
.band-label { display: inline-block; font-family: 'Space Grotesk'; font-weight: 600; padding: 7px 16px; border-radius: 99px; font-size: 14px; margin-top: 4px; }

.legend { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; font-size: 13px; color: var(--slate); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

.results-section-title { font-family:'Space Grotesk'; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 34px 0 14px; display:flex; align-items:center; gap:12px; }
.results-section-title::after { content:""; flex:1; height:1px; background: var(--line); }

.mod-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; margin-bottom: 10px; transition: transform .15s;
}
.mod-row:hover { transform: translateX(3px); }
.mod-row .flag { width: 10px; align-self: stretch; border-radius: 6px; flex: none; }
.mod-row .mod-body { flex: 1; min-width: 0; }
.mod-row .mod-body h4 { font-size: 16px; letter-spacing: -.01em; }
.mod-row .mod-body p { font-size: 13.5px; color: var(--slate); margin-top: 3px; }
.mod-row .mod-score { text-align: right; flex: none; }
.mod-row .mod-score b { font-family:'Space Grotesk'; font-size: 20px; }
.tag-chip { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.flag.red, .bg-red { background: var(--red); } .chip-red { background: var(--red-soft); color: var(--red); }
.flag.amber, .bg-amber { background: var(--amber); } .chip-amber { background: var(--amber-soft); color: #c47a13; }
.flag.green, .bg-green { background: var(--green); } .chip-green { background: var(--green-soft); color: #119a72; }

.results-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.email-confirm { background: var(--green-soft); color: #119a72; border:1px solid #bdeede; border-radius: 12px; padding: 13px 18px; font-size: 14px; font-weight: 600; display:none; align-items:center; gap:9px; margin-top:14px; }
.email-confirm.show { display: flex; animation: rise .3s ease; }

.summary-box { background: #f7f9fd; border:1px solid var(--line); border-radius:14px; padding: 20px 22px; margin-top: 8px; }
.summary-box p { font-size: 15px; color: var(--slate); }
.summary-box b { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-top { flex-direction: column; }
  .panel { padding: 26px 22px; }
  .q-grid { grid-template-columns: 1fr; gap: 0; }
  .gate-row { grid-template-columns: 1fr; }
  .cta-strip { padding: 38px 24px; }
}
@media print {
  .nav, .footer, .results-actions, .progress-wrap, .email-confirm, .btn { display: none !important; }
  body, .quiz-bg { background: #fff; }
  .panel { box-shadow: none; border: none; padding: 0; }
}
