/* Deda Mraz piše — noćno nebo iz ilustracija kao podloga, pergament za sadržaj, zlato samo za glavno dugme. */
:root {
  --night-950: #060b20;
  --night-900: #0b1433;
  --night-800: #111d49;
  --night-700: #1c2c68;
  --cream: #f6ecd2;
  --cream-dim: #cfc6ad;
  --parchment: #f4e6c0;
  --parchment-2: #fbf3dc;
  --ink: #2b2017;
  --ink-soft: #5d4b38;
  --red: #9b1c22;
  --red-deep: #7a1217;
  --gold: #e8b64f;
  --gold-hi: #f4cd75;
  --gold-deep: #a97c2c;
  --green: #1f4d3a;
  --wrap: 1120px;
  --display: "Yeseva One", Georgia, "Times New Roman", serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Marck Script", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
* { touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  background: var(--night-900);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.14; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 7.4vw, 3.6rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
h3 { font-size: 1.28rem; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: rgba(232, 182, 79, 0.25); }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.eyebrow { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.paper .eyebrow { color: var(--red); }
.lead { font-size: 1.1rem; color: var(--cream-dim); }
.paper .lead { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border: 0; border-radius: 12px;
  font-weight: 800; font-size: 1.04rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1b1203; box-shadow: 0 4px 0 var(--gold-deep), 0 14px 28px rgba(0, 0, 0, 0.35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--gold-deep), 0 18px 32px rgba(0, 0, 0, 0.4); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-deep), 0 6px 14px rgba(0, 0, 0, 0.3); }
.btn-gold[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-line { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(246, 236, 210, 0.55); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }
.paper .btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.45); }
.btn-block { width: 100%; }
.textlink { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* ---------- zaglavlje ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(8, 14, 38, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(232, 182, 79, 0.22); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.22rem; color: var(--cream); }
.brand { white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
@media (max-width: 430px) {
  .brand { font-size: 1.04rem; gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .topbar .btn { padding: 8px 12px; font-size: 0.86rem; }
}
.topbar .btn { min-height: 42px; padding: 9px 16px; font-size: 0.94rem; box-shadow: 0 3px 0 var(--gold-deep); }
.ribbon { background: var(--red-deep); color: #fde9c2; text-align: center; font-size: 0.86rem; font-weight: 700; padding: 8px 14px; }
.ribbon b { color: #fff; }

/* ---------- naslovna scena ---------- */
.hero { position: relative; background: var(--night-900); }
.hero-art { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }   /* niža slika: dugme ostaje na prvom ekranu telefona */
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 42%; }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, rgba(11, 20, 51, 0), var(--night-900)); }
.hero-copy { position: relative; margin-top: -54px; padding-bottom: 44px; }
.hero-copy h1 { margin: 8px 0 12px; }
.hero-form { margin-top: 18px; display: grid; gap: 10px; }
.namefield { display: grid; gap: 6px; }
.namefield label, .field > label, .field > .label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.namefield input {
  width: 100%; min-height: 58px; padding: 12px 18px; border-radius: 12px; border: 2px solid var(--gold);
  background: var(--parchment-2); color: var(--ink); font-size: 1.25rem; font-weight: 700;
}
.namefield input::placeholder { color: #a8957a; font-weight: 600; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; padding: 4px; border-radius: 12px; background: rgba(246, 236, 210, 0.1); box-shadow: inset 0 0 0 1px rgba(246, 236, 210, 0.3); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 10px 18px; border-radius: 9px; text-align: center; font-weight: 800; font-size: 0.98rem; cursor: pointer; }
.seg input:checked + span { background: var(--cream); color: var(--night-900); }
.seg input:focus-visible + span { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
.paper .seg, .flow-card .seg { background: rgba(43, 32, 23, 0.06); box-shadow: inset 0 0 0 1px rgba(43, 32, 23, 0.3); }
.paper .seg input:checked + span, .flow-card .seg input:checked + span { background: var(--red); color: #fff; }
.flow-card .lead { color: var(--ink-soft); }
.flow-card .btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.45); }
body.night { min-height: 100vh; }
.hero-facts { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.93rem; color: var(--cream-dim); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.spark { width: 12px; height: 12px; flex: none; fill: var(--gold); }
.paper .spark { fill: var(--red); }

@media (min-width: 900px) {
  .hero { min-height: min(86vh, 760px); display: grid; align-items: center; overflow: hidden; }
  .hero-art { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-art img { object-position: 100% 40%; }
  .hero-art::after { inset: 0; height: auto; background: linear-gradient(90deg, var(--night-900) 0%, rgba(11, 20, 51, 0.94) 30%, rgba(11, 20, 51, 0.55) 47%, rgba(11, 20, 51, 0) 64%); }
  .hero-copy { margin-top: 0; padding: 70px 0; }
  .hero-copy > div { max-width: 500px; }
}

/* naslovna sa detetom: lice deteta ostaje u kadru; na širokom ekranu slika se okreće da tekst stane levo */
.hero-child .hero-art img { object-position: 34% 22%; }
@media (min-width: 900px) {
  .hero-child .hero-art img { transform: scaleX(-1); object-position: 50% 24%; }
  .hero-child .hero-art::after { background: linear-gradient(90deg, var(--night-900) 0%, rgba(11, 20, 51, 0.96) 28%, rgba(11, 20, 51, 0.7) 42%, rgba(11, 20, 51, 0) 58%); }
}

/* ---------- sekcije ---------- */
.section { padding: 64px 0; position: relative; }
.section-head { max-width: 700px; margin-bottom: 34px; }
.section-head h2 { margin: 10px 0 12px; }
.night { background:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 9%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 56% 34%, rgba(244, 205, 117, 0.9) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 31% 71%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 90% 62%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 7% 88%, rgba(244, 205, 117, 0.8) 50%, transparent 51%),
    linear-gradient(180deg, var(--night-900), var(--night-800)); }
.paper { background: var(--parchment); color: var(--ink); }
.paper h2, .paper h3 { color: var(--red-deep); }
/* iskidana ivica papira između noćnih i papirnih sekcija */
.paper::before, .paper::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; background-repeat: repeat-x; background-size: 240px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' preserveAspectRatio='none'%3E%3Cpath fill='%23f4e6c0' d='M0 14V7l9-3 11 4 8-5 13 3 9-4 12 5 10-3 9 4 12-5 10 4 11-4 9 3 12-4 10 5 9-3 12 3 10-4 11 4 9-3 14 3 10-3 10 4 10-1v7z'/%3E%3C/svg%3E");
}
.paper::before { top: -13px; }
.paper::after { bottom: -13px; transform: scaleY(-1); z-index: 2; }

/* ---------- koverta i pismo ---------- */
.demo-grid { display: grid; gap: 30px; align-items: start; }
.envelope { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); aspect-ratio: 3 / 2; background: #0e1840; }
.envelope img { width: 100%; height: 100%; object-fit: cover; }
.env-to { position: absolute; left: 13%; top: 31%; width: 52%; color: #22315f; line-height: 1.05; }
.env-to small { display: block; font-family: var(--body); font-style: italic; font-weight: 700; font-size: clamp(0.72rem, 2.4vw, 1rem); opacity: 0.8; }
.env-to strong { display: block; font-family: var(--hand); font-weight: 400; font-size: clamp(2rem, 9.5vw, 4.3rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0.08em 0 0.16em; }
.env-from { position: absolute; left: 36%; top: 61%; font-size: clamp(0.66rem, 2.1vw, 0.92rem); font-style: italic; font-weight: 700; color: #22315f; opacity: 0.78; }
.demo-actions { margin-top: 20px; display: grid; gap: 12px; }
.letter-stage { display: grid; gap: 18px; justify-items: center; }
.letter-frame { position: relative; width: min(100%, 470px); aspect-ratio: 826 / 1169; border-radius: 6px; overflow: hidden; background: #1a2550; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55); transform: rotate(-1.2deg); }
.letter-frame img { width: 100%; height: 100%; object-fit: cover; }
.letter-frame.loading::after { content: "Deda Mraz piše…"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--hand); font-size: 1.9rem; color: var(--cream); background: rgba(11, 20, 51, 0.72); }
.letter-note { max-width: 470px; text-align: center; color: var(--cream-dim); font-size: 0.98rem; }
.reveal { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(-1.2deg); } }
@media (min-width: 900px) { .demo-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------- šta stiže ---------- */
.gets { display: grid; gap: 44px; }
.get { display: grid; gap: 18px; align-items: center; }
.get-media img { border-radius: 4px; box-shadow: 0 18px 36px rgba(60, 40, 10, 0.32); }
.get-media.tilt-l img { transform: rotate(-1.6deg); }
.get-media.tilt-r img { transform: rotate(1.4deg); }
.get-media.portrait { max-width: 330px; margin-inline: auto; }
.get-media.video { display: grid; justify-items: center; gap: 10px; }
.media-note { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.get-media.video video { width: min(100%, 280px); height: auto; aspect-ratio: 352 / 624; border-radius: 14px; background: #0b1433; box-shadow: 0 18px 36px rgba(60, 40, 10, 0.32); }
.get h3 { margin-bottom: 8px; font-size: 1.5rem; }
.get p + p { margin-top: 10px; }
.tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--red); color: #fff; }
.tag.green { background: var(--green); }
.player { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--parchment-2); box-shadow: inset 0 0 0 1px rgba(155, 28, 34, 0.25); }
.player p { font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; }
.player audio { width: 100%; height: 40px; }
@media (min-width: 820px) {
  .get { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 46px; }
  .get:nth-child(even) .get-media { order: 2; }
  .get-media.portrait { max-width: 360px; }
}

/* ---------- pravi primerci (polica) ---------- */
.shelf { list-style: none; margin: 0 -20px; padding: 6px 20px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.shelf li { scroll-snap-align: center; display: grid; gap: 4px; align-content: start; text-align: center; }
.shelf img { width: 100%; height: 300px; object-fit: contain; margin-bottom: 10px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5)); }
.shelf b { color: #fff; font-size: 1.02rem; line-height: 1.3; }
.shelf span { color: var(--cream-dim); font-size: 0.9rem; line-height: 1.35; }
.steps-title { margin: 44px 0 22px; font-size: 1.6rem; color: var(--cream); }
.plans-note { margin-top: 20px; max-width: 860px; color: var(--cream-dim); font-size: 0.98rem; }
@media (min-width: 820px) {
  .shelf { margin: 0; padding: 6px 0 0; grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); overflow: visible; }
  .shelf img { height: 230px; }
}

/* ---------- poređenje ---------- */
.compare { display: grid; gap: 0; border-top: 1px solid rgba(246, 236, 210, 0.2); }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; padding: 16px 0; border-bottom: 1px solid rgba(246, 236, 210, 0.2); }
.compare-row dt { grid-column: 1 / -1; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.compare-row dd { margin: 0; }
.compare-row .them { color: var(--cream-dim); }
.compare-row .us { font-weight: 800; color: #fff; }
.compare-head { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 10px; font-family: var(--display); font-size: 1.12rem; }
.compare-head span:first-child { color: var(--cream-dim); }
.compare-note { margin-top: 16px; font-size: 0.92rem; color: var(--cream-dim); }
/* poređenje na papiru */
.paper .compare, .paper .compare-row { border-color: rgba(43, 32, 23, 0.25); }
.paper .compare-row dt { color: var(--red); }
.paper .compare-row .them, .paper .compare-head span:first-child, .paper .compare-note { color: var(--ink-soft); }
.paper .compare-row .us { color: var(--ink); }
.paper .compare-head { color: var(--red-deep); }
@media (min-width: 820px) {
  .compare-row { grid-template-columns: 220px 1fr 1fr; align-items: baseline; }
  .compare-row dt { grid-column: auto; }
  .compare-head { grid-template-columns: 220px 1fr 1fr; }
  .compare-head::before { content: ""; }
}

/* ---------- zašto sada ---------- */
.reasons { display: grid; gap: 26px; counter-reset: r; }
.reason { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.reason::before { counter-increment: r; content: counter(r); font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--red); }
.reason h3 { margin-bottom: 4px; }
.countdown { margin-top: 30px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 14px 18px; border-radius: 12px; background: var(--red-deep); color: #fde9c2; font-weight: 700; }
.countdown b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: #fff; }
@media (min-width: 820px) { .reasons { grid-template-columns: 1fr 1fr; gap: 34px 50px; } }
/* razlozi na noćnoj podlozi */
.night .reason::before { color: var(--gold); }
.night .reason h3 { color: #fff; }
.night .reason p { color: var(--cream-dim); }
.night .reason p b { color: #fff; }
.night .countdown { background: var(--red); }

/* ---------- koraci ---------- */
.steps { display: grid; gap: 22px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.steps li::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; color: var(--night-900); background: var(--gold); }
.steps h3 { color: #fff; margin-bottom: 4px; }
.steps p { color: var(--cream-dim); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; } }

/* ---------- cene ---------- */
.plans { display: grid; gap: 18px; }
.plan { position: relative; padding: 26px 22px; border-radius: 16px; background: var(--parchment-2); color: var(--ink); display: grid; gap: 14px; align-content: start; }
.plan.best { box-shadow: 0 0 0 3px var(--gold), 0 24px 50px rgba(0, 0, 0, 0.4); }
.plan h3 { color: var(--red-deep); font-size: 1.6rem; }
.plan .price { font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--ink); }
.plan .price small { font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.plan .was { font-size: 0.92rem; color: var(--ink-soft); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.plan li .spark { margin-top: 7px; fill: var(--red); }
.plan .flag { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: #1b1203; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 26px; max-width: 860px; } }
@media (min-width: 1000px) { .plans.three { grid-template-columns: repeat(3, 1fr); max-width: none; } }
.plan .btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.45); }
.videobox { margin-top: 16px; display: grid; gap: 10px; justify-items: center; }
.videobox video { width: min(100%, 300px); aspect-ratio: 9 / 16; border-radius: 14px; background: #0b1433; box-shadow: 0 16px 34px rgba(60, 40, 10, 0.35); }

/* ---------- pitanja ---------- */
.faq { max-width: 780px; display: grid; gap: 0; border-top: 1px solid rgba(43, 32, 23, 0.25); }
.faq details { border-bottom: 1px solid rgba(43, 32, 23, 0.25); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative; font-weight: 800; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--display); font-size: 1.7rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); }

/* ---------- završni poziv i podnožje ---------- */
.closing { text-align: center; }
.closing .hero-form { max-width: 440px; margin-inline: auto; text-align: left; }
.footer { background: var(--night-950); padding: 34px 0 96px; font-size: 0.9rem; color: var(--cream-dim); }
.footer .wrap { display: grid; gap: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(6, 11, 32, 0.95); border-top: 1px solid rgba(232, 182, 79, 0.35); transform: translateY(110%); transition: transform 0.25s ease; }
.stickybar.show { transform: none; }
.stickybar .btn { width: 100%; min-height: 50px; }
@media (min-width: 900px) { .stickybar { display: none; } .footer { padding-bottom: 34px; } }

/* ---------- formular ---------- */
.flow { padding: 26px 0 80px; }
.flow-card { background: var(--parchment); color: var(--ink); border-radius: 18px; padding: 24px 20px 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.flow-card h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); color: var(--red-deep); }
.flow-card h2 { font-size: 1.35rem; color: var(--red-deep); }
.flow-card .lead { margin-top: 8px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.progress li { height: 6px; border-radius: 6px; background: rgba(246, 236, 210, 0.22); }
.progress li.done { background: var(--gold); }
.stepname { margin-bottom: 8px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.fields { display: grid; gap: 18px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.field > label, .field > .label { color: var(--red-deep); }
.field .hint { font-size: 0.88rem; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid rgba(43, 32, 23, 0.4);
  background: #fffaf0; color: var(--ink); font-size: 1.05rem;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--red); }
.field.invalid input, .field.invalid select { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15); }
.error { color: #9c1b14; font-weight: 700; font-size: 0.92rem; }
.two { display: grid; gap: 18px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: block; padding: 9px 14px; border-radius: 999px; background: #fffaf0; box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.35); font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.chip input:checked + span { background: var(--green); color: #fff; box-shadow: none; }
.chip input:disabled + span { opacity: 0.45; cursor: not-allowed; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; cursor: pointer; font-weight: 600; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); }
.flow-actions { margin-top: 26px; display: grid; gap: 12px; }
.flow-actions .btn-gold { box-shadow: 0 4px 0 var(--gold-deep), 0 10px 20px rgba(60, 40, 10, 0.25); }
.preview-box { margin-top: 20px; display: grid; gap: 16px; justify-items: center; }
.preview-box .letter-frame { transform: none; box-shadow: 0 18px 40px rgba(60, 40, 10, 0.35); }
.choice { display: grid; gap: 12px; margin-top: 18px; }
.choice label { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px; border-radius: 14px; background: #fffaf0; box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.35); cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice label:has(input:checked) { box-shadow: inset 0 0 0 3px var(--red); background: #fff; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice b { font-size: 1.1rem; }
.choice .amt { font-family: var(--display); font-size: 1.4rem; color: var(--red-deep); white-space: nowrap; }
.choice small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 0.92rem; }
.summary { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--parchment-2); font-size: 0.96rem; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(43, 32, 23, 0.25); font-weight: 800; font-size: 1.12rem; }
.fineprint { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- pravne strane ---------- */
.legal { display: grid; gap: 12px; }
.legal h2 { margin-top: 14px; font-size: 1.2rem; }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal mark { background: #ffe08a; padding: 0 4px; border-radius: 3px; }
.legal a { color: var(--red-deep); font-weight: 700; }

/* ---------- obaveštenje o kolačićima ---------- */
/* Ne sme da prekrije polje za ime i dugme na prvom ekranu: na telefonu stoji gore, preko trake sa ponudom,
   a na širokom ekranu dole desno, preko slike. */
.consent { position: fixed; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top)); z-index: 60; max-width: 520px; margin-inline: auto; padding: 12px 14px; border-radius: 14px; background: var(--parchment-2); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); display: grid; gap: 10px; font-size: 0.88rem; line-height: 1.4; }
.consent div { display: flex; gap: 10px; }
.consent .btn { flex: 1; min-height: 44px; padding: 8px 14px; font-size: 0.92rem; box-shadow: none; }
.consent .btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.45); }
@media (min-width: 900px) {
  .consent { top: auto; bottom: 20px; left: auto; right: 20px; width: 380px; margin: 0; }
}

/* ---------- stranica kupca ---------- */
.files { display: grid; gap: 10px; margin-top: 18px; }
.file { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #fffaf0; box-shadow: inset 0 0 0 1px rgba(43, 32, 23, 0.25); text-decoration: none; font-weight: 800; }
.file span:last-child { color: var(--red); white-space: nowrap; }
.paybox { margin-top: 18px; padding: 18px; border-radius: 14px; background: #fffaf0; box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.3); display: grid; gap: 12px; }
.paybox dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.paybox dt { color: var(--ink-soft); font-size: 0.84rem; padding-top: 10px; }
.paybox dd { margin: 0; padding-bottom: 10px; font-weight: 800; word-break: break-word; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(43, 32, 23, 0.14); }
.paybox dd:last-child { border-bottom: 0; padding-bottom: 0; }
.paybox dd span { min-width: 0; }
.paybox img { width: 220px; height: 220px; margin-inline: auto; image-rendering: pixelated; }
.paybox > .btn { justify-self: center; min-height: 44px; padding: 9px 20px; font-size: 0.95rem; }
.payhow { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.payhow b { color: var(--ink); }
.copy { flex: none; min-height: 40px; padding: 6px 14px; border: 0; border-radius: 999px; font: inherit; font-size: 0.84rem; font-weight: 800; background: var(--parchment-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43, 32, 23, 0.35); cursor: pointer; }
.copy.done { background: var(--green); color: #fff; box-shadow: none; }
.copy:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.notice { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(31, 77, 58, 0.12); color: #173a2c; font-weight: 700; }
.waiting { display: grid; justify-items: center; gap: 14px; padding: 30px 0; text-align: center; }
.waiting .pen { font-family: var(--hand); font-size: 2.2rem; color: var(--red-deep); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.45; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .waiting .pen { animation: none; }
  .btn, .stickybar { transition: none; }
}

/* =====================================================================
   Jasnoća proizvoda: šta je digitalno, šta tačno stiže, šta je u kom paketu
   ===================================================================== */

/* meni u zaglavlju (samo na širokom ekranu) */
.topnav { display: none; }
@media (min-width: 900px) {
  .topnav { display: flex; gap: 26px; margin-left: auto; margin-right: 22px; }
  .topnav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--cream-dim); }
  .topnav a:hover { color: var(--cream); }
}

/* naslovna: jasno da je digitalno */
.hero-copy .lead + .hero-how { margin-top: 10px; }
@media (max-width: 899px) { .hero-copy h1 { margin-bottom: 8px; } .hero-copy .lead { font-size: 1.02rem; line-height: 1.5; } .hero-how { font-size: 0.93rem; padding: 9px 12px; } .hero-form { margin-top: 14px; } }
.hero-how { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 0.98rem; line-height: 1.5; color: var(--cream); background: rgba(6, 11, 32, 0.55); box-shadow: inset 0 0 0 1px rgba(232, 182, 79, 0.4); }
.badge-digital { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: #1b1203; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 2px; }
.hero-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 800; color: var(--gold-hi); text-underline-offset: 4px; }
.hero-more svg { width: 18px; height: 18px; }

/* kako stiže: 4 koraka */
.howflow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: hf; }
.howflow li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: var(--parchment-2); box-shadow: inset 0 0 0 1px rgba(43, 32, 23, 0.14), 0 8px 20px rgba(60, 40, 10, 0.08); }
.hf-ic { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; counter-increment: hf; }
.hf-ic svg { width: 26px; height: 26px; }
.hf-ic::after { content: counter(hf); position: absolute; right: -4px; top: -4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1b1203; font-size: 0.74rem; font-weight: 900; box-shadow: 0 0 0 2px var(--parchment-2); }
.howflow b { display: block; font-size: 1.06rem; color: var(--ink); margin-bottom: 2px; }
.howflow li div > span { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.45; }
@media (min-width: 820px) {
  .howflow { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .howflow li { grid-template-columns: 1fr; gap: 12px; padding: 20px 18px; position: relative; }
  .howflow li:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 44px; width: 10px; height: 10px; border-top: 2.5px solid var(--red); border-right: 2.5px solid var(--red); transform: rotate(45deg); z-index: 1; }
}

/* u paketu je */
.kit-title { margin: 52px 0 18px; font-size: 1.7rem; }
.kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kit-item { display: grid; grid-template-columns: 116px 1fr; border-radius: 16px; overflow: hidden; background: #fffaf0; box-shadow: inset 0 0 0 1px rgba(43, 32, 23, 0.14), 0 12px 28px rgba(60, 40, 10, 0.12); }
.kit-thumb { position: relative; display: grid; place-items: center; padding: 12px; min-height: 150px; background: radial-gradient(circle at 50% 40%, #f7ead0, #e6d3a6); }
.kit-thumb img { width: 100%; height: 100%; max-height: 170px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(60, 40, 10, 0.35)); }
.kit-body { padding: 14px 16px 16px; display: grid; gap: 5px; align-content: start; }
.kit-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); }
.ft { display: inline-block; padding: 2px 7px; border-radius: 5px; background: var(--red); color: #fff; font-size: 0.66rem; font-weight: 900; letter-spacing: 0.06em; line-height: 1.5; }
.ft-audio { background: var(--green); }
.ft-video { background: var(--night-700); }
.kit-body h4 { margin: 2px 0 0; font-family: var(--display); font-weight: 400; font-size: 1.12rem; line-height: 1.2; color: var(--red-deep); }
.kit-body p { font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); }
.kit-in { justify-self: start; margin-top: 6px; padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; background: rgba(31, 77, 58, 0.12); color: var(--green); }
.kit-in-gold { background: rgba(232, 182, 79, 0.32); color: #6b4a0f; }
.kit-in-red { background: rgba(155, 28, 34, 0.12); color: var(--red-deep); }
.kit-main { box-shadow: inset 0 0 0 2px var(--gold), 0 14px 32px rgba(60, 40, 10, 0.18); }
/* glas i video: noćna kartica sa Deda Mrazom */
.kit-sound { align-content: center; gap: 10px; background: radial-gradient(circle at 50% 30%, var(--night-700), var(--night-900)); }
.kit-sound .kit-portrait { width: 76px; height: 76px; max-height: none; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid var(--gold); filter: none; }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 4px; border-radius: 2px; background: var(--gold-hi); height: 30%; }
.wave i:nth-child(3n+1) { height: 55%; }
.wave i:nth-child(4n+2) { height: 90%; }
.wave i:nth-child(5n+3) { height: 70%; }
.wave i:nth-child(7n) { height: 40%; }
.kit-sound:has(.playing) .wave i { animation: wave 0.9s ease-in-out infinite alternate; }
.kit-sound:has(.playing) .wave i:nth-child(odd) { animation-delay: -0.45s; }
.kit-sound:has(.playing) .wave i:nth-child(3n) { animation-delay: -0.2s; }
@keyframes wave { from { transform: scaleY(0.35); } to { transform: scaleY(1.1); } }
.kit-play { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 7px 13px; border: 0; border-radius: 999px; background: var(--gold); color: #1b1203; font-size: 0.82rem; font-weight: 800; box-shadow: 0 3px 0 var(--gold-deep); }
.kit-play svg { width: 15px; height: 15px; flex: none; }
.kit-play span { white-space: nowrap; }
[data-video-slot] video { width: 100%; height: 100%; max-height: 260px; border-radius: 10px; background: #000; object-fit: contain; }
@media (max-width: 400px) { .kit-play span { display: none; } .kit-play { padding: 8px 10px; } }
@media (min-width: 620px) {
  .kit-list { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 1000px) {
  .kit-list { grid-template-columns: repeat(4, 1fr); }
  .kit-item { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .kit-thumb { height: 220px; padding: 18px; }
  .kit-thumb img { max-height: 184px; }
  .kit-play span { display: inline; }
}

/* ovo vam stiže na email: telefon sa stranicom za preuzimanje */
.arrive { margin-top: 56px; padding: 30px 20px; border-radius: 24px; display: grid; gap: 30px; align-items: center; color: var(--cream);
  background:
    radial-gradient(1.4px 1.4px at 14% 20%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 82% 14%, rgba(244, 205, 117, 0.9) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 64% 86%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    linear-gradient(160deg, var(--night-800), var(--night-950));
  box-shadow: 0 30px 60px rgba(30, 20, 5, 0.3); }
.phone { width: min(100%, 290px); margin-inline: auto; padding: 11px; border-radius: 40px; background: #05081a; box-shadow: 0 0 0 2px #2a3566, 0 30px 60px rgba(0, 0, 0, 0.55); transform: rotate(-2deg); }
.phone-screen { border-radius: 30px; overflow: hidden; background: var(--parchment); color: var(--ink); padding-bottom: 16px; }
.ph-bar { display: flex; align-items: center; gap: 8px; padding: 24px 16px 12px; background: var(--night-900); color: var(--cream); font-family: var(--display); font-size: 0.95rem; }
.ph-bar svg { width: 20px; height: 20px; }
.ph-hello { padding: 14px 16px 8px; }
.ph-hello small { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.ph-hello b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--red-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-files { list-style: none; margin: 0; padding: 4px 12px 0; display: grid; gap: 7px; }
.ph-files li { display: grid; grid-template-columns: auto minmax(0, 1fr) 16px; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 10px; background: #fffaf0; box-shadow: inset 0 0 0 1px rgba(43, 32, 23, 0.16); font-size: 0.78rem; font-weight: 800; }
.ph-files li > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-files svg { width: 16px; height: 16px; color: var(--red); }
.paper .arrive h3 { color: #fff; font-size: clamp(1.5rem, 4.6vw, 2rem); margin-bottom: 10px; }
.arrive-copy > p { color: var(--cream-dim); }
.checks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 11px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.arrive-note { margin-top: 12px; font-size: 0.86rem; color: var(--cream-dim); }
@media (min-width: 820px) {
  .arrive { grid-template-columns: 320px 1fr; gap: 56px; padding: 44px 48px; }
}

/* cene: isti redovi u svakom paketu, kvačica ili iks */
.plan-sub { margin-top: -8px; font-size: 0.95rem; color: var(--ink-soft); }
/* dugme uvek na dnu kartice, pa su sva tri u istoj liniji */
.plan:has(.incl) { grid-template-rows: auto auto auto 1fr auto; }
.plan .was s { text-decoration-thickness: 1.5px; }
.plan ul.incl li { display: flex; align-items: flex-start; gap: 8px; }
.incl svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 4px; }
.incl small { flex: none; margin-top: 4px; margin-left: auto; padding: 1px 6px; border-radius: 4px; background: rgba(43, 32, 23, 0.08); color: var(--ink-soft); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.05em; vertical-align: 1px; }
.incl li.no { color: rgba(43, 32, 23, 0.42); }
.incl li.no svg { color: rgba(43, 32, 23, 0.32); }
.incl li.gift { font-weight: 700; color: var(--red-deep); }
.incl li.gift svg { color: var(--red); }
.trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--cream-dim); font-size: 0.95rem; }
.trust svg { width: 20px; height: 20px; flex: none; color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .kit-sound:has(.playing) .wave i { animation: none; }
}
