/* ============================================================
   SOLVEN — egyedi szoftverfejlesztés
   Fekete alap, négy neon. A szín jelentést hordoz: minden terület
   megkapja a sajátját, és végig megtartja (fül, panel, vázlat, ár).
   ============================================================ */

:root {
  --void: #05060A;
  --panel: #0A0C12;
  --panel-2: #0F1219;
  --raise: #171B26;

  --paper: #EAECF3;
  --mute: #878FA5;
  --mute-2: #5C6376;

  --n-cyan: #2CE8F5;
  --n-magenta: #FF3D8B;
  --n-violet: #9D5CFF;
  --n-gold: #FFC24B;

  --hue: var(--n-cyan);

  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .045);

  --ff-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r: 14px;
  --r-sm: 10px;
  --r-lg: 20px;

  --pad: clamp(1.25rem, 4vw, 2rem);
  --sec: clamp(4rem, 7.5vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--hue); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--n-cyan); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--n-cyan); color: #05060A; padding: 12px 18px; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }

/* Ikonok — vonalas SVG, a szöveggel együtt méreteződik */
.ic { width: 20px; height: 20px; flex: none; }

/* ── Tipográfia ─────────────────────────────────────────── */

.h1, .h2 { font-family: var(--ff-display); font-weight: 500; text-wrap: balance; margin: 0; letter-spacing: -.03em; }

.h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; }
.h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--n-cyan), var(--n-violet) 48%, var(--n-magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.14; }
.h2 em { font-style: normal; color: var(--hue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-mono); font-size: .69rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--hue); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--hue); box-shadow: 0 0 8px var(--hue); }

.lead { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--mute); margin: 1.1rem 0 0; max-width: 60ch; }
.lead b { color: var(--paper); font-weight: 500; }

.sec-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .lead { margin-left: auto; margin-right: auto; }

/* ── Gombok ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .88rem 1.45rem; border-radius: var(--r-sm);
  font-family: var(--ff-body); font-size: .94rem; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.btn .ic { width: 17px; height: 17px; transition: transform .18s ease; }
.btn:hover .ic { transform: translateX(3px); }

.btn-primary { background: linear-gradient(100deg, var(--n-cyan), var(--n-violet) 55%, var(--n-magenta)); color: #05060A; font-weight: 600; }
.btn-primary:hover { color: #05060A; transform: translateY(-2px); box-shadow: 0 12px 34px -12px var(--n-violet); }

.btn-ghost { border-color: var(--line); color: var(--paper); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover {
  border-color: var(--hue); color: #fff; transform: translateY(-2px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--hue) 40%, transparent), 0 10px 30px -16px var(--hue);
}
.btn-block { display: flex; width: 100%; }

/* ── Fejléc ─────────────────────────────────────────────── */

.nav { position: fixed; inset: 0 0 auto; z-index: 90; height: 76px; display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.nav.scrolled { background: rgba(5, 6, 10, .85); backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--paper); }
.logo:hover { color: var(--paper); }
.logo-mark { width: 30px; height: 30px; flex: none; color: var(--paper); }
.logo-word { font-family: var(--ff-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -.035em; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { padding: .55rem .8rem; border-radius: var(--r-sm); font-size: .89rem; color: var(--mute); }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .045); }
.nav-links .nav-cta { margin-left: .6rem; padding: .55rem 1.1rem; border: 1px solid color-mix(in srgb, var(--n-cyan) 45%, transparent); color: var(--n-cyan); }
.nav-links .nav-cta:hover { background: color-mix(in srgb, var(--n-cyan) 12%, transparent); color: #fff; box-shadow: 0 0 22px -6px var(--n-cyan); }

.nav-toggle, .mm-close { display: none; background: none; border: 1px solid var(--line); color: var(--paper); width: 44px; height: 44px; border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center; }
.mm-close { display: inline-flex; }

.mobile-menu { position: fixed; inset: 0; z-index: 120; background: var(--void); display: flex; flex-direction: column; padding: 1.15rem var(--pad) 2rem; transform: translateY(-100%); transition: transform .35s cubic-bezier(.4, 0, .2, 1); visibility: hidden; overflow-y: auto; }
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
body.menu-open { overflow: hidden; }
.mm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.25rem; }
.mm-links { display: flex; flex-direction: column; }
.mm-links a { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; border-bottom: 1px solid var(--line-2); font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; color: var(--paper); }
.mm-links a .ic { color: var(--n-cyan); }
.mm-cta { margin-top: auto; padding-top: 2rem; }
.mm-cta a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem; border-radius: var(--r-sm); font-weight: 600; color: #05060A; background: linear-gradient(100deg, var(--n-cyan), var(--n-violet) 55%, var(--n-magenta)); }

/* ── Hero ───────────────────────────────────────────────── */

.hero { position: relative; padding: calc(76px + clamp(2.25rem, 5vw, 4rem)) 0 clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: -1px;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(90% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000 20%, transparent 78%);
}
.hero-beams {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55;
  mask-image: linear-gradient(180deg, transparent 0, #000 130px, #000 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 130px, #000 68%, transparent 100%);
}
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(65% 50% at 15% 12%, rgba(44, 232, 245, .10), transparent 62%),
              radial-gradient(60% 50% at 85% 20%, rgba(255, 61, 139, .09), transparent 62%),
              linear-gradient(180deg, transparent 62%, var(--void) 100%);
}
.hero-inner { position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1.05fr .95fr; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-visual { position: relative; }
.hero-visual canvas { display: block; width: 100%; height: 380px; }
.hero-visual-cap { text-align: center; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-2); margin-top: .5rem; }

/* ── Szekciók ───────────────────────────────────────────── */

.section { padding: var(--sec) 0; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── Képesség-böngésző ──────────────────────────────────── */

.explorer {
  display: grid; grid-template-columns: 290px 1fr;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--panel); overflow: hidden;
}

.ex-nav { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .012); }
.ex-tab {
  display: flex; align-items: center; gap: .8rem; text-align: left;
  padding: .95rem 1.15rem; background: none; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--line-2); border-left: 2px solid transparent;
  color: var(--mute); font-family: var(--ff-body); font-size: .92rem;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.ex-tab:last-child { border-bottom: 0; }
.ex-tab:hover { color: var(--paper); background: rgba(255, 255, 255, .03); }
.ex-tab.on { color: #fff; background: color-mix(in srgb, var(--hue) 8%, transparent); border-left-color: var(--hue); }
.ex-tab-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; flex: none; color: var(--mute-2); border: 1px solid var(--line-2); transition: color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ex-tab.on .ex-tab-ic { color: var(--hue); border-color: color-mix(in srgb, var(--hue) 35%, transparent); box-shadow: 0 0 18px -6px var(--hue); }

.ex-panes { position: relative; }
.ex-pane { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.5rem, 3vw, 2.25rem); height: 100%; }
.ex-pane[hidden] { display: none; }
.ex-pane.on { animation: paneIn .3s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ex-body h3 { margin: 0 0 .5rem; font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; color: var(--hue); }
.ex-body p { margin: 0 0 1.35rem; font-size: .92rem; color: var(--mute); }
.ex-mods { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1rem; }
.ex-mod { display: flex; align-items: center; gap: .55rem; font-size: .87rem; color: var(--paper); }
.ex-mod .ic { width: 15px; height: 15px; color: var(--hue); }

.ex-note { margin: 1.5rem 0 0; font-size: .89rem; color: var(--mute-2); text-align: center; }

/* Képernyő-vázlat — kitölti a panel magasságát, hogy ne maradjon üres folt */
.ex-mock { display: flex; align-items: stretch; }
.mk-frame {
  width: 100%; display: flex; flex-direction: column; gap: .55rem;
  padding: .85rem; border-radius: var(--r); background: var(--void);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -30px var(--hue);
}
.mk-frame > * { flex: none; }

.mk-toolbar { display: flex; align-items: center; gap: .4rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line-2); }
.mk-pill { height: 8px; width: 34px; border-radius: 99px; background: var(--raise); }
.mk-pill.w-l { width: 54px; background: color-mix(in srgb, var(--hue) 50%, var(--raise)); }
.mk-pill.w-s { width: 22px; }
.mk-btn { margin-left: auto; height: 16px; width: 40px; border-radius: 5px; background: color-mix(in srgb, var(--hue) 60%, transparent); }

.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.mk-stat { padding: .5rem .55rem; border-radius: 7px; background: var(--panel-2); display: flex; flex-direction: column; gap: .35rem; }
.mk-stat i { height: 5px; width: 60%; border-radius: 99px; background: var(--raise); }
.mk-stat b { height: 11px; width: 70%; border-radius: 4px; background: var(--hue); opacity: .85; }
.mk-stat b.w-s { width: 45%; }
.mk-stat b.w-l { width: 90%; }

.mk-table { display: flex; flex-direction: column; gap: .3rem; }
.mk-tr { display: grid; grid-template-columns: 1.6fr 1fr 1fr .7fr; gap: .45rem; padding: .38rem .3rem; border-radius: 5px; }
.mk-tr span { height: 6px; border-radius: 99px; background: var(--raise); }
.mk-tr.mk-th span { background: color-mix(in srgb, var(--hue) 45%, var(--raise)); }
.mk-tr:not(.mk-th):nth-child(even) { background: rgba(255, 255, 255, .022); }

.mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mk-cal span { aspect-ratio: 1; border-radius: 4px; background: var(--panel-2); }
.mk-cal span.dim { background: rgba(255, 255, 255, .02); }
.mk-cal span.on { background: var(--hue); box-shadow: 0 0 10px -2px var(--hue); }

.mk-list { display: flex; flex-direction: column; gap: .35rem; }
.mk-li { display: flex; align-items: center; gap: .5rem; padding: .42rem .5rem; border-radius: 6px; background: var(--panel-2); }
.mk-li i { width: 6px; height: 6px; border-radius: 50%; background: var(--hue); flex: none; }
.mk-li span { flex: 1; height: 6px; border-radius: 99px; background: var(--raise); }
.mk-li b { width: 26px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .09); }

.mk-chart { display: flex; align-items: flex-end; gap: .35rem; height: 74px; padding-top: .3rem; }
.mk-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--hue), color-mix(in srgb, var(--hue) 12%, transparent)); }
.mk-chart span:last-child { box-shadow: 0 0 14px -3px var(--hue); }

.mk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.mk-card { padding: .55rem; border-radius: 7px; background: var(--panel-2); display: flex; flex-direction: column; gap: .3rem; }
.mk-card i { width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, var(--hue) 55%, transparent); margin-bottom: .15rem; }
.mk-card span { height: 5px; border-radius: 99px; background: var(--raise); }
.mk-card span.w-s { width: 55%; }

.mk-form { display: flex; flex-direction: column; gap: .4rem; }
.mk-field { height: 22px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line-2); }
.mk-submit { height: 22px; width: 78px; border-radius: 6px; background: var(--hue); opacity: .85; }

/* ── Modulok ────────────────────────────────────────────── */

.mods { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 900px; margin: 0 auto; }
.mod {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .68rem 1.05rem; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--void);
  font-size: .88rem; color: var(--mute);
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mod .ic { width: 17px; height: 17px; color: var(--mute-2); transition: color .2s ease; }
.mod:nth-child(4n+1) { --hue: var(--n-cyan); }
.mod:nth-child(4n+2) { --hue: var(--n-magenta); }
.mod:nth-child(4n+3) { --hue: var(--n-violet); }
.mod:nth-child(4n+4) { --hue: var(--n-gold); }
.mod:hover {
  color: #fff; transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--hue) 45%, transparent);
  box-shadow: 0 8px 26px -14px var(--hue);
}
.mod:hover .ic { color: var(--hue); }

/* ── Folyamat ───────────────────────────────────────────── */

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: none; }
.flow-step { position: relative; padding: 1.5rem 1.25rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); }
.flow-step:nth-child(1) { --hue: var(--n-cyan); }
.flow-step:nth-child(2) { --hue: var(--n-violet); }
.flow-step:nth-child(3) { --hue: var(--n-magenta); }
.flow-step:nth-child(4) { --hue: var(--n-gold); }
.flow-num { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--hue); text-shadow: 0 0 16px color-mix(in srgb, var(--hue) 55%, transparent); margin-bottom: .8rem; }
.flow-step h3 { margin: 0 0 .4rem; font-family: var(--ff-display); font-size: 1.15rem; font-weight: 500; letter-spacing: -.025em; }
.flow-step p { margin: 0 0 .9rem; font-size: .87rem; color: var(--mute); }
.flow-meta { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-2); }

/* ── Árak ───────────────────────────────────────────────── */

.tiers { display: grid; gap: 1.1rem; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tier { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--void); display: flex; flex-direction: column; }
.tier--hot { border-color: color-mix(in srgb, var(--hue) 55%, transparent); background: linear-gradient(170deg, color-mix(in srgb, var(--hue) 7%, transparent), var(--void) 60%); box-shadow: 0 30px 70px -45px var(--hue); }
.tier-flag { position: absolute; top: -.7rem; left: 1.5rem; font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; font-weight: 500; background: var(--hue); color: #05060A; box-shadow: 0 0 20px -6px var(--hue); }
.tier-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--hue); background: color-mix(in srgb, var(--hue) 10%, transparent); border: 1px solid color-mix(in srgb, var(--hue) 26%, transparent); margin-bottom: 1rem; }
.tier h3 { margin: 0; font-family: var(--ff-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.03em; }
.tier-sub { margin: .15rem 0 1.15rem; font-size: .86rem; color: var(--mute); }
.tier-price { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.tier-price span { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-2); }
.tier-price b { font-size: 1.08rem; font-weight: 600; color: var(--hue); font-variant-numeric: tabular-nums; }
.tier-list { list-style: none; margin: 1.15rem 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.tier-list li { display: flex; gap: .6rem; font-size: .86rem; color: var(--mute); }
.tier-list .ic { width: 15px; height: 15px; color: var(--hue); margin-top: .22rem; }
.tier .btn { margin-top: auto; }
.tiers-note { display: flex; align-items: flex-start; justify-content: center; gap: .65rem; margin: 1.75rem 0 0; font-size: .88rem; color: var(--mute); text-align: left; }
.tiers-note .ic { color: var(--n-gold); margin-top: .1rem; }
.tiers-note b { color: var(--paper); font-weight: 500; }

/* ── GYIK ───────────────────────────────────────────────── */

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; align-content: start; }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-size: .97rem; font-weight: 500; color: var(--paper); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { display: inline-flex; color: var(--n-cyan); transition: transform .25s ease; }
.faq-plus .ic { width: 16px; height: 16px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--n-cyan); }
.faq-item summary:hover { color: var(--n-cyan); }
.faq-a { padding: 0 0 1.15rem; }
.faq-a p { margin: 0; color: var(--mute); font-size: .89rem; }

/* ── Kapcsolat ──────────────────────────────────────────── */

.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.25rem, 4.5vw, 4rem); align-items: start; }
.contact-points { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.contact-points li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; color: var(--mute); }
.contact-points .ic { width: 16px; height: 16px; color: var(--n-cyan); margin-top: .22rem; }
.contact-methods { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; padding-top: 1.6rem; border-top: 1px solid var(--line-2); font-size: .88rem; }
.contact-methods a, .contact-methods span { display: inline-flex; align-items: center; gap: .5rem; }
.contact-methods span { color: var(--mute); }
.contact-methods .ic { width: 17px; height: 17px; color: var(--n-cyan); }

.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 0 0 70px -40px var(--n-cyan); }
.cform { display: flex; flex-direction: column; gap: 1rem; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .79rem; color: var(--mute); }
.cform input[type=text], .cform input[type=email], .cform textarea {
  width: 100%; padding: .8rem .95rem; border-radius: var(--r-sm);
  background: var(--void); border: 1px solid var(--line-2); color: var(--paper);
  font-family: var(--ff-body); font-size: .94rem; resize: vertical;
}
.cform input::placeholder, .cform textarea::placeholder { color: var(--mute-2); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--n-cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--n-cyan) 14%, transparent); }
.cform .err { border-color: #FF5C6E; }

.consent { display: flex; align-items: flex-start; gap: .65rem; font-size: .83rem; color: var(--mute); cursor: pointer; }
.consent input { margin-top: .28rem; accent-color: var(--n-cyan); flex: none; }
.consent.err span { color: #FF8C99; }

.cform-ok, .cform-err { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.05rem; border-radius: var(--r-sm); font-size: .87rem; margin-bottom: 1.15rem; }
.cform-ok { background: rgba(44, 232, 245, .1); border: 1px solid color-mix(in srgb, var(--n-cyan) 35%, transparent); color: var(--n-cyan); }
.cform-err { background: rgba(255, 92, 110, .1); border: 1px solid rgba(255, 92, 110, .35); color: #FF8C99; }

/* ── Lábléc ─────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--line); background: var(--panel); padding: clamp(2.75rem, 5vw, 4rem) 0 1.75rem; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--line-2); }
.footer-blurb { margin: 1rem 0 0; font-size: .87rem; color: var(--mute); max-width: 40ch; }
.footer-blurb strong { color: var(--paper); font-weight: 500; }
.footer-col h4 { margin: .3rem 0 .9rem; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--n-cyan); font-weight: 500; }
.footer-col a { display: block; padding: .3rem 0; font-size: .86rem; color: var(--mute); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 1.5rem; }
.footer-bottom small { color: var(--mute-2); font-size: .81rem; }

/* ── Süti-sáv ───────────────────────────────────────────── */

.cookie {
  position: fixed; left: 50%; z-index: 130;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(660px, calc(100% - 2rem));
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem .85rem .85rem 1.15rem; border-radius: var(--r);
  background: rgba(15, 18, 25, .97); backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -20px #000;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; font-size: .82rem; line-height: 1.5; color: var(--mute); }
.cookie-actions { display: flex; align-items: center; gap: .4rem; flex: none; }
.cookie .btn { padding: .55rem 1.05rem; font-size: .83rem; }

.cookie-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none; padding: 0; cursor: pointer;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--mute); transition: color .18s ease, border-color .18s ease;
}
.cookie-x:hover { color: #fff; border-color: var(--line); }
.cookie-x .ic { width: 17px; height: 17px; }

/* ── Jogi oldalak ───────────────────────────────────────── */

.legal-hero { padding: calc(76px + clamp(2.25rem, 5vw, 4rem)) 0 clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 1rem 0 0; font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.03em; }
.crumb { display: flex; align-items: center; gap: .6rem; font-size: .81rem; color: var(--mute-2); }
.legal { max-width: 780px; }
.legal h2 { font-family: var(--ff-display); font-weight: 500; font-size: 1.4rem; letter-spacing: -.03em; margin: 2.25rem 0 .7rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 500; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--mute); font-size: .93rem; }
.legal p { margin: 0 0 1rem; }
.legal strong { color: var(--paper); font-weight: 500; }
.legal ul, .legal ol { padding-left: 1.25rem; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: .45rem; }
.legal li::marker { color: var(--n-cyan); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; font-size: .88rem; }
.legal th, .legal td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line-2); color: var(--mute); }
.legal th { color: var(--paper); font-weight: 500; }
.legal code { font-family: var(--ff-mono); font-size: .85em; color: var(--n-cyan); background: rgba(44, 232, 245, .1); padding: .12em .4em; border-radius: 4px; }
.legal-note { display: flex; gap: .7rem; padding: 1rem 1.15rem; margin: 0 0 2rem; border: 1px solid color-mix(in srgb, var(--n-cyan) 25%, transparent); border-radius: var(--r); background: rgba(44, 232, 245, .06); font-size: .86rem; color: var(--mute); }
.legal-back { margin-top: 2.5rem; }

/* ── Görgetés-animáció ──────────────────────────────────── */

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .65s cubic-bezier(.2, .7, .3, 1), transform .65s cubic-bezier(.2, .7, .3, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── Reszponzív ─────────────────────────────────────────── */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual canvas { height: 300px; }
  .explorer { grid-template-columns: 1fr; }
  .ex-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .ex-nav::-webkit-scrollbar { display: none; }
  .ex-tab { flex: none; flex-direction: column; align-items: center; gap: .45rem; text-align: center; width: 132px; padding: .9rem .6rem; border-bottom: 0; border-left: 0; border-top: 2px solid transparent; border-right: 1px solid var(--line-2); font-size: .78rem; }
  .ex-tab.on { border-top-color: var(--hue); }
  .ex-pane { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .hero-visual canvas { height: 250px; }
  .cform-row { grid-template-columns: 1fr; }
  .ex-mods { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .mods { justify-content: flex-start; }

  /* Mobilon a sáv az aljához simul, és nem lóg rá a hüvelykujj-zónára. */
  .cookie {
    left: .65rem; right: .65rem; transform: none;
    width: auto; bottom: calc(.65rem + env(safe-area-inset-bottom, 0px));
    align-items: flex-start; gap: .75rem;
    padding: .8rem .8rem .8rem 1rem;
  }
  .cookie p { font-size: .78rem; }
  .cookie-actions { flex-direction: column-reverse; align-items: stretch; gap: .45rem; }
  .cookie .btn { padding: .5rem .9rem; font-size: .8rem; }
  .cookie-x { width: 30px; height: 30px; align-self: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   EFFEKTEK
   Görgetés-vezérelt réteg. Minden mozgás kikapcsol, ha a látogató
   csökkentett mozgást kért (lásd a fájl végén a media query-t).
   ============================================================ */

/* ── Haladásjelző a lap tetején ─────────────────────────── */

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 140; pointer-events: none; }
.progress i {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--n-cyan), var(--n-violet) 50%, var(--n-magenta));
  box-shadow: 0 0 12px rgba(157, 92, 255, .6);
}
@supports (animation-timeline: scroll()) {
  .progress i { animation: progGrow linear both; animation-timeline: scroll(root); }
  @keyframes progGrow { to { transform: scaleX(1); } }
}

/* ── Szemcse: a lapos feketét élővé teszi ───────────────── */

.grain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .038;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Szó-szintű címsor-beúszás ──────────────────────────── */

[data-split] .w { display: inline-block; }
[data-split] .w > i {
  display: inline-block; font-style: inherit;
  opacity: 0; transform: translateY(.5em);
  transition: opacity .55s cubic-bezier(.2, .7, .3, 1), transform .55s cubic-bezier(.2, .7, .3, 1);
  transition-delay: calc(var(--i, 0) * 45ms);
}
[data-split].in .w > i { opacity: 1; transform: none; }

/* ── Kurzor-fényfolt a kártyákon ────────────────────────── */

[data-spot] { position: relative; }
[data-spot]::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              color-mix(in srgb, var(--hue) 15%, transparent), transparent 62%);
}
[data-spot]:hover::after { opacity: 1; }

/* ── Animált gradiens keret a kiemelt csomagon ──────────── */

@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.tier--hot::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a), var(--n-cyan), var(--n-violet), var(--n-magenta), var(--n-cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinBorder 7s linear infinite;
  pointer-events: none;
}
@keyframes spinBorder { to { --a: 360deg; } }

/* ── Kipinnelt képesség-szekció ─────────────────────────── */

.pin { position: relative; }
.pin-inner { padding: var(--sec) 0; }
.ex-nav { position: relative; }

.ex-rail { position: absolute; left: 0; top: 0; width: 2px; height: 100%; pointer-events: none; }
.ex-rail i {
  position: absolute; left: 0; top: 0; width: 2px; height: 0;
  background: var(--rail-hue, var(--n-cyan));
  box-shadow: 0 0 14px var(--rail-hue, var(--n-cyan));
  transition: transform .45s cubic-bezier(.2, .7, .3, 1), height .45s cubic-bezier(.2, .7, .3, 1), background .35s ease, box-shadow .35s ease;
}
.ex-tab.on { border-left-color: transparent; }

.ex-pane.on .mk-frame { animation: mockIn .45s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes mockIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

@media (min-width: 1081px) {
  .pin { height: 400vh; }
  .pin-inner {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: flex; align-items: center; padding: 92px 0 32px;
  }
  .pin-inner > .container { width: 100%; }
}

/* Alacsonyabb képernyőn összébb húzzuk, hogy elférjen a pinnelt nézet. */
@media (min-width: 1081px) and (max-height: 840px) {
  .pin-inner { padding: 84px 0 20px; }
  .pin-inner .sec-head { margin-bottom: 1.4rem; }
  .ex-tab { padding: .72rem 1rem; font-size: .86rem; }
  .ex-tab-ic { width: 30px; height: 30px; }
  .ex-pane { padding: 1.35rem; }
  .ex-note { margin-top: 1rem; }
}

/* ── Modul-futószalag ───────────────────────────────────── */

.marquee {
  display: flex; flex-direction: column; gap: .65rem;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-row { overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: mqRun 46s linear infinite; }
.mq-row--rev .mq-track { animation-direction: reverse; }
.mq-track .mod { margin-right: .65rem; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mqRun { to { transform: translateX(-50%); } }

/* ── Hero: elúszik, ahogy továbbgörget az ember ─────────── */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-copy, .hero-visual {
      animation: heroPart linear both;
      animation-timeline: view();
      animation-range: exit -10% exit 95%;
    }
    .hero-visual { animation-name: heroPartVisual; }
    @keyframes heroPart { to { opacity: .1; transform: translateY(-46px); } }
    @keyframes heroPartVisual { to { opacity: .1; transform: translateY(-22px) scale(.94); } }
  }
}

/* ── Csökkentett mozgás: mindent leállítunk ─────────────── */

@media (prefers-reduced-motion: reduce) {
  .grain { display: none; }
  [data-split] .w > i { opacity: 1; transform: none; transition: none; }
  .mq-track { animation: none; }
  .tier--hot::before { animation: none; }
  .progress i { transform: scaleX(1); }
  .pin { height: auto !important; }
  .pin-inner { position: static !important; height: auto !important; padding: var(--sec) 0 !important; overflow: visible !important; }
  .ex-pane.on .mk-frame { animation: none; }
  .hero-copy, .hero-visual { animation: none; }
}

/* ── Ajánlat-összeállító ────────────────────────────────── */

.conf { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }

.conf-pick { display: flex; flex-direction: column; gap: 1.75rem; }
.conf-group { display: flex; flex-direction: column; gap: .8rem; }
.conf-label { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-2); }

.conf-bases { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.conf-base {
  display: flex; flex-direction: column; align-items: flex-start; gap: .3rem;
  padding: 1rem; cursor: pointer; text-align: left;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--mute); font-family: var(--ff-body);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.conf-base:hover { transform: translateY(-2px); border-color: var(--line); color: var(--paper); }
.conf-base.on {
  color: #fff; border-color: color-mix(in srgb, var(--hue) 55%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--hue) 9%, transparent), var(--panel) 70%);
  box-shadow: 0 14px 40px -24px var(--hue);
}
.conf-base-ic {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  color: var(--hue); border: 1px solid color-mix(in srgb, var(--hue) 28%, transparent);
  background: color-mix(in srgb, var(--hue) 8%, transparent); margin-bottom: .35rem;
}
.conf-base b { font-size: .97rem; font-weight: 500; }
.conf-base small { font-size: .7rem; color: var(--mute-2); }
.conf-base.on small { color: var(--hue); }

.conf-mods { display: flex; flex-wrap: wrap; gap: .45rem; }
.conf-mod {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .85rem; border-radius: 99px; cursor: pointer;
  background: var(--void); border: 1px solid var(--line-2); color: var(--mute);
  font-family: var(--ff-body); font-size: .85rem;
  transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}
.conf-mod .ic { width: 16px; height: 16px; color: var(--mute-2); transition: color .18s ease; }
.conf-mod:hover { color: var(--paper); border-color: var(--line); }
.conf-mod.on {
  color: var(--n-cyan); border-color: color-mix(in srgb, var(--n-cyan) 50%, transparent);
  background: color-mix(in srgb, var(--n-cyan) 9%, transparent);
  box-shadow: 0 0 18px -8px var(--n-cyan);
}
.conf-mod.on .ic { color: var(--n-cyan); }

.conf-out {
  position: sticky; top: 96px;
  --hue: var(--n-violet);
  padding: 1.5rem; border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--panel-2), var(--void) 65%);
  border: 1px solid color-mix(in srgb, var(--n-violet) 30%, transparent);
  box-shadow: 0 30px 70px -45px var(--n-violet);
  display: flex; flex-direction: column; gap: .9rem;
}
.conf-figure { display: flex; flex-direction: column; gap: .15rem; }
.conf-price {
  font-family: var(--ff-display); font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.1;
  background: linear-gradient(100deg, var(--n-cyan), var(--n-violet) 55%, var(--n-magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.conf-weeks { font-size: .8rem; color: var(--mute); }

.conf-bar { height: 4px; border-radius: 99px; background: var(--raise); overflow: hidden; }
.conf-bar i {
  display: block; height: 100%; width: 18%;
  background: linear-gradient(90deg, var(--n-cyan), var(--n-violet) 55%, var(--n-magenta));
  box-shadow: 0 0 14px rgba(157, 92, 255, .7);
  transition: width .45s cubic-bezier(.2, .7, .3, 1);
}

.conf-list {
  list-style: none; margin: 0; padding: .35rem 0 0; display: flex; flex-direction: column; gap: .35rem;
  max-height: 190px; overflow-y: auto;
}
.conf-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .82rem; color: var(--mute); }
.conf-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; flex: none; margin-top: .5rem;
  background: var(--n-cyan); box-shadow: 0 0 8px var(--n-cyan);
}
.conf-list .conf-empty { color: var(--mute-2); font-style: italic; }
.conf-list .conf-empty::before { display: none; }

.conf-note { margin: 0; font-size: .73rem; line-height: 1.5; color: var(--mute-2); }

@media (max-width: 1080px) {
  .conf { grid-template-columns: 1fr; }
  .conf-out { position: static; }
}
@media (max-width: 640px) {
  .conf-bases { grid-template-columns: 1fr; }
  .conf-base { flex-direction: row; align-items: center; gap: .75rem; }
  .conf-base-ic { margin-bottom: 0; }
  .conf-base b { flex: 1; }
}

/* ── Hibaoldal ──────────────────────────────────────────── */

.err-page { position: relative; min-height: 78vh; display: flex; align-items: center; padding: calc(76px + 3rem) 0 4rem; overflow: hidden; }
.err-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 65% at 30% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(75% 65% at 30% 30%, #000 10%, transparent 75%);
}
.err-inner { position: relative; max-width: 660px; }
.err-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.err-more { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line-2); }
.err-more a { font-size: .88rem; color: var(--mute); }
.err-more a:hover { color: #fff; }

/* Demó-hivatkozás a képesség-böngésző alatt */
.ex-demo { display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; font-weight: 500; color: var(--n-cyan); white-space: nowrap; }
.ex-demo .ic { width: 15px; height: 15px; transition: transform .18s ease; }
.ex-demo:hover { color: #fff; }
.ex-demo:hover .ic { transform: translateX(3px); }

/* ============================================================
   DEMÓ-SZEKCIÓ A NYITÓOLDALON
   ============================================================ */

.demos { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.demo-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.35rem 1.25rem; border-radius: var(--r);
  background: var(--void); border: 1px solid var(--line-2);
  color: var(--paper); text-decoration: none; overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.demo-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: var(--hue); box-shadow: 0 0 14px var(--hue); opacity: .6;
  transition: opacity .25s ease;
}
.demo-card:hover {
  border-color: color-mix(in srgb, var(--hue) 45%, transparent);
  box-shadow: 0 22px 55px -32px var(--hue);
  background: var(--panel-2);
}
.demo-card:hover::before { opacity: 1; }
.demo-kind { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hue); }
.demo-card h3 { margin: .45rem 0 .35rem; font-family: var(--ff-display); font-size: 1.15rem; font-weight: 500; letter-spacing: -.025em; }
.demo-card p { margin: 0 0 1.1rem; font-size: .84rem; color: var(--mute); }
.demo-go { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 500; color: var(--hue); }
.demo-go .ic { width: 15px; height: 15px; transition: transform .2s ease; }
.demo-card:hover .demo-go .ic { transform: translateX(3px); }
.demos-note { margin: 1.75rem 0 0; text-align: center; }

@media (max-width: 1080px) { .demos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .demos { grid-template-columns: 1fr; } }

/* ============================================================
   EFFEKT-RÉTEG
   ============================================================ */

/* ── Bevezető: a logó moduljai összeállnak ──────────────── */

.intro {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center;
  background: var(--void);
  animation: introOut .7s cubic-bezier(.7, 0, .3, 1) 1.15s both;
}
.intro svg { width: 76px; height: 76px; }
.intro rect { opacity: 0; animation: introPiece .5s cubic-bezier(.2, .8, .3, 1) both; }
.intro rect:nth-child(1) { animation-delay: .05s; }
.intro rect:nth-child(2) { animation-delay: .17s; }
.intro rect:nth-child(3) { animation-delay: .29s; }
.intro g rect { animation-delay: .45s; }
.intro-word {
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em;
  color: var(--paper); margin-top: .9rem; opacity: 0;
  animation: introWord .5s ease .62s both;
}
.intro-in { display: flex; flex-direction: column; align-items: center; }
@keyframes introPiece { from { opacity: 0; transform: scale(.4) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes introWord { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); } }

/* ── Egyedi kurzor (csak egérrel, és csak ha tényleg kirajzolódik) ── */

.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 350; pointer-events: none; border-radius: 50%; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--n-cyan); box-shadow: 0 0 12px var(--n-cyan); }
.cursor-ring {
  width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border: 1px solid color-mix(in srgb, var(--n-cyan) 55%, transparent);
  transition: width .22s ease, height .22s ease, margin .22s ease, border-color .22s ease, background .22s ease;
}
.cursor-ring.hot {
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-color: color-mix(in srgb, var(--n-magenta) 70%, transparent);
  background: color-mix(in srgb, var(--n-magenta) 8%, transparent);
}
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor .ex-tab, html.has-cursor .mod { cursor: none; }

/* ── 3D dőlés ───────────────────────────────────────────── */

[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .35s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
[data-tilt].tilting { transition: transform .08s linear; }

/* ── Mágneses gombok ────────────────────────────────────── */

[data-magnet] { transition: transform .35s cubic-bezier(.2, .7, .3, 1); }
[data-magnet].pulling { transition: transform .08s linear; }

/* ── Magát rajzoló neon szekció-vonal ───────────────────── */

.section--panel { position: relative; }
.section--panel::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--n-cyan), var(--n-violet) 50%, var(--n-magenta), transparent);
  transform: scaleX(0);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section--panel::before { animation: ruleDraw linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes ruleDraw { to { transform: scaleX(1); } }
  }
}

/* ── Hero: keverődő felirat ─────────────────────────────── */

.scramble { display: inline-block; min-width: 25ch; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .cursor, .cursor-ring { display: none; }
  [data-tilt], [data-magnet] { transform: none !important; }
  .section--panel::before { transform: scaleX(1); }
}
