/* Vidi li Vas AI? - stilovi */
:root{
  --red:#E63312; --red-d:#C0280C; --red-t:#FDECEA; --red-l:#F6D3CE;
  --yel:#FFD400; --yel-d:#8A6200; --yel-t:#FFF6D6; --yel-l:#F5E6A8; --yel-s:#F2B705;
  --grn:#1D9E75; --grn-d:#0F6E56; --grn-t:#E6F5EC; --grn-l:#C4E6D5;
  --ink:#111; --muted:#555; --soft:#777; --line:#EAEAEA; --line2:#DDD; --paper:#fff; --bg:#F6F4F1;
  --r:12px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6}
a{color:var(--ink);text-decoration:none;font-weight:600}
a:hover{color:var(--red)}
img{max-width:100%}
.ic{width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.wrap{max-width:900px;margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;font:inherit;font-weight:700;cursor:pointer;padding:12px 20px;font-size:15px;line-height:1.2;white-space:nowrap}
.btn .ic{width:18px;height:18px}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-d);color:#fff}
.btn-yel{background:var(--yel);color:var(--ink)}.btn-yel:hover{background:#F5C800;color:var(--ink)}
.btn-dark{background:var(--ink);color:var(--yel)}.btn-dark:hover{color:#fff}
.btn-sm{padding:8px 14px;font-size:13px}

/* ---------- LANDING ---------- */
.top-bar{background:var(--red);color:#fff}
.top-bar .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;padding-bottom:14px;font-size:14px}
.top-bar a{color:#fff}
.top-bar a:hover{color:var(--yel)}
.brand{font-weight:800;font-size:17px;letter-spacing:-.01em;color:#fff}
.hero{background:var(--red);color:#fff;padding:40px 0 64px}
.hero h1{font-size:clamp(34px,6vw,58px);line-height:1.05;margin:0;font-weight:800;letter-spacing:-.02em}
.hero .uline{display:block;width:90px;height:6px;background:var(--yel);margin:18px 0 18px}
.hero p.lead{font-size:clamp(17px,2.2vw,20px);max-width:620px;margin:0 0 28px;color:#fff}
.check-form{background:#fff;border-radius:12px;padding:8px;display:flex;gap:8px;max-width:680px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.check-form input[type=text]{flex:1;min-width:0;border:0;font:inherit;font-size:17px;padding:12px 14px;outline:none;color:var(--ink);background:transparent}
.check-form .btn{padding:14px 26px;font-size:16px}
.hero .hint{font-size:13px;margin-top:12px;color:#FFE3DE}
.hero .cf-turnstile{margin-top:14px}
.form-err{background:#fff;color:var(--red-d);border-left:5px solid var(--yel);padding:10px 14px;border-radius:0;margin:0 0 16px;max-width:680px;font-weight:600;font-size:15px}
.bots-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.bots-row span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);border-radius:20px;padding:4px 12px;font-size:13px}

.sec{padding:56px 0;background:var(--paper)}
.sec.alt{background:var(--bg)}
.sec h2{font-size:clamp(24px,3.4vw,34px);line-height:1.15;margin:0 0 14px;letter-spacing:-.01em}
.sec h2 .mark{background:linear-gradient(transparent 62%,var(--yel) 62%)}
.sec p{max-width:700px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
.step{background:var(--paper);border:1px solid var(--line2);border-radius:var(--r);padding:18px}
.step b{display:block;font-size:17px;margin:8px 0 4px}
.step .n{display:inline-flex;width:30px;height:30px;border-radius:50%;background:var(--red);color:#fff;align-items:center;justify-content:center;font-weight:800}
.four{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;counter-reset:f}
.four li{position:relative;background:var(--paper);border:1px solid var(--line2);border-radius:var(--r);padding:18px 16px 16px;display:flex;flex-direction:column;gap:6px;counter-increment:f}
.four li::before{content:counter(f);position:absolute;top:14px;right:14px;font-weight:800;font-size:13px;color:var(--soft)}
.four li:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:10px;height:10px;border-top:3px solid var(--red);border-right:3px solid var(--red);transform:translateY(-50%) rotate(45deg);z-index:1}
.four .fi{width:42px;height:42px;border-radius:50%;background:var(--yel);display:flex;align-items:center;justify-content:center}
.four .fi .ic{width:22px;height:22px}
.four b{font-size:18px;line-height:1.25}
.four span:not(.fi){font-size:15px;color:var(--muted)}
.diagram{margin:28px 0 8px;background:var(--paper);border:1px solid var(--line2);border-radius:var(--r);padding:18px}
.diagram svg{width:100%;height:auto;display:block}
.faq details{border-bottom:1px solid var(--line2);padding:16px 0}
.faq summary{cursor:pointer;font-weight:700;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{transition:transform .2s;color:var(--red)}
.faq details[open] summary .ic{transform:rotate(180deg)}
.faq details p{margin:10px 0 0;color:#333}
.foot{background:var(--ink);color:#ddd;padding:28px 0;font-size:14px}
.foot a{color:#fff}.foot a:hover{color:var(--yel)}
.foot .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* loading */
.loading{position:fixed;inset:0;background:rgba(17,17,17,.82);display:none;align-items:center;justify-content:center;z-index:50;padding:16px}
.loading.on{display:flex}
.loading .box{background:#fff;border-radius:14px;padding:26px 28px;max-width:420px;width:100%;text-align:center}
.spin{width:46px;height:46px;border-radius:50%;border:5px solid var(--red-l);border-top-color:var(--red);margin:0 auto 14px;animation:sp 0.9s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.loading .msg{font-weight:700;font-size:17px;min-height:26px}
.loading .sub{font-size:13px;color:var(--muted)}

/* ---------- REPORT ---------- */
.rep-page{padding:24px 0 48px}
.rep{background:var(--paper);border-radius:14px;overflow:hidden;border:1px solid var(--line2);box-shadow:0 4px 24px rgba(0,0,0,.05)}
.rep-top{height:7px;background:var(--red)}
.rep-hd{background:var(--red-t);padding:18px 26px 22px}
.band-yellow .rep-top{background:var(--yel-s)}.band-yellow .rep-hd{background:var(--yel-t)}
.band-green .rep-top{background:var(--grn)}.band-green .rep-hd{background:var(--grn-t)}
.band-gray .rep-top{background:#8A8A8A}.band-gray .rep-hd{background:#F1F1F1}
.band-gray .verdict h1{color:var(--ink)}.band-gray .rep-bn .name a{color:#333}
.band-gray .cta{background:#F4F4F4;border-color:#8A8A8A}
.rep-bn{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px}
.rep-bn .name{font-weight:800;font-size:17px;color:var(--red)}
.rep-bn .name a{color:var(--red)}
.band-yellow .rep-bn .name a{color:var(--yel-d)}.band-green .rep-bn .name a{color:var(--grn-d)}
.rep-ct{text-align:right;font-size:13px;line-height:1.5}
.rep-ct b{font-size:14px}
.rep-res{display:flex;gap:22px;align-items:center}
.ring{width:118px;height:118px;flex-shrink:0}
.verdict .lbl{font-size:13px;color:var(--muted)}
.verdict h1{font-size:clamp(26px,4.4vw,38px);line-height:1.1;margin:2px 0 4px;color:var(--ink);letter-spacing:-.015em;word-break:break-word}
.verdict .vh{font-size:clamp(18px,2.6vw,22px);font-weight:800;line-height:1.2;margin:0 0 6px;color:var(--red-d)}
.band-yellow .verdict .vh{color:var(--yel-d)}.band-green .verdict .vh{color:var(--grn-d)}.band-gray .verdict .vh{color:#333}
.verdict p{margin:0}
.scale{display:flex;gap:4px;margin-top:12px}.scale i{flex:1;height:7px;border-radius:4px;display:block}
.scale-l{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:3px}
.rep-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:13px;color:var(--muted)}
.rep-meta .u{word-break:break-all}
.rep-body{padding:6px 26px 26px}
.s{padding:22px 0;border-bottom:1px solid var(--line)}
.s:last-of-type{border-bottom:0}
.h{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;margin:0 0 14px;letter-spacing:-.01em}
.h:before{content:"";width:5px;height:22px;background:var(--red);display:block}
.h small{font-weight:500;font-size:13px;color:var(--soft)}
.sub{font-size:13px;color:var(--muted)}
.miss{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m{border:1px solid #F3C9C1;background:#FFF7F5;border-radius:10px;padding:12px;display:flex;gap:12px;align-items:flex-start}
.m .ic{color:var(--red);width:24px;height:24px}
.m b{display:block}
.m.ok{border-color:var(--grn-l);background:#F5FBF8}.m.ok .ic{color:var(--grn)}
.note{margin-top:12px;font-size:14px;color:var(--muted)}
.plats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pl{border:1px solid var(--line2);border-radius:10px;padding:12px 6px 10px;text-align:center;position:relative;font-size:13px;font-weight:600}
.pl .lo{width:40px;height:40px;border-radius:50%;background:#F2F2F2;color:#444;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 6px;overflow:hidden}
.pl .lo img{width:26px;height:26px;object-fit:contain}
.pl .dot{position:absolute;top:8px;right:8px;width:14px;height:14px;border-radius:50%}
.pl .vl{display:block;font-size:14px;font-weight:800;margin-top:4px}
.v-sees .dot{background:var(--grn)}.v-sees .vl{color:var(--grn-d)}
.v-partial .dot{background:var(--yel)}.v-partial .vl{color:var(--yel-d)}
.v-no .dot{background:var(--red)}.v-no .vl{color:var(--red-d)}
.v-blocked .dot{background:var(--ink)}.v-blocked .vl{color:var(--ink)}
.v-unknown .dot{background:#BDBDBD}.v-unknown .vl{color:#777}
.v-maybe .dot{background:#E8890C}.v-maybe .vl{color:#A35F00}
.mb-{color:#A35F00;font-weight:700}
.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-top:12px}
.legend i{display:inline-block;width:13px;height:13px;border-radius:50%;margin-right:6px;vertical-align:-2px}
details.bots{margin-top:12px;border:1px solid var(--line2);border-radius:10px;padding:0 14px}
details.bots summary{cursor:pointer;font-weight:700;font-size:14px;padding:12px 0;list-style:none;display:flex;align-items:center;justify-content:space-between}
details.bots summary::-webkit-details-marker{display:none}
details.bots[open] summary .ic{transform:rotate(180deg)}
.btab{width:100%;border-collapse:collapse;font-size:13px;margin:0 0 12px}
.btab th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:6px 6px;border-bottom:1px solid var(--line2)}
.btab td{padding:6px 6px;border-bottom:1px solid var(--line);vertical-align:top}
.btab td.p{font-weight:700}
.btab code{font-size:12px;background:#F4F4F4;padding:1px 5px;border-radius:4px}
.yes{color:var(--grn-d);font-weight:700}.no-{color:var(--red-d);font-weight:700}
.row{display:flex;gap:14px;align-items:flex-start;padding:8px 0}
.t{flex:0 0 86px;text-align:center;font-size:12px;padding:3px 0;border-radius:12px;font-weight:700;margin-top:2px}
.t-crit,.t-bad{background:var(--red);color:#fff}
.t-high,.t-missing{background:var(--yel);color:var(--ink)}
.t-med,.t-check{background:#FFF1B8;color:var(--yel-d)}
.t-info{background:#EEE;color:#444}
.t-ok{background:var(--grn-t);color:var(--grn-d)}
.t-opt{background:#EEF1F6;color:#4A5568}
.row b{font-weight:600}
.row .sub{display:block}
.tg{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tb{border:1px solid var(--line2);border-radius:10px;padding:12px}
.tb .tt{display:flex;align-items:center;gap:8px;font-weight:800;font-size:14px;margin-bottom:6px}
.tb .tt .ic{width:18px;height:18px;color:var(--red)}
.kv{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:5px 0;border-top:1px solid #F2F2F2}
.kv:first-of-type{border-top:0}
.kv span:first-child{color:var(--soft)}
.kv span:last-child{text-align:right;font-weight:600}
.st-bad{color:var(--red-d)}.st-good{color:var(--grn-d)}.st-warn{color:var(--yel-d)}
.eff{display:flex;gap:6px;margin-top:10px}
.eff div{flex:1;text-align:center;font-size:13px;padding:9px 4px;border-radius:8px;border:1px solid var(--line2);color:var(--soft);font-weight:600}
.eff div.on{background:var(--ink);color:var(--yel);border-color:var(--ink)}
.cta{background:var(--red-t);border-top:5px solid var(--red);padding:22px 26px 24px}
.band-yellow .cta{background:var(--yel-t);border-color:var(--yel-s)}
.band-green .cta{background:var(--grn-t);border-color:var(--grn)}
.cta h2{margin:0 0 4px;font-size:22px;line-height:1.2}
.fg{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.fg label{display:block;font-size:13px;font-weight:600;margin-bottom:4px}
.fg input,.fg select{width:100%;border:1px solid #CFCFCF;border-radius:8px;padding:11px 12px;font:inherit;font-size:15px;background:#fff;color:var(--ink)}
.fg input:focus,.fg select:focus{outline:2px solid var(--red);outline-offset:0;border-color:var(--red)}
.fg .hint{font-size:12px;color:var(--muted);margin-top:4px}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin-top:14px}
.chk input{margin-top:3px;width:17px;height:17px;accent-color:var(--red)}
.cta-bot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.ok-msg{background:#fff;border-left:5px solid var(--grn);padding:14px 16px;font-weight:600;margin-top:12px}
.err-msg{background:#fff;border-left:5px solid var(--red);padding:12px 16px;font-weight:600;margin-top:12px;color:var(--red-d)}
.credit{text-align:center;font-size:13px;color:var(--muted);margin:18px 0 0}
.again{margin:20px 0 0;text-align:center}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

@media (max-width:720px){
  .steps{grid-template-columns:1fr}
  .four{grid-template-columns:1fr;gap:16px}
  .four li:not(:last-child)::after{right:auto;left:30px;top:auto;bottom:-13px;transform:rotate(135deg)}
  .check-form{flex-direction:column}
  .check-form .btn{width:100%}
  .rep-hd,.rep-body,.cta{padding-left:16px;padding-right:16px}
  .rep-res{flex-direction:column;align-items:flex-start;gap:12px}
  .ring{width:96px;height:96px}
  .miss,.fg{grid-template-columns:1fr}
  .plats{grid-template-columns:repeat(2,1fr)}
  .pl{font-size:15px;padding:14px 6px 12px}
  .pl .vl{font-size:15px}
  .pl .dot{width:16px;height:16px;top:9px;right:9px}
  .legend{font-size:14px;gap:10px 16px}
  .rep-meta .btn{width:100%;justify-content:center}
  .tg{grid-template-columns:1fr}
  .t{flex-basis:78px;font-size:11px}
  .btab th:nth-child(4),.btab td:nth-child(4){display:none}
}


/* dorada 9c: obojani krug platforme, brojač, botovi otvoreni */
.pl .lo{width:46px;height:46px;font-size:15px;color:#fff;background:#BDBDBD}
.v-sees .lo{background:var(--grn)}.v-partial .lo{background:var(--yel);color:var(--ink)}.v-no .lo{background:var(--red)}
.v-blocked .lo{background:var(--ink);color:var(--yel)}.v-maybe .lo{background:#E8890C}.v-unknown .lo{background:#BDBDBD}
.pl{border-width:2px}
.v-sees{border-color:var(--grn-l)}.v-partial{border-color:var(--yel-l)}.v-no{border-color:var(--red-l)}.v-blocked{border-color:var(--ink)}.v-maybe{border-color:#F3C48A}
.legend i{width:16px;height:16px;vertical-align:-3px}
.cnt{display:inline-block;font-size:.7em;font-weight:800;padding:2px 10px;border-radius:12px;vertical-align:middle;margin-left:6px}
.cnt-good{background:var(--grn-t);color:var(--grn-d)}.cnt-mid{background:var(--yel-t);color:var(--yel-d)}.cnt-bad{background:var(--red-t);color:var(--red-d)}
.bots{margin-top:14px;overflow-x:auto}
.bots .bh{font-size:16px;margin:0 0 8px}

/* dorada 12: prethodna provjera i ponovna provjera */
.prev{margin:2px 0 10px;font-size:14px;color:var(--muted)}
.prev a{text-decoration:underline}
.prev b{display:inline-block;margin-left:6px;padding:1px 9px;border-radius:10px;font-size:13px}
.prev .up{background:var(--grn-t);color:var(--grn-d)}.prev .down{background:var(--red-t);color:var(--red-d)}.prev .same{background:#EEE;color:#555}
.recheck{max-width:880px;margin:22px auto 0;padding:22px 24px;background:var(--paper);border:1px solid var(--line2);border-radius:var(--r)}
.recheck h2{margin:0 0 4px;font-size:20px}
.recheck form{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}
/* ---------- PDF / ISPIS ---------- */
@media print{
  @page{size:A4;margin:12mm}
  body{background:#fff;font-size:11pt}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .top-bar,.no-print,.cta form,.again,.foot{display:none!important}
  .rep-page{padding:0}
  .wrap{max-width:none;padding:0}
  .rep{border:0;box-shadow:none;border-radius:0}
  .s{break-inside:avoid;padding:14px 0}
  .plats{grid-template-columns:repeat(4,1fr)}
  .tg{grid-template-columns:repeat(3,1fr)}
  .miss{grid-template-columns:1fr 1fr}
  details.bots{display:block}
  details.bots>*{display:block}
  .cta{break-inside:avoid}
  .print-only{display:block!important}
  a{font-weight:600}
}
.print-only{display:none}
