/* Početna stranica. Tokeni boja su u style.css (paleta A iz aplikacije); ovde su samo
   dodaci za landing: gradijent, senke, raspored. Raspored: 1 ekran = 1 poruka, kolona 1120 px. */
:root {
  --coral-hi: #FF7552;
  --coral: #D63F1E;
  --coral-deep: #B4321A;
  --amber: #FBBF24;
  --amber-ink: #7A3E06;
  --amber-tint: #FDECC8;
  --ink-soft: #3A3A40;
  --surface-2: #FFFFFF;
  --shadow: 0 24px 60px rgba(70, 15, 0, .16);
  --shadow-sm: 0 6px 20px rgba(27, 26, 23, .08);
  --ring: rgba(214, 63, 30, .22);
  --phone: #121214;
  --phone-edge: #2A2A2E;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --coral-hi: #FF8A6A; --coral: #FF6B4A; --coral-deep: #D63F1E;
    --amber-ink: #FBBF24; --amber-tint: #3A2A0C;
    --ink-soft: #C8C5BE; --surface-2: #1C1C1F;
    --shadow: 0 24px 60px rgba(0, 0, 0, .5); --shadow-sm: 0 6px 20px rgba(0, 0, 0, .35);
    --ring: rgba(255, 107, 74, .3); --phone: #050506; --phone-edge: #3A3A40;
  }
}
:root[data-theme="dark"] {
  --coral-hi: #FF8A6A; --coral: #FF6B4A; --coral-deep: #D63F1E;
  --amber-ink: #FBBF24; --amber-tint: #3A2A0C;
  --ink-soft: #C8C5BE; --surface-2: #1C1C1F;
  --shadow: 0 24px 60px rgba(0, 0, 0, .5); --shadow-sm: 0 6px 20px rgba(0, 0, 0, .35);
  --ring: rgba(255, 107, 74, .3); --phone: #050506; --phone-edge: #3A3A40;
}

html { scroll-behavior: smooth; }
body.landing { font-size: 17px; line-height: 1.6; }
.landing .wrap { max-width: 1120px; }
.landing h1, .landing h2, .landing h3 { text-wrap: balance; letter-spacing: -0.02em; }
.landing h2 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.1; margin: 0 0 14px; }
.landing h3 { font-size: 20px; margin: 0 0 6px; line-height: 1.3; }
.landing p { margin: 0; }
.landing .lede { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.nav .links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav .links a { color: var(--text-2); text-decoration: none; }
.nav .links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: 14px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 24px var(--ring); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-2); }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 760px) { .nav .links { display: none; } }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .wrap > div:first-child { padding-bottom: 24px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.05; margin: 18px 0 20px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero .fine span::before { content: "✓"; color: var(--success); margin-right: 6px; font-weight: 700; }
.hero-art { position: relative; min-height: 560px; display: flex; justify-content: center; }
.hero-art .glow { position: absolute; inset: 8% 4% 0; border-radius: 40% 40% 38% 38% / 36% 36% 44% 44%; background: radial-gradient(60% 55% at 50% 40%, var(--coral-hi), var(--coral) 70%); filter: blur(2px); opacity: .95; }
.phone { position: relative; width: min(300px, 72vw); border-radius: 44px; background: var(--phone); padding: 11px; box-shadow: var(--shadow), inset 0 0 0 2px var(--phone-edge); margin-top: 40px; }
.phone img { display: block; width: 100%; border-radius: 34px; }
.float { position: absolute; background: var(--surface-2); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px; width: 250px; }
.float.voice { left: -4%; top: 9%; transform: rotate(-4deg); }
.float.notif { right: -4%; bottom: 12%; transform: rotate(3deg); }
.float .row { display: flex; align-items: center; gap: 10px; }
.float .play { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; flex: none; }
.float .play::after { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.wave { display: flex; align-items: center; gap: 3px; height: 30px; flex: 1; }
.wave i { display: block; width: 4px; border-radius: 2px; background: var(--coral); height: var(--h, 10px); opacity: .9; animation: wave 1.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.float .dur { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.float .text { margin-top: 10px; font-size: 15px; line-height: 1.4; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--amber-tint); color: var(--amber-ink); font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 10px; margin-top: 10px; }
.float .nhead { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.float .nhead .mark { width: 18px; height: 18px; border-radius: 5px; background: var(--coral); overflow: hidden; }
.float .nhead .mark svg { width: 100%; height: 100%; display: block; }
.float .ntitle { font-weight: 600; margin-top: 6px; font-size: 15px; }
.float .nact { display: flex; gap: 18px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--coral); letter-spacing: .03em; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; margin-top: 8px; padding-bottom: 24px; }
  .float { width: 210px; padding: 12px; }
  .float.voice { left: 0; top: 4%; }
  .float.notif { right: 0; bottom: 4%; }
}
.strip { border-block: 1px solid var(--border); padding: 18px 0; margin-top: clamp(40px, 6vw, 72px); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 18px; height: 18px; color: var(--coral); }

/* ---- problem ---- */
.problem .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.compare { display: grid; gap: 14px; }
.bubble { align-self: flex-end; background: #7B5FD9; color: #fff; border-radius: 18px 18px 4px 18px; padding: 12px 14px; width: 260px; margin-left: auto; box-shadow: var(--shadow-sm); }
.bubble .row { display: flex; align-items: center; gap: 10px; }
.bubble .mic { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.bubble .mic svg { width: 16px; height: 16px; }
.bubble .bars { display: flex; gap: 3px; align-items: center; flex: 1; }
.bubble .bars i { width: 3px; border-radius: 2px; background: rgba(255,255,255,.75); height: var(--h, 10px); }
.bubble small { display: block; margin-top: 8px; font-size: 12px; opacity: .8; text-align: right; }
.bubble .unread { font-size: 13px; opacity: .9; margin-top: 6px; }
.arrow { justify-self: center; color: var(--text-2); font-size: 22px; }
.note { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.note .title { font-weight: 700; font-size: 17px; }
.note .ai { font-size: 14px; color: var(--text-2); font-style: italic; margin-top: 2px; }
.note .body { margin-top: 10px; font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .problem .wrap { grid-template-columns: 1fr; } .bubble { margin-left: 0; } }

/* ---- kako radi ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--surface-2); border: 1px solid var(--border); border-radius: 22px; padding: 26px 24px 24px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--coral); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--text-2); font-size: 15.5px; }
.step q { display: block; margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--amber); background: var(--amber-tint); color: var(--amber-ink); border-radius: 0 10px 10px 0; font-size: 14.5px; }
.step q::before, .step q::after { content: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---- funkcije (bento) ---- */
.features { background: var(--surface); border-block: 1px solid var(--border); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; min-width: 0; }
.tile p { color: var(--text-2); font-size: 15.5px; }
.tile.span-3 { grid-column: span 3; } .tile.span-2 { grid-column: span 2; } .tile.span-4 { grid-column: span 4; }
.tile .shot { margin-top: auto; padding-top: 18px; }
.tile .shot img { display: block; width: 100%; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.scripts { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.scripts span { border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.scripts span b { display: block; font-size: 12px; color: var(--text-2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.langs span { font-size: 13px; background: var(--surface-alt); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile.span-3, .tile.span-2, .tile.span-4 { grid-column: auto; } }

/* ---- za posao i privatno ---- */
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.use { border-radius: 22px; padding: 26px; border: 1px solid var(--border); background: var(--surface-2); }
.use ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.use li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.use li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-top: 9px; }
.use.home li::before { background: var(--amber); }
@media (max-width: 760px) { .uses { grid-template-columns: 1fr; } }

/* ---- cena ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border: 1px solid var(--border); border-radius: 24px; padding: 28px 26px; background: var(--surface-2); display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.hot { border-color: var(--coral); box-shadow: 0 0 0 4px var(--ring); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.plan .name { font-weight: 700; font-size: 18px; }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.plan .alt { font-size: 14px; color: var(--text-2); margin-top: -8px; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--success); font-weight: 700; }
.plan .soon { margin-top: auto; font-size: 13px; color: var(--text-2); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* ---- privatnost ---- */
.privacy { background: var(--surface); border-block: 1px solid var(--border); }
.privacy .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.privacy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.privacy li { display: flex; gap: 12px; align-items: flex-start; }
.privacy li svg { width: 22px; height: 22px; color: var(--success); flex: none; margin-top: 2px; }
@media (max-width: 860px) { .privacy .wrap { grid-template-columns: 1fr; } }

/* ---- rani pristup ---- */
.early { padding-block: clamp(56px, 9vw, 112px); }
.early .box { background: linear-gradient(135deg, var(--coral-hi), var(--coral) 60%, var(--coral-deep)); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; box-shadow: var(--shadow); }
.early h2 { color: #fff; }
.early p { color: rgba(255,255,255,.88); }
.early form { display: grid; gap: 10px; }
.early input { width: 100%; font: inherit; font-size: 16px; padding: 15px 16px; border-radius: 14px; border: 0; background: #fff; color: #1B1A17; }
.early input:focus { outline: 3px solid rgba(255,255,255,.55); }
.early .btn-light { background: #1B1A17; color: #fff; }
.early .btn-light:hover { background: #000; }
.early .msg { font-size: 14px; min-height: 1.4em; color: #fff; }
.early .hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .early .box { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.landing footer { padding: 36px 0 48px; border-top: 1px solid var(--border); font-size: 14px; }
.landing footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.landing footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.landing footer a { color: var(--text-2); text-decoration: none; }
.landing footer a:hover { color: var(--text); }

/* ---- ulazna animacija (polazno stanje je vidljivo ako se animacija ne izvrši) ---- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--delay, 0s); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } }

/* neutrališe podrazumevane stilove iz style.css koji važe za pravne stranice */
.landing main { padding: 0; }
.landing button.btn { width: auto; margin-top: 0; }
.early button.btn { width: 100%; }
/* width/height atributi na <img> služe samo za rezervaciju prostora; visinu uvek diktira širina */
.landing img { height: auto; max-width: 100%; }

/* ---- česta pitanja ---- */
.faq-list { display: grid; gap: 10px; max-width: 800px; }
.faq-list details { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 0 20px; }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 18px 32px 18px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { color: var(--text-2); padding: 0 0 18px; font-size: 16px; max-width: 65ch; }
.faq-list summary:focus-visible { outline: 3px solid var(--ring); border-radius: 10px; }

/* ---- stalna notifikacija (mock u kartici) ---- */
.qc { margin-top: auto; padding-top: 18px; }
.qc > div { max-width: 420px; }
.qc-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.qc-head .mark { width: 18px; height: 18px; border-radius: 5px; background: var(--coral); overflow: hidden; display: inline-block; }
.qc-head .mark svg { width: 100%; height: 100%; display: block; }
.qc-title { font-weight: 600; margin-top: 10px; font-size: 16px; }
.qc-body { font-size: 14.5px; color: var(--text-2); margin-top: 2px; }
.qc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.qc-actions span { font-size: 13.5px; font-weight: 700; color: var(--coral); background: var(--surface-alt); border-radius: 999px; padding: 7px 12px; }
.qc { background: var(--surface-alt); border-radius: 16px; padding: 16px 18px; margin-top: 18px; }
.qc .qc-actions span { background: var(--surface-2); }
