/* SEO Bee — zajednički stilovi za sve stranice. Tamna tema je osnovna, svijetla preko prefers-color-scheme ili data-theme. */
:root {
  --bg: #0A0A0B; --surface: #141416; --surface-2: #1C1C1F; --line: #2A2A2E;
  --fg: #F2F0EA; --muted: #9C9890;
  --gold: #F2C230; --gold-ink: #F2C230; --honey: #FFD66B; --on-gold: #0A0A0B;
  --ok: #7BD88F; --err: #FF7A6B;
  --display: 'Oxanium', 'Rajdhani', system-ui, sans-serif;
  --label: 'Rajdhani', 'Oxanium', system-ui, sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --header-h: 72px; --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #FAF8F2; --surface: #FFFFFF; --surface-2: #F3EFE4; --line: #E8E2D2; --fg: #141416; --muted: #6B675F; --gold: #E6B41E; --gold-ink: #8A6A00; --honey: #F2C230; --on-gold: #141416; --ok: #1F8A4C; --err: #C8402F; color-scheme: light; }
}
:root[data-theme="light"] { --bg: #FAF8F2; --surface: #FFFFFF; --surface-2: #F3EFE4; --line: #E8E2D2; --fg: #141416; --muted: #6B675F; --gold: #E6B41E; --gold-ink: #8A6A00; --honey: #F2C230; --on-gold: #141416; --ok: #1F8A4C; --err: #C8402F; color-scheme: light; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-family: var(--label); font-size: 22px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { position: relative; border-bottom: 1px solid var(--line); }
.band > .wrap { padding-block: clamp(56px, 8vw, 96px); }
.band--tint { background: color-mix(in srgb, var(--surface) 60%, var(--bg)); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.sr { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--body); font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn--outline { border-color: var(--gold); color: var(--gold-ink); background: transparent; }
.btn--ink { background: var(--fg); color: var(--bg); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.hex-icon { width: 56px; height: 56px; flex-shrink: 0; }
.link { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: 0.02em; flex-shrink: 0; }
.logo b { color: var(--gold-ink); font-weight: 800; }
.logo-slot { width: 40px; height: 40px; position: relative; }
.logo-slot svg { width: 40px; height: 40px; display: block; }
/* Pčela u logotipu uvijek lebdi, kao kad sleti na cvijet: lagano gore-dolje, krila dišu. */
.logo-slot .logo-bee { position: absolute; inset: 0; overflow: visible; }
.logo-bee .hover { animation: logoHover 2.8s ease-in-out infinite; }
.logo-bee .wing { transform-box: view-box; transform-origin: 32px 30px; }
.logo-bee .wing-l { animation: breatheL 1.2s ease-in-out infinite alternate; }
.logo-bee .wing-r { animation: breatheR 1.2s ease-in-out infinite alternate; }
@keyframes logoHover { 0%, 100% { transform: translateY(1.5px) } 50% { transform: translateY(-2.5px) } }
.main-nav { display: flex; gap: 20px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.main-nav a { color: var(--muted); } .main-nav a:hover, .main-nav a[aria-current] { color: var(--fg); }
.main-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.menu-btn { display: none; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
/* Izbor jezika: zastava + kod; lista jezika abecedno, svaki na svom jeziku */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: 600 13px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .04em; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.lang-menu[open] summary { border-color: var(--gold); }
.lang-menu summary:focus-visible, .lang-list a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 14%, transparent); flex-shrink: 0; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 40px rgb(0 0 0 / .28); display: flex; flex-direction: column; z-index: 60; }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.lang-list a:hover { background: var(--surface-2); }
.lang-list a[aria-current] { color: var(--gold-ink); }
.lang-list a[aria-current]::after { content: "✓"; margin-left: auto; }
@media (max-width: 420px) { .lang-menu summary span { display: none; } .lang-menu summary { padding: 0 10px; } }
.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav .wrap { height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-block: 8px 16px; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a[aria-current] { color: var(--gold-ink); }
/* Njemački header je najširi (~1250 px s punim menijem), pa meni ide u hamburger prije nego što dugmad izađu iz ekrana */
@media (max-width: 1290px) { .main-nav { gap: 16px; font-size: 14px; } .site-header .wrap { gap: 20px; } }
@media (max-width: 1180px) { .main-nav { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 920px) { .btn--hide-sm { display: none; } }
@media (max-width: 640px) { .header-cta { display: none; } }
@media (max-width: 400px) { .site-header .wrap { gap: 12px; } .header-actions { gap: 6px; } .header-actions .icon-btn { width: 40px; height: 40px; } .lang-menu summary { height: 40px; } .lang-menu summary::after { display: none; } }
@media (max-width: 340px) { .site-header .wrap { gap: 8px; } .lang-menu summary { padding: 0 8px; } }

/* Breadcrumbs */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--fg); }
.crumbs span[aria-current] { color: var(--fg); }
.crumbs .sep { opacity: .5; }

/* Page hero: zlatna traka kao "proizvodna" zona (preuzimanje, cijene, prijava, račun) */
.page-hero { position: relative; overflow: hidden; background: var(--gold); color: var(--on-gold); }
.page-hero .wrap { position: relative; padding-block: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.page-hero p { max-width: 44rem; font-size: 17px; }
.page-hero .crumbs { color: color-mix(in srgb, var(--on-gold) 70%, transparent); }
.page-hero .crumbs span[aria-current] { color: var(--on-gold); }
.page-hero .comb { position: absolute; inset: 0; pointer-events: none; opacity: .22; }
.page-hero .comb svg { width: 100%; height: 100%; }
.ptabs { background: #0A0A0B; border-bottom: 1px solid var(--line); }
.ptabs .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ptabs a { height: 64px; display: flex; align-items: center; justify-content: center; font-family: var(--label); font-size: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #F2F0EA; border-right: 1px solid #2A2A2E; }
.ptabs a:first-child { border-left: 1px solid #2A2A2E; }
.ptabs a:hover { color: #FFD66B; }
.ptabs a[aria-current] { background: #FFD66B; color: #0A0A0B; }
@media (max-width: 560px) { .ptabs a { font-size: 14px; height: 56px; } }

/* Simple page head (docs, tutorials, FAQ, contact) */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head .wrap { position: relative; padding-block: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; gap: 14px; }
.page-head p.lead { max-width: 44rem; font-size: 18px; color: var(--muted); }
.honeycomb { position: absolute; inset: 0; pointer-events: none; }
.honeycomb svg { width: 100%; height: 100%; }

/* Hero (početna) */
.hero { overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(56px, 9vw, 110px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; position: relative; }
.hero-copy p { max-width: 36rem; font-size: 18px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.app-mock { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 12px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.6); }
.app-mock .bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.app-mock .url { flex: 1; min-width: 0; height: 32px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-mock .go { height: 32px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-weight: 600; display: inline-flex; align-items: center; }
.app-mock .tabs { display: flex; gap: 2px; padding: 6px 10px 0; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; font-family: var(--label); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.app-mock .tabs span { padding: 6px 10px; border-radius: 8px 8px 0 0; color: var(--muted); white-space: nowrap; }
.app-mock .tabs span.on { background: var(--surface); color: var(--gold-ink); }
.app-mock .row { display: grid; grid-template-columns: minmax(0, 2fr) 48px minmax(0, 1.6fr) 54px; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); font-family: var(--mono); font-size: 11px; }
.app-mock .row.head { color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: var(--surface-2); }
.app-mock .row span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-mock .row.hit { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.pill-s { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 10px; font-family: var(--mono); }
.pill-s.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pill-s.err { background: color-mix(in srgb, var(--err) 18%, transparent); color: var(--err); }
.pill-s.warn { background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--gold-ink); }
.app-mock .foot { display: flex; gap: 18px; padding: 10px 14px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); background: var(--surface-2); flex-wrap: wrap; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Grids */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 44rem; }
.section-head p { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.feature { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feature p { color: var(--muted); font-size: 14.5px; }
.feature .more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--gold-ink); }
a.card { transition: border-color .2s, transform .2s var(--ease); }
a.card:hover { border-color: var(--gold); transform: translateY(-2px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--gold-ink); }
.steps p { color: var(--muted); font-size: 15px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Brand story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.story-copy { display: flex; flex-direction: column; gap: 18px; }
.story-copy p { color: var(--muted); max-width: 34rem; }
.story-mark { display: grid; place-items: center; }
.story-mark svg { width: min(340px, 100%); height: auto; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts div { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.facts b { font-family: var(--display); font-size: 28px; color: var(--gold-ink); }
.facts span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* What it crawls */
.crawls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 48px; }
.crawls div { font-size: 14.5px; color: var(--muted); min-width: 0; }
.crawls b { color: var(--fg); font-weight: 500; }
@media (max-width: 760px) { .crawls { grid-template-columns: 1fr; } }

/* Price teaser */
.teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.teaser .card { display: flex; flex-direction: column; gap: 8px; }
.teaser .amount { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; }
.teaser .amount small { font-size: 15px; font-weight: 500; color: var(--muted); }
.teaser .card--gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.teaser .card--gold small, .teaser .card--gold .muted { color: var(--on-gold); opacity: .8; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

/* Newsletter */
.news { background: var(--gold); color: var(--on-gold); border-bottom: 0; }
.news .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 48px; }
.news h2 { color: var(--on-gold); }
.news form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.news input { width: min(300px, 100%); height: 50px; padding: 0 18px; border-radius: 999px; border: 0; background: #0A0A0B; color: #F2F0EA; font-family: var(--body); font-size: 14px; }
.news .btn { border: 2px solid var(--on-gold); color: var(--on-gold); background: transparent; }
.news .thanks { font-weight: 600; }

/* Footer */
.site-footer { position: relative; background: var(--bg); overflow: hidden; }
.site-footer .wrap { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 40px; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; font-size: 14px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-grid h2 { font-family: var(--label); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-ink); }
.foot-grid a { color: var(--muted); } .foot-grid a:hover { color: var(--fg); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-bottom a:hover { color: var(--fg); }
.meadow { height: 200px; position: relative; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Docs layout (vodič i tutorijali) */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-block: 48px 96px; align-items: start; }
.docs-side { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.docs-side .eyebrow { margin-bottom: 8px; }
.docs-side a { padding: 8px 12px; border-radius: 10px; color: var(--muted); border-left: 2px solid transparent; }
.docs-side a:hover { color: var(--fg); background: var(--surface); }
.docs-side a[aria-current] { color: var(--fg); background: var(--surface); border-left-color: var(--gold); }
.docs-side .num { font-family: var(--mono); font-size: 11px; color: var(--gold-ink); margin-right: 8px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; gap: 24px; } .docs-side { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 6px; } .docs-side .eyebrow { display: none; } .docs-side { scrollbar-width: none; } .docs-side::-webkit-scrollbar { display: none; } .docs-side a { flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; } .docs-side a[aria-current] { border-color: var(--gold); } }

.prose { max-width: 46rem; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 22px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: 20px; margin-top: 8px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose p, .prose li { color: color-mix(in srgb, var(--fg) 86%, var(--muted)); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ol.howto { list-style: none; padding: 0; counter-reset: h; gap: 14px; }
.prose ol.howto > li { counter-increment: h; position: relative; padding: 18px 20px 18px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.prose ol.howto > li::before { content: counter(h); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--on-gold); background: var(--gold); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.prose ol.howto b { color: var(--fg); }
.prose code, .prose kbd { font-family: var(--mono); font-size: .86em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose pre { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose .ui { font-family: var(--label); font-weight: 700; letter-spacing: .02em; color: var(--gold-ink); }
.prose a:not(.btn):not(.card) { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.note { border-left: 3px solid var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--surface)); border-radius: 0 14px 14px 0; padding: 14px 18px; font-size: 15px; }
.note b { color: var(--fg); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tablewrap th, .tablewrap td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tablewrap th { font-family: var(--label); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface); }
.tablewrap tr:last-child td { border-bottom: 0; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.prose .toc a { color: var(--muted); text-decoration: none; } .prose .toc a:hover { color: var(--fg); }
.meta-line { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.pager a { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; text-decoration: none !important; color: var(--fg) !important; }
.pager a:hover { border-color: var(--gold); }
.pager a small { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.pager .next { text-align: right; grid-column: 2; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related a { text-decoration: none !important; color: var(--fg) !important; padding: 16px; }
@media (max-width: 560px) { .pager, .related { grid-template-columns: 1fr; } .pager .next { grid-column: 1; } }

/* Hub cards (vodič, tutorijali) */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub .card { display: flex; flex-direction: column; gap: 10px; }
.hub .card p { color: var(--muted); font-size: 14.5px; }
.hub .num { font-family: var(--mono); font-size: 12px; color: var(--gold-ink); }
.tag { display: inline-flex; align-self: flex-start; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 960px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hub { grid-template-columns: 1fr; } }

/* Pricing */
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.seg button { height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-family: var(--body); font-size: 14px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.seg button { white-space: nowrap; }
.seg .save { font-size: 11px; font-weight: 600; margin-left: 6px; opacity: .8; }
.price-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.cmp-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
table.cmp { width: 100%; min-width: 620px; border-collapse: collapse; }
table.cmp th, table.cmp td { padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.cmp thead th { font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; text-align: center; padding-block: 26px; }
table.cmp thead th:first-child { text-align: left; }
table.cmp td:not(:first-child) { text-align: center; width: 26%; }
table.cmp td:first-child { color: color-mix(in srgb, var(--fg) 86%, var(--muted)); }
table.cmp .paid { background: color-mix(in srgb, var(--gold) 7%, transparent); }
table.cmp thead .paid { color: var(--gold-ink); }
table.cmp tbody tr:hover td { background: color-mix(in srgb, var(--gold) 5%, transparent); }
table.cmp .yes svg, table.cmp .no svg { width: 18px; height: 18px; vertical-align: middle; }
table.cmp .yes { color: var(--ok); } table.cmp .no { color: var(--err); }
table.cmp .lim { font-family: var(--mono); font-size: 13px; }
table.cmp tfoot td { border-bottom: 0; padding-block: 26px; vertical-align: top; }
table.cmp tfoot td:first-child h3 { font-size: 22px; margin-bottom: 6px; }
table.cmp tfoot td:first-child p { font-size: 13px; color: var(--muted); max-width: 18rem; }
.big-price { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.1; margin-bottom: 12px; white-space: nowrap; }
.big-price small { font-size: 14px; font-weight: 500; color: var(--muted); display: block; }
.footnote { font-size: 13px; color: var(--muted); margin-top: 14px; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tier { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.tier svg { width: 88px; height: 64px; }
.tier h3 { font-size: 22px; }
.tier .t-price { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--gold-ink); line-height: 1; }
.tier .t-per { font-size: 13px; color: var(--muted); }
.tier.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
@media (max-width: 640px) {
  .seg button { padding: 0 12px; font-size: 13px; }
  table.cmp { min-width: 0; }
  table.cmp th, table.cmp td { padding: 10px; font-size: 13.5px; }
  table.cmp thead th { font-size: 16px; padding-block: 18px; }
  table.cmp td:not(:first-child) { width: 24%; }
  table.cmp tfoot td { padding-block: 18px; }
  .big-price { font-size: 20px; white-space: normal; }
  table.cmp tfoot .btn { height: 40px; padding: 0 12px; font-size: 13px; white-space: normal; text-align: center; }
}
@media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiers { grid-template-columns: 1fr; } }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.calc .out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc .out div { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.calc .out b { font-family: var(--display); font-size: 24px; }
.calc .out span { font-size: 12px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 48px; height: 48px; border: 0; background: var(--surface-2); color: var(--fg); font-size: 20px; cursor: pointer; }
.stepper input { width: 80px; height: 48px; border: 0; text-align: center; background: var(--bg); color: var(--fg); font-family: var(--mono); font-size: 18px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc .out { grid-template-columns: 1fr 1fr; } }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 15px; }
.field textarea { height: auto; min-height: 160px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.form-ok { border: 1px solid var(--ok); color: var(--ok); border-radius: 14px; padding: 14px 16px; font-weight: 500; }
.demo-flag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--gold); color: var(--gold-ink); font-family: var(--mono); font-size: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Login */
.auth { display: grid; place-items: center; padding-block: 56px 96px; }
.auth .card { width: min(460px, 100%); display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.auth .row-between { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.divider { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Account */
.acct-head { background: #0A0A0B; color: #F2F0EA; border-bottom: 1px solid #2A2A2E; }
.acct-head .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; min-height: 88px; padding-block: 12px; }
.acct-head .hello { display: flex; flex-direction: column; margin-right: auto; }
.acct-head .hello b { font-family: var(--display); font-size: 22px; }
.acct-head .hello span { font-size: 13px; color: #9C9890; }
.acct-head .hello button { background: none; border: 0; padding: 0; color: #FFD66B; font: inherit; text-decoration: underline; cursor: pointer; }
.acct-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; max-width: 100%; }
.acct-tabs::-webkit-scrollbar { display: none; }
.acct-tabs button { flex-shrink: 0; height: 64px; padding: 0 22px; border: 0; background: transparent; color: #F2F0EA; font-family: var(--label); font-size: 17px; font-weight: 700; letter-spacing: .02em; cursor: pointer; border-right: 1px solid #2A2A2E; }
.acct-tabs button:first-child { border-left: 1px solid #2A2A2E; }
.acct-tabs button[aria-selected="true"] { background: #FFD66B; color: #0A0A0B; }
.acct-tabs button:hover:not([aria-selected="true"]) { color: #FFD66B; }
@media (max-width: 860px) { .acct-head .wrap { flex-direction: column; align-items: stretch; } .acct-tabs button { height: 52px; padding: 0 16px; font-size: 15px; } }
.panel { padding-block: 40px 96px; }
.panel .card { display: flex; flex-direction: column; gap: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.dtable th { text-align: left; font-weight: 600; font-size: 13px; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.dtable td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable .order { white-space: nowrap; }
.dtable a.order { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; font-family: var(--mono); font-size: 13px; }
.dtable .key { font-family: var(--mono); font-size: 13px; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.dtable .key button { border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); border-radius: 8px; height: 28px; padding: 0 10px; font-size: 12px; cursor: pointer; }
.dtable .assign { display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.dtable .assign input { height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); padding: 0 12px; font-family: var(--body); font-size: 13px; }
.dtable .assign div { display: flex; gap: 6px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.on { color: var(--ok); } .status.off { color: var(--muted); }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 52rem; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-ink); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; border-color: var(--gold); }
.faq .ans { padding: 0 20px 20px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.faq .ans a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq-group { display: flex; flex-direction: column; gap: 14px; }
.faq-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.faq-cats a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--muted); }
.faq-cats a:hover { border-color: var(--gold); color: var(--fg); }

/* Download */
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.os-grid .card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.os-grid .card.main { border-color: var(--gold); }
@media (max-width: 860px) { .os-grid { grid-template-columns: 1fr; } }

/* Cvijet uz svaki h1, h2 i h3 (gradi.py add_flowers). Zatvoren dok pčela ne sleti, onda procvjeta. */
:root { --fl-petal: var(--gold); --fl-center: var(--bg); }
.page-hero, .news, .card--gold { --fl-petal: #0A0A0B; --fl-center: var(--gold); }
.hflower { display: inline-block; width: clamp(28px, 1.05em, 64px); height: clamp(28px, 1.05em, 64px); margin: -0.25em 0 -0.25em 0.3em; vertical-align: -0.18em; pointer-events: none; }
.hflower svg { width: 100%; height: 100%; overflow: visible; display: block; }
.hflower .glow { fill: var(--fl-petal); fill-opacity: .14; opacity: 0; transition: opacity .6s; }
.hflower .core { fill: var(--fl-center); stroke: var(--fl-petal); stroke-width: 2; }
.hflower .petals { transform-box: view-box; transform-origin: 40px 40px; transform: scale(.7) rotate(-20deg); opacity: .75; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .5s; }
.hflower.bloom .petals { transform: scale(1) rotate(0deg); opacity: 1; }
.hflower.bloom .glow { opacity: 1; }

/* Bee */
#bee { position: fixed; left: 0; top: 0; width: 56px; height: 56px; z-index: 60; pointer-events: none; visibility: hidden; will-change: transform; }
#bee svg { width: 100%; height: 100%; overflow: visible; display: block; }
#bee .wing { transform-box: view-box; transform-origin: 32px 30px; }
#bee.flying .wing-l { animation: flapL .09s ease-in-out infinite alternate; }
#bee.flying .wing-r { animation: flapR .09s ease-in-out infinite alternate; }
#bee.resting .wing-l { animation: breatheL 2.4s ease-in-out infinite alternate; }
#bee.resting .wing-r { animation: breatheR 2.4s ease-in-out infinite alternate; }
@keyframes flapL { from { transform: rotate(-10deg) } to { transform: rotate(-55deg) } }
@keyframes flapR { from { transform: rotate(10deg) } to { transform: rotate(55deg) } }
@keyframes breatheL { from { transform: rotate(-6deg) } to { transform: rotate(-14deg) } }
@keyframes breatheR { from { transform: rotate(6deg) } to { transform: rotate(14deg) } }
#trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 55; }
@media (max-width: 860px) { #bee { width: 44px; height: 44px; } }


/* 404 */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.lost .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 80px; }
.lost .code { font-family: var(--display); font-size: clamp(80px, 14vw, 160px); font-weight: 800; color: var(--gold-ink); line-height: 1; }

/* Odustanak i otkaz: § 356a i § 312k BGB traže istaknuto dugme, ne običan link. Stoji u podnožju svake stranice. */
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 24px; }
.btn--legal { height: 44px; border: 2px solid var(--gold); color: var(--fg); background: color-mix(in srgb, var(--gold) 12%, transparent); font-size: 14px; }
.btn--legal:hover { background: var(--gold); color: var(--on-gold); }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; min-width: 0; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 560px) { .summary { grid-template-columns: 1fr; } .summary dd { margin-bottom: 8px; } }
details.more summary { cursor: pointer; color: var(--muted); font-size: 14px; }
[data-stage="3"]:focus { outline: none; }
[data-stage="3"] { display: flex; flex-direction: column; gap: 16px; }
[data-stage="3"][hidden] { display: none; }

/* Prijava kodom, račun i pozivnica (pravi podaci s /api/) */
.form-err { border: 1px solid var(--err); color: var(--err); border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.code-input { font-family: var(--mono); font-size: 26px !important; letter-spacing: .4em; text-align: center; }
.status.wait { color: var(--gold-ink); }
.status.bad { color: var(--err); }
.lic { display: flex; flex-direction: column; gap: 14px; }
.lic + .lic { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 6px; }
.lic-top { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; }
.lic-id { font-family: var(--mono); font-size: 18px; font-weight: 600; }
.lic-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 22px; margin: 0; }
.lic-facts dt { font-size: 12.5px; color: var(--muted); }
.lic-facts dd { margin: 2px 0 0; font-size: 15px; }
.devs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.devs li { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.devs .muted { font-size: 13px; }

/* Uski ekrani: dugačka dugmad (njemački) prelamaju red umjesto da guraju stranicu u širinu */
@media (max-width: 480px) { .btn { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; text-align: center; line-height: 1.25; } }

/* Polje za botove (honeypot): ljudi ga ne vide ni čitačem ekrana */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* Najuži telefoni: dugačke njemačke riječi u naslovima se dijele, prekidač perioda cijena smije u dva reda */
@media (max-width: 480px) { h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; } }
@media (max-width: 380px) { .seg { flex-wrap: wrap; justify-content: center; border-radius: 22px; } .seg button { padding: 0 10px; } }
/* Kartice za Mac/Linux: dugme s dugim tekstom prelama red i na širokom ekranu (tri kolone su uske) */
.os-grid .btn { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; text-align: center; line-height: 1.25; }
