/* ============================================================
   The Forever Web Capsule — potpuno statična, bez vanjskih ovisnosti
   ============================================================ */

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

/* ---------- Varijable ---------- */
:root {
  --ink: #0e0d0a;
  --ink-2: #14120c;
  --card: #1a1710;
  --card-2: #201c12;
  --line: #2c281a;
  --line-soft: #211e14;
  --neon: #f7f00c;
  --neon-hi: #fdfb5e;
  --neon-dim: rgba(247, 240, 12, 0.55);
  --cream: #f1edde;
  --muted: #a9a38b;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 42px rgba(247, 240, 12, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon); text-decoration: none; }
a:hover { color: var(--neon-hi); }
code {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  background: rgba(247, 240, 12, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  font-size: 0.92em;
  color: var(--neon-hi);
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
strong { color: var(--neon-hi); font-weight: 600; }
em { font-style: italic; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 100;
  background: var(--neon); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

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

::selection { background: var(--neon); color: var(--ink); }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: var(--neon);
  color: var(--ink);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(247, 240, 12, 0.4), 0 12px 34px rgba(247, 240, 12, 0.22);
}
.btn-primary:hover { background: var(--neon-hi); color: var(--ink); transform: translateY(-3px); box-shadow: 0 9px 0 rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(247, 240, 12, 0.5), 0 18px 44px rgba(247, 240, 12, 0.3); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-3px); }
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; }

/* ---------- Zaglavlje ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(14, 13, 10, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { background: rgba(14, 13, 10, 0.94); border-color: var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand-mark { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 0 8px rgba(247, 240, 12, 0.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.01em; }
.brand-tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.site-nav { display: none; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--neon); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s ease; }
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
  .site-header.nav-open .site-nav {
    display: flex;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px 24px;
    background: rgba(14, 13, 10, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  }
  .site-nav a { padding: 13px 10px; color: var(--cream); font-weight: 500; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .site-nav a:hover { color: var(--neon); }
  .site-nav .nav-cta { border-bottom: none; color: var(--ink); background: var(--neon); border-radius: 10px; text-align: center; margin-top: 8px; font-weight: 600; }
  .site-nav .nav-cta:hover { background: var(--neon-hi); color: var(--ink); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 20px 64px;
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 46% at 74% 34%, rgba(247, 240, 12, 0.13), transparent 68%),
    radial-gradient(40% 34% at 18% 78%, rgba(247, 240, 12, 0.06), transparent 70%),
    linear-gradient(180deg, #0b0a08 0%, #100e0a 55%, #0e0d0a 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(247, 240, 12, 0.16) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(70% 60% at 72% 40%, #000 0%, transparent 72%);
  opacity: 0.5;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.eyebrow, .section-no {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--neon);
  font-weight: 500;
  margin: 0 0 18px;
}
.hero-title {
  font-size: clamp(2.7rem, 9.5vw, 5.7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--neon);
  text-shadow: 0 0 34px rgba(247, 240, 12, 0.4);
}
.hero-lead {
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  color: #d8d3bf;
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(26, 23, 16, 0.6);
  padding: 12px 18px;
  min-width: 150px;
}
.stat dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.stat dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--neon-hi); }

/* Hero kapsula (SVG) */
.hero-art { display: flex; justify-content: center; }
.capsule-scene { position: relative; width: min(430px, 84vw); }
.capsule-svg { width: 100%; height: auto; overflow: visible; }
.capsule-core { transform-box: fill-box; transform-origin: center; animation: core-pulse 5s ease-in-out infinite; }
@keyframes core-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(247, 240, 12, 0.35)); }
  50% { filter: drop-shadow(0 0 30px rgba(247, 240, 12, 0.65)); }
}
.capsule-core { animation: capsule-float 6s ease-in-out infinite, core-pulse 4.5s ease-in-out infinite; }
@keyframes capsule-float {
  0%, 100% { transform: translateY(0) rotate(0.001deg); }
  50% { transform: translateY(-14px) rotate(0.001deg); }
}
.capsule-ring { transform-box: fill-box; transform-origin: center; }
.ring-a { animation: ring-spin 26s linear infinite; }
.ring-b { animation: ring-spin 40s linear infinite reverse; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.capsule-caption {
  margin: -6px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(14, 13, 10, 0.7);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--neon);
  color: var(--ink);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 12px 0;
}
.ticker-track span::after { content: " ✦"; padding: 0 26px; opacity: 0.7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sekcije ---------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 20px;
}
.section-head { margin-bottom: 40px; }
.section-title {
  font-size: clamp(2.1rem, 5.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title-sm { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.section-ink {
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(247, 240, 12, 0.07), transparent 65%),
    var(--ink-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  max-width: none;
  padding-left: 20px;
  padding-right: 20px;
}
.section-ink > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.split {
  display: grid;
  gap: 36px;
  align-items: start;
}
.split-main p { color: #d8d3bf; font-size: 1.05rem; }
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  float: left;
  font-size: 3.6em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--neon);
}
.pull-quote {
  margin: 30px 0 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--neon);
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.3;
  color: var(--cream);
  margin: 0;
}

/* ---------- Taktilne kartice ---------- */
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.card-tactile { position: relative; transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease; }
.card-tactile:hover { transform: translateY(-4px); border-color: var(--neon-dim); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 22px 48px rgba(0,0,0,0.45), var(--shadow-glow); }
.card-title {
  font-size: 1.3rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.capsule-list { list-style: none; margin: 0; padding: 0; }
.capsule-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-soft); }
.capsule-list li:last-child { border-bottom: 0; }
.li-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--neon);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  background: var(--ink);
}
.capsule-list h4 { font-size: 1.08rem; margin-bottom: 4px; }
.capsule-list p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* ---------- Koraci ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  right: -42px; top: -42px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 240, 12, 0.14), transparent 70%);
  transition: transform 0.4s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: var(--neon-dim); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4), var(--shadow-glow); }
.step:hover::before { transform: scale(1.35); }
.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--neon);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Brojke ---------- */
.numbers { display: grid; gap: 14px; }
.number {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(26, 23, 16, 0.55);
  padding: 18px 22px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.number:hover { border-color: var(--neon-dim); background: rgba(26, 23, 16, 0.9); }
.number-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--neon);
  min-width: 1.4em;
  text-align: right;
}
.number-value .plus, .number-value .times { color: var(--neon-hi); font-size: 0.7em; vertical-align: super; }
.number-label { color: var(--muted); font-size: 0.95rem; }

/* ---------- Gateway dijagram ---------- */
.section-lede { max-width: 62ch; color: #d8d3bf; font-size: 1.06rem; margin-bottom: 40px; }
.gateway-diagram { margin-bottom: 36px; }
.gw-row { display: grid; gap: 14px; }
.gw-card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.gw-card:hover { transform: translateY(-3px); border-color: var(--neon-dim); }
.gw-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--neon-hi); word-break: break-word; }
.gw-role { font-size: 0.85rem; color: var(--muted); }
.gw-feed { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; }
.gw-arrow { color: var(--neon); font-size: 1.1rem; }
.gw-feed-line { width: 2px; height: 22px; background: linear-gradient(180deg, var(--neon), var(--neon-dim)); }
.gw-capsule {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--neon-dim);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(247, 240, 12, 0.09), rgba(247, 240, 12, 0.03));
  padding: 18px 20px;
}
.gw-capsule-mark {
  flex: none;
  width: 40px; height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--neon-hi), var(--neon));
  box-shadow: 0 0 16px rgba(247, 240, 12, 0.5);
  transform: rotate(8deg);
}
.gw-capsule span { font-size: 0.96rem; color: #d8d3bf; }
.arns-note {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: rgba(14, 13, 10, 0.5);
}
.arns-note h3 { font-size: 1.15rem; margin-bottom: 6px; }
.arns-note p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Certifikat ---------- */
.split-reverse { align-items: center; }
.certificate {
  position: relative;
  background: linear-gradient(180deg, #221e12, #19160e);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 50px rgba(0, 0, 0, 0.45);
  transform: rotate(0.6deg);
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.certificate:hover { transform: rotate(0deg) translateY(-4px); border-color: var(--neon-dim); }
.cert-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.cert-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.cert-seal {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  border: 2px solid var(--neon);
  border-radius: 50%;
  width: 88px; height: 88px;
  display: inline-flex; align-items: center; justify-content: center;
  text-align: center;
  transform: rotate(-14deg);
  opacity: 0.9;
  flex: none;
  box-shadow: 0 0 22px rgba(247, 240, 12, 0.25);
}
.cert-rows { margin: 0; }
.cert-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.cert-rows div:last-child { border-bottom: 0; }
.cert-rows dt { color: var(--muted); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.1em; }
.cert-rows dd { margin: 0; font-weight: 500; color: var(--cream); font-size: 0.95rem; text-align: right; }
.cert-hash {
  margin-top: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  font-family: ui-monospace, monospace;
}

/* ---------- Pretpregled kapsule ---------- */
.preview-wrap {
  display: grid;
  gap: 30px;
  align-items: center;
}
.preview-copy .muted { color: var(--muted); }
.preview-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.preview-figure img { width: 100%; height: auto; }
.preview-figure figcaption {
  padding: 12px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  background: var(--card-2);
}

/* ---------- CTA ---------- */
.section-cta { text-align: center; }
.cta-inner {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 64px 24px;
  background:
    radial-gradient(65% 80% at 50% 0%, rgba(247, 240, 12, 0.12), transparent 70%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(247, 240, 12, 0.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 20%, #000, transparent 75%);
}
.cta-inner > * { position: relative; }
.cta-title {
  font-size: clamp(2.3rem, 6.4vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta-lede { max-width: 46ch; margin: 0 auto 34px; color: #d8d3bf; font-size: 1.06rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: #0b0a08;
  padding: 48px 20px 34px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 30px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.footer-brand span { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: var(--cream); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--neon); }
.footer-ecosystem { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.footer-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.footer-ecosystem a { color: var(--muted); font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.footer-ecosystem a:hover { color: var(--neon); border-color: var(--neon); }
.footer-note {
  max-width: 1200px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-copy { color: #6f6a55; font-size: 0.8rem; }

/* ---------- Reveal (samo kad je JS dostupan — inače sadržaj ostaje vidljiv) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Veći ekrani ---------- */
@media (min-width: 720px) {
  .split { grid-template-columns: 1.25fr 0.95fr; gap: 56px; }
  .split-reverse { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .number { flex-direction: column; gap: 10px; }
  .number-value { text-align: left; }
  .gw-row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .preview-wrap { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
  .footer-note { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 30px; }
  .hero-art { justify-content: flex-end; }
  .site-nav { display: flex; align-items: center; gap: 6px; }
  .site-nav a {
    padding: 8px 14px;
    border-bottom: none;
    font-size: 0.95rem;
    color: #d8d3bf;
    border-radius: 999px;
  }
  .site-nav a:hover { color: var(--neon); background: rgba(247, 240, 12, 0.06); }
  .site-nav .nav-cta { background: var(--neon); color: var(--ink); padding: 9px 18px; font-weight: 600; }
  .site-nav .nav-cta:hover { background: var(--neon-hi); color: var(--ink); }
  .nav-toggle { display: none; }
}

/* ---------- Pristupačnost: 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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
