/* DT App weboldal – az app türkiz „BY GYM” arculata: sötét antracit alap, egy márkaszín, Inter. */
:root {
  --bg: #070B0D; --surface: #101719; --surface2: #172124; --border: #223034; --border2: #2d3f44;
  --text: #F2F7F8; --dim: #A0B0B4; --faint: #64767B; --body: #CFDCDF;
  --brand: #1FC6C8; --soft: #5BE0E0; --on-brand: #03161A; --brand-a: rgba(31,198,200,.13); --brand-b: rgba(31,198,200,.35);
  --green: #3DD68C; --blue: #5AA9F5; --red: #F2545B; --amber: #F59E3B;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 20px; --r-sm: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
section { position: relative; padding-block: clamp(56px, 8vw, 104px); }
section.tight { padding-block: clamp(36px, 5vw, 64px); }
.alt { background: var(--surface); border-block: 1px solid var(--border); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; z-index: 0; background: var(--brand); }
.z { position: relative; z-index: 1; }

/* Tipográfia */
.kicker { font-weight: 800; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
h1 { font-weight: 900; font-size: clamp(40px, 6.6vw, 80px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
h1.sm { font-size: clamp(34px, 5vw, 58px); }
h2 { font-weight: 800; font-size: clamp(28px, 4vw, 46px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; margin-top: 10px; }
h3 { font-weight: 750; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-weight: 700; font-size: 15px; }
p { color: var(--dim); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--body); max-width: 38em; margin-top: 16px; }
.teal { color: var(--brand); }
.muted { color: var(--faint); }
.small { font-size: 14px; }
.xs { font-size: 12.5px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.head.center { margin-inline: auto; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--body); }

/* Gombok, címkék */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid var(--border2); background: var(--surface); color: var(--text); cursor: pointer; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: var(--surface2); }
.btn.p { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn.p:hover { background: var(--soft); border-color: var(--soft); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
:focus-visible { outline: 2px solid var(--soft); outline-offset: 3px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface2); font-weight: 600; font-size: 13px; color: var(--body); }
.pills { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; border: 1px solid; white-space: nowrap; }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.nodot::before { display: none; }
.tag.green { color: var(--green); border-color: rgba(61,214,140,.35); background: rgba(61,214,140,.08); }
.tag.amber { color: var(--amber); border-color: rgba(245,158,59,.35); background: rgba(245,158,59,.08); }
.tag.blue { color: var(--blue); border-color: rgba(90,169,245,.35); background: rgba(90,169,245,.08); }
.tag.red { color: var(--red); border-color: rgba(242,84,91,.35); background: rgba(242,84,91,.08); }
.tag.teal { color: var(--soft); border-color: var(--brand-b); background: var(--brand-a); }
.tag.gray { color: var(--dim); border-color: var(--border2); background: var(--surface2); }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--soft); font-weight: 700; font-size: 13px; }
.verified svg { width: 16px; height: 16px; }
.ph { border-bottom: 1px dashed var(--amber); }

/* Kártyák, rácsok */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.card.hov { transition: border-color .15s, transform .15s; }
.card.hov:hover { border-color: var(--brand-b); transform: translateY(-2px); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-a); border: 1px solid var(--brand-b); display: flex; align-items: center; justify-content: center; color: var(--soft); margin-bottom: 16px; flex: none; }
.ico svg { width: 22px; height: 22px; }
.tick { list-style: none; display: grid; gap: 9px; }
.tick li { padding-left: 28px; position: relative; color: var(--body); }
.tick li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.tick.x li::before { content: '✕'; color: var(--red); }
.num { font-weight: 900; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.03em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }

/* Demó sáv + fejléc */
.demo-bar { background: linear-gradient(90deg, #0d2a2c, #12201f); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--body); text-align: center; padding: 7px 16px; }
.demo-bar b { color: var(--soft); }
header.nav { position: sticky; top: 0; z-index: 40; background: rgba(7,11,13,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .02em; font-size: 17px; }
.logo img { height: 26px; width: auto; }
.logo span { color: var(--brand); }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a { display: block; padding: 8px 11px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--dim); }
.menu a:hover { color: var(--text); background: var(--surface); }
.menu a[aria-current="page"] { color: var(--text); }
.menu a[aria-current="page"]::after { content: ''; display: block; height: 2px; background: var(--brand); border-radius: 2px; margin-top: 3px; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border2); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1080px) {
  .menu { display: none; }
  .burger { display: inline-flex; }
  .nav-cta .btn.ghost { display: none; }
  header.nav.open .menu { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 16px 18px; gap: 2px; max-height: calc(100vh - 68px); overflow: auto; }
  header.nav.open .menu a { font-size: 17px; padding: 13px 12px; }
  header.nav.open .menu a[aria-current="page"]::after { display: none; }
  header.nav.open .menu a[aria-current="page"] { background: var(--surface); color: var(--soft); }
}
@media (max-width: 420px) { .nav-cta .btn.p { padding: 9px 13px; font-size: 13.5px; } .logo span { display: none; } }

/* Lábléc */
footer.foot { border-top: 1px solid var(--border); background: #05080a; padding-block: 48px 32px; margin-top: auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { color: var(--text); margin-bottom: 12px; font-size: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--dim); }
.foot ul a:hover { color: var(--soft); }
.foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Hero */
.hero { padding-block: clamp(44px, 6vw, 88px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 36px; align-items: center; }
.hero .alt-line { margin-top: 18px; font-weight: 600; color: var(--faint); font-size: 15px; }
.hero-stage { position: relative; min-height: 560px; }
.phone { width: 100%; max-width: 280px; border-radius: 40px; padding: 9px; background: linear-gradient(145deg, #34474b, #0d1416); box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px #000; }
.phone img { border-radius: 32px; width: 100%; height: auto; }
.hero-stage .phone { position: absolute; bottom: -70px; width: 56%; }
.hero-stage .p1 { left: 6%; transform: rotate(-7deg); z-index: 2; }
.hero-stage .p2 { right: 2%; transform: rotate(6deg) translateY(40px); z-index: 1; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 380px; }
  .hero-stage .phone { width: 50%; bottom: -40px; }
}
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--dim); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 17px; height: 17px; color: var(--brand); }

/* Útválasztó */
.router { margin-top: -1px; position: relative; z-index: 3; background: var(--surface); border-block: 1px solid var(--border); padding-block: 36px; }
.route { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); border: 1px solid var(--border); background: var(--bg); transition: border-color .15s, transform .15s; }
.route:hover { border-color: var(--brand); transform: translateY(-2px); }
.route .go { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--soft); font-size: 14.5px; }

/* Lépések */
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { position: relative; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); }
.step::before { counter-increment: s; content: counter(s); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 900; font-size: 18px; margin-bottom: 14px; }
.step p { font-size: 15px; margin-top: 6px; }

/* Funkciósorok */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.row.rev > .media { order: -1; }
.row .media { display: flex; justify-content: center; }
.row + .row { margin-top: clamp(64px, 9vw, 116px); }
.row h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.025em; margin-top: 10px; }
.row .tick { margin-top: 20px; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row.rev > .media { order: 0; } .row .phone { max-width: 240px; } }

/* Alapító blokk */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait { aspect-ratio: 4/5; border-radius: 28px; background: radial-gradient(120% 90% at 30% 10%, rgba(31,198,200,.35), transparent 60%), linear-gradient(160deg, #15292c, #0a1214); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; color: var(--faint); font-size: 13px; }
.portrait img { width: 46%; opacity: .9; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 320px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 26px; }
.facts div { border-left: 2px solid var(--brand); padding-left: 14px; }
.facts b { display: block; font-size: 22px; font-weight: 850; }
.facts span { font-size: 13.5px; color: var(--dim); }

/* Edzőkártya */
.avatar { --h: 181; width: 64px; height: 64px; border-radius: 20px; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 850; font-size: 22px; color: #fff; background: linear-gradient(140deg, hsl(var(--h) 65% 42%), hsl(calc(var(--h) + 40) 55% 18%)); letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.avatar.xl { width: 128px; height: 128px; border-radius: 34px; font-size: 44px; }
.coach { display: flex; flex-direction: column; gap: 14px; }
.coach .top { display: flex; gap: 14px; align-items: flex-start; }
.coach .name { font-weight: 800; font-size: 18px; line-height: 1.2; }
.coach .where { font-size: 13.5px; color: var(--dim); margin-top: 3px; }
.coach .hl { color: var(--body); font-size: 15px; }
.coach .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--dim); }
.coach .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.coach .actions .btn { flex: 1; }
.coach .why { font-size: 13.5px; color: var(--soft); background: var(--brand-a); border: 1px solid var(--brand-b); border-radius: 12px; padding: 9px 12px; }
.coach .why:empty { display: none; }
.demo-chip { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); border: 1px dashed var(--border2); border-radius: 6px; padding: 2px 6px; }
.founder-chip { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-brand); background: var(--brand); border-radius: 6px; padding: 2px 7px; }

/* Kereső */
.finder { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.filters h4 { margin: 18px 0 9px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.filters h4:first-of-type { margin-top: 4px; }
.chk { display: flex; flex-wrap: wrap; gap: 6px; }
.chk label { cursor: pointer; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk span { display: inline-block; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border2); font-size: 13.5px; font-weight: 600; color: var(--body); transition: all .12s; }
.chk input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chk input:focus-visible + span { outline: 2px solid var(--soft); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label, .lbl { font-size: 13.5px; font-weight: 650; color: var(--body); }
.input, select.input, textarea.input { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border2); font-size: 15px; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-a); }
textarea.input { min-height: 110px; resize: vertical; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }
.search .input { padding-left: 42px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.toolbar .count { font-weight: 700; color: var(--body); }
.toolbar select { width: auto; padding: 9px 12px; }
.filter-toggle { display: none; }
@media (max-width: 920px) {
  .finder { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; top: auto; max-height: 86vh; border-radius: 22px 22px 0 0; z-index: 60; transform: translateY(105%); transition: transform .25s, visibility .25s; visibility: hidden; padding-bottom: 90px; }
  .filters.open { visibility: visible; transform: none; box-shadow: 0 -20px 60px rgba(0,0,0,.6); }
  .filter-toggle { display: inline-flex; }
  .filters .apply { position: fixed; left: 16px; right: 16px; bottom: 16px; }
}
.filters .apply { display: none; }
@media (max-width: 920px) { .filters .apply { display: flex; } }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 55; display: none; }
.scrim.on { display: block; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--border2); border-radius: var(--r); }
.empty h3 { margin-bottom: 8px; }
.matcher { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; align-items: end; }

/* Profil */
.profile-head { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
@media (max-width: 820px) { .profile-head { grid-template-columns: 1fr; } }
.profile-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.profile-grid aside { position: sticky; top: 84px; display: grid; gap: 16px; }
@media (max-width: 920px) { .profile-grid { grid-template-columns: 1fr; } .profile-grid aside { position: static; } }
.cap-bar { height: 10px; border-radius: 99px; background: var(--surface2); overflow: hidden; display: flex; margin: 12px 0 8px; }
.cap-bar i { display: block; height: 100%; }
.cap-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--dim); }
.cap-legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: var(--c); }
.axis { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: center; font-size: 14px; color: var(--body); }
.axis + .axis { margin-top: 10px; }
.axis .bar { height: 8px; border-radius: 99px; background: var(--surface2); overflow: hidden; }
.axis .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--soft)); border-radius: 99px; }
@media (max-width: 520px) { .axis { grid-template-columns: 1fr; gap: 6px; } }
.pkg { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); }
.pkg:first-of-type { border-top: 0; }
.pkg b { white-space: nowrap; color: var(--text); }
.quote { border-left: 3px solid var(--brand); padding: 4px 0 4px 18px; }
.quote p { color: var(--body); font-size: 16.5px; }
.quote footer { margin-top: 8px; font-size: 13.5px; color: var(--dim); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.section-title { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.card + .card { margin-top: 16px; }
.grid > .card + .card, .grid > * + .card { margin-top: 0; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Modal */
dialog { margin: auto; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: 1px solid var(--border2); border-radius: 24px; background: var(--surface); color: var(--text); padding: 0; }
dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.dlg { padding: 26px; display: grid; gap: 16px; }
.dlg-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.x { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--border2); background: var(--bg); cursor: pointer; flex: none; font-size: 18px; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 34px; color: var(--dim); font-size: 14.5px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border2); background: var(--bg); }
.timeline li::after { content: ''; position: absolute; left: 13px; top: 20px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--brand); border-color: var(--brand); }
.timeline li.now::before { border-color: var(--amber); background: rgba(245,158,59,.25); }
.timeline li b { color: var(--text); display: block; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--surface2); border: 1px solid var(--brand-b); color: var(--text); padding: 13px 20px; border-radius: 14px; font-weight: 600; font-size: 14.5px; z-index: 90; transition: transform .25s, visibility .25s; visibility: hidden; max-width: calc(100vw - 32px); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* Stíluskérdőív */
.quiz-q { display: grid; gap: 10px; }
.quiz-q .opt { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border2); background: var(--bg); cursor: pointer; font-weight: 600; color: var(--body); }
.quiz-q .opt:hover { border-color: var(--brand); }
.progress { height: 6px; background: var(--surface2); border-radius: 9px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand); transition: width .2s; }

/* Academy */
.ac-hero { background: radial-gradient(80% 120% at 85% 0%, rgba(31,198,200,.22), transparent 60%), var(--bg); }
.shelf + .shelf { margin-top: 44px; }
.shelf-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 14px; }
.shelf-head h3 { font-size: 21px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }
.rail > * { scroll-snap-align: start; }
.course { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .15s, border-color .15s; position: relative; }
.course:hover { transform: translateY(-3px); border-color: var(--brand-b); }
.cover { --h: 181; aspect-ratio: 16/9; position: relative; background: radial-gradient(90% 120% at 100% 0%, hsl(var(--h) 70% 45% / .75), transparent 60%), linear-gradient(135deg, hsl(var(--h) 45% 16%), #0a1012 70%); display: flex; align-items: flex-end; padding: 14px; overflow: hidden; }
.cover::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px); }
.cover .cat { padding-right: 52px; position: relative; z-index: 1; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.cover .play { position: absolute; z-index: 1; right: 14px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; }
.cover .play svg { width: 16px; height: 16px; margin-left: 2px; }
.cover .new { position: absolute; z-index: 1; top: 12px; left: 12px; }
.course .body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.course .body h4 { font-size: 16px; line-height: 1.3; }
.course .body .m { font-size: 12.5px; color: var(--dim); display: flex; gap: 10px; flex-wrap: wrap; }
.course .fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.45); cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; }
.course .fav svg { width: 17px; height: 17px; }
.course .fav[aria-pressed="true"] { color: #ff6b8b; }
.course .fav[aria-pressed="true"] svg { fill: currentColor; }
.course .prog { height: 4px; background: var(--surface2); }
.course .prog i { display: block; height: 100%; background: var(--brand); }
.player { aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.player .cover { aspect-ratio: auto; height: 100%; justify-content: center; align-items: center; }
.player button.bigplay { position: relative; z-index: 2; width: 78px; height: 78px; border-radius: 50%; background: var(--brand); color: var(--on-brand); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(31,198,200,.4); }
.player button.bigplay svg { width: 30px; height: 30px; margin-left: 4px; }
.player .lock { position: absolute; inset: 0; z-index: 3; background: rgba(5,8,10,.88); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.player .lock.on { display: flex; }
.player .bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 12px 16px; display: flex; gap: 14px; align-items: center; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-size: 12.5px; color: rgba(255,255,255,.85); }
.player .bar .track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); }
.lesson-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .lesson-grid { grid-template-columns: 1fr; } }
.lessons { list-style: none; display: grid; gap: 4px; }
.lessons a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; color: var(--body); }
.lessons a:hover { background: var(--surface2); }
.lessons a[aria-current="page"] { background: var(--brand-a); color: var(--text); box-shadow: inset 0 0 0 1px var(--brand-b); }
.lessons .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; flex: none; }
.lessons .done .n { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.lessons .d { margin-left: auto; font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--dim); margin-bottom: 18px; }
.crumbs a:hover { color: var(--soft); }
.crumbs span { color: var(--faint); }
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.cats button { flex: none; }

/* Státuszjelölés (kész / tervezett) */
.status-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 14px; color: var(--dim); }
.feat { display: flex; flex-direction: column; gap: 10px; }
.feat .hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* GYIK */
details.qa { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
details.qa + details.qa { margin-top: 10px; }
details.qa summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand); font-weight: 500; }
details.qa[open] summary::after { content: '–'; }
details.qa p { padding: 0 20px 18px; color: var(--body); }

/* Belépés */
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.tabs button { flex: 1; padding: 10px; border-radius: 10px; border: 0; background: transparent; font-weight: 700; font-size: 14px; color: var(--dim); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border2); }

.cta-band { border-radius: 28px; padding: clamp(32px, 5vw, 56px); background: radial-gradient(100% 140% at 0% 0%, rgba(31,198,200,.25), transparent 55%), var(--surface); border: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.note { font-size: 13.5px; color: var(--faint); margin-top: 18px; }
.hide { display: none !important; }
.i16 { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
