/* =====================================================
   MEDICARE AI Workshop — kérdőív frontend stílus
   Design: modern egészségügyi (kék + fehér + zöld accent)
   Brand-akcent: Nexts gradient (cián → lila → rózsaszín)
   ===================================================== */

:root {
  /* Healthcare palette */
  --med-deep:   #0a2a5e;     /* mély kék – főszöveg, hangsúly */
  --med-blue:   #1b4da8;     /* középkék – márka */
  --med-sky:    #22d3ee;     /* világos cián – accent */
  --med-mint:   #34d399;     /* zöld accent (egészség) */
  --med-soft:   #e8f0fb;     /* nagyon halvány kék felület */
  --med-bg-1:   #f4f8fd;     /* háttér felül */
  --med-bg-2:   #eaf2fb;     /* háttér alul */

  --ink:        #0a2a5e;
  --ink-2:      #3a4a68;
  --ink-3:      #6a7b95;
  --line:       #d8e2ef;
  --line-soft:  #e7eef8;
  --white:      #ffffff;

  /* Nexts brand gradient (csak hangsúlyokra) */
  --nx-cyan:    #22d3ee;
  --nx-violet:  #7b5cff;
  --nx-pink:    #ff6ec7;
  --nx-mint:    #9ef0a0;

  --grad-brand: linear-gradient(120deg, var(--med-blue) 0%, var(--med-sky) 50%, var(--med-mint) 100%);
  --grad-text:  linear-gradient(90deg, var(--nx-cyan) 0%, var(--nx-violet) 50%, var(--nx-pink) 100%);
  --grad-button:linear-gradient(120deg, #1b4da8 0%, #22d3ee 100%);
  --grad-button-hover: linear-gradient(120deg, #143b85 0%, #0bbcd5 100%);

  --shadow-card: 0 24px 60px -28px rgba(10, 42, 94, 0.25),
                 0 6px 16px -8px rgba(10, 42, 94, 0.12);
  --shadow-glow: 0 0 0 6px rgba(34, 211, 238, 0.1);

  --radius-card: 24px;
  --radius-pill: 999px;
}

/* ---------- alap ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: linear-gradient(180deg, var(--med-bg-1) 0%, var(--med-bg-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Sticky footer: body egy flex oszlop, main flex:1 */
  display: flex;
  flex-direction: column;
}
h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
a { color: var(--med-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- háttér (előre renderelt gradiensek, blur nélkül — gyors!) ---------- */
.bg-canvas {
  position: fixed; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* nagy elmosódott gradiensek a body-n, blur filter helyett — GPU-barát */
  background:
    radial-gradient(ellipse 60% 40% at 5% 10%,  rgba(34, 211, 238, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 95% 50%, rgba(27, 77, 168, 0.30) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 35% 95%, rgba(52, 211, 153, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 70% 20%, rgba(123, 92, 255, 0.18) 0%, transparent 60%);
}
/* Csak egy nagyon finom, lassú lebegő mozgás transform-mel — olcsó */
.blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(123, 92, 255, 0.06));
  animation: floaty 24s ease-in-out infinite;
  will-change: transform;
}
.blob-1 { width: 220px; height: 220px; top: 15%;  left: 8%;  animation-delay: 0s; }
.blob-2 { width: 200px; height: 200px; top: 60%;  right: 10%; animation-delay: -8s; }
.blob-3 { display: none; }
.blob-4 { display: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27, 77, 168, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 77, 168, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(20px, -16px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .progress-fill::after, .footer-gradient-bar { animation: none !important; }
}

/* ---------- topbar ---------- */
.topbar {
  position: relative; z-index: 5;
  padding: 18px 0;
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand-medicare {
  display: flex; align-items: center; gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.brand-medicare:hover { opacity: 0.85; text-decoration: none; }
.medicare-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(27, 77, 168, 0.18));
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.brand-context {
  font-size: 0.84rem;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 560px) {
  .medicare-logo-img { height: 36px; }
  .brand-divider { display: none; }
  .brand-context { font-size: 0.74rem; }
}
.topbar-right {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.time-badge, .anon-badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--ink-2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------- container & step rendszer ---------- */
.container {
  position: relative; z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  flex: 1 0 auto;     /* sticky-footer: a main megnyúlik */
  width: 100%;
}
.step {
  display: none;
  animation: fadeUp 0.5s ease;
}
.step.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- "glass" panel — visual feel of glass ÁM blur nélkül (gyors!) ---------- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px 44px;
  overflow: hidden;
}

/* ---------- hero / intro ---------- */
.hero { padding: 48px 48px; }
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--med-blue);
  background: rgba(27, 77, 168, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(1.8rem, 3.6vw, 2.55rem);
  margin-bottom: 16px;
  font-weight: 700;
}
.grad-text {
  display: inline-block;
  background: var(--grad-text);
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-lead {
  color: var(--ink-2);
  font-size: 1.02rem;
  max-width: 640px;
  margin-bottom: 24px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.meta-card {
  display: flex; align-items: center; gap: 12px;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.meta-card:hover {
  transform: translateY(-2px);
  border-color: var(--med-sky);
  box-shadow: 0 8px 24px -10px rgba(34, 211, 238, 0.45);
}
.meta-icon { font-size: 1.6rem; }
.meta-title { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.meta-desc  { font-size: 0.78rem; color: var(--ink-3); }

/* ---------- contact block ---------- */
.contact-block {
  margin-top: 28px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(52, 211, 153, 0.04));
  border: 1px dashed rgba(27, 77, 168, 0.2);
  border-radius: 18px;
}
.contact-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.contact-header h3 {
  font-size: 1.08rem;
}
.optional-pill {
  background: var(--med-mint);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.contact-help {
  color: var(--ink-3);
  font-size: 0.86rem;
  margin-bottom: 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-size: 0.82rem;
  color: var(--ink-2);
  font-weight: 500;
}
.field-label .hint {
  color: var(--ink-3);
  font-weight: 400;
  font-size: 0.78rem;
}
.field input, .field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--med-sky);
  box-shadow: var(--shadow-glow);
}

/* ---------- buttons ---------- */
.cta-row {
  display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.cta-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg {
  font-size: 1.02rem;
  padding: 16px 28px;
}
.btn-primary {
  background: var(--grad-button);
  color: white;
  box-shadow: 0 12px 28px -10px rgba(27, 77, 168, 0.55);
}
.btn-primary:hover:not(:disabled) {
  background: var(--grad-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(27, 77, 168, 0.6);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  opacity: 0.5; cursor: wait;
  transform: none; box-shadow: none;
}
.btn-ghost {
  background: white;
  color: var(--ink-2);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--med-sky); color: var(--med-blue); }

/* ---------- quiz shell ---------- */
.quiz-shell { padding: 36px 44px; }
.quiz-progress { margin-bottom: 24px; }
.progress-meta {
  display: flex; justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
#progress-section-label { color: var(--med-blue); font-weight: 600; }
.progress-track {
  height: 8px;
  background: rgba(27, 77, 168, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--grad-button);
  border-radius: inherit;
  transition: width 0.5s cubic-bezier(.2,.8,.2,1);
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 24px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 2.4s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-24px); } 100% { transform: translateX(140%); } }

/* ---------- kérdés tartomány ---------- */
.quiz-body { min-height: 320px; position: relative; }
.q-block { animation: slideIn 0.4s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.q-section-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.12);
  color: var(--med-blue);
  margin-bottom: 14px;
}
.q-text {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
}
.q-helper {
  color: var(--ink-3);
  font-size: 0.86rem;
  margin-bottom: 18px;
  font-style: italic;
}
.q-multi-hint {
  color: var(--med-blue);
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 14px;
}

/* ---------- option list ---------- */
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.1s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .ind {
  width: 22px; height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: white;
  flex-shrink: 0;
  transition: border-color 0.18s, background 0.18s;
  position: relative;
}
.option[data-type="multi"] .ind { border-radius: 6px; }
.option .ind::after {
  content: '';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}
.option:hover {
  border-color: var(--med-sky);
  background: rgba(34, 211, 238, 0.04);
  transform: translateX(2px);
}
.option.selected {
  border-color: var(--med-blue);
  background: linear-gradient(135deg, rgba(27, 77, 168, 0.06), rgba(34, 211, 238, 0.06));
  box-shadow: 0 8px 22px -10px rgba(27, 77, 168, 0.35);
}
.option.selected .ind {
  border-color: var(--med-blue);
  background: var(--grad-button);
}
.option[data-type="single"].selected .ind::after {
  opacity: 1;
  background: white;
  border-radius: 50%;
  inset: 5px;
}
.option[data-type="multi"].selected .ind::after {
  opacity: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}
.option-text {
  font-size: 0.96rem;
  color: var(--ink);
  flex: 1;
}
.option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- skála ---------- */
.scale-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.scale-btn {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
  font-family: inherit;
}
.scale-btn .scale-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink-3);
  line-height: 1;
  margin-bottom: 6px;
}
.scale-btn .scale-lbl {
  font-size: 0.74rem;
  color: var(--ink-3);
  line-height: 1.3;
}
.scale-btn:hover {
  border-color: var(--med-sky);
  transform: translateY(-2px);
}
.scale-btn.selected {
  border-color: var(--med-blue);
  background: var(--grad-button);
}
.scale-btn.selected .scale-num,
.scale-btn.selected .scale-lbl {
  color: white;
}

/* ---------- text válasz ---------- */
.text-area-wrap textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: white;
  resize: vertical;
  min-height: 120px;
  color: var(--ink);
  line-height: 1.55;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.text-area-wrap textarea:focus {
  outline: none;
  border-color: var(--med-sky);
  box-shadow: var(--shadow-glow);
}

/* ---------- quiz footer ---------- */
.quiz-footer {
  display: flex; justify-content: space-between;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  gap: 12px;
}
.quiz-footer .btn-prev[disabled],
#btn-prev:disabled {
  visibility: hidden;
}

/* ---------- review ---------- */
.review-shell { padding: 44px; }
.review-summary {
  margin: 24px 0;
  display: flex; flex-direction: column; gap: 8px;
}
.review-row {
  display: flex; gap: 10px;
  font-size: 0.86rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.review-row:last-child { border-bottom: none; }
.review-q { color: var(--ink-3); flex: 0 0 80px; font-weight: 500; }
.review-a { color: var(--ink); flex: 1; }
.review-empty { color: var(--ink-3); font-style: italic; }

.captcha-block {
  margin-top: 24px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}
.captcha-status {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.captcha-status .dot {
  width: 10px; height: 10px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
  animation: pulse 1.6s infinite;
}
.captcha-status.ready .dot {
  background: var(--med-mint);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
  animation: none;
}
.captcha-status.error .dot {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}
.captcha-help {
  font-size: 0.76rem;
  color: var(--ink-3);
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- thanks ---------- */
.thanks-shell {
  text-align: center;
  padding: 56px 44px 64px;
  position: relative;
}
.check-anim { display: flex; justify-content: center; margin-bottom: 16px; }
.check-circle {
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: drawCircle 0.8s ease forwards;
}
.check-mark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck 0.5s 0.5s ease forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }
.thanks-shell h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.confetti {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 20%, #22d3ee 0, transparent 1.2%),
    radial-gradient(circle at 24% 80%, #34d399 0, transparent 1.2%),
    radial-gradient(circle at 76% 14%, #7b5cff 0, transparent 1.2%),
    radial-gradient(circle at 84% 70%, #ff6ec7 0, transparent 1.2%),
    radial-gradient(circle at 50% 30%, #1b4da8 0, transparent 1.2%),
    radial-gradient(circle at 35% 50%, #9ef0a0 0, transparent 1.2%),
    radial-gradient(circle at 60% 90%, #fbbf24 0, transparent 1.2%);
  background-size: cover;
  opacity: 0;
  animation: confettiFade 2s ease 0.8s forwards;
}
@keyframes confettiFade { to { opacity: 0.7; } }

/* ---------- footer (Nexts brand · sötét, látványos, sticky-bottom) ---------- */
.footer {
  position: relative;
  z-index: 3;
  flex-shrink: 0;     /* sticky-footer: a footer nem zsugorodik */
  width: 100%;
  margin-top: 0;
  padding: 0;
  color: rgba(241, 243, 255, 0.92);
  background:
    radial-gradient(900px 320px at 85% -10%, rgba(123, 92, 255, 0.28), transparent 60%),
    radial-gradient(700px 300px at 8% 110%, rgba(34, 211, 238, 0.22), transparent 60%),
    linear-gradient(180deg, #0a0c20 0%, #050617 100%);
  overflow: hidden;
}
.footer-gradient-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #22d3ee 0%, #7b5cff 50%, #ff6ec7 100%);
  background-size: 200% 100%;
  animation: gradFlow 6s linear infinite;
}
@keyframes gradFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 32px 32px;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }

/* --- col 1: brand --- */
.nexts-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
  margin-bottom: 6px;
}
.nexts-link:hover { transform: translateY(-1px); text-decoration: none; }
.nexts-logo {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(34, 211, 238, 0.35));
}
.nexts-tagline {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(241, 243, 255, 0.88);
  max-width: 280px;
}
.nexts-tagline strong {
  background: linear-gradient(90deg, #22d3ee 0%, #9ef0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.nexts-sub {
  font-size: 0.76rem;
  color: rgba(241, 243, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- col 2: tagline grid --- */
.footer-col--tagline {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 28px;
}
.tagline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  font-size: 0.92rem;
  color: rgba(241, 243, 255, 0.78);
}
.tagline-grid span {
  position: relative;
  padding-left: 18px;
}
.tagline-grid span::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #7b5cff);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.65);
}
.tagline-grid strong {
  background: linear-gradient(90deg, #22d3ee 0%, #ff6ec7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.tagline-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(241, 243, 255, 0.5);
  margin-bottom: 6px;
}
.tagline-label strong {
  background: linear-gradient(90deg, #22d3ee 0%, #ff6ec7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* --- col 3: contact + meta --- */
.footer-col--meta {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 28px;
  align-items: flex-start;
}
.footer-contact {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-mail, .footer-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem;
  color: rgba(241, 243, 255, 0.85);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.footer-mail svg, .footer-link svg {
  color: #22d3ee;
  flex-shrink: 0;
}
.footer-mail:hover, .footer-link:hover {
  color: #ffffff;
  text-decoration: none;
}
.footer-mail:hover svg, .footer-link:hover svg {
  color: #ff6ec7;
}
.footer-copy {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(241, 243, 255, 0.45);
  width: 100%;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 24px 28px;
  }
  .footer-col--tagline,
  .footer-col--meta {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 22px;
  }
  .nexts-tagline { max-width: 100%; }
}

/* ---------- Google reCAPTCHA v3 badge ----------
   Az alapértelmezett bottom:14px pont a sötét láblécbe lóg.
   Megemeljük 90px-re, és maximális z-indexre tesszük,
   hogy mindig a fix jobb alsó sarokban lebegjen mindenek fölött. */
.grecaptcha-badge {
  z-index: 2147483647 !important;     /* max int */
  bottom: 90px !important;
  right: 14px !important;
  visibility: visible !important;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.45) !important;
  border-radius: 4px !important;
}
@media (max-width: 480px) {
  .grecaptcha-badge { bottom: 76px !important; right: 8px !important; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,.4);
  transition: transform 0.3s ease;
  z-index: 100;
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: #b91c1c; }
.toast.success { background: #15803d; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .hero, .quiz-shell, .review-shell { padding: 28px 22px; }
  .hero-meta { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .scale-row { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .scale-btn { padding: 14px 4px; }
  .scale-btn .scale-num { font-size: 1.3rem; }
  .scale-btn .scale-lbl { font-size: 0.62rem; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-meta { text-align: center; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .scale-row { grid-template-columns: repeat(5, 1fr); }
  .quiz-footer { flex-direction: row; }
  .btn { padding: 11px 16px; font-size: 0.9rem; }
}
