/* =========================================================================
   gimnazium.hu — független felnőtt-érettségi útmutató
   Vizuális identitás: "útikönyv" — mély fenyőzöld + meleg mézsárga, papírháttér
   Konvenció: kizárólag CSS változók, angol kódnevek, magyar UI szöveg
   ========================================================================= */

:root {
  /* színek */
  --ink:        #16302A;   /* fő szövegszín, sötét fenyő-tinta */
  --ink-soft:   #3A4D47;
  --muted:      #5C6B64;   /* másodlagos szöveg */
  --pine:       #1E4A40;   /* elsődleges mély zöld */
  --pine-deep:  #143229;   /* fejléc / lábléc háttér */
  --moss:       #2F7A66;   /* élénkebb zöld: linkek, hover */
  --honey:      #E2A23B;   /* meleg akcentus: jelzések, CTA */
  --honey-deep: #C2842A;
  --paper:      #EDF2EC;   /* lapháttér, halvány zsálya-fehér */
  --card:       #FFFFFF;
  --card-warm:  #F7F9F5;
  --line:       rgba(22, 48, 42, 0.12);
  --line-soft:  rgba(22, 48, 42, 0.07);
  --shadow-sm:  0 1px 2px rgba(20, 50, 41, 0.06), 0 2px 8px rgba(20, 50, 41, 0.05);
  --shadow-md:  0 6px 24px rgba(20, 50, 41, 0.10), 0 2px 6px rgba(20, 50, 41, 0.06);
  --shadow-lg:  0 18px 48px rgba(20, 50, 41, 0.16);

  /* felületek (sötét módban felülírva) */
  --surface-input:  #FFFFFF;
  --surface-header: rgba(237, 242, 236, 0.82);
  --text-on-accent: #FFFFFF;
  --focus-ring:     rgba(47, 122, 102, 0.15);
  --hero-orbit-track: rgba(30, 74, 64, 0.12);
  --hero-orbit-ring:  rgba(30, 74, 64, 0.14);
  --hero-orbit-ring-dash: rgba(226, 162, 59, 0.35);
  --hero-orbit-ring-inner: rgba(47, 122, 102, 0.2);
  --table-head-bg:  var(--card-warm);
  --table-row-head: rgba(30, 74, 64, 0.03);
  --status-ok-bg:   rgba(47, 122, 102, 0.12);
  --status-ok-fg:   var(--pine);
  --status-err-bg:  rgba(199, 82, 42, 0.1);
  --status-err-fg:  #9c3b1d;
  --prefill-bg:     rgba(47, 122, 102, 0.1);
  --prefill-border: rgba(47, 122, 102, 0.25);
  --opt-hover-bg:   rgba(47, 122, 102, 0.05);
  --opt-sel-bg:     rgba(47, 122, 102, 0.1);
  --opt-sel-ring:   rgba(47, 122, 102, 0.12);
  --result-tag-bg:  rgba(226, 162, 59, 0.16);
  --page-hero-bg:   linear-gradient(180deg, rgba(47, 122, 102, 0.07), transparent);
  --recommend-li-bg: rgba(47, 122, 102, 0.12);
  --btn-ghost-hover: rgba(30, 74, 64, 0.04);
  --sticky-cta-bg:   rgba(20, 50, 41, 0.96);
  --wstep-current-ring: rgba(226, 162, 59, 0.22);
  --hl-underline:   rgba(226, 162, 59, 0.42);
  --edulo-premium-bg:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(226, 162, 59, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(47, 122, 102, 0.12), transparent 50%),
    linear-gradient(165deg, var(--pine-deep) 0%, var(--pine) 42%, #1a5548 100%);

  /* tipográfia */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* méretek */
  --maxw: 1120px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --space: clamp(4rem, 8vw, 7rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--moss); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 540; line-height: 1.12; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: var(--space); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--honey-deep);
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--honey); border-radius: 2px; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 650; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--honey); color: var(--pine-deep); box-shadow: 0 4px 14px rgba(226,162,59,0.4); }
.btn-primary:hover { background: var(--honey-deep); box-shadow: 0 8px 22px rgba(226,162,59,0.45); }
.btn-ghost { background: transparent; color: var(--pine); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pine); background: var(--btn-ghost-hover); }
.btn-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-light:hover { background: rgba(255,255,255,0.2); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-header);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 0.1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--honey); }
.brand .tld { color: var(--moss); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.nav a { color: var(--ink-soft); font-weight: 550; font-size: 0.97rem; }
.nav a:hover { color: var(--pine); text-decoration: none; }
.nav .btn { margin-left: 0.2rem; padding: 0.62rem 1.2rem; }
.theme-toggle {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  margin-left: 0.15rem;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.theme-toggle:hover {
  color: var(--pine);
  border-color: var(--moss);
  background: var(--card-warm);
  transform: translateY(-1px);
}
.theme-toggle:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }
.theme-toggle__icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle__icon--sun { display: none; }
html[data-theme="dark"] .theme-toggle__icon--moon { display: none; }
html[data-theme="dark"] .theme-toggle__icon--sun { display: block; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-header .theme-toggle { margin-left: 0.35rem; margin-right: 0.15rem; order: 2; }
  .nav-toggle { order: 3; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--paper); padding: 0.5rem 1.2rem 1.4rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform 0.32s var(--ease); margin-left: 0;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin: 0.8rem 0 0; }
  .nav-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open span:nth-child(2) { opacity: 0; }
  .nav-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem) var(--space); }
.hero::after {
  content: ""; position: absolute; right: -12%; top: -20%; width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle at 50% 50%, rgba(226,162,59,0.20), rgba(226,162,59,0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 560; }
.hero h1 em { font-style: italic; color: var(--moss); }
.hero .lead { margin: 1.4rem 0 2rem; max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-trust { margin-top: 1.8rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.hero-trust strong { color: var(--pine); font-weight: 650; }

/* hero orbit — dinamikus cél-vizualizáció */
.hero-orbit {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.hero-orbit__glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(226, 162, 59, 0.28), rgba(47, 122, 102, 0.12) 45%, transparent 70%);
  filter: blur(18px);
  animation: hero-orbit-glow 4s ease-in-out infinite alternate;
}
@keyframes hero-orbit-glow {
  from { opacity: 0.7; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.06); }
}
.hero-orbit__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.hero-orbit__track {
  stroke: var(--hero-orbit-track);
}
.hero-orbit__progress {
  stroke-linecap: round;
  stroke-dasharray: 993;
  stroke-dashoffset: 993;
  animation: hero-orbit-draw 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards 0.35s,
             hero-orbit-pulse 3s ease-in-out 2.6s infinite;
}
@keyframes hero-orbit-draw {
  to { stroke-dashoffset: 248; }
}
@keyframes hero-orbit-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(226, 162, 59, 0)); opacity: 1; }
  50% { filter: drop-shadow(0 0 10px rgba(226, 162, 59, 0.45)); opacity: 0.92; }
}
.hero-orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--hero-orbit-ring);
  pointer-events: none;
}
.hero-orbit__ring--outer {
  inset: 4%;
  border-style: dashed;
  border-color: var(--hero-orbit-ring-dash);
  animation: hero-orbit-spin 48s linear infinite;
}
.hero-orbit__ring--mid {
  inset: 18%;
  animation: hero-orbit-spin 32s linear infinite reverse;
}
.hero-orbit__ring--inner {
  inset: 32%;
  border-color: var(--hero-orbit-ring-inner);
  animation: hero-orbit-spin 22s linear infinite;
}
@keyframes hero-orbit-spin { to { transform: rotate(360deg); } }
.hero-orbit__core {
  position: relative;
  z-index: 2;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.15rem;
  padding: 1rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(165deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: #fff;
  box-shadow:
    0 20px 50px rgba(20, 50, 41, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -8px 24px rgba(0, 0, 0, 0.12);
  animation: hero-orbit-float 5s ease-in-out infinite;
}
@keyframes hero-orbit-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}
.hero-orbit__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero-orbit__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  line-height: 1.05;
  font-weight: 560;
  color: var(--honey);
  margin: 0.1rem 0 0.25rem;
}
.hero-orbit__years {
  display: grid;
  gap: 0.05rem;
  margin-top: 0.15rem;
}
.hero-orbit__years-prefix {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.hero-orbit__years-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 1.85rem);
  line-height: 1;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-orbit__years-cap {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.hero-orbit__chip {
  position: absolute;
  z-index: 3;
  padding: 0.38rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: var(--card);
  color: var(--pine);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  animation: hero-orbit-chip 6s ease-in-out infinite;
}
.hero-orbit__chip span { display: block; }
.hero-orbit__chip--1 {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}
.hero-orbit__chip--2 {
  bottom: 14%;
  left: -2%;
  animation-delay: -2s;
}
.hero-orbit__chip--3 {
  bottom: 18%;
  right: -4%;
  animation-delay: -4s;
}
@keyframes hero-orbit-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.hero-orbit__chip--1 { animation-name: hero-orbit-chip-center; }
@keyframes hero-orbit-chip-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
.hero-orbit__spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 12px rgba(226, 162, 59, 0.8);
  opacity: 0;
  animation: hero-orbit-spark 2.8s ease-in-out infinite;
}
.hero-orbit__spark--1 { top: 22%; right: 14%; animation-delay: 0.4s; }
.hero-orbit__spark--2 { bottom: 28%; left: 10%; animation-delay: 1.2s; }
.hero-orbit__spark--3 { top: 38%; left: 22%; width: 6px; height: 6px; animation-delay: 2s; }
@keyframes hero-orbit-spark {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  45% { opacity: 1; transform: scale(1); }
  70% { opacity: 0; transform: scale(0.2); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-orbit { grid-row: 1; width: min(72%, 300px); }
  .hero-orbit__chip--2 { left: 0; }
  .hero-orbit__chip--3 { right: 0; }
}

/* ---------- the path (signature) ---------- */
.path { background: linear-gradient(180deg, var(--pine) 0%, var(--pine-deep) 100%); color: #fff; }
.path h2, .path h3 { color: #fff; }
.path .eyebrow { color: var(--honey); }
.path-head { max-width: 54ch; margin-bottom: 3rem; }
.path-head p { color: rgba(255,255,255,0.78); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(226,162,59,0.7) 0 14px, transparent 14px 26px);
}
.step { position: relative; padding: 0 1rem; text-align: center; }
.step .marker {
  width: 56px; height: 56px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: var(--honey); color: var(--pine-deep);
  display: grid; place-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--pine-deep);
}
.step h4 { color: #fff; font-size: 1.18rem; margin-bottom: 0.5rem; }
.step p { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; text-align: left; padding: 0; align-items: start; }
  .step .marker { margin: 0; }
}

/* ---------- cards / guides ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--honey-deep); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.card .more { margin-top: auto; font-weight: 650; color: var(--moss); display: inline-flex; align-items: center; gap: 0.35rem; padding-top: 0.6rem; }
.card .more::after { content: "→"; transition: transform 0.2s var(--ease); }
.card:hover .more::after { transform: translateX(4px); }

/* ---------- comparison table ---------- */
.compare { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--card); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.98rem; }
table.cmp th, table.cmp td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.cmp thead th { background: var(--table-head-bg); font-family: var(--font-display); font-weight: 580; font-size: 1.02rem; color: var(--ink); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child, table.cmp th:first-child { font-weight: 600; color: var(--ink); }
table.cmp .yes { color: var(--moss); font-weight: 650; }
table.cmp .row-head { background: var(--table-row-head); }

/* ---------- recommend / funnel block ---------- */
.recommend {
  background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--honey);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.4rem; align-items: center;
}
.recommend h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.7rem; }
.recommend ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.7rem; }
.recommend li { padding-left: 1.9rem; position: relative; color: var(--ink-soft); }
.recommend li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--moss); font-weight: 800; background: var(--recommend-li-bg); width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-content: center; font-size: 0.8rem; }
.recommend .panel { background: linear-gradient(160deg, var(--pine), var(--pine-deep)); color: #fff; border-radius: var(--radius); padding: 1.8rem; text-align: center; }
.recommend .panel h4 { color: #fff; font-size: 1.25rem; margin-bottom: 0.4rem; }
.recommend .panel p { color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.recommend .panel .btn { margin-top: 1rem; width: 100%; }
.recommend .panel small { display: block; margin-top: 0.9rem; color: rgba(255,255,255,0.55); font-size: 0.78rem; }
@media (max-width: 820px) { .recommend { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 780px; }
.faq details {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 0 1.4rem; box-shadow: var(--shadow-sm); transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0; font-family: var(--font-display);
  font-weight: 540; font-size: 1.1rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--honey-deep); line-height: 1; transition: transform 0.25s var(--ease); font-family: var(--font-body); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; margin: 0; color: var(--ink-soft); }

/* ---------- lead form ---------- */
.form-section { background: var(--card-warm); }
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow-md); max-width: 720px; margin-inline: auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--honey-deep); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface-input);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px var(--focus-ring); }
.field textarea { resize: vertical; min-height: 96px; }
.consent { grid-column: 1 / -1; display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--moss); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: 0.84rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 0.9rem 1.1rem; border-radius: 10px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: var(--status-ok-bg); color: var(--status-ok-fg); border: 1px solid rgba(47,122,102,0.3); }
.form-status.err { display: block; background: var(--status-err-bg); color: var(--status-err-fg); border: 1px solid rgba(199,82,42,0.3); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- prose (content pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 2.6rem 0 1rem; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 0.7rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.3rem; display: grid; gap: 0.45rem; }
.prose blockquote { margin: 1.6rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--honey); background: var(--card-warm); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--pine); }
.page-hero { background: var(--page-hero-bg); padding-block: clamp(2.6rem, 5vw, 4rem) 1rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); max-width: 18ch; }
.page-hero .lead { margin-top: 1rem; max-width: 56ch; }
.toc { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 0 0 2.4rem; box-shadow: var(--shadow-sm); }
.toc strong { display: block; font-family: var(--font-display); margin-bottom: 0.6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }

/* ---------- callout ---------- */
.callout { background: var(--card-warm); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 1.8rem 0; display: flex; gap: 1rem; }
.callout .ico { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--honey); color: var(--pine-deep); display: grid; place-content: center; font-weight: 800; }
.callout p { margin: 0; }
.callout p strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(255,255,255,0.75); padding-block: 3.5rem 2rem; margin-top: var(--space); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand { color: #fff; }
.site-footer h5 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); margin: 0 0 1rem; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,0.75); display: block; padding: 0.3rem 0; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.disclosure { font-size: 0.88rem; color: rgba(255,255,255,0.62); max-width: 42ch; margin-top: 0.8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid .about { grid-column: 1 / -1; } }

/* ---------- cookie consent ---------- */
.cookiebar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 80; max-width: 560px; margin-inline: auto;
  background: var(--pine-deep); color: rgba(255,255,255,0.88); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; box-shadow: var(--shadow-lg); display: none; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.cookiebar.show { display: flex; }
.cookiebar p { margin: 0; font-size: 0.9rem; flex: 1 1 260px; }
.cookiebar p a { color: var(--honey); }
.cookiebar .cb-actions { display: flex; gap: 0.6rem; }
.cookiebar .btn { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.cookiebar .btn-ghost { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.3); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-orbit__ring, .hero-orbit__progress, .hero-orbit__core, .hero-orbit__chip, .hero-orbit__glow, .hero-orbit__spark { animation: none !important; } .hero-orbit__progress { stroke-dashoffset: 248; } }

.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.section-head { max-width: 52ch; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; }

/* =========================================================================
   DINAMIKUS KOMPONENSEK
   ========================================================================= */

/* ---- scroll progress ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--honey), var(--moss)); transition: width 0.1s linear; }

/* ---- sticky CTA bar ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; transform: translateY(120%);
  transition: transform 0.4s var(--ease); background: var(--sticky-cta-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff;
  border-top: 1px solid rgba(255,255,255,0.12); box-shadow: 0 -8px 30px rgba(0,0,0,0.2);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; padding-block: 0.7rem; }
.sticky-cta strong { font-family: var(--font-display); font-weight: 540; font-size: 1.05rem; }
.sticky-cta span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.sticky-cta .btn { margin-left: auto; white-space: nowrap; }
.sticky-cta .txt { display: flex; flex-direction: column; line-height: 1.25; }
@media (max-width: 560px) { .sticky-cta span { display: none; } .sticky-cta .btn { padding: 0.6rem 1.1rem; font-size: 0.92rem; } }

/* ---- animated stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.1rem); font-weight: 580; color: var(--pine); line-height: 1; }
.stat .num .suffix { color: var(--honey-deep); }
.stat .cap { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---- interactive tool shell (calc + quiz) ---- */
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.tool-head { background: linear-gradient(155deg, var(--pine), var(--pine-deep)); color: #fff; padding: 1.6rem 1.8rem; display: flex; align-items: center; gap: 1rem; }
.tool-head .badge { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--honey); color: var(--pine-deep); display: grid; place-content: center; font-size: 1.3rem; }
.tool-head h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.tool-head p { color: rgba(255,255,255,0.72); margin: 0.15rem 0 0; font-size: 0.9rem; }
.tool-body { padding: 1.8rem; }
.tool-q { display: none; }
.tool-q.active { display: block; animation: fadeSlide 0.4s var(--ease); }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.tool-q .q-label { font-family: var(--font-display); font-size: 1.18rem; font-weight: 540; margin: 0 0 1.1rem; display: block; }
.opt-list { display: grid; gap: 0.7rem; }
.opt {
  display: flex; align-items: center; gap: 0.8rem; width: 100%; text-align: left; cursor: pointer;
  padding: 0.95rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface-input);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); transition: all 0.16s var(--ease);
}
.opt:hover { border-color: var(--moss); background: var(--opt-hover-bg); transform: translateX(3px); }
.opt.sel { border-color: var(--moss); background: var(--opt-sel-bg); box-shadow: 0 0 0 3px var(--opt-sel-ring); }
.opt .tick { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--line); display: grid; place-content: center; font-size: 0.8rem; color: #fff; transition: all 0.16s; }
.opt.sel .tick { background: var(--moss); border-color: var(--moss); }
.opt.multi .tick { border-radius: 6px; }
.tool-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 1.6rem; gap: 1rem; }
.tool-dots { display: flex; gap: 0.4rem; }
.tool-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all 0.2s; }
.tool-dots i.on { background: var(--honey); width: 22px; border-radius: 4px; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: var(--font-body); font-size: 0.95rem; padding: 0.5rem; }
.link-btn:hover { color: var(--pine); }
.link-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* tool result */
.tool-result { display: none; padding: 2rem 1.8rem; text-align: center; animation: fadeSlide 0.4s var(--ease); }
.tool-result.show { display: block; }
.result-big { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--pine); line-height: 1; margin: 0.4rem 0; }
.result-big .u { color: var(--honey-deep); }
.result-tag { display: inline-block; padding: 0.3rem 0.9rem; border-radius: var(--radius-pill); background: var(--result-tag-bg); color: var(--honey-deep); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.04em; }
.result-note { color: var(--muted); font-size: 0.92rem; max-width: 44ch; margin: 1rem auto 0; }
.result-meta { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin: 1.4rem 0; }
.result-meta div { text-align: center; }
.result-meta .k { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
.result-meta .l { font-size: 0.8rem; color: var(--muted); }
.result-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* recommend bar (quiz visual) */
.rec-bar { max-width: 360px; margin: 1.2rem auto; }
.rec-bar .lbls { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.4rem; }
.rec-bar .track { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.rec-bar .fill { height: 100%; background: linear-gradient(90deg, var(--moss), var(--honey)); width: 50%; transition: width 0.8s var(--ease); }

/* ---- countdown ---- */
.countdown-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.4rem; align-items: center; background: linear-gradient(155deg, var(--pine), var(--pine-deep)); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); color: #fff; box-shadow: var(--shadow-lg); }
.countdown-wrap h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.countdown-wrap p { color: rgba(255,255,255,0.75); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.cd-unit { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 1rem 0.4rem; text-align: center; }
.cd-unit b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--honey); line-height: 1; font-weight: 580; }
.cd-unit span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
@media (max-width: 720px) { .countdown-wrap { grid-template-columns: 1fr; gap: 1.6rem; text-align: center; } }

/* ---- tabs ---- */
.tabs { display: flex; gap: 0.5rem; background: var(--card-warm); padding: 0.4rem; border-radius: var(--radius-pill); width: fit-content; margin: 0 auto 2rem; border: 1px solid var(--line-soft); }
.tab-btn { border: 0; background: none; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; color: var(--muted); padding: 0.65rem 1.4rem; border-radius: var(--radius-pill); transition: all 0.2s var(--ease); }
.tab-btn.active { background: var(--pine); color: #fff; box-shadow: var(--shadow-sm); }
.tab-panel { display: none; animation: fadeSlide 0.4s var(--ease); }
.tab-panel.active { display: block; }

/* ---- persona slider ---- */
.slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.slides { display: flex; transition: transform 0.5s var(--ease); }
.slide { flex: 0 0 100%; padding: clamp(1.8rem, 4vw, 2.8rem); background: var(--card); border: 1px solid var(--line-soft); }
.slide .quote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-style: italic; color: var(--ink); line-height: 1.4; }
.slide .who { margin-top: 1.2rem; display: flex; align-items: center; gap: 0.9rem; }
.slide .who .av { width: 3rem; height: 3rem; border-radius: 50%; background: linear-gradient(155deg, var(--moss), var(--pine)); color: #fff; display: grid; place-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.slide .who b { display: block; color: var(--ink); }
.slide .who span { font-size: 0.88rem; color: var(--muted); }
.slider-ctrl { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; }
.slider-ctrl button { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface-input); cursor: pointer; font-size: 1.1rem; color: var(--pine); transition: all 0.18s; }
.slider-ctrl button:hover { border-color: var(--pine); background: var(--pine); color: #fff; }
.slider-dots { display: flex; gap: 0.45rem; }
.slider-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); cursor: pointer; transition: all 0.2s; }
.slider-dots i.on { background: var(--honey); width: 24px; border-radius: 5px; }
.slide-note { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }

/* ---- multi-step wizard ---- */
.wizard-progress { display: flex; align-items: center; gap: 0; margin-bottom: 1.8rem; }
.wstep { flex: 1; display: flex; align-items: center; }
.wstep .ball { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--line); color: var(--muted); display: grid; place-content: center; font-weight: 700; font-size: 0.9rem; transition: all 0.3s var(--ease); border: 2px solid transparent; }
.wstep .line { flex: 1; height: 2px; background: var(--line); margin: 0 0.4rem; transition: background 0.3s; }
.wstep:last-child .line { display: none; }
.wstep.done .ball { background: var(--moss); color: #fff; }
.wstep.current .ball { background: var(--honey); color: var(--pine-deep); box-shadow: 0 0 0 4px var(--wstep-current-ring); }
.wstep.done .line { background: var(--moss); }
.wpanel { display: none; animation: fadeSlide 0.35s var(--ease); }
.wpanel.active { display: block; }
.wpanel h4 { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 0.3rem; }
.wpanel .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.2rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { cursor: pointer; padding: 0.7rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-input); font-size: 0.96rem; font-family: var(--font-body); transition: all 0.16s; }
.chip:hover { border-color: var(--moss); }
.chip.sel { background: var(--pine); color: #fff; border-color: var(--pine); }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.review-box { background: var(--card-warm); border: 1px solid var(--line-soft); border-radius: 12px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; }
.review-box .row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
.review-box .row:last-child { border-bottom: 0; }
.review-box .row span:first-child { color: var(--muted); }
.review-box .row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

/* prefilled hint badge */
.prefill-hint { display: none; align-items: center; gap: 0.5rem; background: var(--prefill-bg); border: 1px solid var(--prefill-border); color: var(--pine); border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.9rem; margin-bottom: 1.2rem; }
.prefill-hint.show { display: flex; }

/* =========================================================================
   MOZGÓ / FIGYELEMFELKELTŐ ELEMEK
   ========================================================================= */

/* hero tartalom a háttér fölé */
.hero .wrap { position: relative; z-index: 2; }

/* aurora animált háttér */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora b { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; mix-blend-mode: multiply; }
.aurora b:nth-child(1) { width: 38vw; height: 38vw; max-width: 460px; max-height: 460px; left: -6%; top: -10%; background: radial-gradient(circle, rgba(47,122,102,0.5), transparent 70%); animation: drift1 18s ease-in-out infinite; }
.aurora b:nth-child(2) { width: 32vw; height: 32vw; max-width: 400px; max-height: 400px; right: -4%; top: 6%; background: radial-gradient(circle, rgba(226,162,59,0.45), transparent 70%); animation: drift2 22s ease-in-out infinite; }
.aurora b:nth-child(3) { width: 30vw; height: 30vw; max-width: 380px; max-height: 380px; left: 35%; bottom: -18%; background: radial-gradient(circle, rgba(30,74,64,0.35), transparent 70%); animation: drift3 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%, 10%) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-10%, 8%) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%, -8%) scale(1.15); } }

/* lebegő pontok */
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaters i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--honey); opacity: 0.5; animation: floaty 7s ease-in-out infinite; }
.floaters i:nth-child(1) { left: 12%; top: 30%; animation-delay: 0s; }
.floaters i:nth-child(2) { left: 48%; top: 18%; width: 7px; background: var(--moss); animation-delay: 1.4s; }
.floaters i:nth-child(3) { left: 62%; top: 62%; width: 13px; animation-delay: 2.6s; }
.floaters i:nth-child(4) { left: 28%; top: 72%; width: 6px; background: var(--moss); animation-delay: 0.8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-18px); opacity: 0.9; } }

/* animált aláhúzás a hero kiemelt szaván */
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.08em; height: 0.42em; background: var(--hl-underline); border-radius: 0.2em; z-index: -1; transform: scaleX(0); transform-origin: left; animation: drawline 0.9s 0.5s var(--ease) forwards; }
@keyframes drawline { to { transform: scaleX(1); } }

/* futó szalag (marquee) */
.ticker { background: var(--pine-deep); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,0.08); }
.ticker-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.85rem 2rem; font-size: 0.95rem; font-weight: 600; white-space: nowrap; color: rgba(255,255,255,0.9); }
.ticker-item::before { content: "★"; color: var(--honey); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* csillanó / pulzáló CTA */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent); transform: skewX(-18deg); transition: none; }
.btn-primary:hover::after { animation: sweep 0.8s var(--ease); }
@keyframes sweep { to { left: 130%; } }
.btn-glow { animation: glowpulse 2.6s ease-in-out infinite; }
@keyframes glowpulse { 0%,100% { box-shadow: 0 4px 14px rgba(226,162,59,0.4); } 50% { box-shadow: 0 6px 26px rgba(226,162,59,0.75); } }

/* dőlő (tilt) kártya */
.card { transform-style: preserve-3d; will-change: transform; }
.card[data-tilt] { transition: transform 0.12s ease, box-shadow 0.22s var(--ease); }

/* animált gradiens szöveg-akcentus */
.grad-text { background: linear-gradient(90deg, var(--moss), var(--honey), var(--moss)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradshift 5s linear infinite; }
@keyframes gradshift { to { background-position: 200% center; } }

/* szekció-belépő badge pulzálás */
.live-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; color: var(--moss); }
.live-badge .dotpulse { width: 9px; height: 9px; border-radius: 50%; background: var(--moss); position: relative; }
.live-badge .dotpulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--moss); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

/* count-up szám kiemelés */
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); transition: all 0.2s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .aurora b, .floaters i, .ticker-track, .btn-glow, .grad-text, .hl::after, .live-badge .dotpulse::after { animation: none !important; }
  .hl::after { transform: scaleX(1); }
  .edulo-carousel__slide { transition: none !important; }
}

/* ---------- Edulo prémium szekció (főoldal) ---------- */
.edulo-premium {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--edulo-premium-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.edulo-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
.edulo-premium__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.edulo-premium__eyebrow { color: var(--honey); }
.edulo-premium__eyebrow::before { background: var(--honey); }
.edulo-premium h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-bottom: 1rem;
}
.edulo-premium .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
  margin-bottom: 1.6rem;
}
.edulo-premium__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.75rem;
}
.edulo-premium__features li {
  padding-left: 1.9rem;
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}
.edulo-premium__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--honey);
  font-weight: 800;
  background: rgba(226, 162, 59, 0.18);
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 0.78rem;
}
.edulo-premium__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.edulo-premium__ghost {
  color: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}
.edulo-premium__ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  text-decoration: none;
}
.edulo-premium__note {
  margin: 1.2rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 44ch;
}

/* telefon mockup — karusszel (egyszerre 1 fő + 2 oldalsó) */
.edulo-premium__device {
  display: flex;
  justify-content: center;
  padding-block: 0.35rem 0.15rem;
}
.edulo-carousel {
  --edulo-phone-w: min(248px, 58vw);
  --edulo-stage-h: calc(var(--edulo-phone-w) * 19.2 / 9 + 2.85rem);
  --edulo-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
}
.edulo-carousel__glow {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 12%;
  bottom: 22%;
  background: radial-gradient(circle at 50% 50%, rgba(226, 162, 59, 0.26), rgba(47, 122, 102, 0.08) 50%, transparent 72%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}
.edulo-carousel__stage {
  position: relative;
  z-index: 1;
  min-height: var(--edulo-stage-h);
  padding: 1.25rem 0 0.75rem;
  overflow: visible;
}
.edulo-carousel__track {
  position: relative;
  width: 100%;
  min-height: var(--edulo-stage-h);
}
.edulo-carousel__slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--edulo-phone-w);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  transform: translate(-50%, -50%) scale(0.88);
  transition:
    transform 1s var(--edulo-ease),
    opacity 1s var(--edulo-ease);
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.edulo-carousel__slide.is-left {
  transform: translate(calc(-50% - 62%), -50%) scale(0.88);
  z-index: 2;
  opacity: 0.42;
  pointer-events: auto;
}
.edulo-carousel__slide.is-right {
  transform: translate(calc(-50% + 62%), -50%) scale(0.88);
  z-index: 2;
  opacity: 0.42;
  pointer-events: auto;
}
.edulo-carousel__slide.is-center {
  transform: translate(-50%, -50%) scale(1);
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
}
.edulo-carousel__slide.is-hidden {
  transform: translate(-50%, -50%) scale(0.82);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
@media (pointer: fine) {
  .edulo-carousel__slide.is-left:hover,
  .edulo-carousel__slide.is-right:hover {
    opacity: 0.62;
  }
}
.edulo-carousel__slide:not(.is-center) .edulo-phone__btn {
  display: none;
}
.edulo-carousel__tabs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.edulo-carousel__tab {
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(20, 50, 41, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.35s var(--edulo-ease), border-color 0.35s var(--edulo-ease), color 0.35s var(--edulo-ease);
}
.edulo-carousel__tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}
.edulo-carousel__tab.is-active {
  color: #fff;
  background: rgba(226, 162, 59, 0.28);
  border-color: rgba(226, 162, 59, 0.5);
  box-shadow: 0 2px 12px rgba(226, 162, 59, 0.2);
}
.edulo-carousel__tab:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
}

.edulo-phone__frame {
  position: relative;
  z-index: 1;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(145deg, #2a2f2e 0%, #0f1211 55%, #1c2220 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.edulo-phone__btn {
  position: absolute;
  background: #1a1e1d;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.edulo-phone__btn--silent { right: -3px; top: 88px; width: 3px; height: 28px; }
.edulo-phone__btn--vol { right: -3px; top: 130px; width: 3px; height: 44px; }
.edulo-phone__screen {
  border-radius: 30px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 9 / 19.2;
  box-shadow: inset 0 0 0 1px rgba(22, 48, 42, 0.08);
}
.edulo-phone__home {
  width: 36%;
  height: 4px;
  margin: 8px auto 2px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
}

/* app UI */
.edulo-app {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.85rem 0.65rem;
  background: linear-gradient(180deg, var(--card-warm) 0%, var(--paper) 100%);
  font-size: 0.72rem;
}
.edulo-app__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 650;
  color: var(--ink);
  padding: 0.15rem 0.2rem 0.45rem;
  flex-shrink: 0;
}
.edulo-app__status-icons { display: inline-flex; gap: 3px; align-items: flex-end; }
.edulo-app__status-icons i {
  display: block;
  width: 10px;
  height: 6px;
  border: 1.5px solid var(--ink);
  border-top: none;
  border-radius: 0 0 2px 2px;
}
.edulo-app__status-icons i:last-child {
  width: 12px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(var(--ink) 40%, transparent 40%);
}

/* —— Haladás (dashboard) —— */
.edulo-app__header {
  text-align: center;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 0.55rem;
}
.edulo-app__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pine);
  letter-spacing: -0.02em;
}
.edulo-app__tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-top: 0.1rem;
}
.edulo-app__welcome {
  background: linear-gradient(135deg, var(--pine), var(--pine-deep));
  color: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.55rem;
  box-shadow: var(--shadow-sm);
}
.edulo-app__hello {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 540;
  margin: 0 0 0.15rem;
  color: #fff;
}
.edulo-app__sub {
  margin: 0;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}
.edulo-app__cards { display: grid; gap: 0.45rem; flex: 1; min-height: 0; }
.edulo-app__card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  box-shadow: var(--shadow-sm);
}
.edulo-app__card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
  font-weight: 650;
  color: var(--ink);
  font-size: 0.68rem;
}
.edulo-app__card-top strong { color: var(--moss); font-size: 0.75rem; }
.edulo-app__bar {
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--line-soft);
  overflow: hidden;
  margin-bottom: 0.3rem;
}
.edulo-app__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--honey));
}
.edulo-app__card small { font-size: 0.58rem; color: var(--muted); }
.edulo-app__card--next {
  border-color: rgba(226, 162, 59, 0.35);
  background: linear-gradient(135deg, rgba(226, 162, 59, 0.12), rgba(255, 255, 255, 0.9));
}
.edulo-app__pill {
  display: inline-block;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey-deep);
  background: rgba(226, 162, 59, 0.2);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.25rem;
}
.edulo-app__card--next p { margin: 0; font-size: 0.65rem; font-weight: 600; color: var(--ink-soft); line-height: 1.35; }
.edulo-app__nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.edulo-app__nav span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--line-soft);
  opacity: 0.55;
}
.edulo-app__nav span.active {
  background: linear-gradient(135deg, var(--moss), var(--pine));
  opacity: 1;
  box-shadow: 0 2px 8px rgba(47, 122, 102, 0.35);
}

/* —— Tananyag —— */
.edulo-app__crumb {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 0.35rem;
}
.edulo-app__lesson-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.edulo-app__lesson-video {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  font-weight: 650;
  color: var(--pine);
  background: rgba(47, 122, 102, 0.1);
  border: 1px solid rgba(47, 122, 102, 0.18);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.55rem;
}
.edulo-app__play {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--moss);
  position: relative;
  flex-shrink: 0;
}
.edulo-app__play::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.2rem;
  border: 0.2rem solid transparent;
  border-left-color: #fff;
  border-right: 0;
}
.edulo-app__lesson-lines {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  flex: 1;
}
.edulo-app__lesson-lines span {
  display: block;
  height: 0.4rem;
  border-radius: 4px;
  background: var(--line-soft);
}
.edulo-app__lesson-lines span.short { width: 62%; }
.edulo-app__lesson-foot small { display: block; font-size: 0.55rem; color: var(--muted); margin-bottom: 0.25rem; }

/* —— Teszt —— */
.edulo-app__quiz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--pine);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-soft);
}
.edulo-app__quiz-head strong { color: var(--moss); font-size: 0.68rem; }
.edulo-app__quiz-q {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.edulo-app__quiz-opts {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  flex: 1;
}
.edulo-app__quiz-opts span {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--card);
  font-size: 0.62rem;
  color: var(--ink-soft);
}
.edulo-app__quiz-opts span.sel {
  border-color: var(--moss);
  background: rgba(47, 122, 102, 0.1);
  color: var(--pine);
  font-weight: 650;
  box-shadow: 0 0 0 1px rgba(47, 122, 102, 0.15);
}
.edulo-app__quiz-btn {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--pine), var(--pine-deep));
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  flex-shrink: 0;
}

/* —— Feltöltés —— */
.edulo-app__upload-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 560;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.edulo-app__upload-sub {
  margin: 0 0 0.5rem;
  font-size: 0.55rem;
  color: var(--muted);
}
.edulo-app__upload-drop {
  border: 1.5px dashed rgba(47, 122, 102, 0.35);
  border-radius: 10px;
  background: rgba(47, 122, 102, 0.06);
  padding: 0.65rem 0.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.edulo-app__upload-icon {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--moss);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.edulo-app__upload-drop p {
  margin: 0;
  font-size: 0.55rem;
  color: var(--muted);
  line-height: 1.3;
}
.edulo-app__upload-file {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.5rem;
  flex: 1;
  align-self: stretch;
}
.edulo-app__file-icon {
  width: 0.6rem;
  height: 0.75rem;
  border-radius: 2px;
  background: linear-gradient(var(--honey) 35%, var(--line-soft) 35%);
  flex-shrink: 0;
}
.edulo-app__file-name {
  flex: 1;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.edulo-app__file-ok {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--moss);
}
.edulo-app__upload-submit {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--pine-deep);
  background: linear-gradient(135deg, var(--honey), #d4952f);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(226, 162, 59, 0.35);
}

@media (max-width: 860px) {
  .edulo-premium__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .edulo-premium .lead,
  .edulo-premium__note {
    margin-inline: auto;
  }
  .edulo-premium__actions {
    justify-content: center;
  }
  .edulo-premium__features {
    text-align: left;
    max-width: 420px;
    margin-inline: auto;
  }
  .edulo-premium__device {
    order: -1;
  }
  .edulo-carousel {
    --edulo-phone-w: min(220px, 52vw);
  }
  .edulo-carousel__slide.is-left {
    transform: translate(calc(-50% - 56%), -50%) scale(0.86);
  }
  .edulo-carousel__slide.is-right {
    transform: translate(calc(-50% + 56%), -50%) scale(0.86);
  }
}

@media (max-width: 640px) {
  .edulo-premium__actions {
    flex-direction: column;
    width: 100%;
  }
  .edulo-premium__actions .btn {
    width: 100%;
  }
  .edulo-carousel {
    --edulo-phone-w: min(200px, 68vw);
  }
  .edulo-carousel__slide.is-left,
  .edulo-carousel__slide.is-right {
    opacity: 0.35;
    transform: translate(calc(-50% - 52%), -50%) scale(0.84);
  }
  .edulo-carousel__slide.is-right {
    transform: translate(calc(-50% + 52%), -50%) scale(0.84);
  }
}
