/* ==========================================================================
   SITA AI Bootcamp | styles.css
   Jedini stylesheet. Mobile-first. Svi tokeni u :root.
   Brend boje verifikovane sa sita.org.rs: #0D4077 / #1863DC / #0056A7
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTOVI (self-hosted, latin + latin-ext subset, srpski glifovi verifikovani)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, 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('/assets/fonts/space-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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. TOKENI
   -------------------------------------------------------------------------- */
:root {
  /* Boje: tamna baza izvedena iz brend navy #0D4077 */
  --ink-950: #04101f;
  --ink-900: #071c33;
  --ink-850: #09223d;
  --ink-800: #0b2949;
  --ink-700: #123458;

  /* Brend */
  --brand-900: #0d4077;   /* boja logotipa */
  --brand-700: #0056a7;
  --brand-600: #1863dc;   /* akcenat / CTA */
  --brand-500: #3b7ce8;
  --brand-400: #5ba3ff;   /* glow */
  --brand-200: #a9cdff;

  /* Tekst */
  --paper: #ffffff;
  --text: #e8f0fa;
  --text-soft: #b9cde4;
  --muted: #8ba5c4;
  --dim: #61799a;

  /* Linije i površine */
  --line: rgba(91, 163, 255, .16);
  --line-strong: rgba(91, 163, 255, .32);
  --surface: rgba(11, 41, 73, .5);
  --surface-solid: #0a2340;
  --glass: rgba(9, 34, 61, .68);

  /* Semantika */
  --ok: #46d3a0;
  --no: #6d8099;

  /* Tipografija */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-xs:   .8125rem;
  --fs-sm:   .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   clamp(1.3rem, 1.12rem + .8vw, 1.6rem);
  --fs-2xl:  clamp(1.65rem, 1.3rem + 1.7vw, 2.4rem);
  --fs-3xl:  clamp(2.1rem, 1.5rem + 2.9vw, 3.4rem);
  --fs-4xl:  clamp(2.6rem, 1.5rem + 5.2vw, 5.2rem);

  --lh-tight: 1.06;
  --lh-snug: 1.22;
  --lh-body: 1.65;

  /* Razmaci */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem;  --s-8: 2rem;    --s-10: 2.5rem;
  --s-12: 3rem;   --s-16: 4rem;   --s-20: 5rem;   --s-24: 6rem;
  --section-y: clamp(4rem, 2.5rem + 7vw, 8.5rem);
  --gutter: clamp(1.25rem, .75rem + 2.4vw, 2.5rem);
  --maxw: 1200px;
  --maxw-narrow: 760px;

  /* Radijusi */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 20px;  --r-xl: 28px;  --r-pill: 999px;

  /* Senke */
  --shadow-md: 0 8px 30px rgba(2, 10, 22, .5);
  --shadow-lg: 0 24px 70px rgba(2, 10, 22, .62);
  --glow: 0 0 0 1px rgba(91, 163, 255, .28), 0 12px 38px rgba(24, 99, 220, .38);
  --glow-strong: 0 0 0 1px rgba(91, 163, 255, .4), 0 16px 54px rgba(24, 99, 220, .55);

  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   3. RESET / BAZA
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--ink-950);
  overflow-x: clip; /* clip, ne hidden: position:fixed nastavlja da radi */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--brand-600); color: #fff; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 999;
  background: var(--brand-600); color: #fff;
  padding: var(--s-3) var(--s-5); border-radius: var(--r-sm);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. TIPOGRAFIJA
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: -.02em;
  color: var(--paper);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); letter-spacing: -.035em; }
h2 { font-size: var(--fs-3xl); letter-spacing: -.03em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-400));
}

.lead { font-size: var(--fs-lg); color: var(--text-soft); line-height: 1.6; }
.muted { color: var(--muted); }
.accent { color: var(--brand-400); }

/* Gradijentni tekst za key fraze */
.grad {
  background: linear-gradient(100deg, var(--brand-200) 0%, var(--brand-400) 45%, var(--brand-600) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --------------------------------------------------------------------------
   5. LAYOUT
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head .lead { margin-top: var(--s-5); max-width: 62ch; }
.center { text-align: center; }
.center .eyebrow::after {
  content: ''; width: 22px; height: 1px;
  background: linear-gradient(270deg, transparent, var(--brand-400));
}
.center .section-head .lead { margin-inline: auto; }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px)  { .g-sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .g-md-2 { grid-template-columns: repeat(2, 1fr); }
                             .g-md-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1050px) { .g-lg-3 { grid-template-columns: repeat(3, 1fr); }
                             .g-lg-4 { grid-template-columns: repeat(4, 1fr); } }

/* Suptilna atmosferska svetla iza sekcija */
.glow-bg { position: relative; isolation: isolate; }
.glow-bg::before {
  content: ''; position: absolute; z-index: -1;
  inset: -10% -20% auto; height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(24, 99, 220, .16), transparent 70%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. DUGMAD
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: -.01em;
  padding: .85em 1.6em;
  border: 1px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600) 60%, var(--brand-700));
  color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { box-shadow: var(--glow-strong); }

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: var(--brand-400); }

.btn-lg { font-size: var(--fs-base); padding: 1em 2.1em; }
.btn-sm { font-size: var(--fs-xs); padding: .65em 1.15em; }
.btn-block { width: 100%; }

.btn-arrow::after {
  content: '→'; font-size: 1.05em; line-height: 1;
  transition: transform .25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.center .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   7. KARTICE / ZNAČKE
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--text-soft); font-size: var(--fs-sm); }

.card-icon {
  width: 44px; height: 44px; margin-bottom: var(--s-5);
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(24, 99, 220, .28), rgba(13, 64, 119, .18));
  border: 1px solid var(--line-strong);
  color: var(--brand-400);
}
.card-icon svg { width: 22px; height: 22px; }

.badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: .06em; text-transform: uppercase;
  padding: .4em .9em; border-radius: var(--r-pill);
  background: rgba(24, 99, 220, .14);
  border: 1px solid var(--line-strong);
  color: var(--brand-200);
}
.badge-live { color: var(--ok); background: rgba(70, 211, 160, .1); border-color: rgba(70, 211, 160, .28); }
.badge-live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(70, 211, 160, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(70, 211, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 211, 160, 0); }
}

/* --------------------------------------------------------------------------
   8. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(4, 16, 31, .82);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header .container { display: flex; align-items: center; gap: var(--s-5); }

.brand { display: flex; align-items: center; gap: var(--s-3); margin-right: auto; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }
.brand-sep { width: 1px; height: 22px; background: var(--line-strong); }
.brand-tag {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand-400);
}

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: var(--s-6); }
.nav a {
  font-size: var(--fs-sm); color: var(--text-soft);
  transition: color .2s var(--ease); position: relative; padding-block: var(--s-2);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: var(--brand-400); transition: right .28s var(--ease);
}
.nav a:hover { color: var(--paper); }
.nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }

.lang {
  display: flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  overflow: hidden; font-size: var(--fs-xs); font-weight: 600;
}
.lang a { padding: .42em .78em; color: var(--muted); transition: all .2s var(--ease); }
.lang a[aria-current="true"] { background: var(--brand-600); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: var(--paper); background: rgba(255, 255, 255, .06); }

.header .btn-primary { display: none; }

/* Hamburger */
.menu-toggle {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); cursor: pointer;
}
.menu-toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.menu-toggle span + span { margin-top: 4.5px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobilni meni */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: rgba(4, 16, 31, .97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: var(--s-8) var(--gutter) var(--s-12);
  display: flex; flex-direction: column; gap: var(--s-2);
  transform: translateX(100%); visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 500;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a::after { content: '→'; color: var(--brand-400); opacity: .5; }
.mobile-menu .btn { margin-top: var(--s-6); }
.mobile-menu .btn::after { content: none; }

/* Tag pored logotipa tek kad ima stvarno mesta */
.brand-sep, .brand-tag { display: none; }

@media (min-width: 1080px) {
  :root { --header-h: 76px; }
  .nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
  .header .btn-primary { display: inline-flex; }
  .brand img { height: 30px; }
}
@media (min-width: 1080px) and (max-width: 1219px) {
  .nav ul { gap: var(--s-5); }
  .nav a { font-size: var(--fs-xs); }
}
@media (min-width: 1220px) {
  .brand-sep, .brand-tag { display: block; }
}

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + var(--s-12)) var(--s-16);
  overflow: hidden;
}

/* Canvas ide IZA teksta -> LCP element ostaje h1, ne canvas */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  /* Fallback dok/ako WebGL ne krene */
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(24, 99, 220, .3), transparent 68%),
    radial-gradient(45% 40% at 82% 20%, rgba(13, 64, 119, .42), transparent 70%),
    var(--ink-950);
}
/* Nema WebGL-a (ili shader nije linkovan) -> prerenderovana mreza */
.hero-canvas.is-fallback {
  background-image: url('/assets/img/hero-fallback.webp');
  background-size: cover;
  background-position: center;
}
/* Veo stiti citljivost teksta, ali NE prekriva mrezu.
   Mobilno: tekst je preko cele sirine -> ravnomeran veo.
   Desktop: tekst levo, mreza sija desno -> veo je gradijent ulevo. */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 44%, rgba(4, 16, 31, .62), transparent 78%),
    linear-gradient(180deg, rgba(4, 16, 31, .55) 0%, transparent 24%, transparent 66%, var(--ink-950) 100%);
}
@media (min-width: 950px) {
  .hero-veil {
    background:
      linear-gradient(97deg,
        rgba(4, 16, 31, .93) 0%,
        rgba(4, 16, 31, .80) 30%,
        rgba(4, 16, 31, .34) 56%,
        rgba(4, 16, 31, .06) 78%,
        transparent 100%),
      linear-gradient(180deg, rgba(4, 16, 31, .5) 0%, transparent 20%, transparent 70%, var(--ink-950) 100%);
  }
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 900px; }

.hero h1 { margin-bottom: var(--s-6); }
.hero h1 .line { display: block; }
.hero-sub { font-size: clamp(1.0625rem, .98rem + .5vw, 1.3rem); color: var(--text-soft); max-width: 58ch; margin-bottom: var(--s-8); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.hero-note {
  margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--dim);
  display: flex; align-items: center; gap: var(--s-2);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: var(--s-6); z-index: 2;
  transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim);
}
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--brand-400), transparent); }
@media (min-width: 900px) and (min-height: 700px) { .scroll-cue { display: flex; } }

/* --------------------------------------------------------------------------
   10. COUNTDOWN
   -------------------------------------------------------------------------- */
.countdown {
  display: inline-flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5) var(--s-6);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.countdown-label {
  font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: .13em; text-transform: uppercase; color: var(--text-soft);
  display: flex; align-items: center; gap: var(--s-2);
}
.countdown-clock { display: flex; align-items: flex-start; gap: var(--s-2); }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 3.05rem; }
.cd-num {
  font-family: var(--font-display); font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem);
  font-weight: 700; line-height: 1; color: var(--paper);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.cd-word {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-top: var(--s-2);
}
.cd-sep {
  font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700; line-height: 1.05; color: var(--brand-600);
}
.countdown.is-closed .countdown-clock { display: none; }
.countdown-closed { display: none; font-size: var(--fs-sm); color: var(--text-soft); max-width: 34ch; }
.countdown.is-closed .countdown-closed { display: block; }

/* Countdown u headeru (pojavljuje se na skrol) */
.header-countdown {
  display: none; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono); font-size: var(--fs-xs);
  padding: .42em .9em; border-radius: var(--r-pill);
  background: rgba(24, 99, 220, .16); border: 1px solid var(--line-strong);
  color: var(--brand-200); white-space: nowrap;
}
@media (min-width: 1100px) { .header.is-stuck .header-countdown { display: inline-flex; } }

/* --------------------------------------------------------------------------
   11. STAT TRAKA
   -------------------------------------------------------------------------- */
.stats {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 41, 73, .42), transparent);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  padding-block: var(--s-10);
}
.stat { padding: var(--s-4) var(--s-2); text-align: center; position: relative; }
.stat::after {
  content: ''; position: absolute; right: 0; top: 22%; height: 56%; width: 1px; background: var(--line);
}
.stat:nth-child(2n)::after { display: none; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem); line-height: 1;
  letter-spacing: -.04em; color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.stat-num .unit { color: var(--brand-400); }
.stat-label {
  margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--muted);
  letter-spacing: .04em;
}
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(2n)::after { display: block; }
  .stat:last-child::after { display: none; }
}

/* --------------------------------------------------------------------------
   12. LOGO TRAKA
   -------------------------------------------------------------------------- */
.partners { padding-block: var(--s-12); }
.partners-label {
  text-align: center; font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
  margin-bottom: var(--s-8);
}
.partners-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.75rem, 1rem + 4vw, 4.5rem);
}
/* Logotipi su vec beli/monohromni PNG/SVG, pa je dovoljna opacity */
.partners-row img {
  height: clamp(20px, 16px + 1.1vw, 28px); width: auto;
  opacity: .58;
  transition: opacity .3s var(--ease);
}
.partners-row a:hover img { opacity: 1; }
.partners-row .p-arc img  { height: clamp(30px, 24px + 1.5vw, 42px); }
.partners-row .p-sita img { height: clamp(22px, 18px + 1.2vw, 31px); }

/* --------------------------------------------------------------------------
   13. SPLIT (tekst + slika)
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 950px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media { order: -1; }
}
.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--r-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.split-media::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(24, 99, 220, .16), transparent 55%);
  pointer-events: none;
}
.split-body > * + * { margin-top: var(--s-5); }
.split-body p { color: var(--text-soft); }

.note {
  border-left: 2px solid var(--brand-600);
  padding: var(--s-4) 0 var(--s-4) var(--s-5);
  background: linear-gradient(90deg, rgba(24, 99, 220, .1), transparent 70%);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.note strong { color: var(--paper); }

/* --------------------------------------------------------------------------
   14. TRANSFORMACIJA (before / after)
   -------------------------------------------------------------------------- */
.transform-grid { display: grid; gap: var(--s-5); align-items: stretch; }
@media (min-width: 900px) { .transform-grid { grid-template-columns: 1fr auto 1fr; align-items: center; } }

.tcard { padding: var(--s-8); border-radius: var(--r-lg); border: 1px solid var(--line); height: 100%; }
.tcard-from { background: rgba(11, 41, 73, .3); }
.tcard-to {
  background: linear-gradient(155deg, rgba(24, 99, 220, .2), rgba(13, 64, 119, .12));
  border-color: var(--line-strong); box-shadow: var(--glow);
}
.tcard-label {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: var(--s-4);
}
.tcard-from .tcard-label { color: var(--dim); }
.tcard-to .tcard-label { color: var(--brand-400); }
.tcard p { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 500; line-height: 1.3; color: var(--text); }
.tcard-to p { color: var(--paper); }

.tarrow {
  display: grid; place-items: center;
  font-size: 1.6rem; color: var(--brand-500);
  transform: rotate(90deg);
}
@media (min-width: 900px) { .tarrow { transform: none; } }

/* --------------------------------------------------------------------------
   15. FIT (za koga jeste / nije)
   -------------------------------------------------------------------------- */
.fit-grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .fit-grid { grid-template-columns: 1fr 1fr; } }

.fit { padding: var(--s-8); border-radius: var(--r-lg); border: 1px solid var(--line); }
.fit-yes { background: linear-gradient(160deg, rgba(70, 211, 160, .09), transparent 60%); border-color: rgba(70, 211, 160, .22); }
.fit-no  { background: rgba(11, 41, 73, .28); }
.fit h3 { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-6); font-size: var(--fs-lg); }
.fit-mark {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.fit-yes .fit-mark { background: rgba(70, 211, 160, .18); color: var(--ok); }
.fit-no  .fit-mark { background: rgba(109, 128, 153, .18); color: var(--no); }
.fit li { display: flex; gap: var(--s-3); padding-block: var(--s-3); font-size: var(--fs-sm); color: var(--text-soft); }
.fit li + li { border-top: 1px solid var(--line); }
.fit li::before { content: '·'; color: var(--dim); font-weight: 700; }
.fit-yes li::before { content: '✓'; color: var(--ok); font-size: .85em; }
.fit-no  li::before { content: '✕'; color: var(--no); font-size: .78em; }

/* --------------------------------------------------------------------------
   16. KURIKULUM
   -------------------------------------------------------------------------- */
.curriculum { position: relative; }
.phase + .phase { margin-top: var(--s-12); }

.phase-head {
  display: flex; align-items: baseline; gap: var(--s-4);
  padding-bottom: var(--s-4); margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}
.phase-num {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em;
  color: var(--brand-400); text-transform: uppercase;
}
.phase-head h3 { font-size: var(--fs-lg); letter-spacing: -.02em; }
.phase-weeks { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--dim); white-space: nowrap; }

.modules { display: grid; gap: var(--s-3); }
@media (min-width: 760px)  { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .modules { grid-template-columns: repeat(4, 1fr); } }

.module {
  position: relative; padding: var(--s-5);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
  overflow: hidden;
}
.module::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  transform: scaleY(0); transform-origin: top;
  transition: transform .5s var(--ease);
}
.module.is-lit::before { transform: scaleY(1); }
.module:hover { border-color: var(--line-strong); background: rgba(11, 41, 73, .72); transform: translateY(-3px); }

.module-num {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  color: var(--brand-400); letter-spacing: .08em;
  display: flex; align-items: center; justify-content: space-between;
}
.module-num .wk { color: var(--dim); }
.module h4 {
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.45;
  letter-spacing: -.005em; color: var(--text); font-family: var(--font-body);
}

.curriculum-foot {
  margin-top: var(--s-12); padding: var(--s-8);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(24, 99, 220, .1), transparent 60%);
}
.curriculum-foot p { color: var(--text-soft); }
.curriculum-foot p + p { margin-top: var(--s-4); }

/* --------------------------------------------------------------------------
   17. DETALJI (icon grid)
   -------------------------------------------------------------------------- */
.details-grid { display: grid; gap: var(--s-3); }
@media (min-width: 640px)  { .details-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .details-grid { grid-template-columns: repeat(3, 1fr); } }

.detail {
  padding: var(--s-6); border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.detail:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.detail-icon { color: var(--brand-400); margin-bottom: var(--s-4); }
.detail-icon svg { width: 22px; height: 22px; }
.detail h3 {
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: var(--s-2);
}
.detail p { font-size: var(--fs-sm); color: var(--text); line-height: 1.55; }
.detail strong { color: var(--paper); font-weight: 600; }

/* --------------------------------------------------------------------------
   18. MENTORI
   -------------------------------------------------------------------------- */
.mentor-group + .mentor-group { margin-top: var(--s-10); }
.mentor-group-head {
  display: flex; align-items: center; gap: var(--s-4);
  padding-bottom: var(--s-4); margin-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.mentor-group-head img { height: 22px; width: auto; opacity: .9; }
.mentor-group-head .count { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--dim); }

.mentor-list { display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.mentor {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  font-size: var(--fs-sm);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.mentor:hover { border-color: var(--line-strong); background: rgba(11, 41, 73, .7); }
.mentor-initials {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(145deg, rgba(24, 99, 220, .32), rgba(13, 64, 119, .22));
  border: 1px solid var(--line-strong); color: var(--brand-200);
}

/* --------------------------------------------------------------------------
   19. LOKACIJA + KALENDAR
   -------------------------------------------------------------------------- */
.venue { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
@media (min-width: 1000px) { .venue { grid-template-columns: 1.05fr .95fr; align-items: start; } }

.venue-gallery { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, 1fr); }
.venue-gallery figure { margin: 0; position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.venue-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s var(--ease); }
.venue-gallery figure:hover img { transform: scale(1.045); }
.venue-gallery figure:first-child { grid-column: 1 / -1; }
.venue-gallery figure:first-child img { aspect-ratio: 16 / 9; }

.calendar { display: grid; gap: var(--s-5); }
.cal-month-name {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-400); margin-bottom: var(--s-3);
  display: flex; align-items: baseline; gap: var(--s-3);
}
.cal-month-name .n { color: var(--dim); letter-spacing: .04em; }
.cal-days { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cal-day {
  min-width: 40px; padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm); text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums; color: var(--text-soft);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.cal-day:hover { border-color: var(--line-strong); color: var(--paper); }
.cal-legend { font-size: var(--fs-xs); color: var(--dim); margin-top: var(--s-4); }

/* --------------------------------------------------------------------------
   20. TIMELINE PRIJAVE
   -------------------------------------------------------------------------- */
.timeline { position: relative; display: grid; gap: var(--s-6); }
.timeline::before {
  content: ''; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--brand-600), var(--line));
}
.tl-item { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-5); align-items: start; }
.tl-dot {
  width: 27px; height: 27px; border-radius: 50%; position: relative; z-index: 1;
  display: grid; place-items: center;
  background: var(--ink-900); border: 1px solid var(--line-strong);
  font-size: .68rem; color: var(--dim);
}
.tl-item.is-done .tl-dot { background: var(--brand-900); border-color: var(--brand-600); color: var(--brand-200); }
.tl-item.is-now .tl-dot {
  background: var(--brand-600); border-color: var(--brand-400); color: #fff;
  box-shadow: 0 0 0 5px rgba(24, 99, 220, .18);
}
.tl-date {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .06em;
  color: var(--brand-400); margin-bottom: var(--s-1);
}
.tl-item.is-upcoming .tl-date { color: var(--dim); }
.tl-body h3 { font-size: var(--fs-base); margin-bottom: var(--s-2); }
.tl-body p { font-size: var(--fs-sm); color: var(--muted); }
.tl-now-tag {
  display: inline-block; margin-left: var(--s-2);
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ok);
  padding: .18em .5em; border-radius: var(--r-sm);
  background: rgba(70, 211, 160, .12); border: 1px solid rgba(70, 211, 160, .28);
  vertical-align: middle;
}
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
  .timeline::before { left: 0; right: 0; top: 13px; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, var(--brand-600), var(--line)); }
  .tl-item { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* --------------------------------------------------------------------------
   21. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--s-2); }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); background: rgba(11, 41, 73, .62); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) var(--s-6); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-base); font-weight: 500; color: var(--paper);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0;
  font-family: var(--font-mono); font-size: 1.35rem; font-weight: 300;
  color: var(--brand-400); line-height: 1;
  transition: transform .28s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brand-200); }
.faq-body { padding: 0 var(--s-6) var(--s-6); }
.faq-body p { color: var(--text-soft); font-size: var(--fs-sm); }
.faq-body p + p { margin-top: var(--s-3); }
.faq-body a { color: var(--brand-400); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   22. FINALNI CTA
   -------------------------------------------------------------------------- */
.cta-final { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-canvas {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  background:
    radial-gradient(65% 90% at 50% 110%, rgba(24, 99, 220, .34), transparent 70%),
    var(--ink-950);
}
.cta-final .container { position: relative; z-index: 2; }
.cta-final::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--ink-950) 0%, transparent 32%, transparent 70%, rgba(4, 16, 31, .82) 100%);
}
.cta-final h2 { margin-bottom: var(--s-5); }
.cta-final .lead { margin-bottom: var(--s-8); }
.cta-final .countdown { margin-bottom: var(--s-8); }

/* --------------------------------------------------------------------------
   23. STICKY MOBILNI CTA
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; inset: auto 0 0; z-index: 90;
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgba(4, 16, 31, .93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: var(--s-4);
  transform: translateY(105%);
  transition: transform .34s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex-shrink: 0; }
.sticky-cta-info { min-width: 0; }
.sticky-cta-info strong { display: block; font-size: var(--fs-sm); color: var(--paper); }
.sticky-cta-info span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand-400); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* --------------------------------------------------------------------------
   24. FOOTER
   -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-12) var(--s-8); background: var(--ink-950); }
.footer-top { display: grid; gap: var(--s-8); margin-bottom: var(--s-10); }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-10); } }
.footer-brand img { height: 30px; width: auto; margin-bottom: var(--s-5); }
.footer-brand p { font-size: var(--fs-sm); color: var(--muted); max-width: 40ch; }
.footer h4 {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .13em;
  text-transform: uppercase; color: var(--dim); margin-bottom: var(--s-4); font-weight: 500;
}
.footer li + li { margin-top: var(--s-3); }
.footer a { font-size: var(--fs-sm); color: var(--text-soft); transition: color .2s var(--ease); }
.footer a:hover { color: var(--brand-400); }
.socials { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--text-soft);
  transition: all .2s var(--ease);
}
.socials a:hover { border-color: var(--brand-400); color: var(--brand-400); background: rgba(24, 99, 220, .1); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center;
  padding-top: var(--s-6); border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--dim);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-bottom li { margin: 0; }
.footer-bottom a { font-size: var(--fs-xs); }

/* --------------------------------------------------------------------------
   25. REVEAL (gejtovan iza .js -> sadržaj vidljiv bez JS-a)
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* --------------------------------------------------------------------------
   26. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .module::before { transform: scaleY(1); }
}

/* --------------------------------------------------------------------------
   27. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .header, .mobile-menu, .sticky-cta, .hero-canvas, .cta-canvas, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4 { color: #0d4077; }
}
