/* milanzunic.com · zajednička paleta sa RESTOP-om, odnos 70/20/10 (VIZUELNI_IDENTITET, poglavlje 12) */
:root {
  --blue-900: #0f2233; --blue-800: #1e3a53; --blue-600: #2a5070; --blue-300: #a8bccd; --blue-100: #dce8f2; --blue-50: #eaf1f8;
  --orange: #f4801d;
  --n-50: #f5f8fb; --n-100: #edf1f5; --n-200: #dee4ea; --n-300: #c4ccd5; --n-600: #53616e; --n-800: #2a333c;
  --success: #17703c; --success-bg: #e9f5ee; --error: #b3261e; --error-bg: #fdecea;
  --bg: var(--n-50); --surface: #fff; --text: var(--n-800); --muted: var(--n-600); --heading: var(--blue-800);
  --link: var(--blue-600); --border: var(--n-200); --field: var(--n-300);
  --btn-bg: var(--blue-800); --btn-text: #fff; --btn-hover: var(--blue-600);
  --fh: 'Exo 2', 'Segoe UI', Tahoma, sans-serif; --fb: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sh-sm: 0 1px 2px rgba(30,58,83,.06); --sh-md: 0 4px 12px rgba(30,58,83,.08); --sh-lg: 0 12px 32px rgba(30,58,83,.12);
  --ease: cubic-bezier(.16,1,.3,1); --edge: 20px; --w: 1200px;
}
[data-theme="dark"] {
  --bg: #0f2233; --surface: #1a3247; --text: #e8eef4; --muted: #a8bccd; --heading: #fff; --link: #a8bccd;
  --border: #2a4a63; --field: #3a5b76; --btn-bg: #fff; --btn-text: #1e3a53; --btn-hover: #dce8f2;
  --success: #7fd0a0; --success-bg: #173a2c; --error: #f2a09a; --error-bg: #4a2422;
}
@media (min-width: 768px) { :root { --edge: 32px; } }
@media (min-width: 1024px) { :root { --edge: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--fb); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--fh); color: var(--heading); margin: 0; }
h1 { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
h2 { font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 16px; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }
[data-theme="dark"] :focus-visible { outline-color: #fff; }
[id] { scroll-margin-top: 96px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--w) + 2 * var(--edge)); margin: 0 auto; padding: 0 var(--edge); }
.narrow { max-width: 720px; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
svg.i.l { width: 32px; height: 32px; stroke-width: 2; }

/* Zaglavlje */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.hdr .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { font: 700 22px/1 var(--fh); letter-spacing: -.02em; color: var(--heading); text-decoration: none; position: relative; padding-right: 14px; margin-right: auto; }
.logo::after { content: ""; position: absolute; right: 0; top: -1px; width: 9px; height: 9px; border-radius: 3px; background: var(--orange); }
.nav { display: none; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; position: relative; }
.nav a:hover { background: var(--blue-50); color: var(--blue-800); }
.nav a[aria-current="page"] { font-weight: 600; color: var(--heading); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--orange); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--heading); }
.menu-btn { display: inline-grid; }
.mnav { display: none; border-top: 1px solid var(--border); padding: 8px var(--edge) 16px; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--border); }
.hdr .btn { display: none; }

/* Dugmad */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 8px; border: 2px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-text); font: 600 16px/1 var(--fb); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s var(--ease); }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); transform: translateY(-2px); }
.btn.sec { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn.sec:hover { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.dark .btn { background: #fff; border-color: #fff; color: var(--blue-800); }
.dark .btn:hover { background: var(--blue-100); border-color: var(--blue-100); }
.tlink { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tlink:hover { text-decoration: underline; }

/* Sekcije */
section { padding: 64px 0; }
.white { background: var(--surface); }
.dark { background: var(--blue-900); color: #e8eef4; }
.dark h2, .dark h3 { color: #fff; } .dark p { color: var(--blue-300); } .dark a:not(.btn) { color: #fff; }
.eyebrow { font: 600 12px/1.4 var(--fh); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--orange); }
.dark .eyebrow { color: var(--blue-300); }
.lead { font-size: 17px; color: var(--muted); max-width: 62ch; }
.sh { margin-bottom: 32px; } .sh h2 + p { margin-top: 12px; }
.hl { background: linear-gradient(var(--orange), var(--orange)) left bottom / 100% 5px no-repeat; padding-bottom: 2px; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: 34px; }
.hero .lead { margin: 20px 0 28px; font-size: 18px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { border-radius: 16px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 62% 30%; width: 100%; box-shadow: var(--sh-lg); }
.hero figure::after { content: ""; position: absolute; right: -10px; top: -10px; width: 34px; height: 34px; border-radius: 10px; background: var(--orange); }
.proof { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; border-top: 1px solid var(--border); padding-top: 28px; }
.proof b { display: block; font: 700 30px/1.1 var(--fh); color: var(--heading); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof span { font-size: 14px; color: var(--muted); }

/* Prijava */
.sub { display: grid; gap: 12px; max-width: 520px; }
.sub .rowf { display: grid; gap: 10px; }
.sub input[type="email"], .f input, .f textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
.f textarea { min-height: 140px; resize: vertical; }
.f { margin-bottom: 16px; } .f label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--heading); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.chk input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue-800); flex: none; }
.dark .chk { color: var(--blue-300); } .dark .chk a { color: #fff; }
.hp { position: absolute; left: -9999px; }
.msg { border-radius: 8px; padding: 12px 16px; font-weight: 500; display: none; }
.msg.ok { display: block; background: var(--success-bg); color: var(--success); }
.msg.err { display: block; background: var(--error-bg); color: var(--error); }
.note { font-size: 14px; color: var(--muted); margin: 0; }
.dark .note { color: var(--blue-300); }

/* Kartice */
.cards { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.card p { margin: 0; color: var(--muted); }
.card > .i { color: var(--blue-600); }
.card.num { border-left: 3px solid var(--orange); }
.step { font: 700 28px/1 var(--fh); color: var(--heading); font-variant-numeric: tabular-nums; }
.app img { border-radius: 8px; border: 1px solid var(--border); aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; width: 100%; background: var(--n-100); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chips li { font: 600 18px/1 var(--fh); color: var(--heading); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 14px 24px; }
.result { display: grid; gap: 24px; align-items: center; }
.result .nums { display: flex; gap: 32px; flex-wrap: wrap; }
.result .nums b { display: block; font: 700 44px/1 var(--fh); color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.result .nums b em { font-style: normal; color: var(--blue-300); font-weight: 600; }
.result .nums span { font-size: 14px; color: var(--blue-300); }
.bridge { border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: 12px; background: var(--surface); padding: 28px 24px; display: grid; gap: 16px; align-items: center; }
.bridge p { margin: 0; color: var(--muted); }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 32px 0; }
.photos img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.prose p, .prose li { max-width: 68ch; } .prose h2 { margin: 40px 0 16px; } .prose ul { padding-left: 20px; }

/* Primer u tamnoj sekciji */
.case { border: 1px solid #2a4a63; border-radius: 12px; padding: 24px; max-width: 420px; }
.case .case-t { font: 600 16px/1.4 var(--fh); color: #fff; margin: 0 0 16px; }
.case dl { margin: 0; display: grid; gap: 14px; }
.case dt { font-size: 14px; color: var(--blue-300); }
.case dd { margin: 2px 0 0; font: 700 26px/1.2 var(--fh); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.case dd small { font: 500 16px/1 var(--fb); letter-spacing: 0; color: #e8eef4; }
.case dd em { font-style: normal; font-weight: 600; color: var(--blue-300); }
.case .case-n { font-size: 14px; margin: 16px 0 0; }

/* Ekrani aplikacija: klik uvećava */
.zoom { display: block; border-radius: 8px; cursor: zoom-in; }
.after { margin: 24px 0 0; color: var(--muted); }
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
dialog.lb::backdrop { background: rgba(10, 24, 37, .88); }
dialog.lb img { max-width: 100%; max-height: 84vh; width: auto; margin: 0 auto; border-radius: 8px; background: #fff; }
dialog.lb button { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 20px; border-radius: 8px; border: 1px solid #fff; background: transparent; color: #fff; font: 600 15px/1 var(--fb); cursor: pointer; }

/* Logotipi klijenata: uvek na beloj podlozi */
.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; max-width: 760px; }
.logos li { background: #fff; border: 1px solid var(--border); border-radius: 12px; height: 120px; padding: 20px 24px; display: grid; place-items: center; }
.logos img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }

/* Kursevi i lekcije */
.tag { align-self: flex-start; font: 600 12px/1 var(--fh); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: var(--blue-50); color: var(--blue-800); }
.tag.ok { background: var(--success-bg); color: var(--success); }
[data-theme="dark"] .tag:not(.ok) { background: #2a4a63; color: #e8eef4; }
.meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--muted); }
.meta li:not(:last-child)::after { content: "·"; margin: 0 9px; }
.lessons { list-style: none; counter-reset: l; padding: 0; margin: 8px 0; border-top: 1px solid var(--border); }
.lessons li { counter-increment: l; display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--border); }
.lessons li::before { content: counter(l, decimal-leading-zero); font: 600 14px/1 var(--fh); color: var(--muted); font-variant-numeric: tabular-nums; }
.lessons a { font-weight: 600; } .lessons span { color: var(--muted); }
.lessons small { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 8px !important; }
.price span { font-size: 14px; } .price s { font-size: 18px; }
.price b { font: 700 30px/1 var(--fh); color: var(--heading); letter-spacing: -.02em; }
.course .btn { align-self: flex-start; }
.cards.tight { gap: 12px; margin: 8px 0 8px; } .cards.tight .card { padding: 20px 24px; }
.bridge.one { grid-template-columns: 1fr; } .h-sm { font-size: 20px; margin: 0 0 8px !important; }
.prose ol { padding-left: 22px; } .prose li { margin-bottom: 8px; }
.prompt { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; font: 400 14px/1.6 ui-monospace, Consolas, monospace; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 16px; }
.tablebox { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--border); border-radius: 8px; }
.tablebox table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tablebox th { background: var(--blue-800); color: #fff; font: 600 13px/1.4 var(--fh); text-align: left; padding: 10px 14px; }
.tablebox td { padding: 10px 14px; border-top: 1px solid var(--border); }
.tablebox td:last-child { font-weight: 600; color: var(--heading); white-space: nowrap; }
.tablebox.wrap td:last-child { white-space: normal; font-weight: 400; }
.tablebox.wrap td:first-child { font-weight: 600; color: var(--heading); }

/* Tamna tema: popravke */
[data-theme="dark"] .dark { background: #0a1825; }
[data-theme="dark"] .card > .i { color: var(--link); }
[data-theme="dark"] .chk input { accent-color: #fff; }
[data-theme="dark"] .nav a:hover { background: #1a3247; color: #fff; }
[data-theme="dark"] .tablebox th { background: #0a1825; }

/* Pitanja */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 18px/1.4 var(--fh); color: var(--heading); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--fb); color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); max-width: 68ch; padding-bottom: 20px; margin: 0; }

/* Podnožje */
.ftr { background: #0a1825; color: var(--blue-300); padding: 48px 0 32px; font-size: 15px; }
.ftr .grid { display: grid; gap: 32px; }
.ftr a { color: #e8eef4; text-decoration: none; } .ftr a:hover { text-decoration: underline; }
.ftr .logo { color: #fff; margin: 0; display: inline-block; }
.ftr h2 { font: 600 12px/1.4 var(--fh); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr .low { border-top: 1px solid #1a3247; margin-top: 32px; padding-top: 20px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (min-width: 768px) {
  h1 { font-size: 40px; } h2 { font-size: 32px; } h3 { font-size: 22px; }
  section { padding: 96px 0; }
  .hero { padding: 72px 0 80px; } .hero h1 { font-size: 46px; }
  .hero .grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sub .rowf { grid-template-columns: minmax(0, 1fr) auto; }
  .cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .cards.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .card { padding: 32px; }
  .result { grid-template-columns: minmax(0, 1fr) auto; }
  .bridge { grid-template-columns: minmax(0, 1fr) auto; padding: 32px; }
  .photos { gap: 16px; }
  .ftr .grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nav { display: flex; } .menu-btn { display: none; } .mnav { display: none !important; } .hdr .btn { display: inline-flex; }
  .cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ===== Akademija v2: lekcije i kursevi ===== */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--orange); }

.lhero { position: relative; background: var(--blue-900); color: #e8eef4; padding: 0 0 48px; overflow: hidden; }
[data-theme="dark"] .lhero { background: #0a1825; }
.lhero-img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 28%; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.lhero-in { position: relative; margin-top: -40px; }
.lhero h1 { color: #fff; font-size: 34px; margin: 0 0 16px; max-width: 16ch; }
.lhero .lead { color: #c9d6e2; font-size: 18px; margin: 0 0 24px; max-width: 46ch; }
.lhero .eyebrow { color: var(--blue-300); flex-wrap: wrap; }
.lhero .eyebrow a { color: #fff; text-decoration: none; } .lhero .eyebrow a:hover { text-decoration: underline; }
.lhero .eyebrow a + span::before { content: "/"; margin-right: 12px; color: var(--blue-300); }
.lhero .tag { display: inline-block; margin: 0 0 16px; background: #2a4a63; color: #e8eef4; }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--fb); padding: 10px 14px; border-radius: 999px; border: 1px solid #35566f; color: #e8eef4; background: rgba(255,255,255,.04); }
.pills .i { width: 16px; height: 16px; }

.lbody { padding-top: 40px; }
.lgrid { display: grid; gap: 32px; }
.lgrid .prose { min-width: 0; max-width: 720px; }
.toc { border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; background: var(--bg); align-self: start; }
.toc p { font: 600 12px/1.4 var(--fh); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--border); color: var(--muted); text-decoration: none; font-size: 15px; line-height: 1.4; }
.toc a:hover { color: var(--heading); }
.toc a.on { color: var(--heading); font-weight: 600; border-left-color: var(--orange); }

.story { position: relative; margin: 0 0 32px; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); }
.story p { font: 500 20px/1.55 var(--fh); color: var(--heading); letter-spacing: -.01em; margin: 0 0 12px; max-width: 34em; }
.story .story-k { font: 600 12px/1.4 var(--fh); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story .story-p { font: 400 17px/1.6 var(--fb); color: var(--muted); letter-spacing: 0; margin: 0; }

.video { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--blue-900); margin: 0 0 40px; box-shadow: var(--sh-lg); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; opacity: .38; }
.video.soon > div { position: absolute; inset: 0; display: flex; align-items: center; gap: 18px; padding: 24px; background: linear-gradient(90deg, rgba(15,34,51,.92), rgba(15,34,51,.45)); }
.video.soon p { margin: 0; color: #c9d6e2; font-size: 15px; max-width: 34ch; }
.video.soon b { display: block; font: 600 20px/1.3 var(--fh); color: #fff; margin-bottom: 4px; }
.playb { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-800); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.playb .i { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 3px; }

.tldr { border-radius: 16px; padding: 28px; background: var(--blue-50); border: 1px solid var(--blue-100); margin: 0 0 8px; }
.tldr p { margin: 0; color: var(--text); font-size: 17px; }
[data-theme="dark"] .tldr { background: #14293b; border-color: var(--border); }
.try { border-radius: 16px; padding: 32px 28px; background: var(--blue-900); margin-top: 48px; position: relative; overflow: hidden; }
.try::after { content: ""; position: absolute; right: 24px; top: 24px; width: 14px; height: 14px; border-radius: 4px; background: var(--orange); }
.try h2 { color: #fff; font-size: 26px !important; } .try p { color: #c9d6e2; margin: 0; font-size: 17px; }
.try .try-k { font: 600 12px/1.4 var(--fh); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-300); margin: 0 0 10px; }
[data-theme="dark"] .try { background: #0a1825; border: 1px solid var(--border); }

.chat { margin: 0 0 20px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); box-shadow: var(--sh-sm); }
.chat figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; background: var(--blue-800); color: #fff; font: 600 13px/1 var(--fh); letter-spacing: .04em; }
[data-theme="dark"] .chat figcaption { background: #0a1825; }
.chat button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 8px; border: 1px solid #4a6a85; background: transparent; color: #fff; font: 500 13px/1 var(--fb); cursor: pointer; }
.chat button:hover { background: rgba(255,255,255,.1); } .chat button .i { width: 15px; height: 15px; }
.chat .prompt { border: 0; border-radius: 0; margin: 0; padding: 18px; }

.sh h3 + p { margin-top: 8px; }
.lcards { display: grid; gap: 16px; }
.lcard { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--sh-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
a.lcard:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.lcard img, .lcard .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 26%; }
.lcard .cover { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-800), var(--blue-900)); color: var(--blue-300); }
.lc-b { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.lc-t { font: 600 20px/1.3 var(--fh); color: var(--heading); letter-spacing: -.01em; }
.lc-d { color: var(--muted); font-size: 15px; }
.lc-m { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lc-m .i { width: 15px; height: 15px; }
.lcard.off .lc-t { color: var(--muted); }

.cbanner { display: grid; border-radius: 20px; overflow: hidden; background: var(--blue-900); box-shadow: var(--sh-lg); }
[data-theme="dark"] .cbanner { background: #0a1825; border: 1px solid var(--border); }
.cbanner > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 26%; order: -1; }
.cb-t { padding: 28px 24px 32px; }
.cb-t h2 { color: #fff; margin: 0 0 12px; } .cb-t > p { color: #c9d6e2; max-width: 46ch; }
.cb-t .eyebrow { color: var(--blue-300); }
.cb-t .pills { margin: 20px 0; }
.cb-t .price { color: var(--blue-300); margin: 0 !important; } .cb-t .price b { color: #fff; }
.cbanner.soon > img { filter: grayscale(.6); opacity: .7; }

@media (min-width: 768px) {
  .lcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .story p { font-size: 22px; }
  .try { padding: 40px; } .tldr { padding: 32px; }
  .cbanner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .cbanner > img { order: 0; height: 100%; aspect-ratio: auto; min-height: 340px; }
  .cb-t { padding: 48px; align-self: center; }
}
@media (min-width: 1024px) {
  .lhero { padding: 0; min-height: 540px; display: flex; align-items: center; }
  .lhero-img { position: absolute; right: 0; top: 0; width: 56%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .lhero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--blue-900) 0, var(--blue-900) 44%, rgba(15,34,51,.86) 56%, rgba(15,34,51,.35) 78%, rgba(15,34,51,.1) 100%); }
  [data-theme="dark"] .lhero::before { background: linear-gradient(90deg, #0a1825 0, #0a1825 44%, rgba(10,24,37,.86) 56%, rgba(10,24,37,.4) 78%, rgba(10,24,37,.15) 100%); }
  .lhero .wrap { position: relative; z-index: 2; }
  .lhero-in { margin: 0; padding: 88px 0; max-width: 600px; }
  .lhero h1 { font-size: 56px; line-height: 1.06; }
  .lhero .lead { font-size: 20px; }
  .lbody { padding-top: 72px; }
  .lgrid { grid-template-columns: 230px minmax(0, 720px); gap: 72px; justify-content: center; }
  .toc { position: sticky; top: 96px; border: 0; background: transparent; padding: 0; }
  .lcards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #jos-lekcija .lcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== Akademija v3: kartice kurseva, redovi lekcija, blog ===== */
.lhero.plain { padding: 56px 0 48px; background: radial-gradient(900px 420px at 88% -10%, rgba(74,131,176,.28), transparent 70%), var(--blue-900); }
[data-theme="dark"] .lhero.plain { background: radial-gradient(900px 420px at 88% -10%, rgba(74,131,176,.2), transparent 70%), #0a1825; }
.lhero.plain .lhero-in { margin-top: 0; }
.lhero.plain h1 { max-width: 20ch; }
.lhero .eyebrow span a { color: var(--blue-300); }
.lhero .price { color: var(--blue-300); margin: 24px 0 0 !important; } .lhero .price b { color: #fff; }

.kcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kcard { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--sh-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
a.kcard:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.kcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 26%; }
.kcard.off img { filter: grayscale(.7); opacity: .75; }
.kc-b { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.kc-b .tag { font-size: 10px; padding: 5px 7px; }
.kc-t { font: 600 16px/1.25 var(--fh); color: var(--heading); letter-spacing: -.01em; }
.kc-i { font-size: 13px; color: var(--muted); }
.kc-l, .kc-d { display: none; }
.kc-p { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); }
.kc-p b { font: 700 20px/1 var(--fh); color: var(--heading); }

.lrows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.lr-t { grid-column: 1; font: 600 18px/1.3 var(--fh); color: var(--heading); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lr-t .tag { font-size: 10px; padding: 5px 7px; }
.lr-d { grid-column: 1; color: var(--muted); font-size: 15px; }
.lr-m { grid-column: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lr-m .i { width: 14px; height: 14px; }
.lrow > .i { grid-column: 2; grid-row: 1 / span 3; color: var(--muted); transition: transform .2s var(--ease); }
a.lrow:hover .lr-t { text-decoration: underline; text-underline-offset: 4px; } a.lrow:hover > .i { transform: translateX(4px); color: var(--heading); }
.lrow.off .lr-t { color: var(--muted); }

.made { margin-top: 48px; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); max-width: 720px; }
.made p:last-child { font: 500 20px/1.5 var(--fh); color: var(--heading); letter-spacing: -.01em; margin: 0; }

.lgrid.one { grid-template-columns: minmax(0, 720px); justify-content: center; }
.post > p:first-child { font-size: 19px; color: var(--heading); }
.post h2:first-child { margin-top: 0; }
.byline { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.bcards { display: grid; gap: 16px; }
.bcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; box-shadow: var(--sh-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.white .bcard { background: var(--bg); }
.bcard:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.bc-m { font-size: 13px; color: var(--muted); }
.bc-t { font: 600 20px/1.3 var(--fh); color: var(--heading); letter-spacing: -.01em; }
.bc-d { color: var(--muted); font-size: 15px; }
.bc-a { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--heading); }
.bc-a .i { width: 16px; height: 16px; }

@media (min-width: 768px) {
  .kcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .kc-b { padding: 20px 22px 22px; gap: 8px; }
  .kc-t { font-size: 20px; } .kc-i { font-size: 14px; }
  .kc-l { display: block; list-style: none; padding: 10px 0 0; margin: 4px 0 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
  .kc-l li { padding: 3px 0 3px 14px; position: relative; }
  .kc-l li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-300); }
  .kc-d { display: block; font-size: 14px; color: var(--muted); padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--border); }
  .bcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .lrow { grid-template-columns: minmax(0, 1fr) auto auto; padding: 20px 8px; }
  .lr-m { grid-column: 2; grid-row: 1 / span 2; }
  .lrow > .i { grid-column: 3; grid-row: 1 / span 2; }
}
@media (min-width: 1024px) {
  .lhero.plain { min-height: 0; padding: 0; }
  .lhero.plain::before { display: none; }
  .lhero.plain .lhero-in { padding: 80px 0 72px; max-width: 820px; }
  .bcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1240px) { .kcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ===== krug 5: ujednačene kartice kurseva, slike uz blog ===== */
.kc-b .tag { align-self: flex-start; }
.kc-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 3.75em; }
.kc-d { display: none; }
.bcard { padding: 0; overflow: hidden; gap: 0; }
.bcard img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.bcard .bc-m { padding: 20px 24px 0; } .bcard .bc-t { padding: 8px 24px 0; } .bcard .bc-d { padding: 8px 24px 0; } .bcard .bc-a { padding: 14px 24px 22px; }
.post-img { width: 100%; border-radius: 14px; margin: 0 0 28px; box-shadow: var(--sh-md); }
.post > .post-img + p { font-size: 19px; color: var(--heading); }
@media (min-width: 768px) {
  .kc-t { -webkit-line-clamp: 2; min-height: 2.5em; }
  .kc-d { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 4.6em; font-size: 14px; line-height: 1.55; color: var(--muted); padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--border); }
}

/* ===== krug 6: blog kartica = naslov, slika (datum i vreme čitanja su na slici), opis ===== */
.bcard .bc-t { padding: 22px 24px 0; margin-bottom: 16px; font-size: 20px; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: calc(2.6em + 22px); }
.bcard .bc-d { padding: 16px 24px 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: calc(3.1em + 16px); }

/* ===== krug 9: lekcije kao kartice iste veličine (telefon 2 u redu, računar 4 u redu) ===== */
.lrows { border-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lrows > li { display: flex; }
.lrow { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); box-shadow: var(--sh-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
section:not(.white) .lrow { background: var(--surface); }
a.lrow:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
a.lrow:hover .lr-t { text-decoration: none; }
.lr-t { flex-direction: column-reverse; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.3; }
.lr-t .tag { align-self: flex-start; }
.lr-d { display: none; }
.lr-m { margin-top: auto; padding-top: 6px; }
.lrow > .i { display: none; }
@media (min-width: 768px) {
  .lrows { gap: 24px; }
  .lrow { padding: 22px; grid-template-columns: none; }
  .lr-t { font-size: 19px; }
  .lr-d { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; font-size: 14px; line-height: 1.55; }
  .lr-m { grid-column: auto; grid-row: auto; }
}
@media (min-width: 1024px) {
  .lrows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #jos-lekcija .lrows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== krug 10: primer odgovora AI alata, „šta ćeš naučiti“ ===== */
.odg { margin: -8px 0 24px 20px; padding: 16px 20px 6px; border-left: 3px solid var(--blue-300); border-radius: 0 12px 12px 0; background: var(--blue-50); }
[data-theme="dark"] .odg { background: #14293b; border-left-color: #4a6a85; }
.odg p, .odg li { font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.odg .odg-k { font: 600 12px/1.4 var(--fh); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.odg ul, .odg ol { margin: 0 0 10px; padding-left: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 17px; }
.ticks .i { width: 22px; height: 22px; margin-top: 2px; color: var(--success); stroke-width: 2.2; }
@media (min-width: 768px) { .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1180px) { .nav a { padding: 10px 9px; font-size: 15px; } .nav a[aria-current="page"]::after { left: 9px; right: 9px; } }
.lhero .btn { background: #fff; border-color: #fff; color: var(--blue-800); }
.lhero .btn:hover { background: var(--blue-100); border-color: var(--blue-100); }
