/* =====================================================================
   VITRINA DIGITAL — styles.css
   Dark, cinematic, cyan-accented. Mobile-first.
   Organizacija:
     1. Tokens (varijable)
     2. Reset & base
     3. Overlejevi (grain / vignette)
     4. Tipografske i layout utility klase
     5. Dugmad
     6. Navigacija + mobilni meni
     7. Hero
     8. Marquee
     9. Usluge
    10. Radovi (bento)
    11. Cene
    12. Kontakt
    13. Footer
    14. Reveal animacije + reduced-motion
    15. Responsive
===================================================================== */

/* ============ 1. TOKENS ============ */
:root {
  /* Pozadine — duboki ugljenisti tonovi, ne čist crn */
  --bg:        #0a0b0e;
  --bg-soft:   #0d0f14;   /* blago svetlija sekcija */
  --bg-deep:   #070809;   /* tamnija sekcija */
  --panel:     #101319;   /* kartice */
  --panel-2:   #14181f;

  /* Tekst */
  --ink:       #f3f5f8;
  --ink-dim:   #a3adba;
  --ink-faint: #5c6672;

  /* Akcent — ledeno plava / cyan */
  --cyan:      #40e0ff;
  --cyan-deep: #18b8dd;
  --cyan-soft: rgba(64, 224, 255, 0.14);
  --cyan-glow: rgba(64, 224, 255, 0.40);

  /* Linije / ivice */
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  /* Tipografija */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --pad:       clamp(20px, 5vw, 40px);

  /* Easing krive (ne linearno) */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);

  --radius:    18px;
}

/* ============ 2. RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(15px, 1.05vw, 17px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: normal; color: var(--cyan); }
::selection { background: var(--cyan); color: #04222b; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Diskretan, moderan scrollbar (detalj koji odaje pažnju) */
* { scrollbar-width: thin; scrollbar-color: rgba(64,224,255,.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(64,224,255,.22); border-radius: 100px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(64,224,255,.4); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cyan); color: #04222b; padding: 10px 16px;
  border-radius: 8px; font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* ============ 3. OVERLEJEVI (grain + vignette) ============ */
/* Suptilna grain tekstura preko celog sajta (SVG feTurbulence data-URI) */
.fx-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  /* opacity umesto mix-blend-mode: jeftinije za kompozitovanje = manje scroll jank-a */
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Blagi vinjet po ivicama */
.fx-vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* Cursor spotlight — mek cyan glow koji prati kursor (pozicija se postavlja iz JS-a) */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64,224,255,0.10), rgba(64,224,255,0.05) 40%, transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease-out);
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* Blagi fade-in cele stranice po učitavanju (premium osećaj).
   Skriveno je SAMO ako je JS aktivan (html.js) — bez JS-a sadržaj je odmah vidljiv. */
/* Nema fade-a preko cele stranice.
   Ranije je body bio opacity:0 dok JS ne odradi — to je kvarilo First Contentful Paint
   na telefonu, a nosilo je i rizik da sadržaj ostane nevidljiv ako se animacija ne pokrene.
   Sadržaj se sada prikazuje odmah; utisak „oživljavanja" daju reveal animacije pri skrolu. */

/* ============ 4. UTILITY: eyebrow + section head ============ */
/* Mala cyan letter-spaced oznaka (kao "PAKET X / 3") */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head__idx {
  display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--cyan); margin-bottom: 22px;
}
.section-head__title {
  font-family: var(--font-display); font-weight: 700; line-height: 0.98;
  font-size: clamp(38px, 7vw, 84px); letter-spacing: -0.02em; text-transform: uppercase;
}
.section-head__lead {
  margin-top: 24px; color: var(--ink-dim); font-size: clamp(16px, 1.5vw, 20px); max-width: 620px;
}

/* Section vertikalni ritam */
.services, .work, .pricing, .faq, .contact { position: relative; z-index: 2; padding-block: clamp(80px, 12vw, 160px); }

/* ============ 5. DUGMAD ============ */
.btn {
  --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em;
  padding: 15px 28px; border-radius: 100px; color: var(--btn-fg);
  transition: transform .5s var(--ease-out), background-color .45s var(--ease-out),
              color .45s var(--ease-out), box-shadow .5s var(--ease-out), border-color .45s var(--ease-out);
}
.btn--sm  { padding: 10px 20px; font-size: 14px; }
.btn--lg  { padding: 18px 34px; font-size: 16px; }

/* Primarno dugme — čist, skup izgled: suptilan gradijent + precizna senka.
   Hover je diskretan (blagi podizaj), bez „skakanja". */
.btn--primary {
  background: linear-gradient(180deg, #5fe8ff 0%, var(--cyan) 55%, #2bcbef 100%);
  color: #032027;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 34px -14px var(--cyan-glow);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 20px 46px -14px var(--cyan-glow);
}
.btn--primary:active { transform: translateY(-1px); }

.btn--ghost {
  background: rgba(255,255,255,0.015); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover {
  transform: translateY(-3px); color: var(--ink);
  background: rgba(64,224,255,0.05);
  box-shadow: inset 0 0 0 1px var(--cyan), 0 18px 40px -22px var(--cyan-glow);
}
.btn--ghost:active { transform: translateY(-1px); }

.btn__arrow { transition: transform .5s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn__wa { width: 20px; height: 20px; flex: none; }

/* ============ 6. NAVIGACIJA ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 20px;
  transition: padding .4s var(--ease-out), background-color .4s var(--ease-out),
              box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
/* stanje kad se skroluje */
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.nav__logo-mark { color: var(--cyan); font-size: 15px; filter: drop-shadow(0 0 8px var(--cyan-glow)); }
.nav__logo-accent { color: var(--cyan); }

.nav__links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__link {
  position: relative; display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 14px; font-size: 14px; font-weight: 400; color: var(--ink-dim);
  border-radius: 100px; transition: color .3s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__idx { font-family: var(--font-display); font-size: 10px; color: var(--cyan); opacity: .7; }
/* custom hover linija ispod linka */
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; opacity: .8;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: 8px; }
.nav__burger { display: none; }

/* Mobilni fullscreen meni */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(7, 8, 9, 0.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: var(--pad);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__links { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 12vw, 56px);
  text-transform: uppercase; letter-spacing: -0.02em; color: var(--ink);
  transition: color .25s var(--ease-out);
}
.mobile-menu__link span { font-size: 14px; color: var(--cyan); }
.mobile-menu__link:active { color: var(--cyan); }
.mobile-menu__cta { align-self: flex-start; margin-top: 12px; }

/* ============ 7. HERO ============ */
.hero {
  position: relative; z-index: 2; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(104px, 14vh, 140px); padding-bottom: clamp(32px, 5vh, 56px);
  overflow: hidden;
}

/* Animirana atmosfera */
.hero__atmosphere { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  will-change: transform;
}
.hero__glow--1 {
  width: 46vw; height: 46vw; top: -8%; right: -6%;
  background: radial-gradient(circle, rgba(64,224,255,.42), transparent 68%);
  animation: drift1 16s var(--ease-io) infinite alternate;
}
.hero__glow--2 {
  width: 40vw; height: 40vw; bottom: -14%; left: -8%;
  background: radial-gradient(circle, rgba(24,120,180,.4), transparent 66%);
  animation: drift2 20s var(--ease-io) infinite alternate;
}
@keyframes drift1 { to { transform: translate(-8%, 10%) scale(1.12); } }
@keyframes drift2 { to { transform: translate(10%, -8%) scale(1.15); } }

/* WebGL 3D canvas — popunjava atmosferu, iznad glow-a ali ispod teksta */
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
.hero__canvas.is-ready { opacity: 1; }

/* Scrim preko canvasa (unutar atmosfere, ispod teksta) — čuva čitljivost teksta */
.hero__scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(10,11,14,0.97) 0%, rgba(10,11,14,0.9) 26%, rgba(10,11,14,0.5) 48%, rgba(10,11,14,0.12) 66%, transparent 78%),
    linear-gradient(to top, rgba(10,11,14,0.8) 0%, transparent 40%);
}

.hero__inner { position: relative; }
.hero__eyebrow { margin-bottom: clamp(20px, 2.5vw, 28px); }

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.92;
}
.hero__line { display: block; }
.hero__line:not(.hero__line--big) { font-size: clamp(38px, 7.6vw, 94px); }
.hero__line--accent { color: var(--cyan); text-shadow: 0 0 30px rgba(64,224,255,.28); }
.hero__line--big {
  font-size: clamp(30px, 5.6vw, 68px); line-height: 1.0; margin-top: .18em;
  color: var(--ink); max-width: 16ch;
}
.hero__line--big em { text-shadow: 0 0 26px rgba(64,224,255,.25); }

/* Sub + dugmad se ređaju vertikalno na levoj strani (3D objekat ostaje čist desno) */
.hero__bottom {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(22px, 3vw, 30px); margin-top: clamp(28px, 3.5vw, 44px);
}
.hero__sub { color: var(--ink-dim); font-size: clamp(16px, 1.4vw, 19px); max-width: 44ch; }
.hero__sub strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }

/* Stats traka */
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: clamp(30px, 4vw, 52px); padding-top: 26px; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 60px);
  line-height: 1; color: var(--ink); letter-spacing: -0.02em;
}
.stat__label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }

/* ============ 8. MARQUEE ============ */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-block: 1px solid var(--line); background: var(--bg-deep);
  padding-block: 20px;
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(18px, 2.4vw, 30px); letter-spacing: 0.02em; color: var(--ink);
  white-space: nowrap; padding-right: .4em;
}
.marquee__track b { color: var(--cyan); font-weight: 600; padding-inline: .3em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============ 9. USLUGE ============ */
.services { background: var(--bg-soft); }

.svc-list { border-top: 1px solid var(--line); }
.svc {
  position: relative; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: clamp(20px, 4vw, 60px);
  padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease-out);
}
/* svetleća linija koja se pali na hover */
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--cyan); box-shadow: 0 0 18px var(--cyan-glow);
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-out);
}
.svc:hover { padding-left: 24px; }
.svc:hover::before { transform: scaleY(1); }

.svc__num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(14px, 1.4vw, 18px);
  color: var(--cyan); letter-spacing: 0.1em; padding-top: 6px;
}
.svc__title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(26px, 4.2vw, 52px); line-height: 1.02; text-transform: uppercase;
  transition: transform .45s var(--ease-out), color .3s var(--ease-out);
}
.svc:hover .svc__title { color: var(--cyan); }
.svc__desc { color: var(--ink-dim); margin-top: 12px; max-width: 52ch; font-size: clamp(15px, 1.2vw, 17px); }
.svc__tag {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap; text-align: right;
}

/* ============ 10. RADOVI (bento) ============ */
.work { background: var(--bg); }

/* Auto-fit grid: dodavanje novog projekta se samo prelama u red — bez diranja CSS-a */
.bento {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  perspective: 1200px; /* dubina za 3D tilt kartica */
}
/* Kartica = tamni panel u kome sedi „browser okvir" sa snimkom sajta.
   Naziv projekta je ISPOD okvira (ne preko slike) → uvek čitljiv, i na svetlim sajtovima. */
.work-card {
  position: relative; display: flex; flex-direction: column;
  padding: 14px; border-radius: var(--radius);
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform; transform-style: preserve-3d;
}
.work-card:hover, .work-card:focus-visible {
  box-shadow: inset 0 0 0 1px var(--cyan), 0 26px 60px -26px var(--cyan-glow);
}

/* ——— browser okvir ——— */
.work-card__frame {
  border-radius: 11px; overflow: hidden; background: #0b0e12;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 26px -14px rgba(0,0,0,.9);
  display: flex; flex-direction: column;
}
.work-card__bar {
  display: flex; align-items: center; gap: 10px; flex: none;
  height: 28px; padding: 0 11px;
  background: #12161d; border-bottom: 1px solid rgba(255,255,255,.06);
}
.work-card__dots { display: flex; gap: 5px; flex: none; }
.work-card__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.16); }
.work-card__url {
  font-size: 10.5px; color: var(--ink-faint); letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ——— snimak sajta ——— */
.work-card__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0e12; }
.work-card__shot picture { display: contents; } /* <img> ostaje direktno pozicioniran */
.work-card__shot img {
  position: absolute; inset: 0; z-index: 1; display: block;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  /* blago prigušeno u mirovanju da svetli sajtovi ne „bleште" na tamnoj pozadini */
  filter: brightness(.9) saturate(1.05);
  transition: transform .8s var(--ease-out), filter .5s var(--ease-out);
}
.work-card:hover .work-card__shot img,
.work-card:focus-visible .work-card__shot img {
  transform: scale(1.045); filter: brightness(1) saturate(1.05);
}
/* Rezervni naziv (vidi se samo ako snimak ne uspe da se učita) */
.work-card__ph {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 14px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.2);
}

/* ——— naziv ispod okvira ——— */
.work-card__meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px;
  padding: 16px 4px 4px;
}
.work-card__type { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); width: 100%; }
.work-card__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -0.01em; color: var(--ink); }
.work-card__go {
  margin-left: auto; font-size: 18px; color: var(--ink-faint);
  transition: transform .45s var(--ease-out), color .3s var(--ease-out);
}
.work-card:hover .work-card__go, .work-card:focus-visible .work-card__go { color: var(--cyan); transform: translate(3px, -3px); }

/* ============ 11. CENE ============ */
.pricing { background: var(--bg-deep); }

.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  align-items: start; perspective: 1400px; /* dubina za 3D tilt */
}
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #060708; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 38px 30px 0; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  transform-style: preserve-3d;
}
/* naziv + cena iskaču napred na hover → 3D parallax */
.plan__name, .plan__price { transition: transform .5s var(--ease-out); transform: translateZ(0); }
.plan:hover .plan__name  { transform: translateZ(40px); }
.plan:hover .plan__price { transform: translateZ(28px); }
.plan:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0,0,0,.8); }

/* preporučeni paket — suptilan glow + uzdignut */
.plan--featured {
  box-shadow: inset 0 0 0 1px var(--cyan-glow), 0 0 60px -18px var(--cyan-glow);
  transform: translateY(-14px);
}
.plan--featured:hover { transform: translateY(-20px); box-shadow: inset 0 0 0 1px var(--cyan), 0 30px 70px -24px var(--cyan-glow); }
.plan__recommend {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #04222b; background: var(--cyan); padding: 5px 12px; border-radius: 100px;
  box-shadow: 0 0 20px var(--cyan-glow);
}

/* mala cyan oznaka "PAKET X / 3" */
.plan__badge {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--cyan);
}
/* ogromno bold BELO ime paketa */
.plan__name {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.02em; line-height: 1;
  margin-top: 16px; color: #ffffff;
}
/* ogromna bold CYAN cena */
.plan__price { display: flex; align-items: flex-start; gap: 6px; margin-top: 18px; color: var(--cyan); }
.plan__amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(52px, 7vw, 78px); line-height: .9; letter-spacing: -0.03em; text-shadow: 0 0 40px var(--cyan-glow); }
.plan__cur { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 34px); margin-top: .35em; }

/* tanka horizontalna linija-razdelnik */
.plan__rule { height: 1px; background: var(--line); margin: 28px 0 26px; }

/* cyan čekmarkovi */
.plan__features { display: flex; flex-direction: column; gap: 14px; }
.plan__features li { position: relative; padding-left: 30px; color: var(--ink-dim); font-size: 15px; }
.plan__features li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  color: var(--cyan); font-weight: 700; font-size: 15px;
}

.plan__cta {
  margin-top: 30px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px; border-radius: 100px; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .3s var(--ease-out), color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.plan__cta:hover { box-shadow: inset 0 0 0 1px var(--cyan); color: var(--cyan); }
.plan__cta--solid { background: var(--cyan); color: #04222b; box-shadow: 0 10px 40px -10px var(--cyan-glow); }
.plan__cta--solid:hover { color: #04222b; box-shadow: 0 14px 46px -8px var(--cyan-glow); }

/* banner traka na dnu kartice */
.plan__banner {
  margin: 26px -30px 0; padding: 16px 24px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.05em; text-transform: uppercase; color: #04181e;
}
.plan__banner--cyan  { background: var(--cyan); color: #04181e; }
.plan__banner--white { background: #f3f5f8; color: #0a0b0e; }

.plans__note { text-align: center; color: var(--ink-faint); font-size: 13px; margin-top: 26px; letter-spacing: 0.04em; }

/* Zero-risk garancija */
.guarantee {
  display: flex; align-items: center; gap: 20px; max-width: 720px; margin: 56px auto 0;
  padding: 26px 30px; border-radius: var(--radius);
  background: var(--cyan-soft); box-shadow: inset 0 0 0 1px var(--cyan-glow);
}
.guarantee__mark {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 700;
  color: #04222b; background: var(--cyan); box-shadow: 0 0 24px var(--cyan-glow);
}
.guarantee__text { color: var(--ink-dim); font-size: clamp(15px, 1.3vw, 17px); }
.guarantee__text strong { color: var(--ink); }

/* ============ 11b. ČESTA PITANJA (FAQ akordeon, bez JS-a) ============ */
.faq { background: var(--bg-soft); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: clamp(20px, 2.6vw, 28px);
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(17px, 1.7vw, 21px); color: var(--ink);
  transition: color .3s var(--ease-out);
}
.faq__q::-webkit-details-marker { display: none; } /* sakrij nativnu strelicu (Safari) */
.faq__q::marker { content: ""; }
.faq__q:hover { color: var(--cyan); }

/* plus koji se pretvara u minus kad je otvoreno */
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--cyan);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease-out), opacity .3s var(--ease-out);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after  { width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq__item[open] .faq__q { color: var(--cyan); }

.faq__a { padding-bottom: clamp(18px, 2.4vw, 26px); max-width: 70ch; }
.faq__a p { color: var(--ink-dim); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; }

/* ============ 12. KONTAKT ============ */
.contact { background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }

.contact__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(38px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.02em; margin-top: 20px;
}
.contact__lead { color: var(--ink-dim); font-size: clamp(16px, 1.4vw, 19px); margin-top: 24px; max-width: 44ch; }
.contact__wa { margin-top: 34px; }
.contact__direct { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-faint); font-size: 15px; }
.contact__direct a { color: var(--ink-dim); transition: color .25s var(--ease-out); }
.contact__direct a:hover { color: var(--cyan); }

/* Forma */
.contact-form { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 38px); background: var(--panel); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.field__input {
  width: 100%; padding: 14px 16px; border-radius: 12px; color: var(--ink);
  background: var(--bg-deep); box-shadow: inset 0 0 0 1px var(--line);
  font-family: inherit; font-size: 15px; transition: box-shadow .3s var(--ease-out), background-color .3s var(--ease-out);
}
.field__input::placeholder { color: var(--ink-faint); }
.field__input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--cyan), 0 0 0 4px var(--cyan-soft); background: #080b0f; }
.field__input--area { resize: vertical; min-height: 120px; }
.field__opt { color: var(--ink-faint); letter-spacing: 0.06em; text-transform: none; font-size: 11px; }

/* Honeypot polje protiv spama — sakriveno od korisnika */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Izbor (Email/WhatsApp, paket) — kompaktni „chip" dugmići koji se ređaju u red */
.choice { border: none; padding: 0; margin: 0; min-width: 0; }
.choice__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__pill {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 11px 17px; border-radius: 100px; color: var(--ink-dim);
  background: var(--bg-deep); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  transition: color .3s var(--ease-out), box-shadow .3s var(--ease-out),
              background-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.choice__pill svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.choice__opt:hover .choice__pill { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-1px); }
/* izabrano stanje — čist cyan chip, bez glomaznog prstena */
.choice__opt input:checked + .choice__pill {
  color: var(--cyan); background: var(--cyan-soft);
  box-shadow: inset 0 0 0 1px var(--cyan), 0 8px 24px -12px var(--cyan-glow);
}
.choice__opt input:checked + .choice__pill svg { opacity: 1; }
.choice__opt input:focus-visible + .choice__pill { outline: 2px solid var(--cyan); outline-offset: 2px; }
/* cena unutar chip-a (izbor paketa) */
.choice__price { color: var(--ink-faint); font-weight: 400; }
.choice__opt input:checked + .choice__pill .choice__price { color: var(--cyan); }

.contact-form__submit { margin-top: 4px; width: 100%; }
.contact-form__status { font-size: 14px; color: var(--ink-dim); min-height: 1.2em; text-align: center; }
.contact-form__status.is-ok  { color: var(--cyan); }
.contact-form__status.is-err { color: #ff6b6b; }

/* ============ 12b. SUCCESS OVERLAY (fullscreen zahvalnica) ============ */
.success {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--pad);
  background: radial-gradient(120% 120% at 50% 40%, rgba(10,14,18,0.86), rgba(5,6,8,0.94));
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s;
}
.success.is-open { opacity: 1; visibility: visible; }

.success__inner {
  max-width: 560px; display: flex; flex-direction: column; align-items: center;
  transform: translateY(18px) scale(.98); opacity: 0;
  transition: transform .7s var(--ease-out) .08s, opacity .7s var(--ease-out) .08s;
}
.success.is-open .success__inner { transform: none; opacity: 1; }

/* animirani ček */
.success__check { width: 92px; height: 92px; margin-bottom: 30px; }
.success__check svg { width: 100%; height: 100%; }
.success__circle {
  stroke: var(--cyan); stroke-width: 3; fill: rgba(64,224,255,0.06);
  stroke-dasharray: 158; stroke-dashoffset: 158; filter: drop-shadow(0 0 14px var(--cyan-glow));
}
.success__tick {
  stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
}
.success.is-open .success__circle { animation: drawCircle .6s var(--ease-out) .15s forwards; }
.success.is-open .success__tick   { animation: drawTick .35s var(--ease-out) .6s forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawTick   { to { stroke-dashoffset: 0; } }

.success__eyebrow {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.success__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 8vw, 80px); letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.success__text { color: var(--ink-dim); font-size: clamp(16px, 1.5vw, 19px); margin-top: 20px; max-width: 42ch; }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ============ 13. FOOTER ============ */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--bg-deep); padding-block: 54px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; }
.footer__logo { font-size: 20px; }
.footer__tag { color: var(--cyan); font-family: var(--font-display); font-size: 14px; letter-spacing: 0.04em; }
.footer__links { display: flex; gap: 22px; justify-self: center; }
.footer__links a { color: var(--ink-dim); font-size: 14px; transition: color .25s var(--ease-out); }
.footer__links a:hover { color: var(--cyan); }
.footer__copy { grid-column: 1 / -1; color: var(--ink-faint); font-size: 13px; border-top: 1px solid var(--line); padding-top: 24px; }

/* ============ 14. REVEAL + REDUCED MOTION ============ */
/* scroll-triggered reveal: fade + slide + blur-in */
[data-reveal] {
  opacity: 0; transform: translateY(22px); filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__glow, .marquee__track { animation: none !important; }
  .marquee__track { transform: none; }
}

/* ============ 15. RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: inline-flex; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    align-items: center; justify-content: center; margin-left: auto;
  }
  .nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .25s var(--ease-out); }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__bottom { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .hero__actions { justify-content: flex-start; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .work-card--lg { grid-row: span 2; min-height: 420px; }
  .work-card--wide { grid-column: span 2; }

  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }

  .contact__inner { grid-template-columns: 1fr; }
  .svc { grid-template-columns: auto 1fr; }
  .svc__tag { display: none; }

  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer__links { justify-self: center; }
}

/* ============ MOBILNI (telefon) — krupniji prioritetni tekst + wow ritam ============ */
@media (max-width: 640px) {
  /* HERO — 3D scena je centrirana iza naslova; CSS glow samo blago dopunjuje boju */
  .hero__glow--1 { width: 80vw; height: 80vw; top: -6%; right: -20%; opacity: .28; }
  .hero__glow--2 { width: 74vw; height: 74vw; bottom: -4%; left: -24%; opacity: .24; }
  /* 3D je pozadinska atmosfera. Zatamnjenje je jako u pojasu gde je tekst,
     a popušta na vrhu i dnu (tamo nema teksta) da se 3D lepše vidi. */
  .hero__scrim {
    background: linear-gradient(to bottom,
      rgba(10,11,14,0.40) 0%,
      rgba(10,11,14,0.78) 13%,
      rgba(10,11,14,0.74) 55%,
      rgba(10,11,14,0.78) 76%,
      rgba(10,11,14,0.42) 93%,
      rgba(10,11,14,0.30) 100%);
  }

  .hero { padding-top: clamp(88px, 15vh, 112px); padding-bottom: 40px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 18px; }
  /* Prored je bio prezbijen (0.92) pa su se redovi skoro dodirivali */
  .hero__title { line-height: 1.0; letter-spacing: -0.02em; }
  .hero__line:not(.hero__line--big) { font-size: 41px; }
  .hero__line--big { font-size: 26px; line-height: 1.18; max-width: none; margin-top: .55em; }
  .hero__sub { font-size: 16.5px; max-width: none; line-height: 1.6; }
  .hero__bottom { gap: 22px; margin-top: 24px; }
  .hero__actions { width: 100%; gap: 12px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr; margin-top: 28px; padding-top: 22px; gap: 14px; }
  .stat { flex-direction: row; align-items: baseline; gap: 12px; }
  .stat__num { font-size: 38px; }

  /* Sekcijski naslovi + ujednačen vertikalni ritam i prozračniji tekst */
  .section-head { margin-bottom: 42px; }
  .section-head__idx { margin-bottom: 14px; }
  .section-head__title { font-size: 42px; line-height: 1.02; }
  .section-head__lead { font-size: 16px; line-height: 1.62; margin-top: 18px; }
  .services, .work, .pricing, .faq, .contact { padding-block: 76px; }
  .faq__q { font-size: 17px; line-height: 1.35; padding-block: 20px; }
  .faq__a p { font-size: 15px; line-height: 1.65; }

  /* Usluge */
  .svc { gap: 14px 18px; padding-block: 26px; }
  .svc__title { font-size: 28px; line-height: 1.08; }
  .svc__desc { font-size: 15px; line-height: 1.65; margin-top: 10px; }

  /* Radovi — jedan stub + PORTRETNI okvir sa mobilnom verzijom sajta.
     (Desktop snimak stisnut na ~300px je nečitljiv, pa na telefonu
      prikazujemo mobilnu verziju rada — čitko i relevantnije.) */
  .bento { grid-template-columns: 1fr; }
  .work-card__shot { aspect-ratio: 3 / 4; }
  .work-card__name { font-size: 24px; }

  /* Usluge — broj iznad naslova, sve poravnato levo (bez visećeg broja sa strane) */
  .svc { grid-template-columns: 1fr; gap: 6px; align-items: start; }
  .svc__num { padding-top: 0; font-size: 12px; letter-spacing: .18em; }

  /* Kontakt — mejl i telefon jedan ispod drugog, bez viseće tačke na kraju reda */
  .contact__direct { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact__direct span { display: none; }

  /* Cene */
  .plan { padding: 32px 24px 0; }
  .plan__name { font-size: 40px; }
  .plan__amount { font-size: 62px; }
  .plan__banner { margin-left: -24px; margin-right: -24px; }
  .guarantee { flex-direction: column; text-align: center; gap: 16px; padding: 26px 24px; }

  /* Kontakt */
  .contact__title { font-size: 44px; }
  .contact__lead { font-size: 16.5px; }
  .contact-form { padding: 24px 20px; gap: 18px; }

  /* Marquee + zahvalnica */
  .marquee__track span { font-size: 20px; }
  .success__title { font-size: 54px; }
  .success__text { font-size: 16.5px; }
  .success__actions { width: 100%; }
  .success__actions .btn { flex: 1; }
}
