/*
 * Abery waitlist-landing – a Design "Abery Waitlist Landing" v2 (2026-09-23)
 * statikus mása (D104). A tokenek a Design-rendszerből (owlnight-design-system)
 * származnak; a betűtípusok az oldal mellől töltődnek, KÜLSŐ HÍVÁS NÉLKÜL
 * (GDPR: a látogató IP-je nem kerül harmadik félhez).
 */

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/quicksand-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/quicksand-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night-950: #0e1128;
  --night-900: #1a1f3d;
  --night-800: #242a52;
  --night-700: #323968;
  --amber-500: #f4b942;
  --amber-400: #f7c968;
  --amber-300: #fad998;
  --amber-600: #d99a24;
  --sand-100: #f7f1e3;
  --sand-300: #ddceac;
  --sand-400: #c2b592;
  --surface-card: var(--night-800);
  --surface-card-raised: var(--night-700);
  --surface-inset: #151935;
  --border-soft: rgba(247, 241, 227, 0.10);
  --border-strong: rgba(247, 241, 227, 0.18);
  --accent: var(--amber-500);
  --accent-hover: var(--amber-400);
  --accent-soft: rgba(244, 185, 66, 0.14);
  --text-primary: var(--sand-100);
  --text-secondary: var(--sand-300);
  --text-tertiary: var(--sand-400);
  --text-on-accent: var(--night-950);
  --link: var(--amber-400);
  --link-hover: var(--amber-300);
  --success: #8fbf8a;
  --caution: #e0a860;
  --focus-ring: rgba(244, 185, 66, 0.45);
  --font-display: 'Quicksand', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', 'Quicksand', system-ui, sans-serif;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 4px 16px rgba(10, 12, 32, 0.28);
  --shadow-card: 0 8px 28px rgba(10, 12, 32, 0.35);
  --glow-accent: 0 0 24px rgba(244, 185, 66, 0.25);
  --ease-breath: cubic-bezier(.37, 0, .63, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* A saját display-szabályok (pl. .badge-calm inline-flex) ne írják felül a hidden attribútumot. */
[hidden] { display: none !important; }
html { background: var(--night-950); }
body {
  margin: 0;
  background: var(--night-950);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.04); opacity: 1; } }

.page { display: flex; flex-direction: column; align-items: center; }
.display { font-family: var(--font-display); font-weight: 700; color: var(--sand-100); margin: 0; }
.h2 { font-size: 26px; line-height: 1.25; }
.muted { color: var(--sand-300); }
.soft { color: var(--sand-400); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- hero --- */
.hero {
  width: 100%; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 20%, var(--night-800), var(--night-950) 70%);
  display: flex; flex-direction: column; align-items: center;
  padding: 88px 24px 96px;
}
.star { position: absolute; border-radius: 50%; background: var(--sand-100); animation: twinkle 4.2s ease-in-out infinite; }
.hero-inner { max-width: 640px; text-align: center; display: flex; flex-direction: column; gap: 16px; position: relative; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.2; }
.hero .lead { font-size: 17px; line-height: 1.6; margin: 0; }
.hero .wl-count { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--accent, #f4b942); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* --- Design-rendszer: Button --- */
.btn {
  font-family: var(--font-display); font-weight: 700; border-radius: var(--radius-pill);
  border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; transition: transform 180ms ease, background 280ms ease;
  padding: 12px 22px; font-size: 1rem;
}
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-lg { padding: 16px 28px; font-size: 1.125rem; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-primary { background: var(--accent); color: var(--text-on-accent); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--accent-hover); color: var(--text-on-accent); }
.btn-secondary { background: var(--surface-card-raised); color: var(--text-primary); border: 1px solid var(--border-soft); }
.btn-secondary:hover { color: var(--text-primary); }
.btn-block { width: 100%; }

/* --- Design-rendszer: Card --- */
.card {
  background: var(--surface-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-card);
  padding: 24px; color: var(--text-primary);
}

/* --- szakaszok --- */
.section { width: 100%; padding: 72px 24px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.problem { max-width: 640px; }
.problem p { font-size: 15px; line-height: 1.7; margin: 0; }
.how { max-width: 760px; padding-top: 56px; gap: 32px; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; width: 100%; list-style: none; margin: 0; padding: 0; }
.step-wrap { display: flex; align-items: center; gap: 8px; }
.step { width: 180px; min-height: 190px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px; text-align: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--amber-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--amber-500);
}
.step-title { font-size: 15px; font-weight: 700; color: var(--sand-100); }
.step-body { font-size: 13px; color: var(--sand-300); line-height: 1.6; }
.arrow { font-size: 22px; color: var(--amber-500); flex-shrink: 0; }

.demo { background: var(--surface-card); padding: 64px 24px; gap: 32px; }
.demo-head { max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.demo-head p { font-size: 14px; line-height: 1.6; margin: 0; }
.demo-cards { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.circle-card { width: 280px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 18px; text-align: left; }
.member { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.member-name { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sand-100); }
.lamp { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-inset); }
.lamp.lit { background: var(--amber-500); box-shadow: var(--glow-accent); animation: breathe 4200ms var(--ease-breath) infinite; }
.sky-card { width: 240px; max-width: 100%; margin: 0; padding: 10px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sky-card svg { width: 100%; height: auto; aspect-ratio: 1; display: block; }
.sky-caption { font-size: 13px; color: var(--text-secondary); min-height: 1.4em; }
.sky-line { stroke: var(--amber-500); stroke-width: 1; opacity: .55; }
.sky-star { fill: var(--sand-400); opacity: .22; }
.sky-star.next { fill: none; stroke: var(--amber-500); stroke-width: 1; opacity: .8; }
.sky-star.lit { fill: var(--sand-100); opacity: 1; filter: drop-shadow(0 0 4px rgba(244, 185, 66, .8)); }
.zodiac-pick { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 620px; }
.zodiac-pick p { margin: 0; }
.zodiac-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.zodiac-chip { font: inherit; font-size: 13px; color: var(--text-secondary); background: var(--surface-inset); border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 6px 12px; cursor: pointer; }
.zodiac-chip:hover { border-color: var(--border-strong); color: var(--text-primary); }
.zodiac-chip[aria-pressed="true"] { border-color: var(--accent); color: var(--text-primary); background: var(--accent-soft); }
.zodiac-chip:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* --- űrlapok --- */
.pay { max-width: 520px; gap: 18px; }
.pay > p { font-size: 15px; line-height: 1.7; margin: 0; }
.follow { max-width: 480px; padding-top: 0; gap: 14px; }
.follow > p { font-size: 14px; line-height: 1.6; margin: 0; }
.signup { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; text-align: left; }
.signup[hidden] { display: none; }
.platforms { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.platforms legend { font-size: 12px; color: var(--sand-400); padding: 0; margin-bottom: 8px; }
.platform-row { display: flex; gap: 8px; }
.pill-radio { position: relative; }
.pill-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill-radio span {
  display: inline-flex; padding: 8px 16px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: .875rem;
  background: var(--surface-card-raised); color: var(--text-primary); border: 1px solid var(--border-soft);
}
.pill-radio input:checked + span { background: var(--accent); color: var(--text-on-accent); border-color: transparent; }
.pill-radio input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.email-row { display: flex; gap: 8px; }
.input {
  flex: 1; min-width: 0; background: var(--surface-inset); color: var(--text-primary);
  border: 1px solid var(--border-soft); border-radius: var(--radius-md);
  padding: 12px 16px; font-size: 1rem; font-family: var(--font-body);
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); outline: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.55; color: var(--sand-300); }
.consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--amber-500); flex-shrink: 0; }
.form-error { font-size: 13px; color: var(--caution); min-height: 1em; margin: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.badge-calm {
  display: inline-flex; padding: 4px 12px; border-radius: var(--radius-pill); font-size: .75rem;
  font-weight: 700; letter-spacing: .02em; background: rgba(143, 191, 138, 0.14); color: var(--success);
}
.done-text { font-size: 13px; color: var(--sand-300); }

.trust { background: var(--surface-card); padding: 32px 24px; }
.trust p { max-width: 520px; font-size: 13px; color: var(--sand-400); line-height: 1.6; margin: 0; }
.footer { padding: 24px; font-size: 12px; color: var(--sand-400); text-align: center; }

/* --- adatkezelési oldal --- */
.legal { width: 100%; max-width: 720px; padding: 56px 24px 72px; }
.legal h1 { font-size: 28px; margin-bottom: 24px; }
.legal p, .legal li { color: var(--sand-300); font-size: 15px; line-height: 1.7; }
.legal strong { color: var(--sand-100); }
.legal blockquote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--amber-500); background: var(--surface-card); border-radius: 8px; }
.draft-banner { background: rgba(224, 168, 96, 0.14); color: var(--caution); padding: 10px 16px; border-radius: 12px; font-size: 13px; margin-bottom: 24px; }

@media (max-width: 480px) {
  .email-row { flex-direction: column; }
  .arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .star, .lamp.lit { animation: none; }
  .btn { transition: none; }
}
