/* ==========================================================
   Somodi Máté – weboldalkészítés
   Kézzel írt CSS, keretrendszer nélkül.
   ========================================================== */

:root {
  --brand: #0284c7;
  --brand-2: #2563eb;
  --brand-dark: #075985;
  --accent: #f59e0b;
  --accent-2: #f97316;
  --accent-mid: #fbbf24;
  --accent-light: #fde68a;
  --tint: #7dd3fc;
  --deep-bg: #061626;
  --deep-1: #0a2440;
  --deep-2: #0c4a7a;
  --on-deep: #cfe6f7;
  --on-deep-muted: #8fb3cf;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;

  --bg: #ffffff;
  --bg-alt: #f3f8fc;
  --surface: #ffffff;
  --surface-2: #f5f9fd;
  --ink: #0b1b2e;
  --muted: #51627a;
  --line: #dde7f1;
  --brand-soft: #e0f2fe;
  --hl: #0369a1;
  --shadow: 0 12px 40px rgba(11, 27, 46, .08);
  --shadow-lg: 0 30px 80px color-mix(in srgb, var(--brand) 18%, transparent);
  --nav-bg: rgba(255, 255, 255, .78);
  --grid-line: color-mix(in srgb, var(--brand) 7%, transparent);
  --blob-op: .55;
}

:root[data-theme="dark"] {
  --bg: #07111f;
  --bg-alt: #0b1728;
  --surface: #0f1d31;
  --surface-2: #142540;
  --ink: #eaf4ff;
  --muted: #94a8c2;
  --line: #1e3150;
  --brand-soft: #0c2a45;
  --hl: #7dd3fc;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .5);
  --nav-bg: color-mix(in srgb, var(--bg) 72%, transparent);
  --grid-line: color-mix(in srgb, var(--hl) 7%, transparent);
  --blob-op: .35;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
.narrow { width: min(820px, 100%); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--hl); margin-bottom: .9em; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--tint); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 34em; }
.lead.light { color: var(--on-deep); }
.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head h2 { margin: 0; max-width: 18em; }

/* ---------- Logo (inline SVG, a téma szerint színeződik) ---------- */
.logo { display: inline-block; text-decoration: none; }
.logo-svg { height: 46px; width: auto; }
.lg-ink { fill: var(--ink); transition: fill .4s; }
.lg-mut { fill: var(--muted); transition: fill .4s; }
.lg-acc { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.logo:hover .lg-acc { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Gombok ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; text-decoration: none;
  font-weight: 600; padding: .9em 1.55em; border-radius: 999px; border: 0; cursor: pointer; isolation: isolate; overflow: hidden;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--brand) 60%, transparent);
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 16px 32px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--hl); box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: var(--brand-soft); box-shadow: inset 0 0 0 2px currentColor; }
.btn-small { padding: .55em 1.15em; font-size: .95rem; }
.btn-full { width: 100%; }

/* ---------- Görgetési sáv ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent)); }

/* ---------- Navigáció ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .4s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 30px rgba(11, 27, 46, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 16px; }
.links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.links a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--muted); transition: color .2s; padding: 6px 0; }
.links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--hl); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.links a:not(.btn):hover, .links a.active { color: var(--ink); }
.links a:not(.btn):hover::after, .links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.theme-btn, .menu-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: background .3s, border-color .3s, transform .2s; }
.theme-btn:hover { transform: rotate(-12deg); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
.i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dark"] .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="dark"] .i-moon { opacity: 1; transform: none; }
.menu-btn { display: none; flex-direction: column; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--blob-op); animation: float 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: var(--tint); top: -160px; right: -80px; }
.b2 { width: 420px; height: 420px; background: var(--accent-mid); bottom: -180px; left: -120px; animation-delay: -6s; opacity: calc(var(--blob-op) * .7); }
.b3 { width: 360px; height: 360px; background: var(--tint); top: 30%; left: 40%; animation-delay: -12s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 30px) scale(.95); } }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }

.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; box-shadow: var(--shadow); margin-bottom: 26px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.rotator { display: inline-block; position: relative; perspective: 600px; }
.rot-word { display: inline-block; white-space: nowrap; padding-bottom: .06em; color: transparent; background: linear-gradient(100deg, var(--brand), var(--brand-2) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="dark"] .rot-word { background-image: linear-gradient(100deg, var(--hl), var(--tint) 55%, var(--accent-mid)); }
.rot-word.out { animation: wordOut .45s var(--ease) forwards; }
.rot-word.in { animation: wordIn .6s var(--ease) forwards; }
@keyframes wordOut { to { opacity: 0; transform: translateY(-40%) rotateX(60deg); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(40%) rotateX(-60deg); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }

.hero-visual { position: relative; perspective: 1200px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .6s var(--ease); padding: 20px 30px 40px 0; }
.mock { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); transform: translateZ(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-bar > i:nth-child(2) { background: #febc2e; }
.mock-bar > i:nth-child(3) { background: #28c840; }
.url { margin-left: 10px; flex: 1; display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); background: var(--surface); padding: 4px 12px; border-radius: 8px; border: 1px solid var(--line); min-height: 26px; }
.lock { font-size: .7rem; filter: grayscale(1); font-weight: 400; }
.caret { width: 1.5px; height: 13px; background: var(--hl); animation: blink 1s steps(2) infinite; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-nav { display: flex; gap: 8px; justify-content: flex-end; }
.mock-nav span { width: 38px; height: 8px; border-radius: 4px; background: var(--line); }
.mock-nav span:first-child { margin-right: auto; width: 60px; background: var(--hl); opacity: .8; }
.mock-hero { position: relative; height: 150px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); padding: 20px; overflow: hidden; }
.mock-hero::after { content: ""; position: absolute; width: 160px; height: 160px; right: -40px; top: -60px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.mh-t { width: 62%; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .95); margin-bottom: 10px; }
.mh-s { width: 44%; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.mh-b { width: 76px; height: 24px; border-radius: 12px; background: var(--accent); }
.mock-hero.small { height: 86px; padding: 12px; margin-bottom: 12px; }
.mock-hero.small .mh-t { height: 9px; }
.mock-hero.small .mh-b { width: 46px; height: 14px; margin-top: 14px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-grid div { height: 70px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.mock-line { height: 8px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.mock-phone { position: absolute; right: 0; bottom: 0; width: 140px; padding: 22px 10px 16px; background: var(--surface); border-radius: 26px; border: 6px solid #0b1b2e; box-shadow: var(--shadow-lg); transform: translateZ(60px); }
.mp-notch { position: absolute; top: 6px; left: 50%; width: 40px; height: 6px; margin-left: -20px; border-radius: 4px; background: #0b1b2e; }
.float-badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float-badge svg { width: 18px; height: 18px; fill: none; stroke: var(--hl); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fb1 { top: 0; left: -28px; transform: translateZ(80px); }
.fb2 { top: 46%; left: -44px; animation-delay: -1.6s; transform: translateZ(100px); }
.fb3 { top: -6px; right: 40px; animation-delay: -3.2s; transform: translateZ(70px); }
@keyframes bob { 50% { translate: 0 -10px; } }

/* Az ál-weboldal "felépíti magát" */
.js .build { opacity: 0; transform: translateY(14px) scale(.98); }
.js .is-built .build { animation: buildIn .7s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .is-built .mock-phone.build { animation-name: phoneIn; }
@keyframes buildIn { to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateZ(60px) translateY(40px) rotate(6deg); } to { opacity: 1; transform: translateZ(60px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--muted); border-radius: 14px; opacity: .6; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--muted); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Számok ---------- */
.stats { position: relative; margin-top: -40px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 8px; }
.stat { padding: 22px 18px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .stat strong { background-image: linear-gradient(135deg, var(--hl), var(--tint)); }
.stat > span { color: var(--muted); font-size: .92rem; }

/* ---------- Szekciók ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-alt); transition: background-color .4s; }

/* Kártyák egérkövető fényfolttal */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spot { --mx: 50%; --my: 50%; position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--brand-2) 14%, transparent), transparent 45%); }
.spot:hover::before { opacity: 1; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background-color .4s; transform-style: preserve-3d; }
.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.card p { color: var(--muted); margin: 0; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); margin-bottom: 20px; transition: transform .5s var(--ease), background .3s; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--hl); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .icon { transform: translateZ(30px) rotate(-6deg) scale(1.08); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.card:hover .icon svg { stroke: #fff; }

/* Széles webshop kártya a szolgáltatások végén */
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.cw-text p { max-width: 34em; }
.cw-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cw-list li { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: .93rem; font-weight: 500; }

@media (max-width: 640px) { .card-wide, .cw-list { grid-template-columns: 1fr; } }

/* Sötét mód: finom fényátmenet a kártyák tetején, hogy ne olvadjanak bele a háttérbe */
:root[data-theme="dark"] :is(.card, .plan:not(.plan-featured), .strength, .play-card, .ref, .faq-item) { background-image: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 45%); border-top-color: color-mix(in srgb, var(--line) 60%, #3b5683); }

/* ---------- Futószalag ---------- */
.marquee { padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 48px; padding: 0 24px; margin: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 48px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.1rem, 1rem + .8vw, 1.6rem); color: var(--muted); white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Referenciák ---------- */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .refs { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.ref { display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s; }
.ref:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ref-frame { margin: 16px 16px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.ref-bar { display: flex; gap: 5px; padding: 9px 12px; background: var(--surface-2); }
.ref-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.ref-preview { position: relative; height: 210px; padding: 16px; display: flex; flex-direction: column; overflow: hidden; }
.ref-preview picture, .ref-preview img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ref-preview img { object-fit: cover; object-position: top center; transition: transform .9s var(--ease); }
.ref:hover .ref-preview img { transform: scale(1.045); }
.ref-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 35%); pointer-events: none; }
.ref-tag { position: relative; z-index: 1; align-self: flex-start; color: #fff; font-size: .75rem; font-weight: 600; background: rgba(7, 17, 31, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 999px; }
.ref-thermo { background: linear-gradient(135deg, #0f4c81 0%, #1e88e5 60%, #ef6c00 140%); }
.ref-bear { background: linear-gradient(135deg, #4a1426 0%, #7b2340 55%, #c9a227 150%); }
.ref-shop { background: #faf6f1; }
.ref-body { padding: 24px 26px 28px; }
.ref-body p { color: var(--muted); }
.ref-link { display: inline-flex; align-items: center; gap: 6px; color: var(--hl); font-weight: 600; }
.ref-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.ref:hover .ref-link svg { transform: translate(3px, -3px); }

/* ---------- Idővonal ---------- */
.timeline { --p: 0; position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tl-line { position: absolute; left: 24px; right: 24px; top: 24px; height: 3px; border-radius: 3px; background: var(--line); }
.tl-line span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent)); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.step { position: relative; }
.step h3 { margin-top: 22px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.num { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); color: var(--muted); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem; transition: background .5s, border-color .5s, color .5s, transform .5s var(--ease), box-shadow .5s; }
.step.on .num { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; transform: scale(1.08); box-shadow: 0 0 0 7px var(--brand-soft); }

/* ---------- Árak ---------- */
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: stretch; margin: 0 auto; }
.plans > .plan { flex: 1 1 300px; max-width: 360px; }
.plan-fine { color: var(--muted); font-size: .76rem; line-height: 1.45; margin: -8px 0 16px; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .4s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.2rem; margin-bottom: .2em; }
.plan-sub { color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.price { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.6rem, 1.4rem + .7vw, 1.95rem); font-weight: 700; margin: 0; line-height: 1.1; letter-spacing: -.02em; }
.price .per { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-num { display: inline-block; transition: opacity .2s, transform .3s var(--ease); }
.price-num.swap { opacity: 0; transform: translateY(-8px); }
.plan-time { color: var(--muted); font-size: .82rem; margin: 4px 0 14px; min-height: 1.5em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.plan li { position: relative; padding-left: 24px; margin-bottom: 7px; font-size: .86rem; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: .15em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.plan-featured { position: relative; border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--brand), var(--brand-2), var(--accent)) border-box; box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -14px; left: 28px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; padding: 5px 13px; border-radius: 999px; box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan-note { color: var(--muted); font-size: .9rem; margin: 30px 0 0; max-width: 52em; }
.switch { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 16px; align-self: flex-start; }
.sw-opt { position: relative; z-index: 1; border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .3s; }
.sw-opt.is-on { color: #fff; background: var(--brand); }
.sw-opt em { font-style: normal; color: var(--accent); margin-left: 2px; }
.sw-opt.is-on em { color: var(--accent-light); }

/* ---------- GYIK ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s, background-color .4s; }
.faq-item.open { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow); }
.faq h3 { margin: 0; font-size: 1.05rem; }
.faq button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border: 0; background: none; text-align: left; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.08rem; cursor: pointer; }
.faq button i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); transition: transform .4s var(--ease), background .3s; }
.faq button i::before, .faq button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--hl); transition: transform .4s var(--ease); }
.faq button i::after { transform: rotate(90deg); }
.faq-item.open button i { transform: rotate(180deg); background: var(--brand); }
.faq-item.open button i::before, .faq-item.open button i::after { background: #fff; }
.faq-item.open button i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Kapcsolat ---------- */
.contact { background: var(--deep-bg); color: #fff; overflow: hidden; }
.contact-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at 15% 20%, color-mix(in srgb, var(--brand-2) 35%, transparent), transparent 60%), radial-gradient(500px circle at 90% 90%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.contact h2 { margin-bottom: .6em; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s; }
.contact-list li:hover { background: rgba(255, 255, 255, .09); }
.cl-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--brand-2) 25%, transparent); }
.cl-icon svg, .copy svg { width: 20px; height: 20px; fill: none; stroke: var(--tint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list li > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.contact-list small { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-deep-muted); }
.contact-list a { font-size: 1.1rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.copy { margin-left: auto; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 0; background: transparent; cursor: pointer; transition: background .2s; }
.copy:hover { background: rgba(255, 255, 255, .1); }

.form { background: var(--surface); color: var(--ink); padding: clamp(22px, 4vw, 34px); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transition: background-color .4s; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea, .field select { display: block; width: 100%; padding: 22px 16px 8px; font: inherit; color: var(--ink); border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface-2); transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a8c2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 17px; top: 15px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { transform: translateY(-9px) scale(.76); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field input:focus + label, .field textarea:focus + label { color: var(--hl); }
.err { display: block; height: 0; overflow: hidden; color: #ef4444; font-size: .82rem; opacity: 0; transition: opacity .2s, height .2s; }
.invalid .err, .err-ok.show { height: 1.4em; opacity: 1; margin-top: 4px; }
.invalid input, .invalid textarea { border-color: #ef4444; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.counter { position: absolute; right: 12px; bottom: 8px; font-size: .74rem; color: var(--muted); }
.invalid .counter { bottom: 30px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .87rem; color: var(--muted); cursor: pointer; margin-bottom: 4px; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.check a { color: var(--hl); }
.form .btn { margin-top: 18px; }
.form-note { margin: 12px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- Lábléc ---------- */
.footer { padding: 64px 0 28px; background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); transition: background-color .4s; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer-tag { margin: 14px 0 0; max-width: 26em; font-size: .95rem; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--hl); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .87rem; }

/* ---------- Vissza a tetejére + értesítés ---------- */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .35s var(--ease), background-color .4s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { grid-area: 1 / 1; }
.ring { width: 52px; height: 52px; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.ring circle { stroke: var(--line); }
.ring .ring-fg { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; }
.arrow { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.to-top:hover .arrow { transform: translateY(-3px); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; width: max-content; max-width: calc(100% - 32px); text-align: center; padding: 13px 20px; border-radius: 14px; background: #0b1b2e; color: #fff; border: 1px solid rgba(255, 255, 255, .08); font-size: .93rem; font-weight: 500; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); transform: translate(-50%, calc(100% + 60px)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ---------- Görgetésre megjelenés ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { --i: 1; } .reveal[data-delay="2"] { --i: 2; } .reveal[data-delay="3"] { --i: 3; } .reveal[data-delay="4"] { --i: 4; }

/* ---------- Jogi aloldalak ---------- */
.legal { padding: 64px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.legal p, .legal li { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { width: 38%; font-weight: 600; color: var(--ink); }
.legal td a { color: var(--hl); }
.legal .todo { background: #fff3cd; color: #6b4e00; padding: 0 4px; border-radius: 4px; }
.legal .back { display: inline-block; margin-bottom: 28px; color: var(--hl); text-decoration: none; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 60px 0; position: relative; overflow: hidden; }
.nf-code { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(7rem, 4rem + 18vw, 15rem); line-height: .9; letter-spacing: -.06em; background: linear-gradient(135deg, var(--brand), var(--brand-2) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: glitch 3.5s infinite; }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 93% { transform: translate(-4px, 2px) skewX(-6deg); } 95% { transform: translate(4px, -2px) skewX(6deg); } 97% { transform: translate(-2px, 0); } }
.notfound p { color: var(--muted); max-width: 30em; margin: 18px auto 30px; }

/* ==========================================================
   Reszponzív töréspontok
   ========================================================== */
@media (max-width: 1080px) {
  .fb2 { left: -10px; }
  .fb1 { left: -6px; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 10px auto 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 34px; padding-left: 4px; }
  .tl-line { left: 27px; right: auto; top: 25px; bottom: 25px; width: 3px; height: auto; }
  .tl-line span { transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .step { display: grid; grid-template-columns: 50px 1fr; gap: 22px; align-items: start; }
  .step h3 { margin-top: 10px; }
  .plans { max-width: 540px; margin: 0 auto; }
  .plans > .plan { flex-basis: 100%; max-width: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; align-items: center; justify-content: center; }
  .links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s;
  }
  .links a:not(.btn) { padding: 15px 0; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease); }
  .links a:not(.btn)::after { display: none; }
  .links .btn { margin-top: 16px; padding: .9em; opacity: 0; transition: opacity .3s; }
  .menu-open .links { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease), visibility 0s; }
  .menu-open .links a { opacity: 1 !important; transform: none !important; }
  .menu-open .links a:nth-child(2) { transition-delay: .05s; } .menu-open .links a:nth-child(3) { transition-delay: .1s; }
  .menu-open .links a:nth-child(4) { transition-delay: .15s; } .menu-open .links a:nth-child(5) { transition-delay: .2s; } .menu-open .links a:nth-child(6) { transition-delay: .25s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .logo-svg { height: 40px; }
  .cards, .refs { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .tilt { padding: 16px 18px 30px 0; }
  .mock-phone { width: 104px; padding: 16px 7px 10px; border-width: 5px; border-radius: 20px; }
  .mock-hero { height: 110px; }
  .mock-hero.small { height: 60px; }
  .mock-grid div { height: 48px; }
  .float-badge { font-size: .72rem; padding: 7px 10px; }
  .float-badge svg { width: 14px; height: 14px; }
  .fb1 { left: -4px; top: -4px; } .fb2 { left: -4px; top: 52%; } .fb3 { right: 8px; top: -14px; }
  .ref-preview { height: 190px; }
  .footer-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .stats { margin-top: -30px; }
  .stat { padding: 18px 10px; }
}
@media (max-width: 380px) {
  .fb3 { display: none; }
  .stat > span { font-size: .82rem; }
}

/* Akinek a rendszere kéri, annak kikapcsoljuk a mozgást */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .build { opacity: 1; transform: none; }
}

/* Nyomtatás */
@media print {
  .nav, .progress, .to-top, .toast, .hero-bg, .marquee, .scroll-hint, .form { display: none !important; }
  .js .reveal, .js .build { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================
   EXTRÁK
   ========================================================== */

/* ---------- Betöltő animáció ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: var(--bg); transition: clip-path .9s var(--ease); clip-path: inset(0 0 0 0); }
.js.first-visit .loader { display: grid; }
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-inner { display: flex; align-items: flex-end; gap: 6px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(3rem, 2rem + 6vw, 6rem); letter-spacing: -.04em; color: var(--ink); }
.loader-word { display: inline-block; clip-path: inset(0 100% 0 0); animation: wipe .7s var(--ease) .1s forwards; }
.loader-dot { width: .22em; height: .22em; margin-bottom: .2em; border-radius: .05em; background: var(--accent); transform: scale(0); animation: pop .45s var(--ease) .7s forwards; }
.loader-bar { position: absolute; left: 50%; bottom: 18%; width: 160px; height: 3px; margin-left: -80px; border-radius: 3px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: 0 50%; animation: load 1s var(--ease) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes pop { 70% { transform: scale(1.3); } to { transform: scale(1); } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Interaktív háttér a heróban ---------- */
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Gyorskereső gomb + panel ---------- */
.kbd-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--muted); transition: border-color .2s, color .2s; }
.kbd-btn:hover { border-color: var(--brand); color: var(--ink); }
.kbd-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
kbd { font-family: Inter, sans-serif; font-size: .72rem; font-weight: 600; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
.cmd { position: fixed; inset: 0; z-index: 150; display: grid; place-items: start center; padding: 14vh 16px 16px; }
.cmd[hidden] { display: none; }
.cmd-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--deep-bg) 50%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s; }
.cmd-box { position: relative; width: min(560px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); overflow: hidden; animation: cmdIn .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes cmdIn { from { opacity: 0; transform: translateY(-12px) scale(.97); } }
.cmd-input { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cmd-input svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.cmd-input input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1.05rem; color: var(--ink); outline: none; }
.cmd-list { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow-y: auto; }
.cmd-list li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.cmd-list li .ci { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--hl); font-size: .95rem; flex: none; }
.cmd-list li small { margin-left: auto; color: var(--muted); font-size: .78rem; }
.cmd-list li.sel { background: var(--brand); color: #fff; }
.cmd-list li.sel .ci { background: rgba(255, 255, 255, .2); color: #fff; }
.cmd-list li.sel small { color: rgba(255, 255, 255, .8); }
.cmd-list .empty { color: var(--muted); cursor: default; justify-content: center; }
.cmd-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.cmd-foot kbd { margin-right: 3px; }

/* ---------- Hívás gomb mobilon ---------- */
.call-fab { display: none; }
@media (max-width: 860px) {
  .call-fab { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 8px; padding: 13px 18px 13px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -8px color-mix(in srgb, var(--brand) 70%, transparent); transform: translateY(120px); transition: transform .5s var(--ease); }
  .call-fab.show { transform: none; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .call-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: ring 2.4s ease-in-out infinite; }
  @keyframes ring { 0%, 70%, 100% { transform: none; } 75% { transform: rotate(-14deg); } 80% { transform: rotate(14deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } }
}

/* ---------- Konfetti ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 250; pointer-events: none; }

/* ---------- Játszótér ---------- */
.head-lead { margin: 16px 0 0; }
.play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.play-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: background-color .4s; min-width: 0; }
.play-wide { grid-column: 1 / -1; }
.play-head h3 { margin-bottom: .25em; }
.play-head p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Előtte / utána */
.ba { --pos: 50%; position: relative; height: clamp(300px, 34vw, 400px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba-pane { position: absolute; inset: 0; overflow: hidden; }
.ba-new { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border: solid var(--brand); border-width: 0 0 2.5px 2.5px; }
.ba-handle span::before { left: 12px; transform: rotate(45deg); }
.ba-handle span::after { right: 12px; transform: rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:focus-within .ba-handle span { outline: 3px solid var(--accent); }
.ba-tag { position: absolute; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(0, 0, 0, .6); color: #fff; pointer-events: none; }
.ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; background: var(--brand); }
/* "Előtte" – szándékosan régimódi */
.ba-old { background: #c0c0c0 repeating-linear-gradient(45deg, #b8b8d8 0 6px, #c8c8e0 6px 12px); font-family: "Times New Roman", Times, serif; color: #000; }
.old-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: linear-gradient(#000080, #1084d0); color: #ff0; }
.old-logo { font-family: "Comic Sans MS", "Comic Sans", cursive; font-size: 1.3rem; font-weight: 700; text-shadow: 2px 2px 0 #f00; }
.old-counter { font-family: "Courier New", monospace; font-size: .75rem; background: #000; color: #0f0; padding: 2px 6px; border: 2px inset #888; }
.old-marquee { overflow: hidden; background: #ff0; color: #f00; font-weight: 700; padding: 3px 0; white-space: nowrap; border-block: 2px outset #fff; }
.old-marquee span { display: inline-block; padding-left: 100%; animation: oldMarq 9s linear infinite; }
@keyframes oldMarq { to { transform: translateX(-100%); } }
.old-body { display: flex; gap: 10px; padding: 10px; }
.old-menu { display: flex; flex-direction: column; gap: 4px; width: 120px; flex: none; }
.old-menu a { background: #ddd; border: 3px outset #fff; padding: 3px 6px; color: #00e; text-decoration: underline; font-size: .85rem; }
.old-main { background: #fff; border: 2px inset #888; padding: 10px 12px; font-size: .9rem; }
.old-h { font-size: 1.6rem; color: #800080; margin: 0 0 6px; font-weight: 700; }
.old-link { color: #00e; text-decoration: underline; animation: blink 1s steps(2) infinite; }
/* "Utána" */
.ba-new { background: #fbfaf7; color: #1f1a17; font-family: Inter, sans-serif; }
.new-nav { display: flex; align-items: center; gap: 18px; padding: 16px 22px; font-size: .85rem; color: #6b625b; }
.new-nav b { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; color: #1f1a17; margin-right: auto; }
.new-nav b i { color: #c2410c; font-style: normal; }
.new-cta { background: #1f1a17; color: #fff; padding: 6px 14px; border-radius: 999px; }
.new-hero { padding: 18px 22px 10px; max-width: 480px; margin-left: auto; }
.new-hero small { color: #c2410c; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.new-h { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); line-height: 1.08; letter-spacing: -.03em; margin: 8px 0 14px; }
.new-btn { display: inline-block; background: #c2410c; color: #fff; font-weight: 600; font-size: .85rem; padding: 9px 16px; border-radius: 999px; }
.new-cards { position: absolute; left: 22px; right: 22px; bottom: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-left: 40%; }
.new-cards span { height: 64px; border-radius: 12px; background: linear-gradient(135deg, #e7d8c9, #d6b89a); }
.new-cards span:nth-child(2) { background: linear-gradient(135deg, #cdb4a0, #a47551); }
.new-cards span:nth-child(3) { background: linear-gradient(135deg, #3f342d, #6b5444); }

/* Eszközváltó – konténer-lekérdezéssel rendezi át magát */
.dev-switch, .swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.dev-switch button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.dev-switch button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dev-switch button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.dev-stage { display: flex; justify-content: center; padding: 16px; border-radius: 14px; background: var(--bg-alt); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 14px 14px; flex: 1; align-items: flex-start; min-height: 260px; }
.dev-frame { width: 100%; container-type: inline-size; border-radius: 12px; border: 5px solid var(--ink); background: #fff; overflow: hidden; transition: width .7s var(--ease), border-radius .5s; }
.dev-frame.mobile { border-radius: 22px; }
.dev-site { padding: 10px; color: #1f1a17; }
.ds-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ds-nav b { font-family: "Space Grotesk", sans-serif; font-size: .9rem; }
.ds-nav b i { color: #c2410c; font-style: normal; }
.ds-links { display: flex; gap: 6px; } .ds-links i { width: 26px; height: 5px; border-radius: 3px; background: #ddd5cc; }
.ds-burger { display: none; flex-direction: column; gap: 3px; } .ds-burger i { width: 14px; height: 2px; background: #1f1a17; }
.ds-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: center; margin-bottom: 10px; }
.ds-text i { display: block; height: 9px; border-radius: 5px; background: #1f1a17; margin-bottom: 6px; } .ds-text i + i { width: 70%; background: #b9ada2; height: 6px; }
.ds-text span { display: block; width: 52px; height: 14px; border-radius: 7px; background: #c2410c; margin-top: 10px; }
.ds-img { height: 84px; border-radius: 10px; background: linear-gradient(135deg, #e7d8c9, #a47551); }
.ds-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .ds-cards i { height: 46px; border-radius: 8px; background: #efe7df; }
@container (max-width: 380px) {
  .ds-links { display: none; } .ds-burger { display: flex; }
  .ds-cards { grid-template-columns: repeat(2, 1fr); }
  .ds-cards i:last-child { grid-column: 1 / -1; }
}
@container (max-width: 240px) {
  .ds-hero { grid-template-columns: 1fr; } .ds-img { order: -1; height: 70px; }
  .ds-cards { grid-template-columns: 1fr; } .ds-cards i { height: 30px; }
}

/* Színválasztó */
.sw { width: 44px; height: 44px; border-radius: 14px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.sw:hover { transform: translateY(-3px) rotate(-6deg); }
.sw.is-on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--c1); transform: scale(1.06); }
.sw-demo { flex: 1; display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 14px; padding: 18px; border-radius: 14px; background: var(--bg-alt); }
.sw-mock { flex: 1 1 100%; display: grid; gap: 6px; justify-items: start; padding: 20px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); transition: background .5s; }
.sw-mock small { opacity: .8; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.sw-mock b { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; line-height: 1.2; }
.sw-mock-btn { margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 600; font-size: .85rem; }
.sw-row { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sw-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--hl); font-size: .95rem; }
.sw-row .sw-chip { margin-left: auto; }
.sw-demo .btn { pointer-events: none; }
.sw-chip { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--hl); font-weight: 600; font-size: .85rem; }
.sw-bar { flex: 1 1 120px; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.sw-bar i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ---------- Árkalkulátor ---------- */
.calc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; margin-top: 36px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.calc-form { padding: clamp(22px, 4vw, 36px); display: grid; gap: 14px; align-content: start; }
.calc-form h3 { font-size: 1.5rem; margin: 0; }
.calc-sub { margin: -6px 0 6px; color: var(--muted); }
.calc-group { border: 0; padding: 0; margin: 0 0 4px; }
.calc-group legend { font-weight: 600; margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: .9rem; transition: border-color .25s, background .25s, color .25s, box-shadow .25s; }
.seg b { font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; color: var(--ink); }
.seg input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-row, .toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.calc-label { display: block; font-weight: 600; }
.calc-row small, .toggle small { color: var(--muted); font-size: .84rem; }
.old-price { text-decoration: line-through; opacity: .75; }
.new-price { color: var(--accent); font-weight: 700; }
.deal { font-style: normal; font-size: .72rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; flex: none; }
.stepper button { width: 38px; height: 38px; border: 0; background: var(--surface-2); font-size: 1.2rem; font-weight: 600; cursor: pointer; color: var(--ink); transition: background .2s; }
.stepper button:hover { background: var(--brand-soft); }
.stepper output { min-width: 38px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.toggle { justify-content: flex-start; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tg { position: relative; flex: none; width: 46px; height: 26px; border-radius: 13px; background: var(--line); transition: background .3s; }
.tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .35s var(--ease); }
.toggle input:checked + .tg { background: var(--brand); }
.toggle input:checked + .tg::after { transform: translateX(20px); }
.toggle input:focus-visible + .tg { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-sum { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 4vw, 36px); background: linear-gradient(160deg, var(--deep-1), var(--deep-2)); color: #fff; }
.calc-sum-label { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tint); font-weight: 600; }
.calc-total { font-family: "Space Grotesk", sans-serif; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc-total.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.05); color: var(--accent-light); } }
.calc-monthly { color: var(--accent-light); font-weight: 600; }
.calc-lines { list-style: none; padding: 14px 0 0; margin: 10px 0 14px; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; align-content: start; gap: 8px; font-size: .9rem; color: var(--on-deep); flex: 1; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; animation: fade .3s; }
.calc-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-sum .btn { background: #fff; color: var(--deep-2); box-shadow: none; }
.calc-note { color: var(--on-deep-muted); font-size: .78rem; margin-top: 8px; }

/* ---------- Szöveg-keverés a címeken ---------- */
.scramble-ch { color: var(--hl); opacity: .7; }

@media (max-width: 960px) {
  .play-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .new-cards { padding-left: 0; }
  .new-hero { margin-left: 0; }
}
@media (max-width: 640px) {
  .kbd-btn kbd { display: none; }
  .kbd-btn { width: 42px; padding: 0; justify-content: center; }
  .seg { grid-template-columns: 1fr; }
  .old-menu { width: 92px; } .old-menu a { font-size: .75rem; }
  .old-main { font-size: .8rem; } .old-h { font-size: 1.2rem; }
  .old-logo { font-size: 1rem; } .old-counter { display: none; }
  .new-nav span:not(.new-cta) { display: none; }
  .new-cards span { height: 44px; }
  .play-card { padding: 18px; }
  .ba { height: 360px; }
}
@media (max-width: 380px) {
  .kbd-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
}

/* ---------- Rólam ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.photo-frame { position: relative; border-radius: 28px; padding: 6px; background: linear-gradient(140deg, var(--brand), var(--brand-2) 55%, var(--accent)); box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.photo-frame::after { content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 40px; border: 2px dashed color-mix(in srgb, var(--brand) 35%, transparent); transform: rotate(5deg); transition: transform .8s var(--ease); }
.about-photo:hover .photo-frame { transform: rotate(0deg) scale(1.01); }
.about-photo:hover .photo-frame::after { transform: rotate(-3deg); }
.photo-frame picture, .photo-frame img { display: block; width: 100%; height: auto; border-radius: 22px; }
.photo-frame img { aspect-ratio: 720 / 899; object-fit: cover; background: #111; }
.photo-badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; animation: bob 5s ease-in-out infinite; transition: background-color .4s; }
.photo-badge svg { width: 18px; height: 18px; fill: none; stroke: var(--hl); stroke-width: 2.2; stroke-linejoin: round; }
.pb1 { top: 8%; left: -6%; }
.pb2 { right: -7%; bottom: 10%; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -2.5s; }
.pb2 strong { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb2 span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.about-text .head { margin-bottom: 22px; }
.about-story p { color: var(--muted); margin: 0 0 1em; }
.about-story .lead { color: var(--ink); max-width: none; }
.about-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about-facts li { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); transition: background-color .4s, border-color .3s, transform .3s var(--ease); }
.about-facts li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.about-facts b { color: var(--hl); font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; margin-right: 4px; }
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(48px, 7vw, 80px); }
.strength { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background-color .4s; }
.strength:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.strength h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.strength p { margin: 0; color: var(--muted); font-size: .94rem; }
.s-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); transition: background .4s, transform .45s var(--ease); }
.s-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--hl); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.strength:hover .s-ic { background: linear-gradient(135deg, var(--brand), var(--brand-2)); transform: rotate(-8deg) scale(1.06); }
.strength:hover .s-ic svg { stroke: #fff; }
.promise { margin-top: 18px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 40px; align-items: center; position: relative; overflow: hidden; }
.promise::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.promise h3 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; position: relative; z-index: 1; }
.promise li { position: relative; padding-left: 30px; font-size: .95rem; line-height: 1.5; }
.promise li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 760px) { .strengths { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; }
  .promise { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .strengths, .promise ul { grid-template-columns: 1fr; }
  .pb1 { left: -4px; } .pb2 { right: -4px; }
}
.about { overflow-x: clip; }
.kbd-btn kbd { white-space: nowrap; }
@media (max-width: 1000px) and (min-width: 861px) { .kbd-btn kbd { display: none; } .kbd-btn { width: 42px; padding: 0; justify-content: center; } }

/* Referencia-akció */
.price-was { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; color: var(--muted); font-size: .9rem; }
.price-was s { opacity: .8; }
.price-was .deal { margin-left: 0; vertical-align: 0; }
.promo { padding: 28px 0 0; }
.promo-inner { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, var(--surface)), color-mix(in srgb, var(--accent) 14%, var(--surface))); box-shadow: var(--shadow); }
.promo-inner p { margin: 0; flex: 1; }
.promo-badge { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 6px 14px; border-radius: 14px; box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
@media (max-width: 760px) { .promo-inner { flex-direction: column; align-items: flex-start; gap: 12px; } }
.plan-warn { margin: -4px 0 14px; padding: 10px 12px; border-radius: 12px; font-size: .8rem; line-height: 1.45; color: var(--ink); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.plan-warn b { color: var(--accent); }

/* Kompakt árak: kisebb csomagkártyák és árkalkulátor */
.plans { gap: 14px; }
.plans > .plan { flex: 1 1 260px; max-width: 300px; }
.plan { padding: 20px 18px; border-radius: 16px; }
.plan h3 { font-size: 1.05rem; }
.plan-sub { font-size: .8rem; margin-bottom: 10px; }
.price-was { font-size: .8rem; }
.price { font-size: clamp(1.4rem, 1.25rem + .5vw, 1.65rem); }
.price .per { font-size: .85rem; }
.plan-time { font-size: .76rem; margin: 2px 0 12px; }
.plan ul { margin-bottom: 14px; }
.plan li { font-size: .8rem; margin-bottom: 5px; padding-left: 22px; }
.plan li::before { width: 15px; height: 15px; background-size: 10px; }
.plan-warn, .plan-fine { font-size: .72rem; }
.plan .btn { padding-block: 10px; font-size: .88rem; }
.plan-badge { font-size: .68rem; padding: 4px 11px; top: -12px; left: 18px; }
.calc { max-width: 880px; margin-inline: auto; margin-top: 28px; border-radius: 20px; }
.calc-form { padding: 22px 24px; gap: 10px; }
.calc-form h3 { font-size: 1.2rem; }
.calc-sub { font-size: .85rem; }
.calc-group legend { font-size: .9rem; margin-bottom: 6px; }
.seg { gap: 8px; }
.seg span { padding: 8px 12px; border-radius: 11px; font-size: .8rem; }
.seg b { font-size: .95rem; }
.calc-row, .toggle { padding: 8px 0; gap: 12px; }
.calc-label { font-size: .9rem; }
.calc-row small, .toggle small { font-size: .76rem; }
.stepper button { width: 32px; height: 32px; font-size: 1.05rem; }
.stepper output { min-width: 30px; font-size: .9rem; }
.tg { width: 40px; height: 22px; }
.tg::after { width: 16px; height: 16px; }
.toggle input:checked + .tg::after { transform: translateX(18px); }
.calc-sum { padding: 22px 24px; }
.calc-total { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); }
.calc-lines { font-size: .82rem; gap: 6px; }
.calc-sum .btn { padding-block: 10px; font-size: .88rem; }
@media (max-width: 960px) {
  .plans > .plan { flex-basis: 100%; max-width: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shopify vs. egyedi webshop összehasonlítás */
.cmp { max-width: 880px; margin: 28px auto 0; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.cmp h3 { font-size: 1.2rem; margin: 0 0 4px; }
.cmp-sub { color: var(--muted); font-size: .85rem; margin: 0 0 14px; }
.cmp-scroll { overflow-x: auto; margin-bottom: 16px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .82rem; line-height: 1.4; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 9px 10px; border-top: 1px solid var(--line); }
.cmp-table thead th { border-top: 0; font-family: "Space Grotesk", sans-serif; font-size: .92rem; }
.cmp-table tbody th { font-weight: 600; white-space: nowrap; }
.cmp-table td { color: var(--muted); }
.cmp-table td:last-child, .cmp-best { background: var(--brand-soft); color: var(--ink); }
.cmp-best { border-radius: 12px 12px 0 0; }
.cmp-best .deal { margin-left: 6px; }
.cmp-table tbody tr:last-child td:last-child { border-radius: 0 0 12px 12px; font-weight: 700; }
.cmp-no, .cmp-yes { display: inline-block; width: 1.2em; font-weight: 700; }
.cmp-no { color: #ef4444; }
.cmp-yes { color: #22c55e; }
@media (max-width: 640px) {
  .cmp { padding: 18px 14px; }
  .cmp-table { font-size: .76rem; }
  .cmp-table th, .cmp-table td { padding: 8px 6px; }
  .cmp-table tbody th { white-space: normal; }
}

/* Világos módban sötétebb kiemelő színek a jobb olvashatóságért */
:root[data-theme="light"] :is(.new-price, .plan-warn b, .sw-opt em) { color: #b45309; }
:root[data-theme="light"] .cmp-yes { color: #15803d; }
:root[data-theme="light"] .cmp-no { color: #dc2626; }

/* Feltűnőbb Előtte / Utána feliratok */
.ba-tag { top: auto; bottom: 16px; padding: 8px 18px; font-size: .95rem; font-weight: 800; letter-spacing: .1em; border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .55); }
.ba-tag-l { left: 16px; background: #475569; }
.ba-tag-r { right: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 24px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
@media (max-width: 640px) { .ba-tag { padding: 6px 12px; font-size: .78rem; bottom: 10px; } .ba-tag-l { left: 10px; } .ba-tag-r { right: 10px; } }
