/* ── Reset & variables ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #172554;

  --red:   #ef4444;
  --gray:  #9ca3af;
  --green: #22c55e;
  --text:  #1e293b;
  --muted: #64748b;

  /* Card gradient: user-specified #E2F3FF → lighter blue-white */
  --card-bg: linear-gradient(145deg, #E2F3FF 0%, #F0F9FF 100%);
  --card-shadow: 0 4px 28px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.08);
}

html { font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  background: #FFFFFF;
  color: var(--text);
}

/* ── Screen system ──────────────────────────────────────── */
.screen {
  display: none;
  min-height: 100vh;
  width: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.screen.active { display: flex; }

/* Landing uses block layout so sections stack & body scrolls */
#screen-landing.active {
  display: block;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background decoration (soft blue glows on white) ────── */
.bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bg-blob-1 { width: 700px; height: 700px; top: -200px; right: -200px; background: #C8E3FF; opacity: 0.45; }
.bg-blob-2 { width: 500px; height: 500px; bottom: -150px; left: -150px; background: #D0EBFF; opacity: 0.4; }
.bg-blob-3 { width: 300px; height: 300px; top: 40%; left: 25%; background: #DCF0FF; opacity: 0.25; }

/* ── Card base ──────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 90%;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: white;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; font-size: 1.15rem; padding: 1.1rem; border-radius: 16px; }

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE SECTIONS
════════════════════════════════════════════════════════════ */

/* ── Hero section ───────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
}

.landing-card { text-align: center; }

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-700);
  border-radius: 99px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.landing-icon-wrap {
  font-size: 5.5rem;
  display: block;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.15));
}

.landing-card h1 {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.9rem;
  line-height: 1.15;
}

.landing-sub {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.landing-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--blue-700); }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Shared section layout ──────────────────────────────── */
.section-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.section-card-heading {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

/* ── Benefits section ───────────────────────────────────── */
.benefits-section {
  padding: 5rem 1.5rem;
}

.benefits-outer-card {
  max-width: 900px;
  width: 90%;
  padding: 2.5rem;
  margin: 0 auto;
  /* uses main card gradient: #E2F3FF → #F0F9FF */
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Small benefit cards → white so they pop against the blue card */
.benefit-mini {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.benefit-icon {
  margin-bottom: 1rem;
  display: block;
  line-height: 0;
}
.benefit-icon svg { width: 52px; height: 52px; }

.benefit-mini h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}
.benefit-mini p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Testimonials section ───────────────────────────────── */
.testi-section {
  padding: 5rem 1.5rem 4rem;
  background: #F0F8FF; /* subtle blue wash to differentiate from pure white body */
}

.testi-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 2.5rem;
  line-height: 1.25;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto;
}

.carousel-clip {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Testimonial cards also use the blue card gradient */
.testimonial-card {
  flex-shrink: 0;
  width: 100%;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.t-stars {
  color: #FF6201;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.t-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(37, 99, 235, 0.15);
  flex-shrink: 0;
}

.t-name {
  font-weight: 700;
  color: var(--blue-700);
  font-size: 0.95rem;
}

/* Carousel arrows – blue outline on white/light background */
.c-arrow {
  background: rgba(37, 99, 235, 0.08);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  color: var(--blue-600);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.c-arrow:hover {
  background: rgba(37, 99, 235, 0.16);
  transform: scale(1.06);
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
}
.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(37, 99, 235, 0.2);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  padding: 0;
}
.c-dot.active {
  background: var(--blue-600);
  width: 26px;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #E8F3FF;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
}
/* Smooth gradient from testi-section (#F0F8FF) into footer (#E8F3FF) */
.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #E8F3FF);
  pointer-events: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}
.footer-links a {
  color: var(--blue-700);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover { color: var(--blue-900); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--muted);
  font-size: 0.75rem;
}

/* ── Payment badges ──────────────────────────────────────── */
.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pay-badge {
  height: 28px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.pay-visa {
  background: #1a1f71;
  color: #f0f0f0;
  font-style: italic;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0 10px;
}
.pay-mc {
  background: white;
  border: 1px solid #ddd;
  width: 44px;
  padding: 0;
  gap: 0;
}
.mc-l { width: 18px; height: 18px; border-radius: 50%; background: #eb001b; flex-shrink: 0; }
.mc-r { width: 18px; height: 18px; border-radius: 50%; background: #f79e1b; flex-shrink: 0; margin-left: -7px; }
.pay-paypal { background: #003087; color: #009cde; font-size: 0.75rem; }
.pay-amex { background: #007bc1; color: white; }
.pay-apple { background: #000; color: white; font-size: 0.72rem; }
.pay-gpay { background: white; border: 1px solid #ddd; color: #5f6368; }
.pay-maestro { background: white; border: 1px solid #ddd; color: #000080; font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   READY SCREEN
════════════════════════════════════════════════════════════ */
#screen-ready { padding: 2rem 1rem; }

.ready-card { max-width: 620px; }

.ready-header { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 2rem; }
.ready-icon { display: inline-flex; align-items: center; }
.ready-icon svg { width: 48px; height: 48px; }
.ready-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.ready-list { list-style: none; margin-bottom: 2rem; }
.ready-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: #FFFFFF;
  border-radius: 14px;
  border-left: 4px solid var(--blue-400);
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
}
.bullet-icon { flex-shrink: 0; display: inline-flex; align-items: center; }
.bullet-icon svg { width: 26px; height: 26px; }

.answer-preview-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}
.circles-preview {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.circle-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.circle-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.circle-sm.red   { background: var(--red); }
.circle-sm.gray  { background: var(--gray); }
.circle-sm.green { background: var(--green); }

/* ═══════════════════════════════════════════════════════════
   QUESTIONS SCREEN
════════════════════════════════════════════════════════════ */
#screen-questions {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0 0 4rem;
  background: #f8fbff; /* very light blue tint for questions bg */
}

.q-header {
  width: 100%;
  padding: 1.25rem 2rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  position: sticky;
  top: 0;
  z-index: 10;
}

.progress-track {
  width: 100%;
  height: 7px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}
.progress-text {
  color: var(--blue-700);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

.q-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.question-card {
  max-width: 680px;
  padding: 3rem 3.5rem 3.5rem;
  text-align: center;
}

.question-card.card-enter {
  animation: cardSlide 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cardSlide {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.q-number {
  display: inline-block;
  background: #FFFFFF;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.q-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 3rem;
  min-height: 4.5rem;
}

/* ── Answer circles ─────────────────────────────────────── */
.answer-circles {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  align-items: flex-start;
}

.circle-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.circle-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.circle-option:hover .circle-btn { transform: scale(1.12); }

.circle-btn.red   { background: var(--red); }
.circle-btn.gray  { background: var(--gray); }
.circle-btn.green { background: var(--green); }

.circle-option:hover .circle-btn.red   { box-shadow: 0 8px 28px rgba(239, 68, 68, 0.45); }
.circle-option:hover .circle-btn.gray  { box-shadow: 0 8px 28px rgba(156,163,175, 0.45); }
.circle-option:hover .circle-btn.green { box-shadow: 0 8px 28px rgba(34, 197, 94, 0.45); }

.circle-btn.selected { transform: scale(1.18) !important; }
.circle-btn.red.selected   { box-shadow: 0 0 0 6px rgba(239,68,68,0.2), 0 10px 32px rgba(239,68,68,0.5); }
.circle-btn.gray.selected  { box-shadow: 0 0 0 6px rgba(156,163,175,0.2), 0 10px 32px rgba(156,163,175,0.5); }
.circle-btn.green.selected { box-shadow: 0 0 0 6px rgba(34,197,94,0.2), 0 10px 32px rgba(34,197,94,0.5); }

.circle-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  max-width: 80px;
}

/* ═══════════════════════════════════════════════════════════
   LOADING / ANALYSIS SCREEN
════════════════════════════════════════════════════════════ */
#screen-loading { padding: 2rem 1rem; background: #f8fbff; }

.loading-card {
  max-width: 560px;
  text-align: center;
}

.loading-brain {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: brainPulse 1.8s ease-in-out infinite;
}
@keyframes brainPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

.loading-title {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.loading-sub {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.loading-bar-wrap { margin-bottom: 2rem; }

.loading-track {
  width: 100%;
  height: 12px;
  background: #E5E7EB;
  border-radius: 99px;
  overflow: hidden;
}

.loading-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
  border-radius: 99px;
  /* transition duration injected via JS */
}

.analysis-list { list-style: none; text-align: left; }

.analysis-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.45rem;
  transition: background 0.45s ease;
}

/* Checkmark circle */
.astep-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  border: 2px solid #E5E7EB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: #F9FAFB;
  color: transparent;
  transition: background 0.45s ease, border-color 0.45s ease, color 0.45s ease;
}

/* Step text: monospace, blue-slate tone for an AI terminal feel */
.astep-text {
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  font-size: 0.84rem;
  letter-spacing: 0.025em;
  color: #94a3b8; /* blue-slate, inactive */
  transition: color 0.45s ease;
}

.analysis-step.astep-done {
  background: rgba(37, 99, 235, 0.05);
}
.analysis-step.astep-done .astep-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: white;
}
.analysis-step.astep-done .astep-text {
  color: var(--blue-700); /* active: clear blue */
}

/* Continue button appears after loading completes */
.loading-continue {
  display: none;
}
@keyframes btnAppear {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.loading-continue.btn-appear {
  animation: btnAppear 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ═══════════════════════════════════════════════════════════
   RESULTS SCREEN
════════════════════════════════════════════════════════════ */
#screen-results {
  justify-content: flex-start;
  align-items: center;
  padding: 2.5rem 1rem 5rem;
  background: #f8fbff;
}

.results-wrap {
  max-width: 720px;
  width: 100%;
  z-index: 1;
}

.results-top-card {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 2.5rem;
}
.results-trophy { font-size: 4rem; display: block; margin-bottom: 1rem; }
.results-top-card h2 {
  font-size: 2.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
}
.results-sub { color: var(--muted); font-size: 1rem; }

.results-list { display: flex; flex-direction: column; gap: 0.9rem; }

/* Result items also use card gradient */
.result-item {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.35rem 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: resultIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes resultIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.result-rank {
  font-size: 1.4rem;
  font-weight: 800;
  min-width: 2.5rem;
  text-align: center;
  color: var(--blue-500);
}
.result-rank.gold   { font-size: 1.6rem; }
.result-rank.silver { font-size: 1.5rem; }
.result-rank.bronze { font-size: 1.45rem; }

.result-info { flex: 1; min-width: 0; }
.result-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.result-emoji { font-size: 1.1rem; }

.result-bar-container {
  width: 100%;
  height: 9px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.result-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0%;
}

.result-percent {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue-600);
  min-width: 4rem;
  text-align: right;
}

.restart-btn {
  display: block;
  margin: 2rem auto 0;
  max-width: 320px;
  width: 90%;
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (separate HTML files in /legal/)
════════════════════════════════════════════════════════════ */
.legal-pg {
  min-height: 100vh;
  background: #f8fbff;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-back {
  align-self: flex-start;
  max-width: 860px;
  width: 90%;
  margin: 0 auto 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--blue-900); }

.legal-card {
  max-width: 860px;
  width: 90%;
  padding: 3rem 3.5rem;
}

.legal-card h1 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(37, 99, 235, 0.12);
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-body {
  color: #374151;
  line-height: 1.85;
  font-size: 0.97rem;
}
.legal-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-800);
  margin: 2rem 0 0.75rem;
}
.legal-body p { margin-bottom: 1rem; }
.legal-body ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body a { color: var(--blue-600); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.kontakt-box {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.kontakt-box h3 { font-size: 0.9rem; font-weight: 700; color: var(--blue-700); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.kontakt-box p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   SIGN-IN SCREEN
════════════════════════════════════════════════════════════ */
#screen-signin { padding: 2rem 1rem; background: #f8fbff; }

.signin-card { max-width: 440px; text-align: center; }

.signin-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.signin-title {
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.signin-sub {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Google button */
.btn-google-signin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  border: 1.5px solid rgba(37, 99, 235, 0.14);
  background: white;
  color: #374151;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: all 0.18s ease;
  margin-bottom: 1.25rem;
}
.btn-google-signin:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.11);
  transform: translateY(-1px);
}

/* "oder" divider */
.signin-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.signin-divider::before, .signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(37, 99, 235, 0.1);
}

/* Email input */
.signin-email-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signin-email-input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}
.signin-email-input::placeholder { color: #94a3b8; }

.signin-email-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.4rem;
  text-align: left;
  min-height: 1.1rem;
}

.signin-note {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.9rem;
  line-height: 1.5;
}

/* Link-sent confirmation state */
.sent-check-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}
.sent-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.7rem; }
.sent-body  { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.5rem; }
.sent-note  { color: #94a3b8; font-size: 0.78rem; margin-bottom: 1rem; }
.btn-link-small {
  background: none;
  border: none;
  color: var(--blue-600);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}
.btn-link-small:hover { color: var(--blue-800); }

/* ═══════════════════════════════════════════════════════════
   PAYWALL SCREEN
════════════════════════════════════════════════════════════ */
#screen-paywall {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #f8fbff;
  padding-bottom: 3rem;
}

/* Blurred results strip at the top */
.paywall-preview-strip {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.paywall-results-blur {
  padding: 1.5rem 1.5rem 0;
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  max-width: 720px;
  margin: 0 auto;
}

/* Gradient fade blending blur into white */
.paywall-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #f8fbff);
  pointer-events: none;
}

/* Lock badge centered on the preview */
.paywall-lock-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: white;
  border-radius: 99px;
  padding: 0.55rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-700);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  white-space: nowrap;
}

/* Payment card */
.paywall-card {
  max-width: 480px;
  padding: 2.25rem;
  margin-top: -0.5rem; /* overlaps slightly with faded blur */
}

.paywall-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.paywall-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue-700);
  line-height: 1;
}
.paywall-price-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}
.paywall-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

/* Benefits list */
.paywall-benefits {
  list-style: none;
  margin-bottom: 1.75rem;
}
.paywall-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.07);
}
.paywall-benefits li:last-child { border-bottom: none; }
.benefit-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Green pay button */
.btn-pay {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-bottom: 1.25rem;
}
.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(22, 163, 74, 0.45);
}
.btn-pay:active { transform: translateY(0); }

/* Payment method logos row */
.paywall-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

/* Trust row */
.paywall-trust {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .testi-heading { font-size: 1.5rem; }
  .c-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
  .legal-card { padding: 2rem 1.5rem; }
  .legal-card h1 { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .card { padding: 2rem 1.5rem; border-radius: 20px; }
  .landing-card h1 { font-size: 2rem; }
  .landing-stats { gap: 1.5rem; }
  .question-card { padding: 2rem 1.5rem 2.5rem; }
  .q-text { font-size: 1.15rem; }
  .answer-circles { gap: 2rem; }
  .circle-btn { width: 64px; height: 64px; }
  .ready-header h2 { font-size: 1.5rem; }
  .results-top-card h2 { font-size: 1.6rem; }
  .result-item { padding: 1rem 1.25rem; }
  .benefits-outer-card { padding: 1.75rem 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .payment-badges { justify-content: flex-start; }
}
