/* AIDE VIBE termékelőzetes — grafitszínű alap, cián–magenta összekötő vonal. */
:root {
  --bg: #0d0d14;
  --bg-raised: #15151f;
  --bg-card: #1b1b27;
  --line: #2a2a3a;
  --text: #f2efe9;
  --muted: #b4b2c0;
  --cyan: #22d3ee;
  --magenta: #e879f9;
  --accent: linear-gradient(90deg, var(--cyan), var(--magenta));
  --danger: #fca5a5;
  --ok: #86efac;
  --radius: 14px;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  overflow-wrap: anywhere;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--bg-card); padding: .5rem 1rem; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.accent-line { height: 2px; background: var(--accent); border: 0; opacity: .7; margin: 0; }

/* Fejléc */
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(13 13 20 / .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; }
.site-nav { display: flex; gap: 1.25rem; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
@media (max-width: 720px) { .site-nav { display: none; } .site-header .btn { margin-left: auto; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.15rem; border-radius: 999px;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-card); color: var(--text);
}
.btn-primary { border: 0; background: var(--text); color: var(--bg); }
.btn-primary:hover { color: var(--bg); background: #fff; box-shadow: 0 0 0 2px var(--cyan), 0 0 0 4px var(--magenta); }
.btn:disabled { opacity: .6; cursor: progress; }

/* Nyitókép */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 3rem; position: relative; overflow: hidden; }
.hero-copy { max-width: 46rem; }
.hero-copy .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); }
.status-pill { display: inline-flex; gap: .5rem; align-items: center; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 0; }
.devices { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 22%); gap: clamp(1rem, 3vw, 2.5rem); align-items: end; margin-top: 3rem; }
.devices::before { content: ""; position: absolute; left: 6%; right: 6%; top: 55%; height: 2px; background: var(--accent); opacity: .55; z-index: 0; }
.device { position: relative; z-index: 1; margin: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.device.phone { border-radius: 28px; padding: .55rem; }
.device img { border-radius: 9px; }
.device.phone img { border-radius: 22px; }
.device figcaption { font-size: .85rem; color: var(--muted); padding: .5rem .25rem 0; }
@media (max-width: 640px) {
  .devices { grid-template-columns: 1fr; }
  .devices::before { display: none; }
  .device.phone { width: min(70%, 260px); justify-self: center; }
}

/* Szakaszok */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2.25rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; counter-reset: step; }
.steps li { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: relative; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 700; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .4rem; }
.note { border-left: 3px solid; border-image: var(--accent) 1; padding: .25rem 0 .25rem 1rem; color: var(--muted); margin-top: 2rem; }

.feature-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.feature-group { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.feature-group ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.feature-group li { margin: .35rem 0; }
.feature-group details { margin-top: .75rem; }
.feature-group summary { cursor: pointer; color: var(--cyan); font-weight: 600; min-height: 32px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .05rem .45rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); vertical-align: .1em; white-space: nowrap; }
.tag-switch { border-color: #5b4a75; color: #e7c7f5; }
.tag-platform { border-color: #2f5d6b; color: #a5eefa; }
.tag-setup { border-color: #5a5a40; color: #f1e7a8; }
.legend { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin: 0 0 1.5rem; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }

.video-frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-raised); aspect-ratio: 16 / 9; display: grid; place-items: center; }
.video-frame img, .video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame .play { position: absolute; inset: auto auto 1.25rem 1.25rem; }
.transcript { margin-top: 1rem; }

/* Értesítő */
.notify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .notify { grid-template-columns: 1fr; } }
.form-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; }
.field input[type="email"] { min-height: 48px; padding: .6rem .85rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; width: 100%; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: .65rem; align-items: start; margin-bottom: 1rem; }
.consent input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--magenta); }
.privacy-brief { font-size: .92rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: .75rem 0 0; font-weight: 600; }
.form-status[data-kind="error"] { color: var(--danger); }
.form-status[data-kind="ok"] { color: var(--ok); }
.form-status[data-kind="busy"] { color: var(--muted); }
.field-error { color: var(--danger); font-size: .9rem; }

/* Lábléc és szövegoldalak */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.prose { max-width: 46rem; padding: 3rem 0 4rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .5rem .65rem; text-align: left; vertical-align: top; }
.placeholder { background: #3b2f12; color: #f7e3a3; padding: 0 .3rem; border-radius: 4px; }
.token-card { max-width: 34rem; margin: 4rem auto; }
.token-title { font-size: 1.6rem; }
.video-frame:not(:has(img, video)) { aspect-ratio: auto; min-height: 8rem; padding: 2rem; text-align: center; }
.step-shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; border-radius: 9px; border: 1px solid var(--line); margin-bottom: 1rem; background: var(--bg); }
.devices .phone img { aspect-ratio: 390 / 844; }
.step-shot.phone-shot { object-position: center 75%; }
.video-frame .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1.05rem; padding: .8rem 1.5rem; box-shadow: 0 10px 40px rgb(0 0 0 / .5); }
.video-frame video { background: #000; }
.transcript summary { cursor: pointer; color: var(--cyan); font-weight: 600; min-height: 32px; }
.transcript ul { padding-left: 1.1rem; color: var(--muted); }
.video-extra { margin-top: .75rem; font-size: .95rem; }
