/* ============ VÁLTOZÓK – itt állíthatod a színeket és a hero képet ============ */
:root {
  --bg: #0a0c0d;
  --surface: #121617;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f5f5;
  --muted: #a7b0b2;
  --accent: #ff2d2d;
  --teal: #2fd9c4;
  --hero-image: url("images/hero-atelier-porsche.jpg?v=20261020x");
  --font: "Instrument Sans", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ============ GOMBOK ============ */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; font-size: 15px; font-weight: 500; border-radius: 999px; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.btn .arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn:active { transform: scale(.97); }
.btn-outline { border: 1px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: #fff; color: #000; }
.btn-solid { background: #fff; color: #000; border-radius: 4px; }
.btn-solid:hover { background: var(--accent); color: #fff; }
.arrow { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ HEADER ============ */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 28px var(--pad); }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; fill: var(--accent); transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: skewX(-10deg) translateX(3px); }
.nav { display: flex; gap: 40px; font-size: 15px; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-right { display: flex; align-items: center; gap: 14px; }

/* Nyelvválasztó */
.lang { position: relative; }
.lang-current { font-family: var(--mono); font-size: 13px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .3s; }
.lang-current:hover { border-color: #fff; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; background: rgba(18,22,23,.9); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 12px; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease); }
.lang.open .lang-list { opacity: 1; pointer-events: auto; transform: none; }
.lang-list button { width: 100%; text-align: left; padding: 9px 12px; font-size: 14px; border-radius: 8px; transition: background-color .2s; }
.lang-list button:hover { background: rgba(255,255,255,.08); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; z-index: 60; }
.burger span { height: 2px; background: #fff; transition: transform .3s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open { overflow: hidden; touch-action: none; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px var(--pad) 40px; overflow: hidden; }
/* Hero photo: cover + center — never stretch/squash aspect ratio */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0c0d;
  pointer-events: none;
  will-change: transform;
}
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto; /* don't let HTML attrs / UA ratio fight cover */
  object-fit: cover; /* crop edges — never stretch/squash */
  object-position: center center;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,13,.75) 0%, rgba(10,12,13,.15) 35%, rgba(10,12,13,.3) 65%, var(--bg) 100%); }
.hero > *:not(.hero-bg):not(.hero-shade) { position: relative; z-index: 2; }

.hero-tags { position: absolute !important; top: 120px; left: var(--pad); font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hero-tags li::before { content: "/ "; color: var(--accent); }
.hero-tags li { line-height: 1.9; }
.hero-side { position: absolute !important; top: 120px; right: var(--pad); text-align: left; font-size: 17px; line-height: 1.4; color: var(--muted); }

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Fejlesztési értesítő — feltűnő piros buborék a headline felett */
.hero-notice {
  max-width: 760px;
  width: 100%;
  margin: 0 0 28px;
  padding: 16px 22px;
  text-align: center;
  border-radius: 16px;
  background: var(--accent);
  border: none;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 8px 28px rgba(255, 45, 45, 0.35), 0 2px 8px rgba(0, 0, 0, 0.45);
}
.hero-notice p {
  margin: 0;
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.45;
  font-weight: 600;
  color: #fff;
  text-shadow: none;
}
.hero-content > .hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
}

/* Regisztráció CTA háttérbe — notice az elsődleges */
.dev-notice-on .header .btn-outline {
  opacity: 0.45;
  border-color: rgba(255, 255, 255, 0.28);
}
.dev-notice-on .header .btn-outline:hover {
  opacity: 0.85;
}
.dev-notice-on .nav a[href="#register"],
.dev-notice-on .nav a[href="registreren.html"] {
  opacity: 0.55;
}
.dev-notice-on .nav a[href="#register"]:hover,
.dev-notice-on .nav a[href="registreren.html"]:hover {
  opacity: 1;
}

.hero-title { font-size: clamp(44px, 8.4vw, 132px); font-weight: 600; line-height: .95; letter-spacing: -0.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { max-width: 640px; margin: 28px auto 32px; font-size: clamp(15px, 1.4vw, 18px); color: #e4e8e9; text-shadow: 0 2px 14px rgba(0,0,0,.9); }

.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: auto; padding-top: 48px; }
.stats { display: flex; gap: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.03em; }
.stat > span { font-size: 13px; color: var(--muted); }
.quick { display: flex; gap: 26px; }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: #d5dadb; }
.quick-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; backdrop-filter: blur(12px); background: rgba(0,0,0,.25); transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.quick-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quick-item:hover .quick-icon { background: var(--accent); border-color: var(--accent); transform: translateY(-4px) rotate(-8deg); }

/* Hero betöltési animáció (a szöveg animáció nélkül is olvasható) */
.hero.is-loaded .hero-title .line > span { animation: lineUp 1.1s var(--ease) both; }
.hero.is-loaded .hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero.is-loaded .reveal-up { animation: fadeUp 1s var(--ease) both; animation-delay: .45s; }
.hero.is-loaded .btn.reveal-up { animation-delay: .6s; }
.hero.is-loaded .hero-tags li, .hero.is-loaded .hero-side { animation: fadeUp .9s var(--ease) both; }
.hero.is-loaded .hero-tags li:nth-child(2) { animation-delay: .08s; }
.hero.is-loaded .hero-tags li:nth-child(3) { animation-delay: .16s; }
.hero.is-loaded .hero-tags li:nth-child(4) { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; padding: 34px 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(32px, 5vw, 72px); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--accent); font-size: clamp(28px, 4vw, 56px); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SZEKCIÓK ============ */
.section { padding: clamp(80px, 12vw, 160px) var(--pad); }
.section-head { display: grid; grid-template-columns: 120px 1fr auto; align-items: end; gap: 24px; margin-bottom: 56px; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.section h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.section-head p { max-width: 340px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 16px; }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.card-wide { grid-column: span 2; }
.card-img img { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85)); }
.card:hover img { transform: scale(1.06); }
.card-body { position: relative; z-index: 1; }
.card .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.card h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; margin: 6px 0; }
.card p { color: #c7cdce; max-width: 420px; }
.bento .card:nth-child(3) { background: var(--accent); border-color: var(--accent); }
.bento .card:nth-child(3) .num, .bento .card:nth-child(3) p { color: #fff; }

/* Why / bemutatkozás — between marquee and services (horizontal) */
#why { scroll-margin-top: 88px; }
#why .section-head { margin-bottom: 40px; }
.why-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin: 0 0 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.why-intro p {
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  margin: 0;
}
.why-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}
.why-pillar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 0;
}
.why-pillar .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.why-pillar h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.2;
}
.why-pillar p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.why-help {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 24px 40px;
  align-items: start;
  margin-top: 56px;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 45, 45, 0.06);
  border-radius: 0 8px 8px 0;
}
.why-help h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}
.why-help p { color: #e4e8e9; font-size: 16px; line-height: 1.65; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 40px); align-items: start; max-width: 720px; }
.about-text h2 { margin: 16px 0 24px; }
.about-text p { color: var(--muted); font-size: 18px; max-width: 640px; }
.checks { margin-top: 32px; border-top: 1px solid var(--line); }
.checks li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.checks li::before { content: "//"; color: var(--accent); font-weight: 700; }

/* Membership packages — card layout (mobile-first) */
#membership { scroll-margin-top: 88px; }
#membership .section-head h2 { font-size: clamp(28px, 5vw, 48px); letter-spacing: -0.03em; }
.membership-note {
  color: var(--muted); margin: 0 0 24px; font-size: 15px;
  padding: 12px 14px; border-left: 3px solid var(--accent);
  background: rgba(255, 45, 45, 0.06); border-radius: 0 8px 8px 0;
}
.membership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 22px 18px;
  background: linear-gradient(165deg, rgba(24, 28, 30, 0.95), rgba(14, 16, 17, 0.88));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  min-width: 0;
}
.plan-featured {
  border-color: rgba(255, 45, 45, 0.65);
  box-shadow: 0 12px 36px rgba(255, 45, 45, 0.12), inset 0 0 0 1px rgba(255, 45, 45, 0.18);
}
.plan h3 {
  font-size: clamp(16px, 2.2vw, 18px); font-weight: 600; margin-bottom: 10px;
  letter-spacing: -0.02em; line-height: 1.25;
}
.plan-price {
  font-size: clamp(26px, 4vw, 32px); font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 16px; color: #fff;
}
.plan-price span { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.plan li {
  font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; line-height: 1.45;
}
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.business-cta {
  margin-top: 28px; padding: 22px 20px;
  border: 1px solid rgba(47, 217, 196, 0.35); border-radius: 14px;
  background: rgba(47, 217, 196, 0.06);
}
.business-cta h3 { margin-bottom: 8px; font-size: 20px; }
.business-cta p { color: var(--muted); max-width: 640px; margin-bottom: 16px; font-size: 15px; }
.membership-waste { margin-top: 18px; font-size: 13px; color: var(--muted); }
.stats-labels { flex-wrap: wrap; }
.stats-labels .stat { min-width: 0; flex: 1 1 120px; }
.stats-labels .stat strong { font-size: clamp(14px, 1.8vw, 18px); display: block; letter-spacing: -0.02em; }
.stats-labels .stat span { margin-top: 6px; display: block; font-size: 12px; }
.reg-type-toggle { display: flex; gap: 10px; margin-bottom: 18px; position: relative; z-index: 1; }
.reg-type-opt {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  font-size: 14px; transition: border-color .2s, background .2s; color: var(--text);
}
.reg-type-opt input { accent-color: var(--accent); }
.reg-type-opt:has(input:checked),
.reg-type-opt.is-active {
  border-color: var(--accent); background: rgba(255, 45, 45, 0.08);
}
.reg-check-aszf,
.reg-check {
  display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text);
  grid-column: 1 / -1; margin-top: 4px; width: 100%; max-width: 100%;
}
.reg-check-aszf a,
.reg-check a { color: var(--teal); text-decoration: underline; }
/* Checkbox must NOT inherit .form input { width:100% } — that crushed the label to 1ch. */
.form input[type="checkbox"],
.form input[type="radio"] {
  width: auto; min-width: 1.15em; height: 1.15em; margin: 0.15em 0 0; padding: 0;
  border: 0; border-bottom: 0; flex: 0 0 auto; align-self: flex-start;
  accent-color: var(--accent);
}
.reg-check-aszf > span,
.reg-check > span {
  display: block; flex: 1 1 auto; min-width: 0; width: auto;
  margin-bottom: 0; word-break: normal; overflow-wrap: anywhere;
  white-space: normal; line-height: 1.45; color: var(--text); font-size: 14px;
}
.reg-aszf-link { margin-top: 18px; }
.reg-aszf-link a { color: var(--teal); text-decoration: underline; font-size: 14px; }
.reg-plan-pick { margin: 12px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.reg-plan-pick label {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 14px;
}
.reg-plan-pick label:has(input:checked),
.reg-plan-pick label.is-active { border-color: var(--accent); }
.reg-biz-cta {
  padding: 14px 16px; margin-bottom: 14px; border-left: 3px solid var(--teal);
  background: rgba(47, 217, 196, 0.08); color: #c9f7f0; font-size: 15px;
}
.footer-row a { color: var(--muted); text-decoration: underline; }
.footer-row a:hover { color: var(--accent); }
.meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
#register { scroll-margin-top: 96px; }
.section.register { padding-top: clamp(72px, 12vw, 120px); }
.form label { min-width: 0; }
.form label span { word-break: break-word; }

/* Blog */
.posts { border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: 120px 1fr 28px; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; }
.post h3 { font-size: clamp(20px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; }
.post .arrow { width: 28px; height: 28px; transition: transform .4s var(--ease); }
.post:hover { padding-left: 16px; color: var(--accent); }
.post:hover .arrow { transform: rotate(45deg); }
.blog-article { margin-top: 28px; max-width: 720px; }
.blog-article[hidden] { display: none !important; }
.blog-back { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.blog-back:hover { color: var(--accent); }
.blog-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.blog-article h3 { font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 18px; }
.blog-body { color: var(--muted); font-size: 17px; line-height: 1.65; white-space: pre-wrap; }

/* Contact / registration */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.contact-text h2 { margin: 16px 0 20px; }
.contact-text p { color: var(--muted); max-width: 420px; }
.contact-info { margin-top: 32px; font-family: var(--mono); font-size: 14px; line-height: 2; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.form label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; padding: 14px 0; font: inherit; font-size: 16px; color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--line); outline: none; transition: border-color .3s; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form .btn { justify-content: center; padding: 16px; }
.form-success { color: var(--teal); }

/* Registration wizard */
.reg-wizard {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, rgba(18,22,23,.92), rgba(18,22,23,.65));
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.reg-wizard::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(600px 200px at 90% 0%, rgba(255,45,45,.12), transparent 60%);
}
.reg-steps {
  display: flex; flex-wrap: wrap; gap: 10px 14px;
  margin-bottom: 28px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 1;
}
.reg-steps li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  opacity: .55; transition: opacity .3s, color .3s;
}
.reg-steps li span {
  width: 26px; height: 26px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px;
  border: 1px solid var(--line); border-radius: 50%;
}
.reg-steps li.is-active { opacity: 1; color: var(--text); }
.reg-steps li.is-active span { border-color: var(--accent); color: var(--accent); }
.reg-steps li.is-done { opacity: .9; }
.reg-steps li.is-done span { background: rgba(47,217,196,.15); border-color: var(--teal); color: var(--teal); }
.reg-steps em { font-style: normal; }

.reg-panel { position: relative; z-index: 1; animation: fadeUp .45s var(--ease) both; }
.reg-panel-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.reg-panel-sub { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.reg-status {
  position: relative; z-index: 1;
  margin-bottom: 16px; padding: 12px 14px;
  border-radius: 8px; font-size: 14px;
  border: 1px solid var(--line); background: rgba(0,0,0,.25);
}
.reg-status--error { border-color: rgba(255,45,45,.45); color: #ffb4b4; }
.reg-status--loading { color: var(--muted); }
.reg-loading {
  display: none; position: absolute; inset: 0; z-index: 5;
  place-items: center; border-radius: inherit;
  background: rgba(10,12,13,.55); backdrop-filter: blur(4px);
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.reg-wizard.is-loading .reg-loading { display: grid; }

.reg-progress { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.reg-progress .mono { font-family: var(--mono); color: var(--accent); }
.reg-q { font-size: 18px; font-weight: 500; margin-bottom: 16px; line-height: 1.35; }
.reg-options { display: grid; gap: 10px; margin-bottom: 20px; }
.reg-option {
  text-align: left; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: rgba(255,255,255,.02);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.reg-option:hover { border-color: rgba(255,255,255,.35); transform: translateX(4px); }
.reg-option.is-selected { border-color: var(--accent); background: rgba(255,45,45,.1); }

.reg-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.reg-pricing { list-style: none; margin: 0 0 16px; border-top: 1px solid var(--line); }
.reg-pricing li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.reg-pricing .reg-total { font-weight: 600; color: var(--text); }
.reg-pricing .reg-total strong { color: var(--accent); font-family: var(--mono); }
.reg-payment-ref { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.reg-payment-ref code {
  font-family: var(--mono); color: var(--teal);
  word-break: break-all;
}
.reg-check, .reg-radio {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; font-size: 15px; cursor: pointer;
}
.reg-check input, .reg-radio input { accent-color: var(--accent); width: 18px; height: 18px; }
.reg-delivery { margin-bottom: 12px; }
.reg-billing { margin-top: 8px; margin-bottom: 12px; }
.reg-done-hint { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--teal); }

/* Footer */
.footer { padding: 40px var(--pad) 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { display: block; font-size: clamp(48px, 13vw, 220px); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); white-space: nowrap; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ============ RESZPONZÍV ============ */
@media (max-width: 1100px) {
  /*
   * CRITICAL: do NOT use backdrop-filter on .header here.
   * It creates a containing block so position:fixed .nav is trapped
   * inside the ~70px header strip — menu text then bleeds over the hero.
   */
  .header {
    position: fixed; z-index: 50;
    background: #0a0c0d;
    padding-block: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .header .logo,
  .header-right { position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 28px; font-size: clamp(22px, 7vw, 30px);
    background: #0a0c0d;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; pointer-events: auto; }
  .burger { display: flex; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .membership-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .header .btn-outline { display: none; }
  .hero {
    padding-top: 96px;
    min-height: auto;
    justify-content: flex-start;
  }
  /* Hide side tags on phone — looked like a stuck menu over the hero */
  .hero-tags { display: none !important; }
  .hero-side { display: none; }
  .hero-title { font-size: clamp(34px, 11vw, 52px); }
  .hero-sub { margin: 18px auto 24px; font-size: 15px; }
  .hero-content {
    align-items: stretch;
    text-align: left;
    padding-inline: 0;
  }
  .hero-notice {
    max-width: none;
    margin: 0 0 36px;
    padding: 14px 16px;
    border-radius: 14px;
    text-align: left;
    /* lighter glow so it doesn’t bleed onto the H1 */
    box-shadow: 0 4px 14px rgba(255, 45, 45, 0.28), 0 1px 4px rgba(0, 0, 0, 0.35);
  }
  .hero-notice p { font-size: 14px; line-height: 1.4; font-weight: 600; }
  .hero-content > .hero-title { padding-top: 2px; }
  .stats { gap: 16px; width: 100%; justify-content: flex-start; }
  .stats-labels { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; }
  .stats-labels .stat { flex: none; }
  .quick { width: 100%; justify-content: space-between; gap: 8px; }
  .quick-item { font-size: 12px; text-align: center; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  #why .section-head { margin-bottom: 28px; }
  .why-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 32px;
  }
  .why-pillars { grid-template-columns: 1fr; gap: 0; }
  .why-pillar {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }
  .why-pillar:first-child { padding-top: 0; }
  .why-help {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 36px;
    padding: 20px 18px;
  }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .card-wide { grid-column: auto; }
  .contact { grid-template-columns: 1fr; }
  .section.register { padding-top: 108px; }
  .contact-text h2 { font-size: clamp(26px, 7vw, 36px); }
  .contact-text p { font-size: 15px; max-width: none; }
}
@media (max-width: 640px) {
  .membership-grid { grid-template-columns: 1fr; gap: 14px; }
  .plan { padding: 20px 18px; }
  .plan-price { font-size: 30px; }
  .reg-type-toggle { flex-direction: column; }
  .post { grid-template-columns: 40px 1fr 22px; gap: 14px; }
  .form { grid-template-columns: 1fr; gap: 16px; }
  .reg-wizard { padding: 18px 16px; }
  .reg-steps { gap: 8px 10px; }
  .reg-steps em { display: none; }
  .reg-actions { justify-content: stretch; }
  .reg-actions .btn { flex: 1; justify-content: center; }
  .footer-row { flex-direction: column; }
  .stats-labels .stat strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ============ PLATFORM TOUR ============ */
.page-platform .header,
.page-register .header {
  position: fixed; z-index: 50;
  background: #0a0c0d;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Decks must never stay invisible if IntersectionObserver/Lenis miss them */
.page-platform .deck.reveal,
.page-platform .platform-head.reveal,
.page-platform .product-meta.reveal {
  opacity: 1;
  transform: none;
}
.page-platform .page-hero { padding-top: clamp(120px, 14vw, 160px); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.page-hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) var(--pad) clamp(40px, 6vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(255,45,45,.16), transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 20%, rgba(47,217,196,.1), transparent 50%),
    var(--bg);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.site-crumbs { margin-bottom: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.site-crumbs span { color: var(--text); }
.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 600; letter-spacing: -0.04em; line-height: .98;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero-sub {
  margin-top: 20px; max-width: 560px;
  color: #e4e8e9; font-size: clamp(15px, 1.4vw, 18px);
}
.page-hero .hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.jump { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a {
  font-family: var(--mono); font-size: 12px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); transition: border-color .3s, color .3s, background .3s;
}
.jump a:hover { border-color: var(--accent); color: var(--text); background: rgba(255,45,45,.08); }

.platform-block .section-inner { max-width: 1180px; margin: 0 auto; }
/* Kicker + title on row 1; lead spans full width (never the 88px column) */
.platform-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 16px;
  row-gap: 14px;
  margin-bottom: 18px;
}
.platform-head .kicker { grid-column: 1; grid-row: 1; }
.platform-head h2 {
  grid-column: 2; grid-row: 1;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.03em; line-height: 1.05;
}
.platform-head p {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 62ch;
  margin: 0;
  color: #d5dcdb;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}
.product-meta {
  margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}
.product-meta strong { color: var(--text); font-weight: 500; }

/* Horizontal card deck — focused card + neighbors peeking */
.deck { margin: 0 calc(var(--pad) * -0.35) 8px; position: relative; }
.deck-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
}
.deck-btn {
  width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(10,12,13,.88);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease);
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
  z-index: 3;
}
.deck-btn--side {
  position: relative;
  margin-inline: 4px;
  flex-shrink: 0;
}
.deck-btn svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.deck-btn:hover {
  border-color: var(--accent);
  background: rgba(255,45,45,.18);
  color: #fff;
  transform: scale(1.04);
}
.deck-btn:disabled { opacity: .28; pointer-events: none; transform: none; }
.deck-track {
  display: flex; gap: clamp(14px, 2vw, 22px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 8px max(12px, calc((100% - min(86vw, 920px)) / 2)) 20px;
  scrollbar-width: none;
  cursor: grab;
  min-width: 0;
}
.deck-track:active { cursor: grabbing; }
.deck-track::-webkit-scrollbar { display: none; }

.deck-status {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 20px;
  margin: 4px var(--pad) 0;
  padding: 14px 0 6px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.deck-hint {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: .02em;
}
.deck-pager {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-left: auto;
}
.deck-counter {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--text); letter-spacing: .04em;
  min-width: 4.5ch; text-align: right;
}
.deck-dots {
  display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
  max-width: min(100%, 360px);
}
.deck-dot {
  width: 9px; height: 9px; border-radius: 999px; padding: 0;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  transition: background .25s, border-color .25s, transform .25s var(--ease), width .25s;
}
.deck-dot.is-active {
  width: 22px;
  background: var(--accent);
  border-color: var(--accent);
}
.deck-dot:hover { border-color: var(--text); }

.deck-card {
  flex: 0 0 min(92vw, 980px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; background: var(--surface);
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
  transition: transform .45s var(--ease), opacity .45s var(--ease), border-color .3s;
}
.deck-card.is-active { border-color: rgba(255,45,45,.35); }
.deck-media {
  background: #070809;
  border-bottom: 1px solid var(--line);
}
.deck-media img {
  width: 100%; height: auto; display: block;
  object-fit: contain; object-position: top center;
  aspect-ratio: 16 / 9; background: #070809;
}
.deck-card figcaption,
.deck-card .guide {
  padding: 16px 18px 18px;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.55; color: #c8d0d2;
  max-width: none;
}
.deck-card figcaption strong,
.deck-card .guide strong {
  display: block; margin-bottom: 6px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--text); letter-spacing: .02em;
}

/* Phone deck: large readable frames, neighbors still peek */
.deck--phone .deck-track {
  padding-left: max(var(--pad), calc((100% - min(78vw, 340px)) / 2));
  padding-right: max(var(--pad), calc((100% - min(78vw, 340px)) / 2));
  align-items: stretch;
}
.deck-card--phone {
  flex-basis: min(78vw, 340px);
  align-items: center;
  background: transparent;
  border: 0; box-shadow: none;
  overflow: visible;
}
.deck-card--phone .phone {
  width: 100%;
  max-width: none;
  border: 1px solid var(--line); border-radius: 36px;
  overflow: hidden; background: #000;
  box-shadow: 0 24px 56px rgba(0,0,0,.5);
  padding: 12px 10px 16px;
}
.phone-notch {
  width: 38%; height: 10px; margin: 0 auto 10px;
  background: #1a1d1e; border-radius: 999px;
}
.deck-card--phone .phone img {
  width: 100%; height: auto; aspect-ratio: auto;
  border-radius: 22px; object-fit: contain; display: block;
}
.deck-card--phone figcaption,
.deck-card--phone .guide {
  width: 100%;
  padding: 14px 4px 0;
  text-align: left;
}

@media (max-width: 700px) {
  .platform-head { grid-template-columns: 1fr; row-gap: 10px; }
  .platform-head .kicker,
  .platform-head h2,
  .platform-head p { grid-column: 1; grid-row: auto; }
  .platform-block { padding-block: 56px; }
  .platform-block .section-inner { max-width: none; overflow: visible; }
  .deck {
    margin: 0;
    width: 100%;
    overflow: visible;
  }
  .deck-stage {
    display: block;
    position: relative;
    overflow: visible;
  }
  .deck-btn--side {
    position: absolute;
    top: min(38%, 160px);
    transform: translateY(-50%);
    width: 44px; height: 44px;
    margin: 0;
    background: rgba(10,12,13,.92);
    border-color: rgba(255,255,255,.35);
  }
  .deck-btn--side[data-deck-prev] { left: 4px; }
  .deck-btn--side[data-deck-next] { right: 4px; left: auto; }
  .deck-btn--side:hover { transform: translateY(-50%) scale(1.04); }
  .deck-track {
    padding: 4px 0 16px;
    gap: 12px;
    width: 100%;
    min-height: 200px;
  }
  .deck-card {
    flex: 0 0 min(100%, 100vw - 40px);
    width: min(100%, 100vw - 40px);
    max-width: 100%;
    border-radius: 14px;
    scroll-snap-align: center;
  }
  .deck-media img {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 140px;
  }
  .deck--phone .deck-track {
    padding-left: max(20px, calc((100% - min(86vw, 300px)) / 2));
    padding-right: max(20px, calc((100% - min(86vw, 300px)) / 2));
  }
  .deck-card--phone {
    flex: 0 0 min(86vw, 300px);
    width: min(86vw, 300px);
  }
  .deck-card--phone .phone img {
    height: auto;
    min-height: 420px;
  }
  .deck-status {
    margin: 0;
    padding: 12px 0 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .deck-pager {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .deck-counter { font-size: 14px; }
  .deck-dot { width: 10px; height: 10px; }
  .deck-dot.is-active { width: 24px; }
}

.page-register .reveal { opacity: 1; transform: none; }
.page-register .section.register { padding-top: clamp(120px, 14vw, 160px); }
