/* ================================================
   NeuroGlic Quiz — Cinematic Neon Design System
   Dark Space · Neon Cyan & Green · Glassmorphism
   ================================================ */

:root {
  --bg:        #e8f3fb;
  --bg2:       #deeef8;
  --glass:     rgba(255, 255, 255, 0.97);
  --glass2:    rgba(248, 252, 255, 0.95);
  --border:    rgba(0, 158, 219, 0.25);
  --border2:   rgba(0, 158, 219, 0.42);
  --text:      #09192e;
  --text2:     #2e5270;
  --cyan:      #009EDB;
  --cyan-dim:  rgba(0, 158, 219, 0.15);
  --green:     #4197D3;
  --green-dim: rgba(0, 255, 136, 0.12);
  --purple:    #7c3aed;
  --purple-dim:rgba(124, 58, 237, 0.15);
  --yellow:    #fbbf24;
  --red:       #ef4444;
  --radius:    16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Neural network canvas — disabled for mesh gradient style */
#neural-bg {
  display: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════
   MESH GRADIENT BACKGROUND — Option A
   IDF Blue blobs · Visible but elegant movement
   ══════════════════════════════════════════════════ */

.bg-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(150deg, #ffffff 0%, #eef6fc 55%, #e4f1f8 100%);
}

.bg-grid { display: none; }

.bg-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Blob 1 — top-left, large anchor */
.orb-1 {
  width: 860px; height: 860px;
  background: radial-gradient(circle at 40% 40%,
    rgba(0,120,200,0.32) 0%,
    rgba(0,100,185,0.14) 42%,
    transparent 68%);
  filter: blur(75px);
  top: -280px; left: -220px;
  animation: mA 18s ease-in-out infinite;
}

/* Blob 2 — bottom-right */
.orb-2 {
  width: 720px; height: 720px;
  background: radial-gradient(circle at 55% 55%,
    rgba(0,95,175,0.28) 0%,
    rgba(0,75,155,0.11) 44%,
    transparent 68%);
  filter: blur(85px);
  bottom: -180px; right: -180px;
  animation: mB 24s ease-in-out infinite;
}

/* Blob 3 — center float */
.orb-3 {
  width: 580px; height: 580px;
  background: radial-gradient(circle at 50% 50%,
    rgba(80,165,235,0.24) 0%,
    rgba(55,140,220,0.09) 46%,
    transparent 68%);
  filter: blur(70px);
  top: 20%; left: 30%;
  animation: mC 15s ease-in-out infinite;
}

/* Blob 4 — bottom-left accent */
.orb-4 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 50% 50%,
    rgba(0,148,210,0.22) 0%,
    rgba(0,125,200,0.08) 46%,
    transparent 68%);
  filter: blur(78px);
  bottom: 0%; left: -30px;
  animation: mD 20s ease-in-out infinite;
}

/* Movement — slightly more visible than subtle, not overdone */
@keyframes mA {
  0%   { transform: translate(0px,   0px)   scale(1);    }
  20%  { transform: translate(70px, -50px)  scale(1.06); }
  45%  { transform: translate(40px,  60px)  scale(0.96); }
  70%  { transform: translate(-50px, 35px)  scale(1.04); }
  100% { transform: translate(0px,   0px)   scale(1);    }
}
@keyframes mB {
  0%   { transform: translate(0px,   0px)   scale(1);    }
  25%  { transform: translate(-60px, 50px)  scale(1.07); }
  55%  { transform: translate(45px, -55px)  scale(0.95); }
  80%  { transform: translate(-30px, 70px)  scale(1.04); }
  100% { transform: translate(0px,   0px)   scale(1);    }
}
@keyframes mC {
  0%   { transform: translate(0px,  0px)   scale(1);    }
  35%  { transform: translate(55px,-40px)  scale(1.08); }
  70%  { transform: translate(-40px,50px)  scale(0.94); }
  100% { transform: translate(0px,  0px)   scale(1);    }
}
@keyframes mD {
  0%   { transform: translate(0px,  0px)   scale(1);    }
  30%  { transform: translate(45px,-60px)  scale(1.05); }
  65%  { transform: translate(-25px,40px)  scale(0.97); }
  100% { transform: translate(0px,  0px)   scale(1);    }
}

/* ── Layout ─────────────────────────────────────── */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 80px;
}

.container {
  width: 100%;
  max-width: 580px;
}

/* ── Typography ──────────────────────────────────── */

h1 {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

h3 { font-size: clamp(16px, 4vw, 20px); font-weight: 700; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle { color: var(--text2); font-size: 16px; margin-top: 8px; line-height: 1.6; }

.label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--cyan);
  opacity: 0.7;
  margin-bottom: 10px;
  display: block;
}

/* ── Glass Card ──────────────────────────────────── */

.card {
  background: var(--glass);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 28px rgba(0,90,160,0.14),
    0 1px 6px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(0,158,219,0.3);
  box-shadow:
    0 8px 36px rgba(0,90,160,0.2),
    0 0 0 1px rgba(0,158,219,0.35),
    inset 0 1px 0 rgba(255,255,255,1);
}

.card + .card { margin-top: 14px; }

/* ── Neon Buttons ────────────────────────────────── */

.btn-primary {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #009EDB 0%, #0082b8 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  padding: 18px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,130,185,0.4);
  cursor: pointer;
  letter-spacing: 0.5px;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(0,158,219,0.35),
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
  -webkit-tap-highlight-color: transparent;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  border-color: #0082b8;
  box-shadow:
    0 6px 28px rgba(0,158,219,0.45),
    0 2px 8px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: scale(0.98) translateY(0); }

/* ── Answer Option Buttons ───────────────────────── */

.btn-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 158, 219, 0.22);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  line-height: 1.45;
  margin-bottom: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn-option::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--green));
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 0 2px 2px 0;
}

.btn-option:hover {
  border-color: rgba(0,158,219,0.35);
  background: rgba(0,158,219,0.12);
  transform: translateX(4px);
  box-shadow: 0 0 16px rgba(0,158,219,0.08), inset 0 0 20px rgba(0,158,219,0.03);
}

.btn-option:hover::before { opacity: 1; }

.btn-option.selected {
  border-color: #009EDB;
  background: rgba(0,158,219,0.08);
  color: #009EDB;
  font-weight: 700;
  box-shadow:
    0 0 20px rgba(0,158,219,0.2),
    0 0 40px rgba(0,158,219,0.08),
    inset 0 0 20px rgba(0,158,219,0.05);
  transform: translateX(4px) scale(1.01);
}

.btn-option.selected::before { opacity: 1; }

.btn-option.pop {
  animation: btnPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes btnPop {
  0%   { transform: translateX(4px) scale(1.01); }
  50%  { transform: translateX(4px) scale(1.05); box-shadow: 0 0 40px rgba(0,158,219,0.4); }
  100% { transform: translateX(4px) scale(1.01); }
}

.option-letter {
  width: 30px;
  height: 30px;
  background: rgba(0,158,219,0.1);
  border: 1px solid rgba(0,158,219,0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.btn-option.selected .option-letter {
  background: #009EDB;
  color: #ffffff;
  border-color: #009EDB;
}

/* ── Progress Bar ────────────────────────────────── */

.progress-wrap {
  width: 100%;
  background: rgba(0,158,219,0.12);
  height: 4px;
  border-radius: 99px;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0,158,219,0.5), 0 0 20px rgba(0,158,219,0.25);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(0,158,219,0.5);
}

.progress-label {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-label span { color: var(--cyan); font-weight: 700; }

/* ── Quiz Card 3D Wrapper ────────────────────────── */

.quiz-stage {
  perspective: 1000px;
  perspective-origin: center center;
}

#q-card {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

#q-card.exit-left {
  transform: perspective(1000px) rotateY(-25deg) translateX(-60px);
  opacity: 0;
}

#q-card.enter-right {
  transform: perspective(1000px) rotateY(25deg) translateX(60px);
  opacity: 0;
  transition: none;
}

#q-card.enter-active {
  transform: perspective(1000px) rotateY(0deg) translateX(0);
  opacity: 1;
}

/* ── Risk Badge ──────────────────────────────────── */

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.risk-badge.green {
  background: rgba(34,197,94,0.12);
  color: #15803d;
  border: 1px solid rgba(34,197,94,0.45);
  box-shadow: 0 2px 12px rgba(34,197,94,0.2);
  font-weight: 800;
}

.risk-badge.yellow {
  background: rgba(245,158,11,0.1);
  color: #b45309;
  border: 1px solid rgba(245,158,11,0.4);
  box-shadow: 0 2px 12px rgba(245,158,11,0.2);
}

.risk-badge.red {
  background: rgba(239,68,68,0.1);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.4);
  box-shadow: 0 2px 12px rgba(239,68,68,0.2);
}

/* ── Score Display ───────────────────────────────── */

.score-display {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  margin-bottom: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.score-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, currentColor, transparent 70%);
  opacity: 0.05;
}

.score-display.green {
  background: rgba(65,151,211,0.05);
  border: 1px solid rgba(65,151,211,0.2);
  box-shadow: 0 0 40px rgba(65,151,211,0.1), inset 0 0 40px rgba(65,151,211,0.03);
}

.score-display.yellow {
  background: rgba(254,243,199,0.97);
  border: 2px solid rgba(245,158,11,0.6);
  box-shadow: 0 4px 24px rgba(245,158,11,0.15);
}

.score-display.red {
  background: rgba(254,226,226,0.97);
  border: 2px solid rgba(239,68,68,0.6);
  box-shadow: 0 4px 24px rgba(239,68,68,0.15);
}

.score-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  margin: 10px 0 6px;
  letter-spacing: -2px;
}

.score-display.green  .score-number {
  color: var(--green);
  text-shadow: 0 0 30px rgba(65,151,211,0.5), 0 0 60px rgba(65,151,211,0.2);
}

.score-display.yellow .score-number {
  color: #b45309;
  text-shadow: 0 2px 6px rgba(245,158,11,0.25);
}

.score-display.red    .score-number {
  color: #b91c1c;
  text-shadow: 0 2px 6px rgba(239,68,68,0.25);
}

/* ── Loading Screen ──────────────────────────────── */

.loading-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.loading-screen.active { display: flex; }

.spinner-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 36px;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: spinRing 1.4s linear infinite;
}

.ring-1 {
  border-top-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,158,219,0.4);
}

.ring-2 {
  inset: 8px;
  border-right-color: var(--green);
  animation-duration: 1s;
  animation-direction: reverse;
  box-shadow: 0 0 8px rgba(65,151,211,0.3);
}

.ring-3 {
  inset: 18px;
  border-bottom-color: rgba(124,58,237,0.8);
  animation-duration: 1.8s;
}

.spinner-dot {
  position: absolute;
  inset: 33px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: dotPulse 1.4s ease-in-out infinite;
}

@keyframes spinRing { to { transform: rotate(360deg); } }

@keyframes dotPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.6; }
  50%       { transform: scale(1.2); opacity: 1; }
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  text-align: left;
  width: 100%;
  max-width: 320px;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text2);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.loading-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border2);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.loading-step.visible .step-dot {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* ── Offer Items ─────────────────────────────────── */

.offer-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(240,250,255,0.98);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,158,219,0.28);
  box-shadow: 0 2px 10px rgba(0,100,180,0.1);
  transition: border-color 0.2s, background 0.2s;
}

.offer-item:hover {
  border-color: rgba(0,158,219,0.2);
  background: rgba(0,158,219,0.05);
}

.offer-item.featured {
  border-color: rgba(251,191,36,0.25);
  background: rgba(251,191,36,0.04);
  box-shadow: 0 0 20px rgba(251,191,36,0.08);
}

.offer-item.featured:hover {
  border-color: rgba(251,191,36,0.4);
  background: rgba(251,191,36,0.07);
}

.offer-icon {
  font-size: 30px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.offer-item h3 { font-size: 15px; margin-bottom: 5px; }
.offer-item p  { font-size: 13px; color: var(--text2); line-height: 1.55; }

.format-tag {
  display: inline-block;
  background: rgba(0,158,219,0.1);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
  border: 1px solid rgba(0,158,219,0.2);
}

.featured-tag {
  display: inline-block;
  background: rgba(251,191,36,0.12);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 6px;
  border: 1px solid rgba(251,191,36,0.25);
}

/* ── Bonus Items ─────────────────────────────────── */

.bonus-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,158,219,0.06);
}

.bonus-item:last-child { border-bottom: none; }


.bonus-check {
  color: var(--green);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
  text-shadow: 0 0 8px var(--green);
}

.bonus-item h3 { font-size: 14px; margin-bottom: 3px; color: var(--text); }
.bonus-item p  { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ── CTA Block ───────────────────────────────────── */

.cta-block {
  background: linear-gradient(135deg, rgba(0,158,219,0.04) 0%, rgba(65,151,211,0.02) 100%);
  border: 2px solid rgba(0,158,219,0.3);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  margin-top: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 4px 32px rgba(0,158,219,0.15);
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.price-original {
  color: var(--text2);
  font-size: 15px;
  text-decoration: line-through;
  margin-bottom: 4px;
  opacity: 0.6;
}

.price-current {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 22px;
  line-height: 1;
}

.price-current .amount {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(0,158,219,0.4));
}

.cta-seals {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text2);
  line-height: 2;
  opacity: 0.7;
}

/* ── Divider ─────────────────────────────────────── */

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,158,219,0.15), transparent);
  margin: 32px 0;
}

/* ── Entry Page ──────────────────────────────────── */

.hero {
  text-align: center;
  padding: 64px 0 40px;
}

.hero-icon {
  width: 88px;
  height: 88px;
  background: rgba(0,158,219,0.07);
  border: 1px solid rgba(0,158,219,0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 28px;
  box-shadow:
    0 0 30px rgba(0,158,219,0.15),
    inset 0 0 30px rgba(0,158,219,0.05);
  animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(0,158,219,0.15), inset 0 0 30px rgba(0,158,219,0.05); }
  50%       { box-shadow: 0 0 50px rgba(0,158,219,0.3), inset 0 0 40px rgba(0,158,219,0.08); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,158,219,0.07);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid rgba(0,158,219,0.2);
  margin-bottom: 20px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero h1 { margin-bottom: 16px; }

.hero .subtitle {
  font-size: 18px;
  max-width: 460px;
  margin: 0 auto 36px;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text2);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 99px;
  padding: 6px 14px;
}

/* ── Steps ───────────────────────────────────────── */

.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text2);
}

.step-num {
  width: 34px;
  height: 34px;
  background: rgba(0,158,219,0.1);
  border: 1px solid rgba(0,158,219,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0,158,219,0.1);
}

/* ── Warning strip ───────────────────────────────── */

.warning-strip {
  background: rgba(254,226,226,0.95);
  border: 1px solid rgba(239,68,68,0.45);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
}

.warning-strip p {
  font-size: 14px;
  color: #450a0a;
  line-height: 1.65;
}

/* ── Cause Block ─────────────────────────────────── */

.cause-block {
  background: rgba(65,151,211,0.03);
  border: 1px solid rgba(65,151,211,0.15);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cause-block .label { color: #064e3b; font-weight:800; }

.cause-block p {
  font-size: 15px;
  color: #052e16;
  line-height: 1.75;
  font-weight: 500;
}

.cause-block strong { color: #052e16; font-weight: 800; }

/* ── Result Header ───────────────────────────────── */

.result-header {
  padding: 52px 0 24px;
  text-align: center;
}

.result-header h2 {
  margin-top: 18px;
  font-size: clamp(18px, 4vw, 24px);
}

/* ── Section ─────────────────────────────────────── */

.section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text2);
  margin-bottom: 16px;
  display: block;
  opacity: 0.6;
}

/* ── Disclaimer ──────────────────────────────────── */

.disclaimer {
  font-size: 12px;
  color: #4a6b8a;
  text-align: center;
  margin-top: 16px;
  line-height: 1.65;
  opacity: 0.7;
}

/* ── Utilities ───────────────────────────────────── */

.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }

/* ── Entrance animations ─────────────────────────── */

.fade-up {
  animation: fadeUp 0.5s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.12s; }
.fade-up:nth-child(3) { animation-delay: 0.19s; }
.fade-up:nth-child(4) { animation-delay: 0.26s; }
.fade-up:nth-child(5) { animation-delay: 0.33s; }
.fade-up:nth-child(6) { animation-delay: 0.40s; }

/* ── Responsive ──────────────────────────────────── */

/* iPad / tablet (768px – 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container  { max-width: 600px; }
  body        { font-size: 18px; }
  h1          { font-size: 36px; }
  h2          { font-size: 26px; }
  .btn-primary { font-size: 17px; padding: 20px 32px; }
  .btn-option  { font-size: 17px; padding: 20px 22px; }
  .score-number { font-size: 72px; }
  .price-current { font-size: 52px; }
  .card { padding: 28px; }
  .cta-block { padding: 36px 32px; }
}

/* iPhone / small mobile (≤ 480px) */
@media (max-width: 480px) {
  body        { font-size: 16px; }
  .page       { padding: 0 16px 60px; }
  .container  { max-width: 100%; }

  /* Hero canvas — scale down to fit mobile */
  .neuro-mark    { width: 230px !important; height: 230px !important; }
  #hero-canvas   { width: 230px !important; height: 230px !important; }

  h1 { font-size: 26px; }
  h2 { font-size: 20px; }

  .btn-primary   { font-size: 15px; padding: 18px 20px; }
  .btn-option    { font-size: 15px; padding: 16px 14px; min-height: 56px; }
  .option-letter { width: 26px; height: 26px; font-size: 11px; }

  .price-current { font-size: 36px; }
  .score-number  { font-size: 52px; }

  .stat-row      { gap: 8px; }
  .stat-item     { padding: 12px 10px; min-width: 70px; }
  .stat-num      { font-size: 20px; }

  .card          { padding: 18px; }
  .cta-block     { padding: 24px 18px; }
  .offer-item    { padding: 14px; }
  .offer-icon    { font-size: 24px; }
  .result-header { padding: 36px 0 18px; }
  .score-display { padding: 22px 16px; }

  /* Disable heavy backdrop-filter on mobile — major perf fix */
  .card, .cta-block, .how-card, .email-card,
  .diag-card, .cause-block, .profile-archetype,
  .btn-option, .testimonial-card, .score-display {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Mesh blobs on mobile: smaller, lighter */
  .orb-1 { width:500px !important; height:500px !important; opacity:0.7; }
  .orb-2 { width:420px !important; height:420px !important; opacity:0.7; }
  .orb-3 { width:320px !important; height:320px !important; opacity:0.6; }
  .orb-4 { display:none !important; }

  /* Overflow guard */
  body { overflow-x: hidden; }
}

/* Very small (≤ 360px — Samsung Galaxy S8 etc.) */
@media (max-width: 360px) {
  .neuro-mark  { width: 200px !important; height: 200px !important; }
  #hero-canvas { width: 200px !important; height: 200px !important; }
  h1           { font-size: 23px; }
  .btn-primary { font-size: 14px; padding: 16px 16px; }
}

/* iPad / tablet — ensure canvas doesn't overflow */
@media (min-width: 481px) and (max-width: 1024px) {
  .neuro-mark  { width: 260px !important; height: 260px !important; }
  #hero-canvas { width: 260px !important; height: 260px !important; }
}

/* ── Urgency Bar ─────────────────────────────────── */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(239,68,68,0.9), rgba(220,38,38,0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.urgency-bar strong { font-weight: 800; }
.urgency-bar .price-highlight {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  margin: 0 4px;
}

/* ── Profile Archetype ───────────────────────────── */
.profile-archetype {
  text-align: center;
  padding: 28px 24px;
  border-radius: var(--radius);
  margin-bottom: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.profile-archetype.red    { background: rgba(254,226,226,0.97);  border: 2px solid rgba(239,68,68,0.4);  box-shadow: 0 4px 24px rgba(239,68,68,0.15); }
.profile-archetype.yellow { background: rgba(254,243,199,0.97);  border: 2px solid rgba(245,158,11,0.4);  box-shadow: 0 4px 24px rgba(245,158,11,0.15); }
.profile-archetype.green  { background: #dcfce7; border: 2px solid rgba(34,197,94,0.55); box-shadow: 0 4px 24px rgba(34,197,94,0.18); }

.profile-name {
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 10px 0 6px;
}
.profile-archetype.red    .profile-name { color: #b91c1c; text-shadow: none; }
.profile-archetype.yellow .profile-name { color: #b45309; text-shadow: none; }
.profile-archetype.green  .profile-name { color: #15803d; text-shadow: none; }

.profile-tagline {
  font-size: 14px;
  opacity: 0.55;
  margin-bottom: 14px;
}

/* ── Testimonials ────────────────────────────────── */
.testimonials-section { margin-top: 14px; }

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0,158,219,0.18);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(0,100,180,0.08);
}
.testimonial-stars { color: #fbbf24; font-size: 13px; margin-bottom: 8px; letter-spacing: 2px; }
.testimonial-text  { font-size: 14px; color: #1e3a50; line-height: 1.65; margin-bottom: 10px; font-style: italic; }
.testimonial-text strong { color: var(--text); font-style: normal; }
.testimonial-author { font-size: 12px; color: #4a6b8a; opacity: 0.8; font-weight: 700; }

@media (max-width: 480px) {
  .urgency-bar { font-size: 12px; padding: 9px 14px; }
  .profile-name { font-size: 26px; }
}

/* ── Video Player Card ───────────────────────────── */
.vsl-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,158,219,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 32px rgba(0,158,219,0.06), inset 0 1px 0 rgba(255,255,255,0.03);
}

.vsl-card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,158,219,0.04);
}

.vsl-card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: vsldot 2s ease-in-out infinite;
}
@keyframes vsldot {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}

.vsl-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.8;
}

/* 16:9 responsive wrapper */
.vsl-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #e8f3fb;
}

.vsl-video-wrap iframe,
.vsl-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Placeholder shown when no video is set */
.vsl-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #e8f3fb;
}

.vsl-placeholder-icon {
  width: 56px; height: 56px;
  background: rgba(0,158,219,0.15);
  border: 1.5px solid rgba(0,158,219,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.vsl-placeholder-text {
  font-size: 13px;
  color: var(--text2);
  opacity: 0.5;
}

.vsl-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.vsl-duration {
  font-size: 11px;
  color: var(--text2);
  opacity: 0.5;
}

.vsl-caption {
  font-size: 12px;
  color: var(--text2);
  opacity: 0.55;
  font-style: italic;
}

@media (max-width: 480px) {
  .vsl-card-footer { flex-direction: column; align-items: flex-start; }
}
