/* ══════════════════════════════════════════════
   MINDCHECK — PROFESSIONAL LIGHT THEME
   Modelled on iqtest.net · 123test.com · brain-institute.ai
   Mobile-first, conversion-optimised
══════════════════════════════════════════════ */

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

:root {
  --bg:       #ffffff;
  --bg2:      #f8f9ff;
  --bg3:      #eef2ff;
  --primary:  #4f46e5;
  --primary-d:#4338ca;
  --primary-l:#eef2ff;
  --green:    #16a34a;
  --green-l:  #dcfce7;
  --accent:   #f97316;
  --danger:   #dc2626;
  --text:     #111827;
  --text2:    #374151;
  --muted:    #6b7280;
  --border:   #e5e7eb;
  --border2:  #d1d5db;
  --navy:     #0f172a;
  --r:        12px;
  --r-sm:     8px;
  --r-lg:     20px;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --shadow:   0 1px 3px rgba(79,70,229,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:0 4px 16px rgba(79,70,229,.10), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:0 16px 40px rgba(79,70,229,.14), 0 4px 12px rgba(0,0,0,.06);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
img  { display:block; max-width:100%; }
a    { text-decoration:none; color:inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); }

/* ── BODY ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: scroll; /* always show scrollbar — prevents layout wiggle */
}
/* Lock scroll when quiz is active (iOS-safe) */
body.quiz-active {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.hidden { display:none !important; }

/* ════════════════════════════════════
   NAV — iqtest.net style
════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.3rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.03em;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: .25rem;
}
.nav-links a {
  color: var(--text2); font-size: .88rem; font-weight: 500;
  padding: .45rem .9rem; border-radius: 8px; transition: all .18s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-l); }
.nav-links a.active { color: var(--primary); font-weight: 600; }

.nav-cta {
  background: var(--primary); color: #fff !important;
  border-radius: 8px !important; font-weight: 700 !important;
  padding: .45rem 1.1rem !important;
}
.nav-cta:hover { background: var(--primary-d) !important; color: #fff !important; }

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
  cursor: pointer; padding: 6px; border-radius: 8px;
  transition: background .18s; flex-shrink: 0;
}
.hamburger:hover { background: var(--bg2); }
.hamburger span {
  display: block; height: 2px; width: 22px;
  background: var(--navy); border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer overlay ── */
.mobile-drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.4); backdrop-filter: blur(2px);
}
.mobile-drawer-overlay.open { display: block; }

.mobile-drawer {
  position: fixed; top: 0; right: -100%; bottom: 0;
  width: min(320px, 85vw); z-index: 301;
  background: #fff; box-shadow: -8px 0 32px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
  transition: right .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border);
}
.drawer-logo {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em;
}
.drawer-logo-icon {
  width: 30px; height: 30px; border-radius: 7px; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 900;
}
.drawer-close {
  width: 36px; height: 36px; border-radius: 8px; background: var(--bg2);
  border: none; cursor: pointer; font-size: 1.15rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center; transition: all .18s;
}
.drawer-close:hover { background: var(--border); color: var(--navy); }

.drawer-nav {
  flex: 1; padding: .75rem .75rem 0;
  /* Override global nav styles */
  display: flex; flex-direction: column; align-items: stretch;
  position: static; height: auto; background: none;
  border-bottom: none; box-shadow: none;
  justify-content: flex-start; width: 100%;
}
.drawer-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem; border-radius: 10px;
  font-size: .95rem; font-weight: 500; color: var(--text2);
  transition: all .18s; text-decoration: none;
  width: 100%; height: auto; min-height: unset;
}
.drawer-nav a:hover { background: var(--bg2); color: var(--primary); }
.drawer-nav a .drawer-icon { font-size: 1.05rem; flex-shrink: 0; }

.drawer-divider { height: 1px; background: var(--border); margin: .75rem 1rem; }

.drawer-actions {
  padding: 1rem 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.drawer-btn-login {
  width: 100%; padding: .9rem; border-radius: 10px;
  font-size: .95rem; font-weight: 700; cursor: pointer; font-family: inherit;
  background: #fff; border: 2px solid #2e7d6e; color: #2e7d6e;
  transition: all .18s; min-height: 50px;
}
.drawer-btn-login:hover { background: #f0faf8; }
.drawer-btn-start {
  width: 100%; padding: .9rem; border-radius: 10px;
  font-size: .95rem; font-weight: 700; cursor: pointer; font-family: inherit;
  background: #2e7d6e; color: #fff; border: none;
  transition: all .18s; min-height: 50px;
  text-decoration: none; display: flex; align-items: center; justify-content: center;
}
.drawer-btn-start:hover { background: #256357; }

/* ── Login modal ── */
.login-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.login-modal.open { display: flex; }
.login-modal-box {
  background: #fff; border-radius: 16px; padding: 2rem 1.75rem;
  width: 100%; max-width: 400px; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2); animation: modalIn .22s ease;
}
@keyframes modalIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.login-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 8px; background: var(--bg2);
  border: none; cursor: pointer; font-size: 1rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.login-modal-close:hover { background: var(--border); }
.login-modal-logo {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem;
  font-size: 1.1rem; font-weight: 800; color: var(--navy);
}
.login-modal-logo .lm-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.login-modal-box h2 { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: .35rem; letter-spacing: -.02em; }
.login-modal-box .login-sub { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }

/* ── OAuth buttons ── */
.oauth-btn {
  width: 100%; padding: .8rem 1.25rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  font-family: inherit; display: flex; align-items: center;
  gap: .7rem; justify-content: center;
  transition: all .18s; margin-bottom: .65rem; letter-spacing: -.01em;
}
.oauth-google {
  background: #fff; border: 1.5px solid #dadce0; color: #3c4043;
}
.oauth-google:hover { background: #f8f9fa; box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.oauth-apple {
  background: #000; border: 1.5px solid #000; color: #fff;
}
.oauth-apple:hover { background: #1c1c1e; }
.login-field { margin-bottom: 1rem; }
.login-label { font-size: .8rem; font-weight: 600; color: var(--text2); display: block; margin-bottom: .4rem; }
.login-input {
  width: 100%; padding: .85rem 1rem; border-radius: 8px;
  border: 1.5px solid var(--border); font-size: .95rem;
  font-family: inherit; color: var(--text); outline: none; transition: border-color .2s;
}
.login-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,111,196,.1); }
.login-forgot { font-size: .78rem; color: var(--primary); display: block; text-align: right; margin-top: -.5rem; margin-bottom: 1.25rem; cursor: pointer; }
.login-submit {
  width: 100%; padding: .9rem; border-radius: 8px; border: none;
  background: #2e7d6e; color: #fff; font-size: .95rem; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .18s; min-height: 50px;
}
.login-submit:hover { background: #256357; }
.login-divider { display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0; }
.login-divider span { font-size: .78rem; color: var(--muted); }
.login-divider::before, .login-divider::after { content:''; flex:1; height:1px; background:var(--border); }
.login-signup { text-align: center; font-size: .85rem; color: var(--muted); }
.login-signup a { color: var(--primary); font-weight: 600; cursor: pointer; }

/* ════════════════════════════════════
   BUTTONS
════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .8rem 1.75rem; border-radius: 8px;
  font-size: .95rem; font-weight: 700; cursor: pointer; border: none;
  transition: all .18s; white-space: nowrap; min-height: 48px;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79,70,229,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  box-shadow: 0 8px 28px rgba(79,70,229,.45);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green); color: #fff;
  box-shadow: 0 2px 8px rgba(22,163,74,.25);
}
.btn-green:hover { background: #15803d; box-shadow: 0 4px 16px rgba(22,163,74,.35); transform: translateY(-1px); }

.btn-outline {
  background: #fff; color: var(--text); border: 1.5px solid var(--border2);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(249,115,22,.45);
  min-height: 56px;
}
.btn-accent:hover {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249,115,22,.55);
}

.btn-lg { padding: .95rem 2.25rem; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; min-height: 38px; }

/* ════════════════════════════════════
   INDEX — HERO (123test style)
════════════════════════════════════ */
.hero-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79,70,229,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 55%, rgba(124,58,237,.07) 0%, transparent 60%),
    #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }

.hero-trust-bar {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-l); border: 1px solid #bbf7d0;
  border-radius: 50px; padding: .38rem 1.1rem; margin-bottom: 1.5rem;
  font-size: .78rem; font-weight: 700; color: var(--green);
  letter-spacing: .03em; text-transform: uppercase;
}
.hero-trust-bar .live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: pulse 1.8s infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-section h1 {
  font-size: clamp(2.4rem, 6vw, 3.75rem); font-weight: 900;
  line-height: 1.08; letter-spacing: -.05em; color: var(--navy);
  margin-bottom: .85rem;
}
.hero-section h1 .blue {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section .sub {
  font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem;
  max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

.hero-ctas {
  display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.hero-ctas .btn { min-width: 200px; }

.hero-proof {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  font-size: .83rem; color: var(--muted); flex-wrap: wrap;
}
.hero-proof .stars { color: #f59e0b; font-size: 1rem; letter-spacing: .1em; }
.hero-proof-item { display: flex; align-items: center; gap: .4rem; }
.hero-proof-sep { width: 1px; height: 18px; background: var(--border); }

/* Live counter */
.live-counter-bar {
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(79,70,229,.15); border-radius: 50px;
  padding: .75rem 1.5rem; margin: 2rem auto 0; max-width: 460px;
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; color: var(--text2);
  box-shadow: 0 2px 12px rgba(79,70,229,.10);
}
.live-counter-bar .count-num { font-weight: 800; color: var(--primary); }

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  padding: .85rem 1.25rem;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  gap: .6rem;
}

/* ════════════════════════════════════
   STATS BAR
════════════════════════════════════ */
.stats-bar {
  background: var(--navy); padding: 1.6rem 1.5rem;
}
.stats-inner {
  max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.stat-item .stat-num {
  font-size: 1.75rem; font-weight: 900; display: block; color: #fff;
  letter-spacing: -.03em;
}
.stat-item .stat-label { font-size: .78rem; color: rgba(255,255,255,.6); display: block; margin-top: .2rem; }

/* ════════════════════════════════════
   SECTIONS
════════════════════════════════════ */
.section { padding: 4rem 1.5rem; max-width: 1080px; margin: 0 auto; }
.section-alt { background: var(--bg2); }

.section-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; color: var(--navy);
  text-align: center; margin-bottom: .5rem; letter-spacing: -.03em;
}
.section-sub { text-align: center; color: var(--muted); font-size: .92rem; margin-bottom: 2.5rem; }

/* ════════════════════════════════════
   TEST CARDS
════════════════════════════════════ */
.test-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.test-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all .22s; box-shadow: var(--shadow);
}
.test-card:hover { box-shadow: 0 20px 48px rgba(79,70,229,.18), 0 4px 8px rgba(0,0,0,.06); transform: translateY(-4px); border-color: #c7d2fe; }

.test-card-img-wrap { position: relative; height: 200px; overflow: hidden; }
.test-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.test-card:hover .test-card-img { transform: scale(1.04); }
.test-card-img-badge {
  position: absolute; top: .85rem; left: .85rem;
  background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .3rem .85rem; border-radius: 6px; letter-spacing: .03em;
}

.test-card-body { padding: 1.5rem; }
.test-card-body h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; letter-spacing: -.02em; }
.test-card-body p { color: var(--muted); font-size: .88rem; margin-bottom: 1.25rem; line-height: 1.65; }

.test-card-meta { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .78rem; margin-bottom: 1.25rem; }
.test-card-meta span {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: .28rem .7rem; color: var(--text2); font-weight: 500;
}

/* ════════════════════════════════════
   COMPACT TEST CARDS (myIQ style)
════════════════════════════════════ */
.compact-tests-list {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 520px; margin: 0 auto;
}
.compact-test-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 18px; padding: 1.35rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.compact-test-card:hover {
  box-shadow: 0 6px 20px rgba(79,70,229,.12);
  border-color: #c7d2fe; transform: translateY(-2px);
}
.ctc-icon { font-size: 2.4rem; line-height: 1; margin-bottom: .55rem; }
.ctc-title {
  font-size: 1.05rem; font-weight: 800; color: var(--navy);
  margin-bottom: .4rem; letter-spacing: -.02em;
  font-family: var(--font-display);
}
.ctc-meta {
  display: flex; gap: 1.2rem; font-size: .8rem;
  color: var(--muted); margin-bottom: .9rem;
}
.ctc-btn { border-radius: 50px !important; font-size: .9rem !important; }

@media (min-width: 760px) {
  .compact-tests-list {
    display: grid; grid-template-columns: 1fr 1fr;
    max-width: 880px; gap: 1.1rem;
  }
}

/* ════════════════════════════════════
   PLANS / PRICING
════════════════════════════════════ */
.plans-grid {
  display: flex; flex-direction: column; gap: 1.25rem;
  max-width: 520px; margin: 0 auto;
}
.plan-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 18px; padding: 1.5rem; position: relative;
  transition: box-shadow .2s;
}
.plan-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.plan-card-featured {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(79,70,229,.13);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: .68rem; font-weight: 800; padding: .28rem .85rem;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .07em;
  white-space: nowrap;
}
.plan-name {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-bottom: .6rem;
}
.plan-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 1rem; }
.plan-price {
  font-size: 2.1rem; font-weight: 900; color: var(--navy);
  letter-spacing: -.04em; margin-bottom: 1rem;
  font-family: var(--font-display);
}
.plan-price span { font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-features {
  list-style: none; display: flex; flex-direction: column;
  gap: .55rem; margin-bottom: 1.25rem;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .87rem; color: var(--text2);
}
.plan-features li::before {
  content: '✓'; color: #0d9488; font-weight: 800;
  flex-shrink: 0; margin-top: .05em;
}
.plan-btn { border-radius: 50px !important; }

@media (min-width: 960px) {
  .plans-grid {
    flex-direction: row; max-width: 880px;
    align-items: flex-start;
  }
  .plan-card { flex: 1; }
}

/* ════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.step-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem 1.25rem; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.step-card:hover { box-shadow: 0 8px 24px rgba(79,70,229,.13); transform: translateY(-3px); }
.step-num-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary-l); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--primary);
  margin: 0 auto .85rem;
}
.step-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.step-card p { font-size: .86rem; color: var(--muted); }

/* ════════════════════════════════════
   TESTIMONIALS — circular avatars like iqtest.net
════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover { box-shadow: 0 8px 24px rgba(79,70,229,.11); transform: translateY(-3px); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .6rem; letter-spacing: .05em; }
.testimonial-text { font-size: .88rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: var(--primary-l); flex-shrink: 0; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: var(--primary);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: .88rem; font-weight: 700; color: var(--navy); }
.testimonial-title { font-size: .76rem; color: var(--muted); }

/* ════════════════════════════════════
   IQ COMPARISON TABLE
════════════════════════════════════ */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); padding: .6rem 1rem; text-align: left;
  border-bottom: 2px solid var(--border); background: var(--bg2);
}
.compare-table td { padding: .8rem 1rem; font-size: .9rem; border-bottom: 1px solid var(--border); color: var(--text2); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .iq-num { font-weight: 800; color: var(--navy); }
.compare-table .bar-wrap { background: var(--bg2); border-radius: 20px; height: 7px; width: 100%; }
.compare-table .bar { height: 7px; border-radius: 20px; background: var(--primary); }

/* ════════════════════════════════════
   FAQ
════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-item.open { border-color: var(--primary); }
.faq-question {
  width: 100%; background: none; border: none; padding: 1.1rem 1.35rem;
  text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .92rem; font-weight: 600; color: var(--text); min-height: 50px; font-family: inherit;
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon { font-size: 1.2rem; color: var(--primary); transition: transform .25s; flex-shrink: 0; font-style: normal; font-weight: 400; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; font-size: .88rem; color: var(--muted); line-height: 1.7;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.35rem 1.2rem; }

/* ════════════════════════════════════
   TRUST BADGES
════════════════════════════════════ */
.trust-badges {
  display: flex; justify-content: center; gap: .65rem; flex-wrap: wrap;
  padding: 1.75rem 1.5rem;
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-badge {
  display: flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: .45rem 1rem;
  font-size: .78rem; font-weight: 600; color: var(--text2);
  box-shadow: var(--shadow);
}

/* ════════════════════════════════════
   FOOTER — dark navy like iqtest.net
════════════════════════════════════ */
footer {
  background: var(--navy); padding: 2.5rem 1.5rem 2rem;
}
.footer-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.footer-logo {
  font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  letter-spacing: -.02em;
}
.footer-logo-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .85rem; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.35); line-height: 1.6; }

/* ════════════════════════════════════
   QUIZ PAGES — SHARED PAGE WRAPPER
════════════════════════════════════ */
.page {
  min-height: calc(100vh - 62px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem 3rem;
  background: var(--bg2);
}

/* ── Gender / Landing Card ── */
.landing-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  width: 100%; max-width: 500px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.landing-hero-img-wrap { width: 100%; height: 195px; overflow: hidden; }
.landing-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.landing-box-content { padding: 1.75rem 2rem 2rem; }

.step-indicator {
  display: flex; align-items: center; gap: .35rem; margin-bottom: 1.1rem;
}
.step-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
}
.step-dot.active { background: var(--primary); }
.step-dot.done { background: var(--green); }
.step-label { font-size: .73rem; font-weight: 600; color: var(--muted); margin-left: .15rem; }

.landing-box h1 {
  font-size: 1.65rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem;
  letter-spacing: -.03em; line-height: 1.25;
}
.landing-box .sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.35rem; }

.social-proof {
  display: flex; align-items: center; gap: .45rem;
  font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem;
  padding: .6rem .9rem; background: var(--bg2); border-radius: 8px; border: 1px solid var(--border);
}
.social-proof .stars { color: #f59e0b; letter-spacing: .06em; }
.social-proof strong { color: var(--text2); }

/* ── Gender Cards ── */
.gender-cards { display: flex; gap: .85rem; justify-content: center; margin-bottom: 1.1rem; }
.gender-card {
  flex: 1; max-width: 210px; background: #fff; border: 2px solid var(--border);
  border-radius: var(--r); cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  font-weight: 700; font-size: .92rem; color: var(--navy);
  transition: all .2s; box-shadow: var(--shadow);
}
.gender-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(29,111,196,.18); transform: translateY(-3px); }
.gender-card span { display: block; padding: .7rem 0; font-size: .95rem; font-weight: 700; color: var(--navy); }
.gender-photo-wrap { width: 100%; height: 145px; overflow: hidden; background: var(--bg2); }
.gender-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .3s; }
.gender-card:hover .gender-photo { transform: scale(1.05); }

/* ── Age Select ── */
.age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.1rem; }
.age-btn {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r);
  padding: .9rem .5rem; font-size: .92rem; font-weight: 600; color: var(--text2);
  cursor: pointer; text-align: center; transition: all .18s; min-height: 50px;
  font-family: inherit; box-shadow: var(--shadow);
}
.age-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.age-btn.selected { border-color: var(--primary); background: var(--primary-l); color: var(--primary); font-weight: 700; }

.disclaimer { font-size: .72rem; color: var(--muted); line-height: 1.55; text-align: center; }

/* ── Instructions Box ── */
.intro-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 2.5rem 2rem; width: 100%; max-width: 500px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.brain-icon { font-size: 3.2rem; margin-bottom: 1rem; }
.intro-box h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 1.6rem;
  letter-spacing: -.02em;
}
.intro-steps { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.6rem; text-align: left; }
.intro-step {
  display: flex; align-items: flex-start; gap: .85rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: .85rem 1rem;
}
.step-num {
  min-width: 26px; height: 26px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.intro-step p { font-size: .86rem; color: var(--text2); padding-top: .1rem; }

/* ── Quiz Screen ── */
.quiz-wrap { width: 100%; max-width: 660px; }

.quiz-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: .65rem; }
.q-counter { font-size: .84rem; font-weight: 600; color: var(--muted); }

/* Circular countdown timer — fills from 0 → full as time passes */
.timer-outer {
  display: flex; align-items: center; gap: .5rem; flex-shrink: 0;
}
.timer-clock-icon {
  font-size: 1.1rem; flex-shrink: 0; line-height: 1; opacity: .75;
}
.timer-ring-wrap {
  position: relative; width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.timer-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.timer-ring-bg  { fill: none; stroke: #e5e7eb; stroke-width: 3.5; }
.timer-ring-fill {
  fill: none; stroke: var(--primary); stroke-width: 3.5;
  /* Starts at full offset (empty ring), depletes to 0 (full ring) as time passes */
  stroke-dasharray: 119.4;
  stroke-dashoffset: 119.4;
  stroke-linecap: round;
  transition: stroke-dashoffset .95s linear, stroke .4s;
}
.timer-ring-fill.warn   { stroke: #f59e0b; }
.timer-ring-fill.danger { stroke: var(--danger); }
.timer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1px; z-index: 1;
}
.timer-icon-small { font-size: .6rem; line-height: 1; }
.timer-text {
  font-size: .67rem; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1;
  letter-spacing: -.01em;
}
.timer-text.warn   { color: #f59e0b; }
.timer-text.danger { color: var(--danger); }

/* Legacy pill — keep for personality test */
.timer-pill {
  background: #fff; border: 1px solid var(--border); border-radius: 50px;
  padding: .35rem 1rem; font-size: .88rem; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; box-shadow: var(--shadow);
}
.timer-pill.warning { color: var(--danger); border-color: #fca5a5; background: #fef2f2; }

.progress-wrap { height: 7px; background: #e5e7eb; border-radius: 20px; overflow: hidden; margin-bottom: 1.1rem; position: relative; }
.progress-bar { height: 100%; background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%); border-radius: 20px; transition: width .45s ease; }
.progress-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.3) 50%, transparent 100%);
  border-radius: 20px;
}

/* Quiz nav prev/next — myiq style: [<]  7 of 25  [>] */
.quiz-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .75rem; gap: .5rem; flex-shrink: 0;
}
.quiz-nav-counter {
  font-size: 1rem; font-weight: 700; color: var(--text2); flex: 1; text-align: center;
}
.quiz-nav-btn {
  width: 52px; height: 52px; border-radius: 50%; flex: unset; padding: 0;
  font-size: 1.5rem; font-weight: 400; cursor: pointer; line-height: 1;
  border: 1.5px solid var(--border); background: #fff; color: var(--text2);
  transition: all .18s; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.quiz-nav-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-l); }
.quiz-nav-btn:disabled { opacity: .32; cursor: not-allowed; box-shadow: none; }
.quiz-nav-next {
  background: var(--primary); color: #fff !important; border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(29,111,196,.25);
}
.quiz-nav-next:hover:not(:disabled) { background: var(--primary-d) !important; }
.quiz-nav-next:disabled { background: #d1d5db !important; border-color: #d1d5db !important; color: #9ca3af !important; box-shadow: none; }

.question-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-md);
  animation: slideIn .28s ease;
}
@keyframes slideIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

.question-category {
  display: inline-block;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border: 1px solid #c7d2fe;
  color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 50px; margin-bottom: .9rem;
}
.question-text { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; line-height: 1.55; }

.options-grid { display: grid; grid-template-columns: 1fr; gap: .5rem; }

.option-card {
  background: #fff; border: 2px solid var(--border); border-radius: var(--r);
  padding: 1.1rem 1.35rem; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: .75rem;
  font-size: .97rem; font-weight: 500; color: var(--text2);
  transition: all .2s cubic-bezier(.2,0,0,1); min-height: 60px; font-family: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.option-card:hover:not(.disabled) {
  border-color: var(--primary); background: var(--primary-l); color: var(--primary);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(79,70,229,.18);
}
.option-card.disabled { cursor: default; }
.option-card.correct { border-color: var(--green) !important; background: var(--green-l) !important; color: var(--green) !important; }
.option-card.wrong { border-color: var(--danger) !important; background: #fef2f2 !important; color: var(--danger) !important; }

.option-letter {
  min-width: 30px; height: 30px; border-radius: 8px;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: #64748b; flex-shrink: 0;
  transition: all .2s;
}
.option-card:hover:not(.disabled) .option-letter,
.option-card.selected-answer .option-letter {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.option-card.correct .option-letter { background: var(--green); border-color: var(--green); color: #fff; }
.option-card.wrong .option-letter { background: var(--danger); border-color: var(--danger); color: #fff; }

/* Personality likert */
.likert-wrap { display: flex; flex-direction: column; gap: .45rem; }
.likert-option {
  background: #fff; border: 2px solid var(--border); border-radius: var(--r);
  padding: .85rem 1.15rem; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .9rem; font-weight: 500; color: var(--text2);
  transition: all .15s; min-height: 50px; font-family: inherit;
}
.likert-option:hover:not(.disabled) { border-color: var(--primary); background: var(--primary-l); color: var(--primary); }
.likert-option.selected { border-color: var(--primary) !important; background: var(--primary-l) !important; color: var(--primary) !important; }
.likert-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: all .15s; }
.likert-option.selected .likert-dot { background: var(--primary); border-color: var(--primary); }

/* ── Email Screen ── */
.email-screen-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 2.5rem 2rem; width: 100%; max-width: 440px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.email-screen-box .confetti { font-size: 2.75rem; margin-bottom: .85rem; }
.email-screen-box h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; letter-spacing: -.02em;
}
.email-screen-box p { color: var(--muted); font-size: .9rem; margin-bottom: 1.75rem; }
.email-form { display: flex; flex-direction: column; gap: .65rem; }
.email-input {
  width: 100%; padding: .9rem 1.2rem; border-radius: 8px;
  border: 1.5px solid var(--border); background: #fff;
  color: var(--text); font-size: .95rem; outline: none; transition: border-color .2s;
  min-height: 50px; font-family: inherit;
}
.email-input::placeholder { color: var(--muted); }
.email-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,111,196,.12); }
.email-privacy {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  font-size: .75rem; color: var(--muted); margin-top: .5rem;
}

/* ── Results ── */
.result-wrap { width: 100%; max-width: 560px; }

.result-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--shadow-md); margin-bottom: 1rem;
}
.result-header { text-align: center; margin-bottom: 1.25rem; }
.score-label {
  font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: .35rem;
}
.score-num {
  font-size: 3rem; font-weight: 900; letter-spacing: -.04em; line-height: 1.05;
  color: var(--primary);
}
.score-sublabel { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.result-level { text-align: center; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.result-pct { text-align: center; font-size: .88rem; color: var(--primary); font-weight: 600; margin-bottom: .85rem; }
.result-desc { text-align: center; font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* Comparison bar */
.compare-bar-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.compare-bar-label { font-size: .78rem; color: var(--muted); min-width: 100px; text-align: right; }
.compare-bar-track { flex: 1; height: 8px; background: var(--bg2); border-radius: 20px; overflow: hidden; }
.compare-bar-fill { height: 100%; border-radius: 20px; }
.compare-bar-val { font-size: .78rem; font-weight: 700; color: var(--text); min-width: 35px; }
.you-marker { color: var(--primary); font-size: .72rem; font-weight: 700; text-align: center; margin-top: .2rem; }

/* Locked section */
.locked-section { position: relative; overflow: hidden; border-radius: var(--r); }
.locked-content { padding: .5rem 0; }
.locked-overlay {
  position: absolute; inset: 0;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  background: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center; border-radius: var(--r);
}
.lock-icon-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  box-shadow: var(--shadow-md);
}

/* Breakdown */
.breakdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; margin-bottom: .9rem; }
.breakdown-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: .55rem .85rem;
}
.breakdown-label { font-size: .78rem; color: var(--muted); }
.breakdown-value { font-size: .82rem; font-weight: 700; border-radius: 6px; padding: .13rem .55rem; }
.breakdown-value.good { color: var(--green); background: var(--green-l); }
.breakdown-value.ok   { color: #b45309; background: #fef3c7; }
.breakdown-value.bad  { color: var(--danger); background: #fef2f2; }

/* Upsell */
.upsell-card {
  background: linear-gradient(145deg, #312e81 0%, #4f46e5 45%, #7c3aed 100%);
  border-radius: var(--r-lg); padding: 2.25rem; text-align: center;
  margin-bottom: 1rem; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(79,70,229,.4), inset 0 0 0 1px rgba(255,255,255,.1);
}
.upsell-card::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.upsell-card::after {
  content: ''; position: absolute; bottom: -40px; left: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.upsell-discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  font-size: .78rem; font-weight: 900; letter-spacing: .05em;
  padding: .4rem 1.1rem; border-radius: 50px; margin-bottom: .85rem; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(249,115,22,.4);
}
.upsell-title { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 1.1rem; letter-spacing: -.02em; }
.upsell-features {
  list-style: none; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: .65rem;
  text-align: left; max-width: 300px; margin-left: auto; margin-right: auto;
}
.upsell-features li {
  font-size: .9rem; color: rgba(255,255,255,.92);
  display: flex; align-items: center; gap: .7rem;
}
.upsell-features li::before { content: '✓'; color: #a5f3fc; font-weight: 900; font-size: 1rem; flex-shrink: 0; }
.upsell-price {
  font-size: 3rem; font-weight: 900; margin-bottom: 1.25rem; color: #fff;
  letter-spacing: -.05em; line-height: 1;
}
.upsell-price .original { font-size: 1.1rem; text-decoration: line-through; opacity: .55; margin-right: .4rem; }
.upsell-price .period { font-size: .85rem; opacity: .7; font-weight: 400; }

.countdown-strip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px; padding: .38rem 1rem; margin-bottom: 1rem;
  font-size: .8rem; font-weight: 700; color: #fff;
}

.upsell-trust { font-size: .74rem; color: rgba(255,255,255,.6); margin-top: .85rem; }

/* Share row */
.share-row { display: flex; gap: .65rem; justify-content: center; margin-top: .75rem; }
.share-btn {
  flex: 1; max-width: 160px; padding: .65rem 1rem; border-radius: 8px;
  font-size: .82rem; font-weight: 700; cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  transition: all .18s; font-family: inherit; min-height: 44px;
}
.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #000; color: #fff; }
.share-btn:hover { transform: translateY(-2px); opacity: .9; }

/* Personality result */
.personality-result-icon { font-size: 3.5rem; text-align: center; margin-bottom: .85rem; }
.personality-type-name {
  font-size: 1.85rem; font-weight: 900; text-align: center; margin-bottom: .4rem;
  letter-spacing: -.03em; color: var(--primary);
}
.personality-code {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  background: var(--primary-l); border: 1px solid #bfdbfe;
  color: var(--primary); padding: .28rem .9rem; border-radius: 6px; margin-bottom: .9rem;
}
.personality-traits { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.personality-trait {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; padding: .28rem .8rem; font-size: .76rem; font-weight: 600; color: var(--text2);
}
.personality-famous { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .85rem; }

/* ════════════════════════════════════
   MOBILE — RESPONSIVE
════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-section { padding: 2.75rem 1rem 2.5rem; }
  .hero-ctas .btn { min-width: 150px; flex: 1; }

  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 76px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .stat-item .stat-num { font-size: 1.5rem; }

  .section { padding: 2.75rem 1rem; }
  .test-cards { grid-template-columns: 1fr; gap: 1rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Quiz pages */
  .page { padding: 1.25rem .75rem 2.5rem; align-items: flex-start; }
  .landing-box-content { padding: 1.35rem 1.35rem 1.75rem; }
  .landing-box h1 { font-size: 1.4rem; }
  .landing-hero-img-wrap { height: 165px; }

  .gender-cards { gap: .6rem; }
  .gender-card { max-width: none; }
  .gender-photo-wrap { height: 130px; }

  .age-grid { grid-template-columns: repeat(3, 1fr); }
  .age-btn { padding: .75rem .35rem; font-size: .85rem; }

  .intro-box { padding: 2rem 1.35rem; }
  .email-screen-box { padding: 2rem 1.25rem; }

  .option-card { min-height: 54px; font-size: .92rem; }
  .likert-option { min-height: 52px; }

  .result-wrap { padding: 0; }
  .result-card { padding: 1.35rem; }
  .upsell-card { padding: 1.6rem; }
  .breakdown { grid-template-columns: 1fr; }

  .share-row { gap: .5rem; }
}

@media (max-width: 420px) {
  .hero-section h1 { font-size: 1.75rem; }
  .score-num { font-size: 2.6rem; }
  .landing-box h1 { font-size: 1.3rem; }
  .gender-cards { flex-direction: column; align-items: stretch; }
  .gender-card { max-width: 100%; flex-direction: row; padding: .5rem; gap: .75rem; }
  .gender-photo-wrap { width: 80px; height: 80px; border-radius: var(--r-sm); flex-shrink: 0; }
  .gender-card span { margin: 0; font-size: 1rem; }
  .age-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-proof { flex-direction: column; gap: .6rem; }
  .hero-proof-sep { display: none; }
}

/* ════════════════════════════════════
   QUIZ — NEW ELEMENTS (30Q rebuild)
════════════════════════════════════ */

/* Selected answer — blue only, NO green/red during test */
.option-card.selected-answer {
  border-color: var(--primary) !important;
  border-left: 4px solid var(--primary) !important;
  background: var(--primary-l) !important;
  color: var(--primary) !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(79,70,229,.15) !important;
}
.option-card.selected-answer .option-letter {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

/* Flag for review button */
.question-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .85rem;
}
.question-header-left { flex: 1; }
.flag-btn {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .95rem; transition: all .18s;
  margin-top: -.1rem;
}
.flag-btn:hover { background: #fff3cd; border-color: #f59e0b; }
.flag-btn.flagged { background: #fff3cd; border-color: #f59e0b; }

/* Flagged indicator on question counter */
.q-counter-wrap { display: flex; align-items: center; gap: .5rem; }
.flagged-count {
  font-size: .72rem; font-weight: 700; color: #fff;
  background: #f59e0b; border-radius: 50px; padding: .18rem .55rem;
  display: none;
}
.flagged-count.visible { display: inline-flex; }

/* Review flagged modal */
.review-modal {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.review-modal.open { display: flex; }
.review-modal-box {
  background: #fff; border-radius: 16px; padding: 1.75rem;
  width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: modalIn .22s ease;
}
.review-modal-box h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; }
.review-modal-box p { font-size: .88rem; color: var(--muted); margin-bottom: 1.25rem; }
.flagged-list { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.25rem; max-height: 220px; overflow-y: auto; }
.flagged-list-item {
  display: flex; align-items: center; gap: .75rem; padding: .65rem .85rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: all .15s; font-size: .88rem; color: var(--text2);
}
.flagged-list-item:hover { border-color: var(--primary); background: var(--primary-l); color: var(--primary); }
.flagged-list-item .fl-num { font-weight: 800; color: var(--primary); min-width: 24px; }
.review-modal-actions { display: flex; gap: .65rem; }

/* Calculating screen */
.calculating-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 2.5rem 2rem; width: 100%; max-width: 480px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.calc-brain { font-size: 3.5rem; margin-bottom: 1rem; animation: calcBob .8s ease-in-out infinite alternate; }
@keyframes calcBob { from{transform:scale(1)} to{transform:scale(1.08)} }
.calculating-box h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; letter-spacing: -.02em; }
.calc-status { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; min-height: 1.5em; }
.calc-progress-wrap { height: 8px; background: var(--border); border-radius: 20px; overflow: hidden; margin-bottom: 1.5rem; }
.calc-progress-bar { height: 100%; background: var(--primary); border-radius: 20px; width: 0%; transition: width .3s ease; }
.calc-steps { display: flex; flex-direction: column; gap: .5rem; text-align: left; margin-bottom: 1.5rem; }
.calc-step {
  display: flex; align-items: center; gap: .65rem;
  font-size: .84rem; color: var(--muted); padding: .4rem 0;
}
.calc-step .cs-icon { font-size: 1rem; flex-shrink: 0; }
.calc-step.done { color: var(--green); }
.calc-step.done .cs-icon::after { content: ' ✓'; font-size: .8rem; }

/* AdSense containers */
.ad-container {
  background: var(--bg2); border: 1px dashed var(--border2); border-radius: var(--r);
  padding: 1rem; text-align: center; margin: 1.1rem 0;
  font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
  min-height: 90px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .35rem;
}
.ad-container .ad-label { font-size: .62rem; color: #9ca3af; }

/* Results — free tier */
.percentile-display {
  text-align: center; padding: 1.75rem 1rem;
}
.percentile-big {
  font-size: 4.5rem; font-weight: 900; color: var(--primary);
  letter-spacing: -.05em; line-height: 1;
}
.percentile-label { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.percentile-band {
  display: inline-block; background: var(--green-l); border: 1px solid #86efac;
  color: var(--green); font-size: .8rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 6px; margin-top: .85rem; letter-spacing: .03em;
}

/* Paywall blur overlay */
.paywall-section { position: relative; overflow: hidden; border-radius: var(--r); margin-top: 1rem; }
.paywall-content { padding: .5rem 0; filter: blur(5px); user-select: none; pointer-events: none; }
.paywall-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .85rem;
  background: rgba(255,255,255,.65); backdrop-filter: blur(2px);
  border-radius: var(--r); padding: 1.25rem;
}
.paywall-lock { font-size: 2.25rem; }
.paywall-cta-text { font-size: .88rem; font-weight: 600; color: var(--navy); text-align: center; }

/* Upsell tier cards */
.tier-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin: 1rem 0; }
.tier-card {
  border: 2px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem;
  text-align: center; cursor: pointer; transition: all .2s;
  background: #fff; position: relative;
}
.tier-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tier-card.popular { border-color: var(--primary); }
.tier-popular-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .68rem; font-weight: 800;
  padding: .22rem .75rem; border-radius: 50px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.tier-price { font-size: 1.8rem; font-weight: 900; color: var(--navy); letter-spacing: -.04em; }
.tier-price span { font-size: .85rem; font-weight: 400; color: var(--muted); }
.tier-name { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .65rem; }
.tier-features { list-style: none; text-align: left; font-size: .8rem; color: var(--text2); display: flex; flex-direction: column; gap: .3rem; }
.tier-features li::before { content: '✓  '; color: var(--green); font-weight: 700; }

/* Affiliate section */
.affiliate-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .75rem; }
.affiliate-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1rem .85rem; text-align: center; box-shadow: var(--shadow);
  transition: all .18s; text-decoration: none; color: inherit;
}
.affiliate-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.affiliate-icon { font-size: 1.75rem; margin-bottom: .5rem; }
.affiliate-name { font-size: .82rem; font-weight: 700; color: var(--navy); }
.affiliate-desc { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* Share result card */
.share-result-card {
  background: linear-gradient(135deg, var(--primary) 0%, #1557a0 100%);
  border-radius: var(--r-lg); padding: 1.5rem; text-align: center; color: #fff;
  margin-bottom: 1rem;
}
.share-result-card .src-pct { font-size: 3rem; font-weight: 900; letter-spacing: -.04em; }
.share-result-card .src-label { font-size: .85rem; opacity: .8; margin-bottom: 1.1rem; }
.share-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.share-btn-item {
  padding: .65rem .5rem; border-radius: 8px; border: none; cursor: pointer;
  font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .35rem;
  transition: opacity .18s; min-height: 44px; font-family: inherit;
}
.share-btn-item:hover { opacity: .88; transform: translateY(-1px); }
.sbtn-tw  { background: #000; color: #fff; }
.sbtn-fb  { background: #1877f2; color: #fff; }
.sbtn-wa  { background: #25d366; color: #fff; }
.sbtn-copy { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.35); grid-column: span 3; }

/* Friend arrival banner */
.friend-banner {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #fff; padding: .9rem 1.5rem; text-align: center;
  font-size: .88rem; font-weight: 600; display: none;
}
.friend-banner.visible { display: block; }

/* Trust badge */
.trust-validated {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--primary-l); border: 1px solid #bfdbfe;
  color: var(--primary); font-size: .73rem; font-weight: 700;
  padding: .35rem .9rem; border-radius: 6px; margin-bottom: 1rem;
  letter-spacing: .03em;
}

/* Paid result extras */
.iq-score-big {
  font-size: 5rem; font-weight: 900; color: var(--primary);
  letter-spacing: -.06em; line-height: 1; text-align: center;
}
.score-category-bar { margin-bottom: .65rem; }
.scb-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text2); margin-bottom: .3rem; font-weight: 600; }
.scb-track { height: 8px; background: var(--bg2); border-radius: 20px; overflow: hidden; }
.scb-fill { height: 100%; border-radius: 20px; background: var(--primary); transition: width 1s ease; }
.famous-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .65rem; }
.famous-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r);
  padding: .85rem .7rem; text-align: center;
}
.famous-card .fc-name { font-size: .8rem; font-weight: 700; color: var(--navy); }
.famous-card .fc-iq  { font-size: .72rem; color: var(--primary); font-weight: 600; }

@media (max-width: 768px) {
  .tier-cards { grid-template-columns: 1fr; }
  .affiliate-grid { grid-template-columns: 1fr; }
  .share-btns { grid-template-columns: 1fr 1fr; }
  .sbtn-copy { grid-column: span 2; }
  .famous-grid { grid-template-columns: 1fr 1fr; }
  .percentile-big { font-size: 3.5rem; }
  .iq-score-big { font-size: 4rem; }
}

/* ════════════════════════════════════
   LIVE RESULTS FEED
════════════════════════════════════ */
.live-results-section {
  background: var(--navy); padding: 3rem 1.5rem;
  display: flex; gap: 3rem; align-items: flex-start;
  justify-content: center; flex-wrap: wrap;
}
.live-results-left { flex: 0 0 340px; max-width: 100%; }
.live-results-label {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--green); margin-bottom: 1rem;
}
.live-results-label .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }

.live-results-feed { display: flex; flex-direction: column; gap: .4rem; }

.lr-row {
  display: flex; align-items: center; gap: .65rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px; padding: .55rem .9rem;
  transition: opacity .4s, transform .4s;
}
.lr-row-new { animation: lrSlideIn .4s ease; }
@keyframes lrSlideIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

.lr-flag { font-size: 1.05rem; flex-shrink: 0; }
.lr-name { flex: 1; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-iq   { font-size: .82rem; font-weight: 800; color: var(--primary); flex-shrink: 0; background: rgba(29,111,196,.25); padding: .2rem .6rem; border-radius: 6px; }
.lr-time { font-size: .72rem; color: rgba(255,255,255,.35); flex-shrink: 0; min-width: 70px; text-align: right; }

.live-results-right {
  flex: 0 0 280px; max-width: 100%; color: #fff; padding-top: .5rem;
}
.lrf-today {
  font-size: .8rem; font-weight: 700; color: var(--green); text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: .75rem;
}
.lrf-today span { font-size: 1.1rem; }
.lrf-title { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: .6rem; line-height: 1.35; }
.lrf-sub   { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 1.25rem; }

@media (max-width: 768px) {
  .live-results-section { flex-direction: column; gap: 1.75rem; padding: 2.5rem 1.25rem; }
  .live-results-left { flex: none; width: 100%; }
  .live-results-right { flex: none; width: 100%; }
}

/* ── Testimonial verified badge ── */
.testimonial-verified {
  font-size: .7rem; font-weight: 700; color: var(--green);
  background: var(--green-l); border: 1px solid #86efac;
  padding: .1rem .45rem; border-radius: 4px; margin-left: .3rem;
  vertical-align: middle;
}

/* ════════════════════════════════════
   MOTIVATION TOAST
════════════════════════════════════ */
.motivation-toast {
  position: fixed; bottom: 5.5rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #fff; padding: 1.1rem 2rem; border-radius: 16px;
  font-size: 1.1rem; font-weight: 800; line-height: 1.35;
  display: inline-flex; align-items: center; gap: .75rem;
  white-space: nowrap; box-shadow: 0 12px 36px rgba(15,118,110,.45);
  opacity: 0; transition: opacity .35s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  z-index: 500; pointer-events: none; max-width: 92vw;
  text-align: center; letter-spacing: -.01em;
}
.motivation-toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.motivation-icon { font-size: 1.4rem; flex-shrink: 0; }

@media (max-width: 600px) {
  .motivation-toast { font-size: 1rem; padding: 1rem 1.5rem; bottom: 5rem; white-space: normal; max-width: 88vw; }
  .question-card { padding: .85rem .9rem; }
  .question-text { font-size: .98rem; margin-bottom: .85rem; }
  .option-card { padding: .8rem 1rem; min-height: 52px; font-size: .92rem; }
  .question-category { font-size: .68rem; padding: .25rem .8rem; margin-bottom: .6rem; }
}

/* ════════════════════════════════════
   STATIC PAGES — Privacy / Terms
════════════════════════════════════ */
.static-wrap {
  max-width: 740px; margin: 0 auto; padding: 3rem 1.5rem 4rem;
}
.static-wrap h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--navy);
  letter-spacing: -.03em; margin-bottom: .4rem;
}
.static-wrap h2 {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  margin: 2rem 0 .5rem; letter-spacing: -.01em;
}
.static-wrap p { font-size: .92rem; color: var(--text2); line-height: 1.75; margin-bottom: .85rem; }
.static-wrap ul {
  list-style: disc; padding-left: 1.5rem; margin-bottom: .85rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.static-wrap ul li { font-size: .92rem; color: var(--text2); line-height: 1.65; }
.static-wrap a { color: var(--primary); text-decoration: underline; }
.static-wrap a:hover { color: var(--primary-d); }
.updated {
  font-size: .8rem; color: var(--muted); margin-bottom: 2rem;
  background: var(--bg2); border: 1px solid var(--border);
  display: inline-block; padding: .3rem .9rem; border-radius: 6px;
}

/* ════════════════════════════════════
   SUCCESS PAGE — Report Cards
════════════════════════════════════ */
.success-wrap {
  max-width: 640px; margin: 0 auto; padding: 2rem 1.25rem 4rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.success-hero {
  background: linear-gradient(135deg, #eef4ff 0%, #f0fdf4 100%);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 2.5rem 2rem; text-align: center; box-shadow: var(--shadow);
}
.success-hero h1 {
  font-size: 1.75rem; font-weight: 900; color: var(--navy);
  letter-spacing: -.03em; margin-bottom: .5rem;
}
.success-hero p { font-size: .92rem; color: var(--muted); }

.report-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--shadow-md); position: relative;
}
.report-section-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 1.1rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}

/* IQ Score display */
.iq-display {
  text-align: center; padding: 1.5rem 1rem;
  background: var(--bg2); border-radius: var(--r); border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.big-num {
  font-size: 5rem; font-weight: 900; color: var(--primary);
  letter-spacing: -.06em; line-height: 1;
}
.iq-label { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-top: .3rem; }

/* Tips list */
.tip-list {
  list-style: none; display: flex; flex-direction: column; gap: .65rem; padding: 0;
}
.tip-list li {
  font-size: .9rem; color: var(--text2); line-height: 1.65;
  display: flex; align-items: flex-start; gap: .65rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r); padding: .85rem 1rem;
}
.tip-list li::before {
  content: '→'; color: var(--primary); font-weight: 800; flex-shrink: 0; padding-top: .1rem;
}

/* Loading overlay */
.loading-overlay {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem 2rem; gap: 1.1rem;
}
.spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--primary);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .success-wrap { padding: 1.25rem .75rem 3rem; }
  .report-card { padding: 1.35rem; }
  .success-hero { padding: 2rem 1.25rem; }
  .big-num { font-size: 4rem; }
}

/* ════════════════════════════════════
   CALCULATING SCREEN
════════════════════════════════════ */
.calculating-screen-box {
  background: #fff; border-radius: var(--r-lg);
  padding: 2.5rem 2rem; text-align: center;
  box-shadow: var(--shadow-lg); max-width: 460px; width: 100%;
}
.calc-brain {
  font-size: 3.25rem; margin-bottom: 1.25rem;
  animation: pulse-brain 1.2s ease-in-out infinite;
}
@keyframes pulse-brain {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
.calc-title {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
  color: var(--navy); letter-spacing: -.02em; margin-bottom: .4rem;
}
.calc-sub {
  font-size: .9rem; color: var(--muted); margin-bottom: 1.75rem;
}
.calc-bar-wrap {
  background: var(--bg2); border-radius: 20px; height: 10px;
  overflow: hidden; margin-bottom: 1.5rem; border: 1px solid var(--border);
}
.calc-bar-fill {
  height: 100%; width: 0%; border-radius: 20px;
  background: linear-gradient(90deg, var(--primary), #7c3aed);
  transition: width .4s ease;
}
.calc-steps {
  display: flex; flex-direction: column; gap: .55rem;
  text-align: left; max-width: 300px; margin: 0 auto;
}
.calc-step {
  display: flex; align-items: center; gap: .75rem;
  font-size: .88rem; color: var(--muted); font-weight: 500;
  transition: color .3s;
}
.calc-step.done { color: var(--green); }
.calc-step.active { color: var(--primary); font-weight: 700; }
.calc-step-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; transition: all .3s;
}
.calc-step.done  .calc-step-icon { background: var(--green); border-color: var(--green); color: #fff; }
.calc-step.active .calc-step-icon { background: var(--primary); border-color: var(--primary); color: #fff; animation: spin .7s linear infinite; }

/* ════════════════════════════════════
   IQ PERCENTILE GAUGE
════════════════════════════════════ */
.iq-gauge-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.5rem 1rem 1rem; background: var(--bg2);
  border-radius: var(--r); border: 1px solid var(--border); margin-bottom: 1rem;
}
.iq-gauge-svg { overflow: visible; }
.gauge-bg    { fill: none; stroke: var(--border); stroke-width: 12; stroke-linecap: round; }
.gauge-fill  { fill: none; stroke: url(#gaugeGrad); stroke-width: 12; stroke-linecap: round;
               transition: stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1); }
.gauge-score-num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 900;
  fill: var(--primary); text-anchor: middle; dominant-baseline: middle;
}
.gauge-score-label {
  font-size: .72rem; font-weight: 700; fill: var(--muted);
  text-anchor: middle; dominant-baseline: middle; text-transform: uppercase; letter-spacing: .06em;
}
.gauge-markers text {
  font-size: .6rem; fill: var(--muted); text-anchor: middle; font-weight: 600;
}
.gauge-pct-badge {
  display: inline-block; margin-top: .75rem;
  background: var(--primary-l); border: 1px solid #c7d2fe;
  color: var(--primary); font-size: .82rem; font-weight: 700;
  padding: .3rem 1rem; border-radius: 20px; letter-spacing: .02em;
}

/* ════════════════════════════════════
   EXIT INTENT POPUP
════════════════════════════════════ */
.exit-popup {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.exit-popup.open { display: flex; }
.exit-popup-box {
  background: #fff; border-radius: 20px; padding: 2.25rem 1.75rem;
  max-width: 400px; width: 100%; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.25); animation: modalIn .22s ease;
  position: relative;
}
.exit-popup-close {
  position: absolute; top: .75rem; right: .75rem;
  width: 30px; height: 30px; border-radius: 8px; background: var(--bg2);
  border: none; cursor: pointer; font-size: .95rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.exit-popup-emoji { font-size: 2.75rem; margin-bottom: .75rem; }
.exit-popup h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 900;
  color: var(--navy); letter-spacing: -.02em; margin-bottom: .5rem;
}
.exit-popup p { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; line-height: 1.6; }
.exit-popup-dismiss {
  font-size: .78rem; color: var(--muted); margin-top: .85rem;
  cursor: pointer; text-decoration: underline;
}

/* WhatsApp share button */
.share-btn-wa {
  background: #25d366; color: #fff;
}
.share-btn-wa:hover { background: #1ebe5a; }

