/* Položeno — početna stranica */
:root {
  --paper: #faf7f0;
  --paper-2: #f2ede1;
  --white: #ffffff;
  --ink: #0f1b3d;
  --ink-2: #3b4763;
  --muted: #6b7385;
  --line: #e6dfcf;
  --blue: #2443b8;
  --blue-2: #1b3494;
  --blue-soft: #e8edff;
  --marker: #ffe14d;
  --green: #15803d;
  --green-soft: #dcfce7;
  --red: #b42318;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-lg: 0 30px 60px -20px rgba(15, 27, 61, 0.28), 0 10px 24px -8px rgba(15, 27, 61, 0.12);
  --shadow-md: 0 12px 28px -10px rgba(15, 27, 61, 0.22);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; font-variation-settings: "opsz" 144; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.mk { background: linear-gradient(transparent 56%, var(--marker) 56%, var(--marker) 90%, transparent 90%); padding: 0 0.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.01em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.brand .word { font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: -0.03em; line-height: 1; }
.brand .word i { font-style: normal; color: var(--blue); }

/* ---------- dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -8px rgba(36, 67, 184, 0.6); }
.btn-blue:hover { background: var(--blue-2); }
.btn-line { border-color: rgba(15, 27, 61, 0.22); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-marker { background: var(--marker); color: var(--ink); }
.btn-marker:hover { background: #ffd61a; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- zaglavlje ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 240, 0.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 860px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); margin: 22px 0 22px; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .micro { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero .micro svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.visual { position: relative; }
.visual .photo { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.visual .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.float { position: absolute; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-md); padding: 14px 16px; }
.f-ready { left: -40px; bottom: 44px; display: flex; gap: 14px; align-items: center; min-width: 240px; }
.f-ready .ring { width: 64px; height: 64px; position: relative; flex: none; }
.f-ready .ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.f-ready .ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 17px var(--sans); }
.f-ready small { display: block; color: var(--muted); font-size: 13px; }
.f-ready strong { font-size: 16px; }
.f-exam { right: -26px; top: 64px; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.f-exam .pill { background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.stamp { position: absolute; color: var(--blue); pointer-events: none; mix-blend-mode: multiply; }
.stamp text { font-family: var(--sans); font-weight: 800; }
.hero .stamp { width: 150px; top: -40px; left: -48px; opacity: 0.92; }
@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; gap: 40px; }
  .visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .f-ready { left: 12px; bottom: 16px; }
  .f-exam { right: 12px; top: 16px; }
  .hero .stamp { width: 110px; top: -30px; left: -6px; }
}

/* ---------- traka sa činjenicama ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.facts .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts .cell { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts .cell:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .facts .grid { grid-template-columns: 1fr 1fr; }
  .facts .cell { padding: 20px 14px; }
  .facts .cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts .cell:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts b { font-size: 30px; }
}

/* ---------- sekcije ---------- */
.sec { padding: 104px 0; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 54px); margin-top: 16px; }
.sec-head p { font-size: 19px; color: var(--ink-2); margin-top: 18px; }
@media (max-width: 640px) { .sec { padding: 72px 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev .media { order: 0; } }
.media { position: relative; }
.media img { border-radius: 26px; box-shadow: var(--shadow-lg); width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }

.points { display: grid; gap: 30px; }
.point { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; }
.point .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--blue); font-weight: 600; grid-row: span 2; }
.point h3 { font-size: 24px; }
.point p { color: var(--ink-2); }

/* problem: precrtana skripta */
.note-card { position: absolute; right: -22px; bottom: -26px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-md); padding: 16px 18px; max-width: 290px; font-size: 15px; }
.note-card .q { font-weight: 600; margin-bottom: 8px; }
.note-card .old { color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; }
.note-card .new { color: var(--green); font-weight: 600; margin-top: 4px; display: flex; gap: 6px; align-items: flex-start; }
.note-card .src { color: var(--muted); font-size: 13px; margin-top: 8px; }
@media (max-width: 900px) { .note-card { right: 12px; bottom: -22px; } }

/* proizvod */
.product { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product .split { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 900px) { .product .split { grid-template-columns: 1fr; } }
.device-wrap { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.device-wrap::before { content: ""; position: absolute; inset: 8% 6% 4%; background: radial-gradient(closest-side, var(--blue-soft), transparent); z-index: 0; }
.phone { position: relative; z-index: 1; width: 300px; border-radius: 46px; background: #0c1226; padding: 11px; box-shadow: var(--shadow-lg); }
.phone .screen { border-radius: 36px; background: #f5f7fa; overflow: hidden; height: 610px; font-size: 13px; color: var(--ink); position: relative; }
.phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #0c1226; z-index: 2; }
.ui-top { display: flex; align-items: center; gap: 8px; padding: 44px 16px 10px; }
.ui-top img { width: 22px; height: 22px; }
.ui-top b { font-family: var(--serif); font-size: 16px; }
.ui-top .streak { margin-left: auto; background: #fef3c7; color: #b45309; font-weight: 700; border-radius: 999px; padding: 3px 9px; font-size: 12px; }
.ui-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; margin: 8px 14px; padding: 14px; }
.ui-ready { display: flex; gap: 12px; align-items: center; }
.ui-ready .ring { width: 70px; height: 70px; position: relative; flex: none; }
.ui-ready .ring svg { width: 70px; height: 70px; transform: rotate(-90deg); }
.ui-ready .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; }
.ui-muted { color: #64748b; font-size: 11.5px; }
.ui-big { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ui-bar { height: 6px; border-radius: 99px; background: #eef2f6; overflow: hidden; margin-top: 6px; }
.ui-bar i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.ui-bar.amber i { background: #d97706; }
.ui-go { display: flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; border-radius: 16px; margin: 8px 14px; padding: 14px; }
.ui-go .ic { width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; }
.ui-go small { display: block; opacity: 0.8; font-size: 11px; }
.ui-area { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-top: 1px solid #eef2f6; font-size: 12.5px; font-weight: 600; }
.ui-area:first-of-type { border-top: 0; }
.ui-area span { color: #64748b; font-weight: 500; }
.ui-area .ui-bar { grid-column: span 2; margin-top: 2px; }
.qcard { position: absolute; z-index: 2; right: -6px; bottom: 0; width: 270px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px; font-size: 13.5px; }
.qcard .qa { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.qcard .qt { font-weight: 650; margin: 6px 0 10px; line-height: 1.4; }
.qcard .opt { border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; margin-top: 6px; display: flex; justify-content: space-between; gap: 8px; }
.qcard .opt.ok { border-color: var(--green); background: var(--green-soft); }
.qcard .opt.no { border-color: var(--red); background: #fee4e2; }
.qcard .ex { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 520px) { .qcard { right: 0; width: 240px; } .phone { width: 270px; } .phone .screen { height: 560px; } }

.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); }
.step .n { font-family: var(--serif); font-size: 34px; color: var(--blue); grid-row: span 2; line-height: 1; }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-2); font-size: 16px; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* cilj: posao */
.goal-band { position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); }
.goal-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.goal-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 27, 61, 0) 35%, rgba(15, 27, 61, 0.55) 100%); }
.goal-band .card { position: relative; z-index: 1; margin: 0 28px 28px auto; max-width: 470px; background: var(--white); border-radius: 22px; padding: 30px; }
.goal-band h2 { font-size: clamp(30px, 3.6vw, 44px); }
.goal-band p { color: var(--ink-2); margin-top: 14px; }
@media (max-width: 760px) { .goal-band { min-height: 0; flex-direction: column; align-items: stretch; } .goal-band img { position: static; height: 300px; } .goal-band::after { display: none; } .goal-band .card { margin: 0; border-radius: 0; } }

/* cijena */
.pricing .grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .pricing .grid { grid-template-columns: 1fr; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 34px; display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; }
.plan .price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.plan .price b { font-family: var(--serif); font-size: 64px; line-height: 1; letter-spacing: -0.03em; }
.plan .price span { color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 15px; }
.plan .btn { margin-top: auto; width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding: 14px 20px; }
.pricing .grid > *, .split > *, .hero .grid > * { min-width: 0; }
.plan .checks { margin-bottom: 30px; }
.plan.main { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.plan.main .tag { position: absolute; top: -14px; left: 34px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.guarantee { display: flex; gap: 22px; align-items: center; margin-top: 20px; padding: 24px 28px; border-radius: 22px; background: var(--paper-2); }
.guarantee .stamp { position: static; width: 92px; flex: none; }
.guarantee h3 { font-size: 22px; }
.guarantee p { color: var(--ink-2); margin-top: 4px; }
@media (max-width: 560px) { .guarantee { flex-direction: column; align-items: flex-start; } }

/* pitanja */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 28px; line-height: 1; color: var(--blue); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); max-width: 46em; }

/* završni poziv */
.final { background: var(--ink); color: #fff; border-radius: 36px; padding: 80px 56px; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(38px, 5.4vw, 70px); max-width: 12em; }
.final p { color: rgba(255, 255, 255, 0.75); font-size: 19px; margin-top: 18px; }
.final .btn { margin-top: 32px; }
.final h2, .final p { max-width: calc(100% - 300px); }
@media (max-width: 860px) { .final h2, .final p { max-width: none; } }
.final .stamp { width: 240px; right: 48px; top: 50%; transform: translateY(-50%) rotate(8deg); color: var(--marker); mix-blend-mode: normal; opacity: 0.95; }
@media (max-width: 860px) { .final { padding: 56px 24px 200px; border-radius: 26px; } .final .stamp { width: 150px; right: 20px; top: auto; bottom: 26px; transform: rotate(8deg); } }

/* podnožje */
.foot { padding: 64px 0 120px; color: var(--muted); font-size: 15px; }
.foot .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { color: var(--ink); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px; }
.foot a { color: var(--ink-2); text-decoration: none; display: block; padding: 3px 0; }
.foot a.brand { display: inline-flex; color: var(--ink); padding: 0; }
.foot a:hover { color: var(--blue); }
.foot .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 760px) { .foot .grid { grid-template-columns: 1fr 1fr; } .foot .grid > :first-child { grid-column: span 2; } }

/* ljepljivi poziv na telefonu */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; gap: 12px; align-items: center; background: var(--ink); color: #fff; border-radius: 18px; padding: 10px 10px 10px 18px; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform 0.25s ease; }
  .sticky-cta.show { transform: none; }
  .sticky-cta div { font-size: 13px; line-height: 1.3; }
  .sticky-cta b { display: block; font-size: 15px; }
  .sticky-cta .btn { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
