/* =========================================================
   VERBO Assistant — landing page
   Paleta: noć #12141C + skoro bela #F5F7FA + istaknuta (gradijent tirkiz → ljubičasta)
   ========================================================= */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bolditalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  /* osnovne boje */
  --night: #12141c;
  --night-2: #181b25;
  --night-3: #1f2330;
  --white: #f5f7fa;
  --muted: #aab0bf;
  --line: rgba(245, 247, 250, 0.08);
  --line-2: rgba(245, 247, 250, 0.14);

  /* istaknuta boja (~10%) */
  --teal: #7cd0c2;
  --violet: #a78bfa;
  --grad: linear-gradient(100deg, #7cd0c2 0%, #8fb0ee 50%, #a78bfa 100%);

  /* boje likova — žive samo na samim uređajima */
  --lila: #b49be8;
  --mig: #88d8c6;
  --oki: #d7ac7e;
  --eye: #c9f6ff;

  --radius: 22px;
  --radius-lg: 32px;
  --wrap: 1160px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(124, 208, 194, 0.35); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

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

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- tipografija ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; font-style: italic;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 14px;
}
.kicker__num { color: var(--muted); font-style: normal; font-weight: 500; letter-spacing: 0.04em; }
.kicker__txt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 58ch; margin: 18px 0 0; }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- dugmad ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 0; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--grad); color: #0f1222; box-shadow: 0 10px 30px -10px rgba(143, 176, 238, 0.65); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(143, 176, 238, 0.8); }
.btn--primary:active { transform: translateY(0) scale(0.98); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(245, 247, 250, 0.35); transform: translateY(-2px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 0.92rem; }

/* ---------- dekoracije (tačkasta mreža + meki krugovi) ---------- */
.dots {
  position: absolute; pointer-events: none; z-index: 0;
  width: 320px; height: 320px;
  background-image: radial-gradient(rgba(245, 247, 250, 0.22) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
  opacity: 0.55;
}
.dots--tl { top: 0; left: 0; -webkit-mask-image: radial-gradient(circle at 0 0, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 0 0, #000 0%, transparent 70%); }
.dots--tr { top: 0; right: 0; -webkit-mask-image: radial-gradient(circle at 100% 0, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 100% 0, #000 0%, transparent 70%); }
.dots--bl { bottom: 0; left: 0; -webkit-mask-image: radial-gradient(circle at 0 100%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 0 100%, #000 0%, transparent 70%); }
.dots--br { bottom: 0; right: 0; -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%); mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%); }

.blob {
  position: absolute; pointer-events: none; z-index: 0; border-radius: 50%;
  filter: blur(70px); opacity: 0.32; will-change: transform;
}
.blob--teal { background: var(--teal); }
.blob--violet { background: var(--violet); }

/* ---------- progres skrola ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- navigacija ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled { background: rgba(18, 20, 28, 0.78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; line-height: 1; }
.logo__word { font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; }
.logo__sub { font-weight: 700; font-style: italic; font-size: 0.95rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 2px; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.nav__links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--white); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); padding: 3px; }
.lang button { border: 0; background: transparent; cursor: pointer; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: background-color 0.2s, color 0.2s; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--night); }
@media (max-width: 900px) { .nav__links { display: none; } }
@media (max-width: 420px) { .nav .btn--sm { padding: 0 14px; } .logo__sub { display: none; } }

/* =========================================================
   VERBO UREĐAJ (crtan u kodu; sve dimenzije u em = 1% širine)
   ========================================================= */
.verbo {
  --w: 260px;
  --c: var(--lila);
  --c-hi: color-mix(in srgb, var(--c), #fff 22%);
  --c-lo: color-mix(in srgb, var(--c), #000 22%);
  --c-side: color-mix(in srgb, var(--c), #000 40%);
  position: relative;
  width: var(--w);
  font-size: calc(var(--w) / 100);
  aspect-ratio: 1.32;
  isolation: isolate;
  transition: filter 0.9s var(--ease), transform 0.6s var(--ease);
}
.verbo[data-color="mig"] { --c: var(--mig); }
.verbo[data-color="oki"] { --c: var(--oki); }

/* bočna debljina (3D) */
.verbo__side {
  position: absolute; inset: 0; z-index: -1;
  border-radius: 14em / 18em;
  background: linear-gradient(160deg, var(--c-lo), var(--c-side));
  transform: translate(2.6em, 3.2em);
  box-shadow: 0 4em 7em -2em rgba(0, 0, 0, 0.65);
}
.verbo__port { position: absolute; right: -0.4em; top: 57%; width: 1.6em; height: 7.5em; border-radius: 1em; background: #2b2d33; box-shadow: inset 0 0 0 0.35em #45484f; transform: translate(2.6em, 3.2em); z-index: -1; }

.verbo__body {
  position: absolute; inset: 0;
  border-radius: 14em / 18em;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(255, 255, 255, 0.28) 0%, transparent 45%),
    linear-gradient(150deg, var(--c-hi) 0%, var(--c) 42%, var(--c-lo) 100%);
  box-shadow:
    inset 0 0.5em 0.6em rgba(255, 255, 255, 0.35),
    inset 0 -1.2em 2em rgba(0, 0, 0, 0.16),
    inset -1em 0 2em rgba(0, 0, 0, 0.08);
}
/* blaga tekstura plastike */
.verbo__body::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0.1; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 0.25em, transparent 0.3em);
  background-size: 2.2em 2.2em;
}
.verbo__led { position: absolute; left: 8.5em; top: 8.5em; width: 1.7em; height: 1.7em; border-radius: 50%; background: #1d1f25; box-shadow: inset 0 0.2em 0.3em rgba(0, 0, 0, 0.6), 0 0.15em 0 rgba(255, 255, 255, 0.35); }

.verbo__screen {
  position: absolute; left: 19em; right: 19em; top: 8.5em;
  aspect-ratio: 143 / 120;
  border-radius: 5em;
  background: #07080c;
  box-shadow:
    0 0 0 1.4em #15171d,
    0 0 0 1.8em color-mix(in srgb, var(--c), #000 30%),
    0 0.6em 0.8em 1.8em rgba(0, 0, 0, 0.12),
    inset 0 0 3em rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.verbo__screen::after { /* odsjaj stakla */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 38%);
}
.verbo__eyes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: opacity 0.6s var(--ease); }
.verbo__eyes g.m { opacity: 0; transform: scale(0.85); transform-origin: 60px 50px; transition: opacity 0.28s var(--ease), transform 0.4s var(--spring); }
.verbo__eyes .eye-glow { filter: drop-shadow(0 0 3px rgba(150, 230, 255, 0.9)) drop-shadow(0 0 9px rgba(120, 210, 255, 0.5)); }
.verbo__eyes .lid { transform-box: fill-box; transform-origin: center; transition: transform 0.09s ease-in; }
.verbo.is-blink .lid { transform: scaleY(0.08); }
.verbo__eyes .pupil { transition: transform 0.35s var(--ease); transform: translate(var(--px, 0px), var(--py, 0px)); }

.verbo[data-mood="happy"] g.m-happy,
.verbo[data-mood="wink"] g.m-wink,
.verbo[data-mood="round"] g.m-round,
.verbo[data-mood="sad"] g.m-sad,
.verbo[data-mood="sleep"] g.m-sleep,
.verbo[data-mood="listen"] g.m-listen,
.verbo[data-mood="star"] g.m-star { opacity: 1; transform: scale(1); }

.verbo[data-power="off"] { filter: saturate(0.25) brightness(0.62); }
.verbo[data-power="off"] .verbo__eyes { opacity: 0.12; }

/* dugmići kao na flajeru: ∧ ∨ levo, OK B desno */
.vbtn {
  position: absolute; width: 9.5em; height: 9.5em; border-radius: 2.4em;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #50535c, #2c2e35);
  box-shadow: 0 0.9em 0 #1a1b20, 0 1.2em 1.4em rgba(0, 0, 0, 0.35), inset 0 0.25em 0.2em rgba(255, 255, 255, 0.18);
  color: #e2e5ec; line-height: 1;
}
.vbtn span { font-size: 4.4em; font-weight: 500; }
.vbtn--ok span { font-size: 3.1em; }
.vbtn--up   { left: 4.8em;  top: 50em; }
.vbtn--down { left: 15em;   top: 62.5em; }
.vbtn--ok   { right: 4.8em; top: 50em; }
.vbtn--b    { right: 15em;  top: 62.5em; }

.verbo__brand {
  position: absolute; left: 0; right: 0; bottom: calc(6.2em / 5.6); text-align: center;
  font-size: 5.6em; font-weight: 700; letter-spacing: 0.22em; padding-left: 0.22em; line-height: 1;
  color: color-mix(in srgb, var(--c), #000 18%);
  text-shadow: 0 0.04em 0 rgba(255, 255, 255, 0.45), 0 -0.03em 0 rgba(0, 0, 0, 0.18);
}

/* "život": lebdenje i treptanje */
.float { animation: float 6s ease-in-out infinite; }
.float--b { animation-duration: 7s; animation-delay: -2s; }
.float--c { animation-duration: 6.6s; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--rot, 0deg) + 0.6deg)); } }

.verbo.is-bounce { animation: bounce 0.7s var(--spring); }
@keyframes bounce { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(-14px) scale(1.04, 0.97); } 60% { transform: translateY(0) scale(0.98, 1.02); } 100% { transform: translateY(0) scale(1); } }

/* talasi slušanja */
.waves { position: absolute; inset: -20%; pointer-events: none; z-index: -2; display: grid; place-items: center; }
.waves span {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--night), var(--night)) padding-box, var(--grad) border-box;
  -webkit-mask: radial-gradient(circle, transparent 69%, #000 70%); mask: radial-gradient(circle, transparent 69%, #000 70%);
  opacity: 0; animation: ripple 3s var(--ease) infinite;
}
.waves span:nth-child(2) { animation-delay: 1s; }
.waves span:nth-child(3) { animation-delay: 2s; }
@keyframes ripple { 0% { transform: scale(0.75); opacity: 0; } 15% { opacity: 0.8; } 100% { transform: scale(1.45); opacity: 0; } }
.waves[hidden] { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 30px) 0 80px; overflow: hidden; }
.hero .blob--teal { width: 420px; height: 420px; left: 48%; top: 22%; }
.hero .blob--violet { width: 460px; height: 460px; right: -6%; top: 40%; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero__eyebrow { color: var(--muted); font-size: 1rem; margin: 0 0 16px; }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 5.6rem); font-weight: 700; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 .grad-text { font-style: italic; display: inline-block; padding-right: 0.08em; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 46ch; margin: 22px 0 34px; }
.hero__text strong { color: var(--white); font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-size: 0.9rem; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

.hero__stage { position: relative; height: clamp(360px, 44vw, 540px); }
.hero__stage .verbo { position: absolute; }
.hero__stage .v-lila { --w: clamp(230px, 26vw, 340px); left: 50%; top: 4%; margin-left: calc(var(--w) / -2); --rot: 0deg; z-index: 1; }
.hero__stage .v-mig  { --w: clamp(185px, 20vw, 265px); left: 0; bottom: 8%; --rot: -7deg; z-index: 2; }
.hero__stage .v-oki  { --w: clamp(185px, 20vw, 265px); right: 0; bottom: 4%; --rot: 6deg; z-index: 2; }
.hero__stage .verbo { transform: rotate(var(--rot)); }

.hero__intro > * { opacity: 0; transform: translateY(24px); animation: rise 0.9s var(--ease) forwards; }
.hero__intro > *:nth-child(2) { animation-delay: 0.08s; }
.hero__intro > *:nth-child(3) { animation-delay: 0.16s; }
.hero__intro > *:nth-child(4) { animation-delay: 0.24s; }
.hero__intro > *:nth-child(5) { animation-delay: 0.32s; }
.hero__stage .float { opacity: 0; animation: pop 1s var(--spring) forwards, float 6s ease-in-out 1s infinite; }
.hero__stage .float--b { animation-delay: 0.15s, 1.15s; animation-duration: 1s, 7s; }
.hero__stage .float--c { animation-delay: 0.3s, 1.3s; animation-duration: 1s, 6.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(40px) scale(0.9) rotate(var(--rot, 0deg)); } 100% { opacity: 1; transform: translateY(0) scale(1) rotate(var(--rot, 0deg)); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.scroll-cue i { width: 22px; height: 36px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 24px); }
  .hero__inner { grid-template-columns: 1fr; gap: 8px; }
  .hero__stage { order: -1; height: min(88vw, 380px); }
  .hero__stage .v-lila { --w: min(50vw, 250px); }
  .hero__stage .v-mig, .hero__stage .v-oki { --w: min(39vw, 195px); }
  .scroll-cue { display: none; }
}

/* =========================================================
   01 — PRIČA (scrollytelling)
   ========================================================= */
.story { --lit: 0; }
.story .blob--teal { width: 380px; height: 380px; left: -120px; top: 30%; opacity: calc(0.08 + var(--lit) * 0.26); transition: opacity 1s; }
.story .blob--violet { width: 420px; height: 420px; right: -160px; top: 60%; opacity: calc(0.06 + var(--lit) * 0.24); transition: opacity 1s; }
.story__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.story__stage { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); display: grid; place-items: end center; padding-bottom: 9vh; }
.story__device { position: relative; }
.story__device .verbo { --w: clamp(240px, 30vw, 400px); }
.story__glow { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 208, 194, 0.35), rgba(167, 139, 250, 0.18) 45%, transparent 70%); opacity: var(--lit); transition: opacity 1s var(--ease); z-index: -3; }
.story__bubble {
  position: absolute; left: 50%; top: -8%; transform: translate(-50%, 10px); white-space: nowrap;
  background: var(--white); color: var(--night); font-weight: 700; font-size: 0.95rem; padding: 8px 16px; border-radius: 16px 16px 16px 4px;
  opacity: 0; transition: opacity 0.4s var(--ease), transform 0.5s var(--spring);
}
.story__bubble.is-on { opacity: 1; transform: translate(-50%, 0); }
.stars-burst { position: absolute; inset: 0; pointer-events: none; }
.stars-burst svg { position: absolute; width: 26px; height: 26px; opacity: 0; color: var(--teal); }
.story[data-step="4"] .stars-burst svg { animation: burst 1.6s var(--ease) infinite; }
.stars-burst svg:nth-child(1) { left: -6%; top: 10%; animation-delay: 0s !important; }
.stars-burst svg:nth-child(2) { right: -8%; top: 4%; color: var(--violet); animation-delay: 0.4s !important; }
.stars-burst svg:nth-child(3) { right: 2%; bottom: -6%; animation-delay: 0.8s !important; }
@keyframes burst { 0% { opacity: 0; transform: scale(0.4) rotate(0); } 30% { opacity: 1; transform: scale(1.1) rotate(20deg); } 100% { opacity: 0; transform: scale(0.8) translateY(-24px) rotate(40deg); } }

.story__steps { padding: 2vh 0 6vh; }
.step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; }
.step:last-child { min-height: 44vh; }
.step__label { font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; margin: 0 0 14px; }
.step h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.12; margin-bottom: 12px; }
.step p { margin: 0 0 8px; color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.step p strong { color: var(--white); font-weight: 500; }
.step__quote { font-size: 1.2rem !important; color: var(--white) !important; font-style: italic; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__stage { order: 2; top: auto; bottom: 0; height: 38vh; z-index: 2; place-items: center; padding: 26px 0 10px; margin: 0 -20px; background: linear-gradient(to top, var(--night) 80%, rgba(18, 20, 28, 0)); }
  .story__device .verbo { --w: min(52vw, 240px); }
  .story__bubble { font-size: 0.82rem; top: -18%; }
  .story__steps { padding: 0 0 8vh; }
  .step { min-height: 44vh; justify-content: flex-start; padding-top: 4vh; }
}

/* Kako radi — 3 koraka */
.how { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 80px); counter-reset: how; }
.how__item { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); }
.how__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(245, 247, 250, 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.how__icon svg { width: 26px; height: 26px; color: var(--teal); }
.how__item:nth-child(2) .how__icon svg { color: #8fb0ee; }
.how__item:nth-child(3) .how__icon svg { color: var(--violet); }
.how__item::before { counter-increment: how; content: "0" counter(how); position: absolute; right: 24px; top: 24px; font-weight: 700; font-size: 0.85rem; color: rgba(245, 247, 250, 0.25); }
.how__item h3 { margin-bottom: 8px; }
.how__item p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.how__title { position: relative; z-index: 1; margin-top: clamp(30px, 5vw, 60px); font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* =========================================================
   02 — VALIDACIJA
   ========================================================= */
.proof { background: linear-gradient(180deg, var(--night) 0%, #151824 50%, var(--night) 100%); overflow: hidden; }
.proof__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.card { position: relative; border-radius: var(--radius-lg); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); padding: 34px 32px; overflow: hidden; }
.card--feature { background: radial-gradient(130% 120% at 0% 0%, rgba(124, 208, 194, 0.14), transparent 55%), radial-gradient(120% 120% at 100% 100%, rgba(167, 139, 250, 0.14), transparent 55%), var(--night-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(245, 247, 250, 0.05); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 26px; }
.card__icon svg { width: 28px; height: 28px; color: var(--teal); }
.card__big { display: block; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 10px; }
.card__mid { display: block; font-size: 1.7rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card__tag { display: inline-block; margin-top: 18px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 980px) { .proof__grid { grid-template-columns: 1fr 1fr; } .card--feature { grid-column: 1 / -1; } }
@media (max-width: 620px) { .proof__grid { grid-template-columns: 1fr; } }

.team { position: relative; z-index: 1; margin-top: clamp(60px, 9vw, 110px); }
.team__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.team__head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.team__head p { margin: 0; color: var(--muted); max-width: 44ch; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.member { padding: 22px; border-radius: var(--radius); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; gap: 14px; align-items: center; }
.member__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1rem; color: #0f1222; background: var(--grad); overflow: hidden; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-weight: 700; line-height: 1.25; }
.member__role { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
@media (max-width: 980px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team__grid { grid-template-columns: 1fr; } }

/* =========================================================
   03 — PROBLEM / VERBO / IGRA + LIKOVI
   ========================================================= */
.meet { overflow: hidden; }
.duo { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.panel { position: relative; border-radius: var(--radius-lg); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); padding: 30px; overflow: hidden; display: flex; flex-direction: column; }
.panel__visual { position: relative; height: 250px; display: grid; place-items: center; margin-bottom: 26px; border-radius: var(--radius); background: rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.panel__label { font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin: 0 0 8px; }
.panel__label--muted { color: var(--muted); }
.panel h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.panel p { margin: 0; color: var(--muted); }
.duo__arrow { align-self: center; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.duo__arrow svg { width: 22px; height: 22px; color: var(--teal); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo__arrow { justify-self: center; transform: rotate(90deg); } }

/* problem: govorni balon */
.speech { position: relative; background: var(--white); color: var(--night); border-radius: 26px 26px 26px 6px; padding: 18px 26px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.01em; transform: rotate(-3deg); }
.speech__miss { position: relative; color: #8b90a0; }
.speech__miss::after { content: ""; position: absolute; left: -8%; right: -8%; top: 52%; height: 3px; background: #8b90a0; transform: rotate(-12deg); border-radius: 2px; }
.speech__letter { position: relative; display: inline-block; }
.speech__fix { position: absolute; left: 50%; bottom: calc(100% + 14px); font-style: italic; font-size: 1.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 0.08em; transform: translate(-50%, 8px) scale(0.6); opacity: 0; transition: opacity 0.6s var(--ease), transform 0.7s var(--spring); transition-delay: 0.7s; }
.panel.is-in .speech__fix { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* rešenje */
.panel__visual .verbo { --w: 190px; }
.reply { position: absolute; right: 12%; top: 14%; background: var(--white); color: var(--night); font-weight: 700; padding: 6px 14px; border-radius: 14px 14px 4px 14px; font-size: 1rem; display: inline-flex; gap: 6px; align-items: center; transform: scale(0.6); opacity: 0; transition: transform 0.6s var(--spring), opacity 0.4s; transition-delay: 0.8s; }
.reply svg { width: 16px; height: 16px; color: #2fa898; }
.panel.is-in .reply { transform: scale(1); opacity: 1; }

/* igra */
.game { position: relative; z-index: 1; margin-top: 18px; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 60px); background: radial-gradient(90% 120% at 0% 100%, rgba(124, 208, 194, 0.12), transparent 60%), var(--night-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.game__device { display: grid; place-items: center; padding: 20px 0 30px; }
.game__device .verbo { --w: min(520px, 78vw); }
.game__device .verbo__screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; }
.game__copy p { color: var(--muted); }
.game__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.game__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.game__list svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--teal); }
.game__note { margin-top: 18px; font-size: 0.82rem; color: rgba(170, 176, 191, 0.75); }
@media (max-width: 900px) { .game { grid-template-columns: 1fr; } }

/* likovi */
.cast { position: relative; z-index: 1; margin-top: clamp(70px, 10vw, 130px); }
.cast__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.char {
  position: relative; border: 0; text-align: left; cursor: pointer; width: 100%;
  border-radius: var(--radius-lg); padding: 34px 28px 28px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.char:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -30px rgba(0, 0, 0, 0.8); }
.char__stage { position: relative; height: 210px; display: grid; place-items: center; margin-bottom: 18px; }
.char__stage::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--halo); filter: blur(40px); opacity: 0.28; }
.char[data-color="lila"] { --halo: var(--lila); }
.char[data-color="mig"] { --halo: var(--mig); }
.char[data-color="oki"] { --halo: var(--oki); }
.char .verbo { --w: 210px; }
.char__name { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.char__trait { display: block; font-weight: 700; font-style: italic; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.char__desc { color: var(--muted); font-size: 0.98rem; margin: 0; }
.char__hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.8rem; color: rgba(170, 176, 191, 0.8); }
.char__hint svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .cast__grid { grid-template-columns: 1fr; } .char { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; padding: 20px; } .char__stage { height: 100px; margin: 0; } .char .verbo { --w: 116px; } .char__trait { margin: 2px 0 6px; } .char__name { font-size: 1.5rem; } }

/* =========================================================
   04 — FORMA
   ========================================================= */
.join { overflow: hidden; }
.join .blob--teal { width: 420px; height: 420px; left: -140px; bottom: 10%; }
.join .blob--violet { width: 420px; height: 420px; right: -120px; top: 10%; }
.join__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.join__copy h2 { text-transform: uppercase; font-style: italic; }
.join__copy .lead { color: var(--muted); }
.join__trio { position: relative; height: 230px; margin-top: 36px; }
.join__trio .verbo { position: absolute; --w: 150px; }
.join__trio .v-mig { left: 0; bottom: 0; --rot: -6deg; }
.join__trio .v-lila { left: 32%; top: 0; --w: 170px; }
.join__trio .v-oki { left: 66%; bottom: 6px; --rot: 6deg; }
.join__trio .verbo { transform: rotate(var(--rot, 0deg)); }

.form-card { position: relative; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); background: rgba(24, 27, 37, 0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.form-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(124, 208, 194, 0.6), transparent 35%, transparent 65%, rgba(167, 139, 250, 0.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form__title { font-size: 1.35rem; margin-bottom: 4px; }
.form__sub { margin: 0 0 24px; color: var(--muted); font-size: 0.95rem; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend, .label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 10px; padding: 0; }
.roles { display: grid; gap: 10px; }
.role { position: relative; display: block; cursor: pointer; }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role__box { display: grid; grid-template-columns: 46px 1fr 22px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgba(245, 247, 250, 0.03); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.25s, background-color 0.25s, transform 0.25s var(--ease); }
.role:hover .role__box { background: rgba(245, 247, 250, 0.05); }
.role__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(245, 247, 250, 0.05); }
.role__icon svg { width: 24px; height: 24px; color: var(--white); transition: color 0.25s; }
.role__title { display: block; font-weight: 700; line-height: 1.3; }
.role__desc { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.role__check { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; transition: background 0.25s, box-shadow 0.25s; }
.role__check svg { width: 14px; height: 14px; color: #0f1222; opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.3s var(--spring); }
.role input:checked + .role__box { background: rgba(143, 176, 238, 0.08); box-shadow: inset 0 0 0 1.5px #8fb0ee; }
.role input:checked + .role__box .role__icon svg { color: var(--teal); }
.role input:checked + .role__box .role__check { background: var(--grad); box-shadow: none; }
.role input:checked + .role__box .role__check svg { opacity: 1; transform: scale(1); }
.role input:focus-visible + .role__box { outline: 2px solid var(--teal); outline-offset: 2px; }

.field { position: relative; }
.field input[type="email"] { width: 100%; height: 56px; padding: 0 18px 0 50px; border-radius: 16px; border: 0; background: rgba(245, 247, 250, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 1rem; transition: box-shadow 0.25s, background-color 0.25s; }
.field input[type="email"]::placeholder { color: rgba(170, 176, 191, 0.6); }
.field input[type="email"]:focus { outline: none; background: rgba(245, 247, 250, 0.06); box-shadow: inset 0 0 0 1.5px #8fb0ee; }
.field > svg { position: absolute; left: 17px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.field.has-error input[type="email"] { box-shadow: inset 0 0 0 1.5px #f0a3a3; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 20px 0 24px; font-size: 0.88rem; color: var(--muted); cursor: pointer; line-height: 1.5; }
.consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: rgba(245, 247, 250, 0.03); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.consent input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #0f1222; border-bottom: 2.5px solid #0f1222; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform 0.25s var(--spring); }
.consent input:checked { background: var(--grad); box-shadow: none; }
.consent input:checked::after { transform: rotate(-45deg) scale(1); }
.consent a { color: var(--white); }
.consent.has-error input { box-shadow: inset 0 0 0 1.5px #f0a3a3; }

.error { display: none; margin: 8px 0 0; font-size: 0.85rem; color: #f0a3a3; }
.has-error > .error, fieldset.has-error .error, .consent-wrap.has-error .error { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__submit { width: 100%; --h: 58px; font-size: 1.05rem; }
.form__submit[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.form__submit .spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(15, 18, 34, 0.3); border-top-color: #0f1222; animation: spin 0.8s linear infinite; display: none; }
.form__submit[aria-busy="true"] .spin { display: block; }
.form__submit[aria-busy="true"] svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin: 14px 0 0; font-size: 0.9rem; color: #f0a3a3; min-height: 1.2em; }
.form__privacy { margin: 14px 0 0; font-size: 0.8rem; color: rgba(170, 176, 191, 0.8); text-align: center; }

.thanks { display: none; text-align: center; padding: 30px 6px 10px; }
.form-card.is-done form { display: none; }
.form-card.is-done .thanks { display: block; animation: rise 0.7s var(--ease) both; }
.thanks__icon { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.thanks__icon svg { width: 34px; height: 34px; color: #0f1222; }
.thanks h3 { font-size: 1.6rem; margin-bottom: 10px; }
.thanks p { color: var(--muted); margin: 0 auto 8px; max-width: 40ch; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }

@media (max-width: 900px) {
  .join__grid { grid-template-columns: 1fr; }
  .join__trio { height: 160px; margin-top: 24px; max-width: 420px; }
  .join__trio .verbo { --w: 110px; }
  .join__trio .v-lila { --w: 126px; }
}

/* =========================================================
   FAQ + FUTER
   ========================================================= */
.faq { padding-top: 40px; }
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 500; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; transition: transform 0.35s var(--ease), background 0.25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -0.9px 0 0 -5.5px; background: var(--white); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform 0.35s var(--ease); }
.faq details[open] summary i { background: rgba(245, 247, 250, 0.06); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }

.footer { position: relative; padding: 70px 0 40px; margin-top: 60px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer__tag { color: var(--muted); margin: 10px 0 0; max-width: 34ch; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.footer__contact svg { width: 20px; height: 20px; color: var(--teal); }
.footer__contact .soon { color: var(--muted); }
.footer__contact .soon em { font-style: normal; font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); margin-left: 4px; }
.footer__bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; font-size: 0.85rem; color: var(--muted); }
.footer__bottom a { color: var(--muted); }

/* ---------- pojavljivanje pri skrolu ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- smanjeno kretanje ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero__intro > *, .hero__stage .float { opacity: 1 !important; transform: none !important; }
  .hero__stage .verbo { transform: rotate(var(--rot)) !important; }
}

/* ---------- stranica privatnosti ---------- */
.legal { padding: calc(var(--nav-h) + 60px) 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--white); font-weight: 500; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 60px 0; }

/* dopune */
.char > span:last-child, .char__name, .char__desc { display: block; }
.char { color: var(--white); font: inherit; }
.form__submit:disabled { cursor: progress; }
.verbo, .verbo * { -webkit-user-select: none; user-select: none; }
html, body { overflow-x: clip; }
.section, .hero, .footer { overflow-x: clip; }
.join__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
