/* ============================================================
   Vybe - design system (vanilla, no build)
   Brand: clean white, big black type, one coral accent.
   Light default + .invert scope for black sections.
   ============================================================ */

/* ---- self-hosted fonts (latin + latin-ext for Serbian) ---- */
@font-face{ font-family:"InterVariable"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url("/assets/fonts/InterVariable.woff2") format("woff2"); }
@font-face{ font-family:"General Sans"; font-style:normal; font-weight:500; font-display:swap;
  src:url("/assets/fonts/general-sans-500.woff2") format("woff2"); }
@font-face{ font-family:"General Sans"; font-style:normal; font-weight:600; font-display:swap;
  src:url("/assets/fonts/general-sans-600.woff2") format("woff2"); }
@font-face{ font-family:"General Sans"; font-style:normal; font-weight:700; font-display:swap;
  src:url("/assets/fonts/general-sans-700.woff2") format("woff2"); }

:root{
  /* color (light default) */
  --bg:#ffffff;
  --bg-2:#fafafa;
  --surface:#ffffff;
  --surface-2:#f4f4f4;
  --text:#0a0a0a;
  --text-soft:#3a3a3a;
  --muted:#6b6b6b;
  --line:rgba(10,10,10,.10);
  --line-2:rgba(10,10,10,.16);
  --accent:#ff5c35;
  --accent-deep:#e8431d;
  --accent-soft:rgba(255,92,53,.12);
  --accent-line:rgba(255,92,53,.5);
  --on-accent:#160a05;

  /* type */
  --font-display:"General Sans","Segoe UI",system-ui,sans-serif;
  --font-body:"InterVariable","Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --text-2xs:.72rem; --text-xs:.8rem; --text-sm:.9375rem;
  --text-base:1.0625rem; --text-lg:1.2rem;
  --h1:clamp(2.9rem,7.4vw,6.2rem);
  --h2:clamp(2.1rem,4.6vw,3.5rem);
  --h3:1.4rem; --h4:1.12rem;
  --lh:1.65; --lh-tight:1.02;

  /* shape + shadow */
  --r-sm:12px; --r:18px; --r-lg:24px; --r-xl:30px;
  --shadow:0 18px 44px rgba(10,10,10,.10);
  --shadow-lg:0 40px 90px rgba(10,10,10,.18);
  --container:1200px; --pad:clamp(20px,5vw,44px);
}

/* black sections: flip tokens + paint */
.invert{
  --bg:#0a0a0a; --bg-2:#111111;
  --surface:#161616; --surface-2:#1d1d1d;
  --text:#ffffff; --text-soft:#cfcfcf; --muted:#a3a3a3;
  --line:rgba(255,255,255,.12); --line-2:rgba(255,255,255,.20);
  --accent-soft:rgba(255,92,53,.18);
  background:var(--bg); color:var(--text);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; background:var(--bg); }
body{ margin:0; font-family:var(--font-body); color:var(--text); background:var(--bg);
  line-height:var(--lh); font-size:var(--text-base); -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:clip; }
html.i18n-loading body{ animation: i18n-reveal 0s 3s both; }
@keyframes i18n-reveal{ from{ visibility:hidden } to{ visibility:visible } }
img,svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background:var(--accent); color:var(--on-accent); }

/* ---- type ---- */
h1,h2,h3,h4{ font-family:var(--font-display); line-height:var(--lh-tight); margin:0; letter-spacing:-.03em; font-weight:700; }
p{ margin:0; }
.eyebrow{ display:inline-flex; align-items:center; gap:10px; font-family:var(--font-body); font-weight:600;
  font-size:var(--text-xs); letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin:0 0 20px; }
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--accent); display:inline-block; }
.center .eyebrow{ justify-content:center; }
.section-title{ font-size:var(--h2); }
.section-sub{ color:var(--text-soft); font-size:var(--text-lg); line-height:1.55; max-width:580px; margin:18px 0 0; }
.center .section-sub{ margin-inline:auto; }
.accent{ color:var(--accent); }

/* ---- layout ---- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--pad); position:relative; z-index:2; }
.section{ padding-block:clamp(64px,9vw,120px); position:relative; }
.section--soft{ background:var(--bg-2); }
.center{ text-align:center; }
.hidden{ display:none !important; }
.narrow{ max-width:720px; margin-inline:auto; }
.section-head{ margin-bottom:clamp(32px,4vh,52px); }
.glow-spot{ display:none; }

/* ---- buttons ---- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  padding:15px 28px; border-radius:999px; font-weight:600; font-size:var(--text-base); border:none;
  transition:transform .2s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s; white-space:nowrap; }
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--text); color:var(--bg); box-shadow:var(--shadow); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.btn-ghost{ background:transparent; color:var(--text); box-shadow:inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover{ background:var(--text); color:var(--bg); transform:translateY(-2px); box-shadow:inset 0 0 0 1px var(--text); }
.btn-lg{ padding:17px 34px; font-size:var(--text-lg); }
.btn-block{ width:100%; }

/* ============================================================
   HEADER · floating pill (light)
   ============================================================ */
.site-header{ position:fixed; top:12px; left:0; right:0; z-index:60; padding:0 var(--pad); background:transparent; border:none; transition:transform .35s ease; }
.site-header.nav-hidden{ transform:translateY(-130%); }
.site-header .container{ padding-inline:0; max-width:min(var(--container),calc(100% - 2 * var(--pad))); }
.nav{ position:relative; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px 12px;
  min-height:56px; padding:6px 8px 6px 14px; border-radius:999px; background:transparent; border:none; box-shadow:none; }
.nav::before{ content:""; position:absolute; inset:0; border-radius:inherit; z-index:0; pointer-events:none;
  background:rgba(255,255,255,.78); backdrop-filter:saturate(180%) blur(20px); -webkit-backdrop-filter:saturate(180%) blur(20px);
  border:1px solid var(--line); box-shadow:0 8px 30px rgba(10,10,10,.08); }
.nav > *{ position:relative; z-index:1; }
.brand{ grid-column:1; display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:1.2rem; letter-spacing:-.02em; color:var(--text); min-width:0; }
.brand .logo{ width:28px; height:28px; flex:none; }
.nav-links{ grid-column:2; display:flex; align-items:center; justify-content:center; gap:2px; min-width:0; }
.nav-end{ grid-column:3; display:flex; align-items:center; gap:6px; flex-shrink:0; }
.nav-end::before{ content:""; width:1px; height:22px; background:var(--line-2); margin:0 2px; flex:none; }
.nav-menu{ display:none; }
.nav-link{ padding:8px 12px; border-radius:999px; color:var(--muted); font-weight:500; font-size:var(--text-sm); transition:color .15s, background .15s; white-space:nowrap; }
.nav-link:hover{ color:var(--text); background:rgba(10,10,10,.06); }
.nav-link.active{ color:var(--accent); background:var(--accent-soft); }
.code-link{ display:inline-flex; align-items:center; gap:6px; color:var(--muted); font-weight:500; }
.code-link svg{ width:15px; height:15px; flex:none; }
.code-link:hover{ color:var(--accent); background:rgba(10,10,10,.06); }
.lang-toggle{ display:inline-flex; align-items:center; gap:5px; padding:7px 10px;
  border:1px solid var(--line-2); border-radius:999px; background:transparent; font-weight:600; font-size:var(--text-xs); color:var(--muted); flex:none; }
.lang-toggle:hover{ border-color:var(--accent-line); color:var(--accent); background:var(--accent-soft); }
.nav-cta.btn-primary{ padding:9px 16px; font-size:var(--text-xs); box-shadow:0 6px 18px rgba(10,10,10,.12); white-space:nowrap; }
.nav-cta.btn-primary:hover{ box-shadow:0 10px 26px rgba(10,10,10,.18); }
.nav-toggle{ display:none; grid-column:3; justify-self:end; width:40px; height:40px; border:1px solid var(--line-2); border-radius:999px; background:transparent;
  flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:0; }
.nav-toggle span{ display:block; width:18px; height:2px; background:var(--text); border-radius:2px; transition:transform .25s, opacity .2s; }
.nav.open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2){ opacity:0; }
.nav.open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.nav--minimal{ grid-template-columns:auto; }

/* ============================================================
   HERO (homepage) · copy left, full-bleed particle canvas behind
   ============================================================ */
.hero--home{ position:relative; overflow:hidden; isolation:isolate; min-height:clamp(560px,86svh,920px); display:grid; align-content:center; }
.hero-fx{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; display:block; }
.hero--home .container{ position:relative; z-index:2; padding-block:clamp(40px,6vw,72px); }
.hero--home .hero-copy{ position:relative; z-index:2; max-width:min(680px,100%); }
.hero--home h1{ font-size:var(--h1); font-weight:700; letter-spacing:-.035em; }
.hero--home .lede{ font-size:var(--text-lg); line-height:1.55; color:var(--text-soft); max-width:480px; margin:22px 0 30px; }
.hero--home .hero-cta{ display:flex; flex-wrap:wrap; gap:12px; }
.hero--home .hero-meta{ margin-top:24px; display:flex; flex-wrap:wrap; align-items:center; gap:6px 0; font-size:var(--text-sm); color:var(--muted); line-height:1.5; }
.hero--home .hero-meta-sep{ margin:0 10px; color:var(--line-2); user-select:none; }
.hero{ position:relative; }

/* ============================================================
   FEATURED WORK
   ============================================================ */
.work-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr)); gap:28px; }
.work{ position:relative; border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line);
  background:var(--surface); box-shadow:var(--shadow); transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  display:flex; flex-direction:column; height:100%; }
.work:hover{ transform:translateY(-6px); border-color:var(--line-2); box-shadow:var(--shadow-lg); }
.work-thumb{ aspect-ratio:16/10; flex:none; overflow:hidden; position:relative; background:var(--surface-2); line-height:0; font-size:0; }
.work-thumb img{ display:block; width:100%; height:100%; object-fit:cover; object-position:center center; transition:transform .55s ease; }
.work:hover .work-thumb img{ transform:scale(1.04); }
.work-thumb::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(10,10,10,.28), transparent 50%); opacity:0; transition:opacity .3s; pointer-events:none; }
.work:hover .work-thumb::after{ opacity:1; }
.work-body{ padding:22px 24px; flex:1; display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:5.75rem; }
.work-meta{ display:flex; flex-direction:column; gap:5px; }
.work-tag{ font-size:var(--text-2xs); font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.work-body h3{ font-size:var(--h3); font-weight:600; }
.work-link{ flex:none; width:46px; height:46px; border-radius:50%; background:var(--bg-2); border:1px solid var(--line-2);
  display:grid; place-items:center; color:var(--text); transition:background .25s, color .25s, transform .25s, border-color .25s; }
.work:hover .work-link{ background:var(--accent); color:#fff; border-color:transparent; transform:rotate(-45deg); }
.work-cta{ display:flex; align-items:center; gap:10px; flex:none; }
.work-cta-label{ font-size:var(--text-xs); font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); white-space:nowrap; transition:color .25s; }
.work:hover .work-cta-label{ color:var(--accent); }
.work-empty{ grid-column:1/-1; text-align:center; color:var(--muted); font-size:var(--text-sm); padding:48px 0; }

/* ============================================================
   STEPS / FEATURES / PRICING
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:32px; position:relative; overflow:hidden;
  transition:transform .25s ease, border-color .25s ease; }
.step:hover{ transform:translateY(-5px); border-color:var(--accent-line); }
.step-num{ font-family:var(--font-display); font-weight:700; font-size:1.1rem; width:46px; height:46px; display:grid; place-items:center; border-radius:13px; color:var(--accent); background:var(--accent-soft); margin-bottom:20px; }
.step h3{ font-size:var(--h3); margin-bottom:10px; font-weight:600; }
.step p{ color:var(--muted); font-size:var(--text-sm); }

.features{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.feature{ padding:28px; border-radius:var(--r); background:var(--surface); border:1px solid var(--line); transition:transform .25s, border-color .25s; }
.feature:hover{ transform:translateY(-5px); border-color:var(--accent-line); }
.feature .ic{ width:48px; height:48px; border-radius:13px; display:grid; place-items:center; background:var(--accent-soft); color:var(--accent); margin-bottom:18px; }
.feature .ic svg{ width:24px; height:24px; }
.feature h3{ font-size:var(--h4); margin-bottom:9px; font-weight:600; }
.feature p{ color:var(--muted); font-size:var(--text-sm); }

.pricing{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:860px; margin-inline:auto; align-items:stretch; }
.plan{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); padding:30px; position:relative;
  box-shadow:var(--shadow); transition:transform .25s ease, border-color .25s ease;
  display:grid; grid-template-rows:auto auto auto 1fr auto; }
.plan:hover{ transform:translateY(-5px); border-color:var(--line-2); }
.plan-name{ font-family:var(--font-display); font-weight:600; font-size:var(--h3); }
.plan-price{ display:flex; align-items:baseline; gap:6px; margin:14px 0 4px; }
.plan-price .amt{ font-family:var(--font-display); font-weight:700; font-size:2.8rem; letter-spacing:-.03em; color:var(--text); }
.plan-price .per{ color:var(--muted); font-weight:500; }
.plan-tag{ color:var(--muted); font-size:var(--text-sm); margin-bottom:16px; }
.plan-features{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; }
.plan-foot{ padding-top:20px; }
.plan li{ display:flex; gap:12px; align-items:flex-start; font-size:var(--text-sm); color:var(--text-soft); }
.plan li .ck{ flex:none; width:22px; height:22px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-size:var(--text-2xs); font-weight:700; margin-top:1px; }
.plan-note{ font-size:var(--text-xs); color:var(--muted); margin-top:16px; }
.plan--featured{ border-color:var(--accent); box-shadow:0 0 0 1px var(--accent),var(--shadow); padding-top:46px; }
.plan--featured:hover{ border-color:var(--accent-deep); }
.plan-badge{ position:absolute; top:14px; left:50%; transform:translateX(-50%); white-space:nowrap; background:var(--accent); color:#fff; font-size:var(--text-2xs); font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:999px; }

/* ---- plan toggle switch ---- */
.plan-switch-wrap{ display:flex; justify-content:center; margin-bottom:44px; }
.plan-switch{ display:inline-flex; position:relative; background:var(--surface-2); border:1px solid var(--line); border-radius:999px; padding:5px; transition:background-color .4s ease, border-color .4s ease; }
.psw-btn{ position:relative; z-index:1; background:transparent; border:0; border-radius:999px; padding:12px 34px; font-family:var(--font-display); font-weight:600; font-size:var(--text-sm); color:var(--muted); transition:color .3s ease; cursor:pointer; white-space:nowrap; }
.psw-btn--active{ color:var(--text); }
.psw-thumb{ position:absolute; top:5px; height:calc(100% - 10px); background:var(--surface); border-radius:999px; border:1px solid var(--line); box-shadow:0 2px 10px rgba(0,0,0,.08); transition:left .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1), background-color .4s ease, border-color .4s ease; pointer-events:none; }

/* ---- single-plan card (toggle view) ---- */
.plan-solo{ max-width:500px; margin-inline:auto; display:grid; }
.plan-panel{ grid-row:1; grid-column:1; opacity:0; transform:translateY(10px) scale(.98); pointer-events:none;
  transition:opacity .35s ease, transform .35s ease, background-color .45s ease, border-color .45s ease; }
.plan-panel.active{ opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.plan-panel.active:hover{ transform:translateY(-4px) scale(1); }

/* ---- pricing section dark mode (Pretplata) ---- */
.pricing-section{ transition:background-color .5s ease; }
.pricing-section.pricing-dark{ background-color:#0a0a0a;
  --bg:#0a0a0a; --bg-2:#111111; --surface:#161616; --surface-2:#1d1d1d;
  --text:#ffffff; --text-soft:#cfcfcf; --muted:#a3a3a3;
  --line:rgba(255,255,255,.12); --line-2:rgba(255,255,255,.20);
  --accent-soft:rgba(255,92,53,.18); }
.pricing-section .section-title{ color:var(--text); transition:color .4s ease; }
.pricing-section .section-sub{ transition:color .4s ease; }
.pricing-section .eyebrow{ transition:color .4s ease; }
.pricing-section.pricing-dark .section-title{ color:#ffffff; }
.pricing-section.pricing-dark .section-sub{ color:#cfcfcf; }
.pricing-section.pricing-dark .eyebrow{ color:#a3a3a3; }

/* ---- code finder ---- */
.finder{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:32px; display:flex; gap:18px; align-items:center; flex-wrap:wrap; justify-content:space-between; box-shadow:var(--shadow); }
.finder .ft{ max-width:430px; }
.finder h3{ font-size:var(--h3); margin-bottom:6px; font-weight:600; }
.finder p{ margin:0; color:var(--muted); font-size:var(--text-sm); }
.finder form{ display:flex; gap:10px; flex:1; min-width:280px; }
.code-input{ display:flex; align-items:center; flex:1; border:1px solid var(--line-2); border-radius:999px; background:var(--bg); overflow:hidden; padding-left:18px; transition:border-color .15s, box-shadow .15s; }
.code-input:focus-within{ border-color:var(--accent-line); }
.code-input input:focus-visible{ outline:none; }
.code-input span{ color:var(--muted); font-size:var(--text-sm); white-space:nowrap; }
.code-input input{ flex:1; border:0; padding:14px 8px; font-size:var(--text-base); outline:none; background:transparent; min-width:60px; color:var(--text); }
.code-msg{ width:100%; margin:8px 4px 0; font-size:var(--text-xs); color:#d94f2b; line-height:1.4; }
.code-msg[hidden]{ display:none; }

/* ============================================================
   CTA band + footer
   ============================================================ */
.cta-band{ position:relative; overflow:hidden; }
.cta-band .container{ text-align:center; padding-block:clamp(64px,9vw,108px); }
.cta-band h2{ font-size:clamp(2.4rem,5.5vw,4.2rem); }
.cta-band p{ color:var(--text-soft); font-size:var(--text-lg); line-height:1.55; max-width:520px; margin:18px auto 30px; }

.site-footer{ --bg:#0a0a0a; --text:#ffffff; --muted:#a3a3a3; --line:rgba(255,255,255,.12);
  background:var(--bg); color:var(--muted); padding-block:60px 32px; font-size:var(--text-sm); border-top:1px solid var(--line); }
.footer-top{ display:flex; justify-content:space-between; gap:34px; flex-wrap:wrap; padding-bottom:34px; border-bottom:1px solid var(--line); }
.footer-brand{ max-width:300px; }
.footer-brand .brand{ color:var(--text); margin-bottom:14px; }
.footer-brand p{ line-height:1.6; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4{ color:var(--text); font-size:var(--text-xs); letter-spacing:.14em; text-transform:uppercase; margin-bottom:16px; font-family:var(--font-body); font-weight:700; }
.footer-col a{ display:block; padding:6px 0; color:var(--muted); cursor:pointer; }
.footer-col a:hover{ color:var(--accent); }
.footer-bottom{ padding-top:26px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color:var(--muted); font-size:var(--text-xs); }

/* ============================================================
   MODAL
   ============================================================ */
.modal{ position:fixed; inset:0; z-index:100; display:none; align-items:center; justify-content:center; padding:20px; }
.modal.open{ display:flex; }
.modal-overlay{ position:absolute; inset:0; background:rgba(10,10,10,.55); backdrop-filter:blur(6px); animation:fade .2s ease; }
.modal-card{ position:relative; background:var(--surface); border:1px solid var(--line-2); border-radius:var(--r-xl); width:100%; max-width:520px; box-shadow:var(--shadow-lg); padding:36px; max-height:92vh; overflow:auto; animation:pop .22s ease; }
.modal-card.sm{ max-width:420px; }
.modal-close{ position:absolute; top:16px; right:16px; width:38px; height:38px; border-radius:50%; border:1px solid var(--line-2); background:transparent; color:var(--muted); font-size:1.1rem; display:grid; place-items:center; }
.modal-close:hover{ border-color:var(--text); color:var(--text); }
.modal-card h2{ font-size:1.8rem; }
.modal-card .lede{ color:var(--muted); margin:10px 0 24px; font-size:var(--text-sm); }
@keyframes fade{ from{ opacity:0;} } @keyframes pop{ from{ opacity:0; transform:translateY(12px) scale(.98);} }

.form{ display:grid; gap:14px; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:var(--text-xs); font-weight:600; color:var(--text-soft); }
.field input,.field textarea{ border:1px solid var(--line-2); border-radius:12px; padding:13px 15px; font-size:var(--text-base); font-family:inherit; background:var(--bg); color:var(--text); transition:border-color .15s, box-shadow .15s; }
.field input::placeholder,.field textarea::placeholder{ color:var(--muted); }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--accent-line); box-shadow:none; }
.field input:focus-visible,.field textarea:focus-visible{ outline:none; }
.field textarea{ resize:vertical; min-height:96px; }
.field.row2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-ok{ position:relative; background:var(--surface); border-radius:inherit; overflow:hidden; min-height:360px; align-items:center; justify-content:center; text-align:center; }
.modal-card:not(.modal-card--ok) .form-ok{ display:none !important; }
.modal-card--ok [data-contact-view]{ display:none !important; }
.modal-card--ok .form-ok{ display:flex; min-height:380px; }
.ok-fx{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.ok-inner{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; padding:48px 32px 40px; }
.ok-icon{ width:64px; height:64px; margin-bottom:22px; }
.ok-icon svg{ width:100%; height:100%; display:block; }
.ok-ring{ stroke-dasharray:132; stroke-dashoffset:132; animation:okRing .6s .1s ease-out forwards; }
.ok-tick{ stroke-dasharray:29; stroke-dashoffset:29; animation:okTick .35s .65s ease-out forwards; }
@keyframes okRing{ to{ stroke-dashoffset:0; } }
@keyframes okTick{ to{ stroke-dashoffset:0; } }
.ok-title{ font:700 1.4rem/1.2 var(--font-display); color:var(--text); margin:0 0 10px; }
.ok-sub{ color:var(--muted); font-size:.95rem; max-width:260px; margin:0 0 28px; line-height:1.5; }
.modal-card--ok{ padding:0; background:var(--surface); border-color:var(--line-2); overflow:hidden; }
.modal-card--ok .modal-close{ color:var(--muted); border-color:var(--line-2); }
.modal-card--ok .modal-close:hover{ color:var(--text); border-color:var(--text); }
.next-steps{ margin-top:18px; padding-top:18px; border-top:1px solid var(--line); display:grid; gap:5px; }
.next-steps-title{ font-size:var(--text-xs); font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:2px; }
.next-steps .ns{ display:flex; gap:8px; align-items:baseline; font-size:var(--text-sm); color:var(--text-soft); line-height:1.35; }
.next-steps .ns b{ color:var(--accent); }

/* ============================================================
   DEMO COVER (/za/<slug>)
   ============================================================ */
.cover-hero{ position:relative; overflow:hidden; }
.cover-hero .container{ padding-block:clamp(52px,8vw,92px); }
.cover-badge{ display:inline-flex; align-items:center; gap:10px; background:var(--bg-2); border:1px solid var(--line-2); padding:9px 17px; border-radius:999px; font-size:var(--text-xs); color:var(--muted); margin-bottom:26px; }
.cover-badge .brand{ font-size:var(--text-sm); font-weight:700; color:var(--text); }
.cover-hero h1{ font-size:var(--h1); margin-bottom:clamp(22px,3.5vw,34px); }
.cover-hero .lede{ font-size:var(--text-lg); line-height:1.55; color:var(--text-soft); max-width:600px; margin:18px 0 30px; }
.cover-cta{ display:flex; flex-wrap:wrap; gap:14px; }
.cover-preview{ margin-top:50px; border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line-2); box-shadow:var(--shadow-lg); background:var(--surface); }
.cover-preview .bar{ display:flex; align-items:center; gap:6px; padding:12px 16px; background:var(--bg-2); border-bottom:1px solid var(--line); }
.cover-preview .bar i{ width:10px; height:10px; border-radius:50%; background:var(--line-2); }
.cover-preview .bar i:nth-child(1){ background:#ff5c54;} .cover-preview .bar i:nth-child(2){ background:#ffbd2e;} .cover-preview .bar i:nth-child(3){ background:#28c840;}
.cover-preview .bar span{ margin-left:8px; font-size:var(--text-2xs); color:var(--muted); }
.cover-shot{ width:100%; display:block; }

.gets{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px 40px; max-width:780px; margin-inline:auto; }
.get{ display:flex; gap:14px; align-items:flex-start; }
.get .ck{ flex:none; width:30px; height:30px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-weight:700; font-size:var(--text-sm); }
.get b{ display:block; margin-bottom:3px; font-size:var(--h4); }
.get span{ color:var(--muted); font-size:var(--text-sm); }

/* ============================================================
   PROBLEM vs SOLUTION
   ============================================================ */
.compare{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.compare-col{ border:1px solid var(--line); border-radius:var(--r-lg); padding:34px; background:var(--surface); }
.compare-col.old{ background:var(--bg-2); }
.compare-col.new{ border-color:var(--accent-line); }
.compare-col h3{ font-size:var(--h3); margin-bottom:22px; display:flex; align-items:center; gap:10px; font-weight:600; }
.compare-col.old h3{ color:var(--muted); }
.compare-col.new h3{ color:var(--accent); }
.compare-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:15px; }
.compare-col li{ display:flex; gap:13px; align-items:flex-start; font-size:var(--text-base); }
.compare-col.old li{ color:var(--muted); }
.compare-col.new li{ color:var(--text-soft); }
.compare-col .ic{ flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; margin-top:2px; font-size:.8rem; font-weight:700; }
.compare-col.old .ic{ background:var(--surface-2); color:var(--muted); }
.compare-col.new .ic{ background:var(--accent-soft); color:var(--accent); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.tst{ border:1px solid var(--line); border-radius:var(--r-lg); padding:34px; background:var(--surface); }
.tst .stars{ color:var(--accent); letter-spacing:4px; margin-bottom:18px; font-size:.95rem; }
.tst .quote{ color:var(--text); font-size:var(--text-lg); line-height:1.5; margin-bottom:24px; font-weight:500; }
.tst .who{ display:flex; align-items:center; gap:13px; }
.tst .av{ width:46px; height:46px; border-radius:50%; background:var(--accent-soft); color:var(--accent); display:grid; place-items:center; font-weight:700; font-family:var(--font-display); }
.tst .who b{ display:block; font-size:var(--text-base); }
.tst .who span{ color:var(--muted); font-size:var(--text-sm); }
.tst-note{ text-align:center; color:var(--muted); font-size:var(--text-xs); margin-top:22px; font-style:italic; }

/* ============================================================
   FAQ (native accordion)
   ============================================================ */
.faq{ max-width:760px; margin-inline:auto; display:flex; flex-direction:column; gap:12px; }
.faq details{ border:1px solid var(--line); border-radius:var(--r); background:var(--surface); overflow:hidden; transition:border-color .2s; }
.faq details[open]{ border-color:var(--accent-line); }
.faq summary{ list-style:none; cursor:pointer; padding:22px 26px; display:flex; align-items:center; justify-content:space-between; gap:16px; font-weight:600; font-size:var(--text-lg); color:var(--text); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .plus{ flex:none; width:28px; height:28px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; transition:background .2s, color .2s, border-color .2s; position:relative; color:var(--muted); }
.faq summary .plus::before,.faq summary .plus::after{ content:""; position:absolute; background:currentColor; border-radius:2px; }
.faq summary .plus::before{ width:12px; height:2px; } .faq summary .plus::after{ width:2px; height:12px; transition:transform .25s; }
.faq details[open] summary .plus{ background:var(--accent); color:#fff; border-color:transparent; }
.faq details[open] summary .plus::after{ transform:scaleY(0); }
.faq .ans{ padding:0 26px 24px; color:var(--muted); font-size:var(--text-base); line-height:1.65; }

/* guarantee badge (CTA band) */
.cta-guarantee{ display:inline-flex; align-items:center; gap:9px; background:var(--accent-soft); border:1px solid var(--accent-line); color:var(--accent);
  padding:9px 18px; border-radius:999px; font-weight:600; font-size:var(--text-sm); margin-bottom:26px; }
.cta-guarantee svg{ width:16px; height:16px; }

/* ============================================================
   reveal animation
   ============================================================ */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; will-change:opacity,transform; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width:1100px){
  .code-link span{ display:none; }
  .nav-link{ padding:8px 9px; font-size:var(--text-xs); }
  .nav-cta.btn-primary{ padding:9px 12px; }
}
@media (max-width:980px){
  .features{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px){
  body.nav-open{ overflow:hidden; }
  .site-header{ top:12px; padding:0 var(--pad); z-index:60; }
  .site-header .container{ max-width:min(var(--container),calc(100% - 2 * var(--pad))); padding-inline:0; }
  .nav{ grid-template-columns:1fr auto; gap:8px; min-height:52px; padding:6px 8px 6px 14px; border-radius:999px; }
  .brand{ grid-column:1; font-size:1.1rem; }
  .nav-links,.nav-end{ display:none; }
  .nav-end::before{ display:none; }
  .nav-toggle{ display:flex; grid-column:2; width:40px; height:40px; }
  .nav-menu{ display:flex; flex-direction:column; align-items:stretch; gap:4px; grid-column:1 / -1;
    position:absolute; top:calc(100% + 10px); left:0; right:0; z-index:10;
    padding:12px; border-radius:var(--r-lg); background:rgba(255,255,255,.98);
    border:1px solid var(--line-2); box-shadow:var(--shadow-lg);
    transform:translateY(-8px) scale(.98); opacity:0; pointer-events:none; visibility:hidden;
    transition:transform .22s ease, opacity .22s ease, visibility .22s; }
  .nav.open .nav-menu,
  .nav.open ~ .nav-menu{ transform:translateY(0) scale(1); opacity:1; pointer-events:auto; visibility:visible; }
  .nav-menu .nav-link{ padding:12px 14px; border-radius:var(--r-sm); font-size:var(--text-base); color:var(--text); }
  .nav-menu .code-link{ justify-content:flex-start; color:var(--text); }
  .nav-menu .code-link span{ display:inline; }
  .nav-menu .lang-toggle{ align-self:flex-start; margin-top:4px; }
  .nav-menu .btn-primary{ margin-top:6px; padding:14px; }
  .steps{ grid-template-columns:1fr; }
  .pricing{ grid-template-columns:1fr; }
  .psw-btn{ padding:10px 22px; }
  .compare{ grid-template-columns:1fr; }
  .tst-grid{ grid-template-columns:1fr; }
  .gets{ grid-template-columns:1fr; }
  .field.row2{ grid-template-columns:1fr; }
  .footer-top{ flex-direction:column; }
  .modal-card{ padding:28px 22px; }
  .modal-card.modal-card--ok{ padding:0; }
}
@media (max-width:440px){
  .features{ grid-template-columns:1fr; }
}

/* ============================================================
   focus a11y + anchor offset
   ============================================================ */
section[id], [id]{ scroll-margin-top:96px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px; border-radius:8px;
}

/* ============================================================
   PHASE 1B · marquee, scroll reveal/wipe, ledger, timeline,
   bento, ambient particles, distinct mobile hero
   ============================================================ */

/* hero bottom marquee */
.hero--home .container{ padding-bottom:96px; }
.hero-marquee{ position:absolute; left:0; right:0; bottom:0; z-index:2; border-top:1px solid var(--line);
  padding:15px 0; overflow:hidden;
  -webkit-mask:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.hero-marquee__track{ display:flex; width:max-content; animation:vmq 32s linear infinite; }
.hero-marquee:hover .hero-marquee__track{ animation-play-state:paused; }
.mq-item{ display:inline-flex; align-items:center; gap:14px; padding:0 22px; white-space:nowrap;
  font-size:var(--text-sm); font-weight:600; color:var(--text); letter-spacing:.01em; }
.mq-item::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--accent); flex:none; }
@keyframes vmq{ to{ transform:translateX(-50%); } }

/* scroll cue */
.hero-cue{ position:absolute; left:var(--pad); bottom:110px; z-index:2; display:inline-flex; align-items:center; gap:9px;
  color:var(--muted); font-size:var(--text-2xs); letter-spacing:.16em; text-transform:uppercase; font-weight:600; }
.hero-cue svg{ width:16px; height:16px; animation:cuebob 1.7s ease-in-out infinite; }
@keyframes cuebob{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(5px);} }

/* directional reveal + stagger */
.reveal{ transition-delay:calc(var(--i,0) * 80ms); }
.reveal[data-reveal="left"]{ transform:translateX(-42px); }
.reveal[data-reveal="right"]{ transform:translateX(42px); }
.reveal.in{ opacity:1; transform:none; }

/* section wipe (left -> right slide on entry) */
.has-wipe{ position:relative; overflow:hidden; }
.has-wipe .wipe{ position:absolute; inset:0; z-index:5; background:var(--accent); transform:scaleX(0); transform-origin:left; pointer-events:none; }
.has-wipe.in .wipe{ animation:vwipe .82s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes vwipe{ 0%{ transform:scaleX(0); transform-origin:left;} 48%{ transform:scaleX(1); transform-origin:left;}
  52%{ transform:scaleX(1); transform-origin:right;} 100%{ transform:scaleX(0); transform-origin:right;} }

/* ambient particles canvas */
.fx-ambient{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.section.invert, .cta-band.invert{ overflow:hidden; }

/* PROBLEM · ledger (rows, no cards) */
.ledger{ max-width:1000px; margin-inline:auto; }
.ledger-head{ display:grid; grid-template-columns:1fr 1fr; gap:28px; padding-bottom:14px; border-bottom:1px solid var(--line-2); }
.ledger-head span{ font-size:var(--text-xs); font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.ledger-head .h-bad{ color:var(--muted); } .ledger-head .h-good{ color:var(--accent); }
.ledger-row{ display:grid; grid-template-columns:1fr 1fr; gap:28px; padding:20px 0; border-bottom:1px solid var(--line); align-items:start; }
.ledger-cell{ display:flex; gap:13px; align-items:flex-start; font-size:var(--text-base); line-height:1.5; }
.ledger-cell .mk{ flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:.78rem; font-weight:700; margin-top:1px; }
.ledger-bad{ color:var(--muted); } .ledger-bad .mk{ background:var(--surface-2); color:var(--muted); }
.ledger-good{ color:var(--text); } .ledger-good .mk{ background:var(--accent-soft); color:var(--accent); }

/* HOW · vertical stepper (brojevi se otkrivaju jedan po jedan) */
.stepper{ max-width:760px; margin-inline:auto; }
.stepper-item{ position:relative; display:grid; grid-template-columns:64px 1fr; gap:26px; padding-bottom:44px; }
.stepper-item:last-child{ padding-bottom:0; }
.stepper-item:not(:last-child)::before{ content:""; position:absolute; left:31px; top:64px; bottom:0; width:2px; background:var(--line); }
.stepper-num{ position:relative; z-index:1; font-family:var(--font-display); font-weight:700; font-size:1.5rem;
  width:64px; height:64px; border-radius:50%; display:grid; place-items:center; color:var(--accent); background:var(--accent-soft); }
.stepper-item.reveal{ transition-delay:calc(var(--i,0) * 150ms); }
.stepper-body{ padding-top:14px; }
.stepper-body h3{ font-size:var(--h3); font-weight:600; margin-bottom:8px; }
.stepper-body p{ color:var(--muted); font-size:var(--text-base); max-width:540px; }

/* full-section layout (desktop): samo na homepage-u (html.page-snap) */
@media (min-width:761px) and (prefers-reduced-motion:no-preference){
  html.page-snap, html.page-snap body{ overflow:hidden; height:100svh; }
  html.page-snap #snap-root{ position:relative; }
  html.page-snap .has-wipe .wipe{ display:none; }
  html.page-snap .hero--home, html.page-snap .section{ min-height:100svh; display:grid; align-content:center; }
  html.page-snap .section{ padding-block:clamp(40px,7vh,84px); }
  html.page-snap .closing{ min-height:100svh; display:flex; flex-direction:column; }
  html.page-snap .closing .cta-band{ flex:1 0 auto; display:grid; align-content:center; }
}

/* coral wipe overlay (JS-driven full-page transitions) */
.wipe-overlay{
  position:fixed; inset:0;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left center;
  z-index:9000;
  pointer-events:none;
  will-change:transform;
}

/* distinct mobile hero + responsive for new layouts */
@media (max-width:760px){
  .hero--home{ min-height:auto; }
  .hero--home .container{ padding-block:clamp(116px,30vw,150px) 104px; }
  .hero--home .hero-copy{ max-width:100%; }
  .hero--home h1{ font-size:clamp(2.05rem,9vw,2.7rem); }
  .hero--home .lede{ font-size:var(--text-base); max-width:100%; }
  .hero--home .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero--home .hero-cta .btn{ width:100%; }
  .hero-cue{ display:none; }
  .mq-item{ font-size:var(--text-xs); padding:0 16px; }
  .ledger-head, .ledger-row{ grid-template-columns:1fr; gap:10px; }
  .ledger-row{ padding:16px 0; }
  .ledger-head .h-bad{ display:none; }
  .stepper-item{ grid-template-columns:52px 1fr; gap:18px; padding-bottom:34px; }
  .stepper-item:not(:last-child)::before{ left:25px; top:52px; }
  .stepper-num{ width:52px; height:52px; font-size:1.25rem; }
  .stepper-body{ padding-top:9px; }
  .cover-hero h1{ font-size:clamp(1.75rem,8vw,2.6rem); }
  .gets{ grid-template-columns:1fr; }
}

/* reduced motion for 1B */
@media (prefers-reduced-motion:reduce){
  .reveal, .reveal[data-reveal]{ opacity:1 !important; transform:none !important; }
  .has-wipe .wipe{ display:none !important; }
  .hero-marquee__track{ animation:none !important; }
  .hero-cue svg{ animation:none !important; }
  .tl-fill{ width:100% !important; transition:none !important; }
}

/* ============================================================
   CONTACT PAGE (kontakt.html) 2-column layout
   ============================================================ */
.contact-page{ display:grid; grid-template-columns:38fr 62fr; min-height:100svh; }
.contact-left{
  background:var(--ink,#0a0a0a); color:#fff;
  padding:clamp(44px,6vw,80px);
  display:flex; flex-direction:column; justify-content:space-between; gap:40px;
}
.contact-brand{ display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-family:var(--font-display); font-weight:700; font-size:1.2rem; }
.contact-brand img{ width:30px; height:30px; }
.contact-pitch{ display:flex; flex-direction:column; gap:14px; }
.contact-pitch h2{ font-size:clamp(1.6rem,2.6vw,2.4rem); font-weight:700; line-height:1.2; color:#fff; }
.contact-pitch p{ color:rgba(255,255,255,.6); font-size:var(--text-base); line-height:1.6; }
.contact-trust{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:13px; }
.contact-trust li{ display:flex; align-items:flex-start; gap:11px; font-size:var(--text-sm); color:rgba(255,255,255,.72); }
.contact-trust .ck{ flex:none; width:20px; height:20px; border-radius:50%; background:rgba(255,92,53,.2); color:var(--accent); display:grid; place-items:center; font-size:.6rem; font-weight:700; margin-top:2px; }
.contact-price-tag{ font-size:var(--text-xs); color:rgba(255,255,255,.35); border-top:1px solid rgba(255,255,255,.1); padding-top:18px; letter-spacing:.04em; text-transform:uppercase; }
.contact-right{
  padding:clamp(32px,5vw,72px);
  display:flex; flex-direction:column; justify-content:center; gap:8px;
  background:var(--bg); overflow-y:auto; position:relative;
}
.contact-right .contact-lang{ position:absolute; top:20px; right:24px; }
.contact-right-head{ margin-bottom:8px; }
.contact-right-head h1{ font-size:clamp(1.4rem,2.2vw,2rem); font-weight:700; margin-bottom:6px; }
.contact-right-head p{ color:var(--muted); font-size:var(--text-sm); }

.contact-mobile-nav{ display:none; }
.contact-mobile-nav .contact-brand{ color:var(--ink,#0a0a0a); }
@media(max-width:760px){
  .contact-page{ grid-template-columns:1fr; }
  .contact-left{ display:none; }
  .contact-right{ min-height:100svh; padding-top:16px; justify-content:flex-start; }
  .contact-right .contact-lang{ display:none; }
  .contact-mobile-nav{ display:flex; align-items:center; justify-content:space-between; padding-bottom:28px; }
}

/* ============================================================
   UTILITY PAGES (404, hvala)
   ============================================================ */
.utility-page{ min-height:100svh; display:flex; flex-direction:column; align-items:center; justify-content:center; background:var(--bg); position:relative; padding:clamp(48px,8vw,72px) 0; }
.utility-lang{ position:fixed; top:20px; right:var(--pad); z-index:10; }
.utility-fx{ position:relative; flex:none; width:100%; height:clamp(200px,32vh,300px); overflow:hidden; background:var(--bg); }
.utility-fx--thanks{ height:clamp(260px,40vh,380px); }
.utility-fx canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none; }
.utility-content{ flex:none; width:100%; padding:clamp(12px,2.5vw,20px) var(--pad) 0; text-align:center; }
.utility-page--thanks .utility-content{ padding-top:6px; }
.utility-inner{ width:100%; max-width:480px; margin-inline:auto; }
.utility-inner > .brand{ justify-content:center; margin-bottom:clamp(16px,3vw,24px); color:var(--text); }
.utility-inner h1{ font-size:clamp(1.9rem,5vw,2.6rem); margin-bottom:12px; }
.utility-inner .lede{ color:var(--text-soft); font-size:var(--text-lg); line-height:1.55; margin:0 auto clamp(28px,4vw,36px); }
.utility-actions{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; }
.utility-actions .btn-ghost{ color:var(--text); border-color:var(--line-2); }
.utility-actions .btn-ghost:hover{ background:var(--text); color:var(--bg); }
@media(max-width:480px){
  .utility-actions{ flex-direction:column; width:100%; }
  .utility-actions .btn{ width:100%; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
html:has(body.nf-page){ background:#0a0a0a; }
.nf-page{ min-height:100svh; position:relative; background:var(--bg); overflow:hidden; }
.nf-fx{ position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; display:block; }
.nf-lang{ position:fixed; top:20px; right:var(--pad); z-index:10; }
.nf-main{ position:relative; z-index:1; width:100%; max-width:540px; margin:0 auto; text-align:center; padding:clamp(34vh,38vh,42vh) var(--pad) clamp(48px,8vh,80px); }
.nf-main h1{ font-size:clamp(1.65rem,4.5vw,2.15rem); margin-bottom:12px; text-shadow:0 4px 28px rgba(10,10,10,.9); }
.nf-main .lede{ color:var(--text-soft); font-size:var(--text-lg); line-height:1.55; margin:0 auto clamp(28px,4vw,36px); max-width:420px; text-shadow:0 4px 24px rgba(10,10,10,.85); }
.nf-actions{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px; position:relative; z-index:2; }
.nf-actions .btn-ghost{ color:var(--text); border-color:var(--line-2); }
.nf-actions .btn-ghost:hover{ background:var(--text); color:var(--bg); }
@media(max-width:520px){
  .nf-actions{ flex-direction:column; width:100%; }
  .nf-actions .btn{ width:100%; }
}
