/* Kreeds weboldal — 1:1 az app világos témájával (app_theme.dart light).
   scaffoldBg #F3EADA, surface #FFFBF3, container-skála #F6EFE1…#DECCAF,
   primary/gomb #C08D79, szöveg #271E1D, akcentusok #58CC02 #FF6B35
   #FFCC00 #00BFA5 #4A90D9 #FF5252, arany #FFB300, sötét #271E1D/#382B2A.
   Betű: Nunito (az app is ezt használja mindenhol). */

:root {
  --bg: #f3eada;
  --surface: #fffbf3;
  --cont-low: #f6efe1;
  --cont: #efe3cf;
  --cont-high: #e8d9bf;
  --cont-highest: #deccaf;
  --brown: #c08d79;
  --brown-deep: #a5715c;
  --ink: #271e1d;
  --muted: rgba(39, 30, 29, 0.62);
  --faint: rgba(39, 30, 29, 0.12);
  --green: #58cc02;
  --green-deep: #46a302;
  --gold: #ffb300;
  --gold-ink: #3d2a00;
  --orange: #ff6b35;
  --red: #ff5252;
  --dark: #271e1d;
  --dark-surface: #382b2a;
  --creamline: rgba(255, 255, 255, 0.14);
  --radius: 20px;
  --font: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 800; margin-bottom: 28px; }
section { padding: 72px 0; }

/* ── Gombok (app: lapos, radius 12–16, bold) ─────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 16px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, filter 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
}

.btn-green { background: var(--green); color: var(--ink); box-shadow: 0 4px rgba(88, 204, 2, 0.45); }
.btn-green:hover { filter: brightness(1.06); }
.btn-green:active { transform: translateY(4px); box-shadow: 0 0 rgba(88, 204, 2, 0); filter: none; }

.btn-primary { background: var(--brown); color: var(--ink); box-shadow: 0 4px rgba(192, 141, 121, 0.45); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 rgba(192, 141, 121, 0); filter: none; }

.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--brown); }
.btn-outline:hover { background: rgba(192, 141, 121, 0.12); }
.btn-outline:active, .btn-outline-light:active { transform: translateY(2px); }

.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255, 251, 243, 0.5); text-transform: none; letter-spacing: 0; font-weight: 800; }
.btn-outline-light:hover { background: rgba(255, 251, 243, 0.1); }

/* ── Navigáció ───────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 2px solid var(--cont-high);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; display: block; }
.brand-name { font-weight: 900; font-size: 1.45rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a { color: var(--muted); font-weight: 800; text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang-toggle { display: flex; background: var(--cont); border-radius: 12px; padding: 3px; }
.lang-toggle button {
  font-family: var(--font); font-weight: 800; font-size: 0.8rem;
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 9px; cursor: pointer;
}
.lang-toggle button.active { background: var(--surface); color: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; font-weight: 800; font-size: 0.85rem;
  color: var(--ink); background: var(--surface);
  border: 2px solid var(--cont-highest); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 18px;
}
.hero h1 { margin-bottom: 16px; }
.lede { font-size: 1.15rem; font-weight: 500; color: var(--ink); opacity: 0.85; margin-bottom: 28px; max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }

/* Telefon-makett */
.hero-phone { display: flex; justify-content: center; }
.phone {
  width: 280px; border-radius: 44px; padding: 12px;
  background: var(--dark);
  box-shadow: 0 24px 48px rgba(39, 30, 29, 0.35);
  transform: rotate(2deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-12px); }
}
.phone-notch { width: 110px; height: 22px; background: var(--dark); border-radius: 0 0 12px 12px; margin: 0 auto; }
.phone-screen { background: var(--bg); border-radius: 34px; padding: 18px 14px 20px; min-height: 460px; }
.phone-topbar { display: flex; gap: 8px; margin-bottom: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 800; color: var(--ink);
  background: var(--surface); border-radius: 999px; padding: 4px 12px 4px 8px;
  border: 2px solid var(--cont-high);
}
.pill i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.pill-fire i { background: var(--orange); }
.pill-coin i { background: var(--gold); }
.phone-title { font-weight: 900; font-size: 1.25rem; margin-bottom: 10px; }
.phone-goal { background: var(--surface); border: 2px solid var(--cont-high); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; }
.phone-goal-head { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.bar { height: 10px; background: var(--cont-high); border-radius: 999px; overflow: hidden; }
.bar.big { height: 12px; }
.bar span { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.mini-cover {
  border-radius: 12px; padding: 10px; min-height: 104px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; font-weight: 900; font-size: 0.85rem; line-height: 1.25;
}
.mini-cover em { display: block; height: 6px; background: rgba(255,255,255,0.55); border-radius: 99px; font-style: normal; }
.mini-cover.c1 { background: linear-gradient(135deg, #c08d79, #7c5cbf); }
.mini-cover.c2 { background: linear-gradient(135deg, #ff6b35, #ffb300); }
.mini-cover.c3 { background: linear-gradient(135deg, #00bfa5, #4a90d9); }
.mini-cover.c4 { background: transparent; border: 2px dashed var(--brown); color: var(--muted); align-items: center; justify-content: center; font-size: 1.6rem; min-height: 104px; }
.phone-reader { background: var(--surface); border: 2px solid var(--cont-high); border-radius: 14px; padding: 30px 12px 10px; font-size: 0.82rem; }
.phone-reader b.hit { position: relative; background: var(--cont-high); border-radius: 4px; padding: 0 3px; }
.phone-reader .tip {
  position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
  font-weight: 800; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 0.75rem;
  border-radius: 8px; padding: 2px 10px;
}
.phone-reader .tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--ink);
}

/* ── Lépések ─────────────────────────────────────────────────────────── */
.steps { background: var(--surface); border-top: 2px solid var(--cont-high); border-bottom: 2px solid var(--cont-high); }
.steps-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-num {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brown); color: var(--ink);
  font-weight: 900; font-size: 1.3rem;
  align-items: center; justify-content: center; margin-bottom: 14px;
}
.steps-list h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.steps-list p { font-weight: 500; }

/* ── Funkciók: váltakozó sorok ───────────────────────────────────────── */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 28px 0; }
.feat-row.flip .feat-visual { order: 2; }
.feat-copy h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.feat-copy p { font-size: 1.08rem; }
.app-card {
  background: var(--surface); border: 2px solid var(--cont-high);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 10px 24px rgba(39, 30, 29, 0.10);
}
.app-card-title { font-weight: 800; font-size: 1.1rem; margin: 10px 0 8px; }
.app-card-sub { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.streak-card .streak-flame { display: flex; align-items: center; gap: 10px; }
.streak-flame svg { width: 40px; height: 40px; fill: var(--orange); }
.streak-flame b { font-size: 2rem; font-weight: 900; }
.feat-visual .demo-learn-label { text-align: center; }
.feat-visual .demo-langs { margin-bottom: 16px; }
.demo-hint { margin-top: 12px; font-size: 0.92rem; font-weight: 600; color: var(--muted); text-align: center; }

/* ── Szintfelmérés demó ───────────────────────────────────────────────── */
.level-card { text-align: center; }
.level-result[hidden] { display: none; }
.level-badge { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(145deg, #ffd94d, #f0a000); color: var(--gold-ink); font-weight: 900; font-size: 1.7rem; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(240, 160, 0, 0.35); margin: 12px 0 10px; }
.level-conf { height: 12px; border-radius: 99px; background: var(--cont-high); overflow: hidden; max-width: 320px; margin: 0 auto; }
.level-conf span { display: block; height: 100%; background: var(--brown); border-radius: 99px; transition: width 0.6s ease; }
.level-conf-label { margin-top: 8px; font-weight: 600; color: var(--muted); }
.level-exams { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; text-align: left; }
.exam-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; background: var(--cont-low); border-radius: 12px; padding: 10px 14px; align-items: center; }
.exam-row b { font-weight: 800; }
.exam-row .pct { font-weight: 900; }
.exam-row .ebar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(39, 30, 29, 0.12); overflow: hidden; }
.exam-row .ebar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.league-emblem { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.league-medal { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, #ffd94d, #f0a000); color: var(--gold-ink); display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(240, 160, 0, 0.35); flex: none; }
.league-name { font-weight: 900; font-size: 1.05rem; letter-spacing: 0.02em; }
.league-card { position: relative; overflow: hidden; }
.league-card.over > :not(.promo) { filter: grayscale(1); opacity: 0.35; }
.league-card .promo { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: rgba(255, 251, 243, 0.94); padding: 24px 18px; }
.racer-name { display: inline-flex; align-items: center; gap: 6px; }
.friend-ic { flex: none; opacity: 0.65; }
.btn-card { margin-top: 12px; padding: 8px 18px; font-size: 0.85rem; }
.bar.big span { transition: width 0.5s ease, background-color 0.5s ease; }
#goalFlame { transition: fill 0.5s ease; }
.racer-bar i { transition: width 0.6s ease; }
.btn-card[hidden], .promo[hidden] { display: none; }
.shelve { margin-top: 12px; text-align: center; }
.shelve-hint { font-weight: 800; color: var(--muted); font-size: 0.92rem; }
.shelve-stage { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; min-height: 118px; }
.shelve-file { background: none; border: 0; padding: 6px; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; border-radius: 14px; transition: transform 0.55s ease-in, opacity 0.55s ease-in; }
.shelve-file.nudge { animation: file-nudge 1.6s ease-in-out infinite; }
.shelve-file.fly { animation: none; transform: translate(var(--dx, 60px), var(--dy, 0px)) scale(0.25); opacity: 0; pointer-events: none; }
@keyframes file-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.file-doc { position: relative; width: 52px; height: 66px; background: #fff; border: 2px solid var(--cont-highest); border-radius: 6px 14px 6px 6px; box-shadow: 0 3px 0 var(--cont-highest); }
.file-fold { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; background: var(--cont); border-left: 2px solid var(--cont-highest); border-bottom: 2px solid var(--cont-highest); border-radius: 0 10px 0 6px; }
.file-ln { position: absolute; left: 8px; right: 8px; top: 12px; height: 22px; background: repeating-linear-gradient(to bottom, var(--cont-high) 0 3px, transparent 3px 8px); }
.file-tag { position: absolute; left: 5px; bottom: 7px; font-size: 0.62rem; font-weight: 900; letter-spacing: 0.04em; background: var(--red); color: #fff; border-radius: 5px; padding: 2px 6px; }
.shelve-arrow { font-size: 1.5rem; font-weight: 900; color: var(--brown); }
.shelve-app { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px; }
.app-ic { position: relative; width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; }
.app-ic img { width: 64px; height: 64px; border-radius: 16px; display: block; }
.shelve-app.happy .app-ic { animation: app-hop 0.5s ease; }
@keyframes app-hop { 0% { transform: scale(1); } 35% { transform: scale(1.12) rotate(-3deg); } 70% { transform: scale(0.96); } 100% { transform: scale(1); } }
.app-ok { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 3px solid var(--surface); }
.app-ok[hidden] { display: none; }
.app-ok.pop { animation: ok-pop 0.35s ease; }
@keyframes ok-pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.shelve-cap { font-weight: 900; font-size: 0.85rem; }
.drop-again { background: none; border: 0; padding: 0; font: inherit; color: var(--brown); font-weight: 800; cursor: pointer; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .shelve-file.nudge, .shelve-app.happy .app-ic, .app-ok.pop { animation: none; }
  .shelve-file { transition: none; }
}
.drop-prog { height: 10px; border-radius: 99px; background: var(--cont-high); overflow: hidden; margin-top: 12px; }
.drop-prog span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width 0.12s linear; }
.drop-prog[hidden], .drop-done[hidden] { display: none; }
.drop-done { font-weight: 900; font-size: 1.05rem; margin-top: 12px; }
.up-hint { margin-top: 10px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.season-line { font-weight: 800; font-size: 0.95rem; color: var(--muted); margin-bottom: 10px; }

.promo-badge { flex: none; width: 60px; height: 60px; aspect-ratio: 1 / 1; line-height: 1; margin: 0; border-radius: 50%; background: var(--brown); color: var(--surface); font-weight: 900; font-size: 1.7rem; display: inline-flex; align-items: center; justify-content: center; }
.promo-title { font-weight: 900; font-size: 1.25rem; margin: 10px 0 4px; }
.promo .app-card-sub { text-align: center; }
.promo-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.promo-ctas .btn-card { margin-top: 0; }
.file-chips { display: flex; gap: 8px; }
.file-chips span {
  font-weight: 800; font-size: 0.8rem; color: var(--ink);
  background: var(--cont); border-radius: 8px; padding: 5px 12px;
}
.race { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; }
.racer { display: grid; grid-template-columns: 22px 64px 1fr auto; align-items: center; gap: 8px; background: var(--cont-low); border-radius: 12px; padding: 8px 12px; font-weight: 800; }
.racer .rank { font-weight: 900; color: var(--muted); }
.racer-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.racer-bar { height: 8px; border-radius: 99px; background: rgba(39, 30, 29, 0.12); overflow: hidden; }
.racer-bar i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.racer b { font-weight: 900; font-size: 0.85rem; white-space: nowrap; }
.racer.win { background: var(--brown); color: var(--surface); }
.racer.win .rank { color: var(--surface); }
.racer.win .racer-bar { background: rgba(255, 255, 255, 0.30); }
.racer.win .racer-bar i { background: var(--surface); }

/* ── Prémium: sötét panel (app dark-téma színei) ─────────────────────── */
.premium { background: linear-gradient(160deg, var(--dark), var(--dark-surface)); color: #f7efe2; }
.premium h2 { color: #fff; }
.premium-head { margin-bottom: 32px; display: flex; gap: 18px; align-items: center; }
.crown-badge {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); display: inline-flex;
  align-items: center; justify-content: center;
}
.crown-badge svg { width: 34px; height: 34px; fill: var(--gold-ink); }
.premium-head p { color: rgba(247, 239, 226, 0.8); font-weight: 700; font-size: 1.1rem; }
.trial-pill {
  display: inline-block;
  background: var(--gold); color: var(--gold-ink);
  font-weight: 900; font-size: 0.95rem;
  border-radius: 12px; padding: 8px 18px; margin-bottom: 28px;
}
.trial-note { color: var(--gold); font-weight: 800; font-size: 1rem; margin: -10px 0 18px; }
.compare { background: rgba(255,251,243,0.06); border: 2px solid var(--creamline); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.compare-row { display: grid; grid-template-columns: 1fr 110px 130px; padding: 13px 20px; align-items: center; font-weight: 700; }
.compare-row + .compare-row { border-top: 1px solid var(--creamline); }
.compare-head { font-weight: 800; color: rgba(247,239,226,0.65); font-size: 0.9rem; }
.compare-head .prem-col { color: var(--gold); }
.compare-row > span:nth-child(2), .compare-row > span:nth-child(3) { text-align: center; }
.yes { color: var(--green); font-weight: 900; }
.no { color: rgba(247,239,226,0.3); }
.prem-col.yes { color: var(--gold); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.plan {
  border: 2px solid var(--creamline); border-radius: var(--radius);
  padding: 26px; position: relative; background: rgba(255,251,243,0.04);
  transition: transform 0.12s ease;
}
.plan:hover { transform: translateY(-3px); }
.plan.best { border-color: var(--gold); background: rgba(255,179,0,0.08); }
.plan-flag {
  position: absolute; top: -15px; left: 22px;
  background: var(--gold); color: var(--gold-ink);
  font-weight: 900; font-size: 0.78rem; border-radius: 8px; padding: 4px 12px;
}
.plan h3 { color: #fff; margin-bottom: 6px; }
.price { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 18px; }
.price .per { font-size: 1rem; font-weight: 700; color: rgba(247,239,226,0.7); }
.price s { display: block; font-size: 1.05rem; font-weight: 700; color: rgba(247,239,226,0.45); }
.cancel-note { color: rgba(247,239,226,0.6); font-size: 0.92rem; font-weight: 600; }

/* ── GYIK ────────────────────────────────────────────────────────────── */
.faq-item { border: 2px solid var(--cont-high); border-radius: 16px; background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font); font-weight: 800; font-size: 1.05rem; color: var(--ink);
  background: none; border: 0; padding: 18px 22px; cursor: pointer; text-align: left;
}
.faq-q i { font-style: normal; font-size: 1.5rem; color: var(--brown); transition: transform 0.15s ease; flex-shrink: 0; font-weight: 900; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.22s ease; }
.faq-a p { padding: 0 22px 20px; }

/* ── Letöltés ──────────────────────────────────────────────────────── */
.download { background: var(--surface); border-top: 2px solid var(--cont-high); }
.store-row { display: flex; gap: 14px; justify-content: center; margin: 24px 0 8px; flex-wrap: wrap; }
.store-btn {
  border: 2px solid var(--ink); border-radius: 14px;
  padding: 10px 22px; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; line-height: 1.3; min-width: 170px;
}
.store-btn b { font-size: 1.05rem; }
.store-btn i { font-style: normal; font-size: 0.8rem; color: var(--gold); font-weight: 800; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--dark); color: var(--cont-high); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand-name { color: #fff; }
.footer p { font-weight: 700; font-size: 0.95rem; }
.footer .contact a { color: inherit; }
.footer .copy { margin-left: auto; font-size: 0.85rem; }

/* ── Belépési animációk (görgetésre) ─────────────────────────────────── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }

/* ── Próbáld ki: olvasó-demó 1:1 az app _TranslationBubble-jével ──────────
   Buborék: inverseSurface #322f2b alapon onInverseSurface #f5f0e7 szöveg,
   padding 16/10, radius 14, globe 14px 80%-on, gap 8, Nunito 800 15px/1.3,
   hangszóró 16px, nyíl 18×9, 220ms easeOutBack. Koppintott szó: primary
   #c08d79 + 20% háttér + 900-as súly (reader_screen.dart 1020–1042). */
.demo-sub { font-size: 1.05rem; font-weight: 600; color: var(--muted); margin: -16px 0 26px; }
.demo-learn-label { font-weight: 800; margin-bottom: 12px; }
.demo-langs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.demo-langs button {
  font-family: var(--font); font-weight: 800; font-size: 0.95rem; color: var(--ink);
  background: var(--surface); border: 2px solid var(--brown); border-radius: 999px;
  padding: 8px 22px; cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.demo-langs button.active { background: var(--brown); color: var(--surface); }
.reader-card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--faint); padding: clamp(22px, 4vw, 40px); text-align: left;
  box-shadow: 0 10px 30px rgba(39, 30, 29, 0.10);
}
.reader-text { font-size: 1.15rem; line-height: 2; font-weight: 700; }
.reader-text .w { cursor: pointer; border-radius: 4px; padding: 2px 1px; }
.reader-text .w.tapped {
  color: var(--brown); background: rgba(192, 141, 121, 0.20); font-weight: 900;
}
.tap-bubble { position: absolute; z-index: 5; max-width: 80%; display: flex; flex-direction: column; }
.tap-bubble[hidden] { display: none; }
.tap-bubble.below .tap-bubble-arrow { order: -1; transform: scaleY(-1); }
.tap-bubble-card {
  display: flex; align-items: flex-start; gap: 8px;
  background: #322f2b; color: #f5f0e7; border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
  transform-origin: bottom center;
}
.tap-bubble.show .tap-bubble-card { animation: bubble-pop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes bubble-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.tap-bubble-globe { flex: none; margin-top: 3px; opacity: 0.8; }
.tap-bubble-text { font-weight: 800; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.tap-bubble-say {
  flex: none; margin: 1px 2px 0 0; padding: 0; border: 0; background: none;
  color: #f5f0e7; cursor: pointer; line-height: 0;
}
.tap-bubble-arrow { width: 18px; height: 9px; background: #322f2b; clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ── Vizsgák: 3 kártya ────────────────────────────────────────────────── */
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.exam-card { background: var(--surface); border: 1px solid var(--faint); border-radius: var(--radius); padding: 26px 22px; }
.exam-check { width: 34px; height: 34px; border-radius: 50%; background: var(--brown); color: var(--surface); font-weight: 900; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.exam-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.exam-card p { color: var(--muted); font-weight: 600; font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .faq-a { transition: none; }
  .tap-bubble.show .tap-bubble-card { animation: none; }
  .bar.big span, .racer-bar i, #goalFlame, .level-conf span { transition: none; }
}

/* Telefon-makett rács: a hosszú címek se feszítsék szét a keretet. */
.mini-cover { min-width: 0; }
.mini-cover span { overflow-wrap: break-word; }
.phone-screen { overflow: hidden; }

/* ── Reszponzív ──────────────────────────────────────────────────────── */
/* Mobil-töréspont a fájl végén: így biztosan felülírja az alapértelmezett
   rácsokat (a kaszkád miatt a későbbi azonos fajsúlyú szabály nyer). */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { order: -1; }
  .phone { width: min(240px, 100%); }
  .steps-list { grid-template-columns: 1fr; }
  .exam-grid { grid-template-columns: 1fr; }
  .feat-row { grid-template-columns: 1fr; gap: 20px; }
  .feat-row.flip .feat-visual { order: 0; }
  .plans { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr 70px 90px; padding: 12px; font-size: 0.92rem; }
}

