/* ═══════════════════════════════════════════════════════════════════════════
   Roast My Fit — web
   Smer: „streetwear magazín" (rovnaký ako aplikácia)
   Čierna · krémová · acid lime · roast oranžová · Anton + Space Grotesk
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonty (self-hosted, žiadne volania na Google) ─────────────────────── */
@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  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: "Anton";
  src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  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: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; 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: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; 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: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; 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: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; 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: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; 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: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; 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; }

/* ── Tokeny ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #0b0b0d;
  --surface: #151518;
  --surface-hi: #1e1e23;
  --line: #2a2a31;
  --lime: #d7ff3a;
  --roast: #ff4d2e;
  --amber: #ffb23e;
  --lav: #9b8cff;
  --ink: #f4f1ea;
  --ink-2: rgba(244, 241, 234, 0.74);
  --ink-3: rgba(244, 241, 234, 0.56);
  --on-accent: #0b0b0d;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --wrap: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Základ ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Zrnitosť — jemná textúra ako tlačený magazín */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── Typografia ─────────────────────────────────────────────────────────── */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;          /* priestor pre Á Č Š Ž nad veľkými písmenami */
  letter-spacing: 0.012em;
  margin: 0;
}
.label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.lime { color: var(--lime); }
.roast { color: var(--roast); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34ch; }

/* ── Samolepka (podpisový prvok značky) ─────────────────────────────────── */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 15px; line-height: 1;
  padding: 9px 14px 8px;
  border-radius: 8px;
  background: var(--lime); color: var(--on-accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--rot, -5deg));
  white-space: nowrap;
}
.sticker--roast { background: var(--roast); color: var(--ink); }
.sticker--ink { background: var(--ink); color: var(--on-accent); }
.sticker--lav { background: var(--lav); color: var(--on-accent); }
.sticker svg { width: 16px; height: 16px; }

/* ── Tlačidlá ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border-radius: 16px; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; line-height: 1;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--lime); color: var(--on-accent); box-shadow: 0 0 0 0 rgba(215, 255, 58, 0); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(215, 255, 58, 0.55); }
  .btn--ghost:hover { background: var(--surface-hi); }
}
.btn small { font-family: var(--body); font-size: 11px; letter-spacing: 0.08em; font-weight: 700; opacity: 0.7; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }

/* ── Navigácia ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 11, 13, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--display); font-size: 24px; letter-spacing: 0.02em; text-decoration: none; text-transform: uppercase; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo span { color: var(--lime); }
.logo__mark { width: 30px; height: 30px; color: var(--lime); filter: drop-shadow(0 0 6px rgba(215,255,58,.55)); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: 15px; transition: color 160ms ease-out; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links .btn { min-height: 44px; font-size: 16px; padding: 0 18px; border-radius: 12px; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform 200ms var(--ease-out), opacity 150ms; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 24px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 180ms ease-out, transform 180ms var(--ease-out);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink); }
  .nav__links .btn { margin-top: 18px; min-height: 52px; }
}

/* ── Sekcie ─────────────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(46px, 7vw, 100px); }
.section-head p { max-width: 38ch; color: var(--ink-2); margin: 0; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.hero__glow--a { width: 620px; height: 620px; right: -180px; top: -160px; background: radial-gradient(closest-side, rgba(215, 255, 58, 0.14), transparent); }
.hero__glow--b { width: 700px; height: 700px; left: -260px; bottom: -320px; background: radial-gradient(closest-side, rgba(255, 77, 46, 0.14), transparent); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title { font-size: clamp(60px, 7.6vw, 124px); position: relative; }
/* padding-top nechá miesto pre mäkčene a dĺžne nad veľkými písmenami (Š, Č, Ú) */
.hero__title { line-height: 1.02; }
.hero__title .line { display: block; overflow: hidden; padding: 0.16em 0 0.02em; }
.hero__title .line > span { display: block; }
.hero__title .sticker { position: absolute; top: -6px; right: 4%; font-size: clamp(13px, 1.3vw, 17px); --rot: 7deg; z-index: 2; }
.hero__sub { margin: 28px 0 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--lime); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title .sticker { top: -34px; right: 0; }
  .hero { padding-top: 120px; }
}

/* Plávajúce samolepky okolo telefónu */
.float { position: absolute; z-index: 3; will-change: transform; }
.float--1 { top: 4%; right: -2%; }
@media (max-width: 520px) { .float--1 { right: 4px; } }

/* ── Ticker (bežiaci pás) ───────────────────────────────────────────────── */
.ticker { position: relative; padding: 40px 0; overflow: hidden; }
.ticker__band { display: flex; overflow: hidden; padding: 16px 0; transform: rotate(-2.5deg); width: 110%; margin-left: -5%; }
.ticker__band--lime { background: var(--lime); color: var(--on-accent); }
.ticker__band--roast { background: var(--roast); color: var(--ink); transform: rotate(2deg); margin-top: -22px; }
.ticker__track { display: flex; flex: none; gap: 0; animation: tick 28s linear infinite; }
.ticker__band--roast .ticker__track { animation-direction: reverse; animation-duration: 34s; }
.ticker__track span { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.6vw, 44px); line-height: 1; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.ticker__track span::after { content: "✦"; font-family: var(--body); font-size: 0.6em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── Demo „Roast ruleta" ────────────────────────────────────────────────── */
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  font-weight: 700; font-size: 15px; color: var(--ink);
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink-3); } }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--on-accent); }
.demo__note { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.verdict {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px); min-height: 360px; overflow: hidden;
}
.verdict__top { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.verdict__score { font-family: var(--display); font-size: clamp(96px, 13vw, 170px); line-height: 0.8; font-variant-numeric: tabular-nums; }
.verdict__of { font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); color: var(--ink-3); margin-bottom: 6px; }
.verdict .sticker { margin-left: auto; margin-bottom: 14px; font-size: clamp(14px, 1.6vw, 19px); }
.verdict__quote { font-size: clamp(19px, 2.1vw, 25px); line-height: 1.4; margin: 26px 0 22px; font-weight: 500; max-width: 30ch; }
.verdict__fix { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.verdict__fix b { color: var(--lime); font-weight: 700; }
.verdict__fix svg { width: 20px; height: 20px; color: var(--lime); flex: none; }
.verdict__content { transition: opacity 180ms ease-out, transform 180ms var(--ease-out); }
.verdict.is-swapping .verdict__content { opacity: 0; transform: translateY(8px); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* ── Kroky ──────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { border-top: 2px solid var(--ink); padding-top: 22px; }
.step__num { font-family: var(--display); font-size: clamp(72px, 9vw, 128px); line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); }
.step:hover .step__num { color: var(--lime); -webkit-text-stroke-color: var(--lime); transition: color 200ms ease-out; }
.step h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 2.6vw, 36px); font-weight: 400; margin: 18px 0 10px; line-height: 1.15; }
.step p { margin: 0; color: var(--ink-2); max-width: 30ch; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ── Bento funkcií ──────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); overflow: hidden; }
.tile h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; margin: 0 0 14px; }
.tile p { margin: 0; color: var(--ink-2); max-width: 36ch; }
.tile--a { grid-column: span 3; }
.tile--b { grid-column: span 3; }
.tile--c { grid-column: span 4; }
.tile--d { grid-column: span 2; background: var(--lime); color: var(--on-accent); border-color: var(--lime); }
.tile--d p { color: rgba(11, 11, 13, 0.78); }
@media (max-width: 900px) { .tile--a, .tile--b, .tile--c, .tile--d { grid-column: span 6; } }

.mini-products { display: flex; gap: 10px; margin-top: 26px; }
.mini-product { flex: 1; background: var(--surface-hi); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mini-product__img { aspect-ratio: 1; display: grid; place-items: center; background: #ecebe6; }
.mini-product__img svg { width: 62%; height: auto; }
.mini-product__meta { padding: 9px 10px 11px; }
.mini-product__meta small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
.mini-product__meta b { display: block; font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.mini-product__meta em { font-style: normal; font-weight: 700; font-size: 14px; display: block; margin-top: 6px; }

.roast-lines { margin-top: 24px; display: grid; gap: 10px; }
.roast-line { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-hi); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; font-size: 15px; }
.roast-line b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; min-width: 42px; }

.story-wrap { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.story { flex: none; width: 150px; aspect-ratio: 9 / 16; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 7px; transform: rotate(-6deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.story__logo { font-family: var(--display); font-size: 11px; text-transform: uppercase; }
.story__logo span { color: var(--lime); }
.story__photo { flex: 1; border-radius: 9px; background: radial-gradient(120% 90% at 30% 20%, #3a3346, #17151d 70%); position: relative; }
.story__photo .sticker { position: absolute; right: 6px; bottom: 6px; font-size: 18px; padding: 5px 7px 4px; background: var(--roast); color: var(--ink); --rot: -6deg; }
.story__txt { font-size: 7.5px; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 560px) { .story-wrap { flex-direction: column; align-items: flex-start; } }

.rules { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.rules li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.rules svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; min-height: 44px;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform 200ms var(--ease-out), background-color 200ms ease-out; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--on-accent); }
.faq details p { margin: 0 0 26px; color: var(--ink-2); max-width: 62ch; }

/* ── Záverečné CTA ──────────────────────────────────────────────────────── */
.final { text-align: center; overflow: hidden; }
.final h2 { font-size: clamp(76px, 16vw, 240px); line-height: 1.02; }
.final p { margin: 22px auto 36px; color: var(--ink-2); max-width: 40ch; }
.final .hero__ctas { justify-content: center; }
.final .sticker { position: absolute; }
.final .s1 { top: 18%; left: 8%; --rot: -10deg; }
.final .s2 { top: 26%; right: 7%; --rot: 8deg; }
@media (max-width: 700px) { .final .neon-tag { display: none; } }

/* ── Pätička ────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 44px 0 50px; font-size: 14px; color: var(--ink-3); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer a { text-decoration: none; color: var(--ink-2); padding: 12px 0; display: inline-block; }
.footer a:hover { color: var(--ink); }

/* ── Podstránky (privacy, support, 404) ─────────────────────────────────── */
.page { padding: 130px 0 90px; }
.page h1 { font-size: clamp(50px, 8vw, 108px); margin-bottom: 22px; }
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 54px 0 14px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--lime); text-underline-offset: 3px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose th { color: var(--ink); background: var(--surface); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; margin: 22px 0; }
.callout--lime { background: rgba(215, 255, 58, 0.07); border-color: rgba(215, 255, 58, 0.35); }

.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg); border: 1.5px solid var(--line); color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color 160ms ease-out;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--lime); }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-3); }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lime); flex: none; }
.form .consent label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; margin: 0; }
.form .consent a { color: var(--lime); }
.form-msg { border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.form-msg[hidden] { display: none; }
.form-msg--ok { background: rgba(215, 255, 58, 0.1); border: 1px solid rgba(215, 255, 58, 0.4); color: var(--lime); }
.form-msg--err { background: rgba(255, 77, 46, 0.1); border: 1px solid rgba(255, 77, 46, 0.4); color: #ff8a73; }
.hp { position: absolute; left: -9999px; }

/* ── Pohyb: počiatočné stavy (len keď beží JS a používateľ nechce menej pohybu) ── */
.motion [data-reveal] { opacity: 0; transform: translateY(36px); }
.motion .hero__title .line > span { transform: translateY(105%); }
.motion .hero__title .sticker, .motion .float, .motion .hero__sub, .motion .hero__ctas, .motion .hero__meta { opacity: 0; }
.motion .scan-photo, .motion .result-card { opacity: 0; }

.bob { animation: bob 5s ease-in-out infinite; }
.bob--slow { animation-duration: 6.5s; animation-delay: -2s; }
.bob--fast { animation-duration: 4.2s; animation-delay: -1s; }
@keyframes bob { 50% { translate: 0 -10px; } }
.scan { animation: scan 2.6s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(-52px); } to { transform: translateY(var(--scan-h, 300px)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .scan { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Svetelné efekty — neón, blikanie, AI sken
   ═══════════════════════════════════════════════════════════════════════════ */

/* Neónový text */
.neon {
  color: var(--lime);
  text-shadow: 0 0 6px rgba(215,255,58,.55), 0 0 22px rgba(215,255,58,.45), 0 0 60px rgba(215,255,58,.25);
}
/* Blikanie ako neónová reklama — len opacity */
.flicker { animation: flicker 6s infinite; }
.flicker--slow { animation-duration: 9s; animation-delay: 1.5s; }
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.35; }
}

/* Neónový štítok (nahrádza papierové nálepky) */
.neon-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; line-height: 1;
  padding: 9px 13px 8px; border-radius: 999px;
  color: var(--lime); border: 1.5px solid var(--lime);
  background: rgba(11,11,13,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 14px rgba(215,255,58,.45), inset 0 0 10px rgba(215,255,58,.18);
  text-shadow: 0 0 8px rgba(215,255,58,.6);
  white-space: nowrap;
}
.neon-tag--roast { color: var(--roast); border-color: var(--roast); box-shadow: 0 0 14px rgba(255,77,46,.5), inset 0 0 10px rgba(255,77,46,.2); text-shadow: 0 0 8px rgba(255,77,46,.6); }
.neon-tag--amber { color: var(--amber); border-color: var(--amber); box-shadow: 0 0 14px rgba(255,178,62,.45), inset 0 0 10px rgba(255,178,62,.18); text-shadow: 0 0 8px rgba(255,178,62,.6); }

/* Hlavné CTA — pulzujúca žiara (animuje sa len opacity pseudo-prvku) */
.btn--primary { position: relative; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 28px 4px rgba(215,255,58,.55);
  opacity: 0; animation: glowPulse 2.4s ease-in-out infinite;
}
@keyframes glowPulse { 50% { opacity: 1; } }

/* AI sken outfitu (hero) */
.scan-stage { position: relative; padding: 20px 0 60px; }
.scan-photo {
  position: relative; margin: 0 auto; width: min(460px, 88vw); aspect-ratio: 3 / 4;
  border-radius: 26px; overflow: hidden; background: #1a1a1f;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(215,255,58,.25), 0 0 90px -20px rgba(215,255,58,.35);
}
.scan-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.scan-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,11,13,.25), transparent 30%, transparent 70%, rgba(11,11,13,.55)); pointer-events: none; }
.scan-line {
  position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: 2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(215,255,58,0), rgba(215,255,58,.22) 85%, var(--lime));
  box-shadow: 0 6px 24px rgba(215,255,58,.6);
}
.hud { position: absolute; width: 26px; height: 26px; z-index: 3; border: 2px solid var(--lime); filter: drop-shadow(0 0 6px rgba(215,255,58,.8)); }
.hud--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hud--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hud--bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hud--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.scan-tag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; color: var(--ink);
  background: rgba(11,11,13,.62); border: 1px solid rgba(215,255,58,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.scan-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: blink 1.4s ease-in-out infinite; }
.scan-tag:nth-of-type(2) i { animation-delay: .4s; }
.scan-tag:nth-of-type(3) i { animation-delay: .8s; }
@keyframes blink { 50% { opacity: .25; } }
.scan-status {
  position: absolute; left: 18px; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--roast); box-shadow: 0 0 10px var(--roast); animation: blink 1s steps(1) infinite; }

.result-card {
  position: absolute; z-index: 4; right: -4%; bottom: 0; width: min(290px, 74vw);
  background: rgba(21,21,24,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 14px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
}
.result-card__top { display: flex; align-items: flex-end; gap: 6px; }
.result-card__top b { font-family: var(--display); font-weight: 400; font-size: 58px; line-height: .82; color: var(--amber); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(255,178,62,.45); }
.result-card__top i { font-style: normal; font-family: var(--display); color: var(--ink-3); font-size: 22px; }
.result-card__top .neon-tag { margin-left: auto; margin-bottom: 4px; font-size: 12px; padding: 7px 10px 6px; }
.result-card p { font-size: 13.5px; line-height: 1.45; margin: 12px 0; color: var(--ink); }
.result-card__fix { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.result-card__fix img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: #ecebe6; }
.result-card__fix small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.result-card__fix b { font-size: 14px; }
.p-bar { height: 6px; border-radius: 4px; background: var(--line); margin-top: 12px; overflow: hidden; }
.p-bar span { display: block; height: 100%; width: 65%; background: var(--amber); transform-origin: left; box-shadow: 0 0 12px rgba(255,178,62,.7); }
@media (max-width: 960px) { .result-card { right: 0; } }
@media (max-width: 520px) { .result-card { position: relative; right: auto; margin: -70px auto 0; } .scan-stage { padding-bottom: 20px; } }

/* Svietiaci rotujúci rám (demo verdikt) */
.glow-frame { isolation: isolate; border-color: transparent; }
.glow-frame::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 160%; aspect-ratio: 1; z-index: -2;
  translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(215,255,58,.9) 78%, rgba(255,77,46,.9) 88%, transparent 100%);
  animation: spin 7s linear infinite;
}
.glow-frame::after { content: ""; position: absolute; inset: 1.5px; border-radius: calc(var(--r-lg) - 1.5px); background: var(--surface); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Svetlo za kurzorom */
.spotlight {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 1; pointer-events: none;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(215,255,58,.10), transparent 70%);
  opacity: 0; transition: opacity 300ms ease-out;
}
@media (hover: hover) and (pointer: fine) { .spotlight.is-on { opacity: 1; } }
main, .footer { position: relative; z-index: 2; }

/* Čísla krokov svietia, keď prídu do záberu */
.step.is-lit .step__num { color: var(--lime); -webkit-text-stroke-color: var(--lime); text-shadow: 0 0 30px rgba(215,255,58,.45); transition: color 500ms ease-out, text-shadow 500ms ease-out; }

/* Produktové fotky */
.mini-product__img img { width: 100%; height: 100%; object-fit: cover; }
.story__photo { overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }

/* Finále s fotkou v pozadí */
.final__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(.25) contrast(1.05); }
.final__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(11,11,13,.35), var(--bg) 85%), linear-gradient(to bottom, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.final { isolation: isolate; }
.final .neon-tag { position: absolute; font-size: 17px; }

/* ── Lišta o súkromí + toast ────────────────────────────────────────────── */
.privacy-bar, .toast {
  position: fixed; z-index: 90; left: 50%; bottom: 18px; translate: -50% 0;
  width: min(100% - 24px, 640px);
  background: rgba(21,21,24,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.7), 0 0 30px -10px rgba(215,255,58,.35);
  opacity: 0; transform: translateY(16px);
  transition: opacity 240ms ease-out, transform 240ms var(--ease-out);
}
.privacy-bar { display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 20px; }
.privacy-bar p { margin: 0; font-size: 14px; color: var(--ink-2); flex: 1; }
.privacy-bar strong { color: var(--ink); }
.privacy-bar a { color: var(--lime); }
.privacy-bar .btn { min-height: 44px; font-size: 15px; padding: 0 16px; border-radius: 12px; flex: none; }
.privacy-bar .btn::after { display: none; }
.toast { top: 88px; bottom: auto; padding: 14px 18px; font-weight: 600; text-align: center; border-color: rgba(215,255,58,.5); }
.privacy-bar.is-in, .toast.is-in { opacity: 1; transform: none; }
@media (max-width: 520px) { .privacy-bar { flex-direction: column; align-items: stretch; text-align: left; } }

/* ── Ukážky roastov — kolotoč ───────────────────────────────────────────── */
.demo { align-items: center; }
.demo__title { font-size: clamp(50px, 7vw, 96px); margin-top: 12px; }
.chip[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--on-accent); box-shadow: 0 0 22px -4px rgba(215,255,58,.6); }
.demo__progress { height: 3px; background: var(--line); border-radius: 3px; margin-top: 20px; overflow: hidden; max-width: 420px; }
.demo__progress span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px var(--lime); }
.roast-stage { perspective: 1400px; }
.roast-card { position: relative; border-radius: var(--r-lg); padding: 14px; overflow: hidden; }
.roast-card__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: center; transform-style: preserve-3d; will-change: transform; }
.roast-card__photo { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--surface-hi); }
.roast-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.roast-card__photo .scan-line { opacity: 0; }
.roast-card__photo .hud { width: 20px; height: 20px; }
.roast-card__photo .scan-status { bottom: 14px; left: 14px; font-size: 10px; }
.roast-card__body { padding: 10px 14px 10px 0; }
.roast-card .verdict__score { font-size: clamp(84px, 9vw, 132px); line-height: .9; display: inline-block; }
.roast-card .verdict__top { margin-bottom: 14px; }
.roast-card .neon-tag { font-size: 15px; }
.roast-card .verdict__quote { font-size: clamp(17px, 1.6vw, 21px); margin: 20px 0 18px; }
@media (max-width: 640px) {
  .roast-card__inner { grid-template-columns: 1fr; }
  .roast-card__photo { aspect-ratio: 4 / 5; }
  .roast-card__photo img { object-position: center 70%; }
  .roast-card__body { padding: 0 6px 6px; }
}

/* Logo v pätičke */
.footer__logo { font-size: 24px; color: var(--ink); padding: 0 !important; }
.footer__logo .logo__mark { width: 28px; height: 28px; }
.footer__copy { margin-top: 8px; }
