:root {
  --amber: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-soft: #fcd9a8;
  --ink: #100d0b;
  --ink-2: #18140f;
  --card: #1f1a14;
  --card-line: rgba(245, 158, 11, 0.16);
  --txt: #f5f0e8;
  --muted: #b9ad9c;
  --muted-2: #8a8175;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--txt); background: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
.amber { color: var(--amber); }
.muted { color: var(--muted); }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber-700)); z-index: 100; box-shadow: 0 0 12px rgba(245,158,11,.6); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; position: relative;
  transition: transform .12s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s; will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--amber-600); color: #1a1206; box-shadow: 0 0 30px -6px rgba(245,158,11,.7); }
.btn-primary:hover { background: var(--amber); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--txt); border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: transform .3s, background .3s; }
header.solid { background: rgba(16,13,11,.7); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(245,158,11,.1); }
header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--amber); color: #1a1206; font-weight: 800; }
.nav-cta .btn { padding: 9px 18px; font-size: .9rem; }

/* ============ ZÁVIT: jeden sticky „stage", po ktorom sa zavrtávaš ============ */
.track { position: relative; }                 /* výška určuje dĺžku scrollu */
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }

#spiral { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .9; }
#vortex { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

/* Scény — všetky na sebe v strede; JS ich vynára z hĺbky a posiela preč */
.scene { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 80px 22px; pointer-events: none; }
.scene-inner { width: 100%; max-width: 920px; text-align: center; will-change: transform, opacity; }
.scene.active { pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--amber-soft); background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); padding: 6px 13px; border-radius: 999px; }
.eyebrow .dotpulse { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .55 } 50% { opacity: 1 } }
.scene h2 { margin: 16px 0 0; }
.scene .sub { font-size: clamp(1rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 560px; margin: 14px auto 0; }
.scene .benefit { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--txt); max-width: 600px; margin: 16px auto 0; }
.scene .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.kmtag { display: inline-block; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber-soft); font-size: .8rem; letter-spacing: .08em; margin-bottom: 14px; opacity: .8; }

/* Hero */
.hero-title { margin-top: 8px; }
.hero-title .line2 { color: var(--amber); }
.scrollcue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4; font-size: .8rem; font-weight: 600; color: var(--amber-soft); display: inline-flex; gap: 8px; align-items: center; pointer-events: none; }
.scrollcue .chev { animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0) } 50% { transform: translateY(5px) } }

/* Karta (appka) v scénach */
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 18px; max-width: 420px; margin: 26px auto 0; text-align: left; box-shadow: 0 30px 80px -30px #000, 0 0 0 1px rgba(0,0,0,.3); }
.card-top { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.card-top .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.card-top .title { margin-left: 8px; font-weight: 700; font-size: .9rem; }
.card-top .live { margin-left: auto; font-size: .68rem; font-weight: 700; color: var(--amber-soft); background: rgba(245,158,11,.14); padding: 3px 9px; border-radius: 999px; }
.statline { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.stat { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 12px; }
.stat .n { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat.am .n { color: var(--amber); }
.stat .l { font-size: .76rem; color: var(--muted-2); }
.rows { margin-top: 12px; }
.ri { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .88rem; }
.ri:last-child { border-bottom: none; }
.pill { font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(245,158,11,.14); color: var(--amber-soft); }
.pill.warn { background: rgba(239,68,68,.16); color: #fca5a5; }

/* phone */
.phone { width: 230px; height: 460px; margin: 26px auto 0; border-radius: 30px; border: 8px solid #2a241c; background: var(--card); box-shadow: 0 40px 90px -30px #000; padding: 14px; }

/* CTA scéna */
.final-glow { filter: drop-shadow(0 0 40px rgba(245,158,11,.5)); }

/* Footer (normálny tok po track) */
footer { background: var(--ink-2); border-top: 1px solid rgba(245,158,11,.1); padding: 48px 22px; color: var(--muted-2); font-size: .9rem; }
.foot { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
svg { display: block; }

/* ============ MOBIL: žiadne ťažké zanáranie, len plynulé reveal ============ */
@media (max-width: 760px) {
  .card, .phone { margin-top: 18px; }
}

/* ============ Vypnuté animácie / bez JS → normálny čitateľný stack ============ */
.no-anim .track { height: auto !important; }
.no-anim .stage { position: static; height: auto; display: block; }
.no-anim #spiral, .no-anim #vortex, .no-anim .scrollcue { display: none; }
.no-anim .scene { position: relative; inset: auto; opacity: 1 !important; transform: none !important; filter: none !important; padding: 64px 22px; border-bottom: 1px solid rgba(245,158,11,.08); }
.no-anim .scene .scene-inner { transform: none !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  .eyebrow .dotpulse, .scrollcue .chev { animation: none; }
}
