/* =============================================================================
   Skockano Studio - styles.css
   Mobile-first. Bez frameworka. Dizajn tokeni su u :root (menjaj tamo).
   ============================================================================= */

:root {
  /* Boje - tačni brend hex kodovi */
  --bg:          #0A0B13;   /* glavna pozadina */
  --bg-panel:    #12131E;   /* paneli / alt sekcije */
  --bg-card:     #0E0F19;   /* kartice */
  --accent:      #6C6CF5;   /* ljubičasta */
  --accent-2:    #5548E0;   /* sekundarna ljubičasta */
  --text:        #F3F3F7;   /* belo */
  --muted:       #8B8D9C;   /* sivo */
  --line:        rgba(108,108,245,0.18);
  --line-strong: rgba(108,108,245,0.35);

  --grad-btn: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);

  /* Tipografija */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body:    "Work Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Consolas", monospace;

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1120px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------- Reset / baza ----------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------- Tipografija ----------------------------- */
.kicker {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .01em;
}

.section__title { font-size: clamp(2rem, 6vw, 3.2rem); }
.section__subtitle { color: var(--muted); max-width: 52ch; margin-top: 14px; }

/* ----------------------------- Dugmad ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  will-change: transform;
}
.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(108,108,245,.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(108,108,245,.7); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(108,108,245,.08); }
.btn--block { width: 100%; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ----------------------------- Glow ----------------------------- */
.glow {
  position: absolute;
  width: 60vw; max-width: 640px; aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.glow--tl { top: -20%; left: -15%; background: radial-gradient(circle, rgba(108,108,245,.45), transparent 70%); }
.glow--br { bottom: -25%; right: -15%; background: radial-gradient(circle, rgba(85,72,224,.4), transparent 70%); }
.glow--bl { bottom: -20%; left: -20%; background: radial-gradient(circle, rgba(108,108,245,.35), transparent 70%); }

/* ----------------------------- Navigacija ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,11,19,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 40px; height: 40px; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.15rem;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links ul { display: flex; gap: 28px; }
.nav__links ul a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav__links ul a:hover { color: var(--text); }
.nav__cta { color: #fff; }

.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 18px;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--line);
    padding: 24px 20px 30px;
    transform: translateY(-120%);
    transition: transform .3s var(--ease);
    visibility: hidden;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links ul { flex-direction: column; gap: 18px; width: 100%; }
  .nav__cta { width: 100%; }
}

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: 44px;
  align-items: center;
}
.hero__headline { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 900; }
.hero__subline { color: var(--muted); font-size: 1.08rem; margin-top: 20px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 40px;
}
.hero__stats li {
  flex: 1 1 130px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.hero__stats .stat__value {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: var(--text);
}
.hero__stats .stat__label { font-size: .82rem; color: var(--muted); margin-top: 2px; }

@media (min-width: 900px) {
  .hero { padding: 96px 0 110px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* ----------------------------- Browser mockup ----------------------------- */
.browser {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(108,108,245,.06);
}
.browser__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(18,19,30,.7);
}
.browser__dot { width: 10px; height: 10px; border-radius: 50%; background: #3a3b4d; }
.browser__dot:nth-child(1) { background: #ff5f57; }
.browser__dot:nth-child(2) { background: #febc2e; }
.browser__dot:nth-child(3) { background: #28c840; }
.browser__url {
  margin-left: 10px;
  font-family: var(--font-mono); font-size: .8rem; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 999px;
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__viewport { background: var(--bg); }
.browser__viewport img { width: 100%; }

/* ----------------------------- Sekcije ----------------------------- */
.section { position: relative; overflow: hidden; padding: 84px 0; }
.section--alt { background: var(--bg-panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { position: relative; z-index: 1; margin-bottom: 48px; }

/* ----------------------------- Paketi ----------------------------- */
.packages {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .packages { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.pkg {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s var(--ease), border-color .25s;
}
.pkg:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.pkg--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 70px -30px rgba(108,108,245,.5);
}
.pkg__badge {
  position: absolute; top: -13px; left: 26px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--grad-btn); color: #fff;
  padding: 6px 12px; border-radius: 999px;
}
.pkg__name { font-size: 1.6rem; }
.pkg__price {
  font-family: var(--font-mono); font-weight: 700;
  font-size: 2.4rem; color: var(--text);
  margin-top: 8px; line-height: 1;
}
.pkg__price-note { font-family: var(--font-mono); font-size: .82rem; color: var(--accent); margin-left: 6px; }
.pkg__for { color: var(--muted); font-size: .92rem; margin: 16px 0 20px; }

.pkg__features { display: grid; gap: 12px; margin-bottom: 22px; }
.pkg__features li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .92rem; }
.tick {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  margin-top: 3px;
}
.tick svg { width: 11px; height: 11px; stroke: var(--accent); }

.pkg__meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); display: grid; gap: 6px; margin-bottom: 22px; }
.pkg__meta b { color: var(--text); font-weight: 500; }
.pkg__cta { margin-top: auto; }

.payment-note {
  position: relative; z-index: 1;
  margin: 30px auto 0;
  max-width: 620px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  font-family: var(--font-mono);
  line-height: 1.7;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

/* ----------------------------- Timeline / proces ----------------------------- */
.timeline {
  position: relative; z-index: 1;
  display: grid; gap: 8px;
  max-width: 760px;
}
.timeline li {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 22px 0;
  position: relative;
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute;
  left: 27px; top: 60px; bottom: -8px;
  width: 1px; background: var(--line-strong);
}
.timeline__num {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem;
  color: var(--accent);
  background: var(--bg);
}
.timeline__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; }
.timeline__text { color: var(--muted); margin-top: 4px; }

/* ----------------------------- Portfolio ----------------------------- */
.portfolio {
  position: relative; z-index: 1;
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }

a.work { color: inherit; }

.work {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  transition: transform .25s var(--ease), border-color .25s;
}
.work:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.work__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: rgba(18,19,30,.6);
}
.work__bar span.dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3b4d; }
.work__url {
  margin-left: 8px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work__shot {
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 30% 20%, rgba(108,108,245,.25), transparent 60%),
    var(--bg-panel);
  display: grid; place-items: center;
  overflow: hidden;
}
.work__shot img { width: 100%; height: 100%; object-fit: cover; }
.work__shot--empty span {
  font-family: var(--font-mono); font-size: .8rem; color: var(--muted); letter-spacing: .1em;
}
.work__shot--empty .work__open {
  color: var(--text); letter-spacing: .06em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 18px; transition: border-color .2s, background .2s;
}
a.work:hover .work__open { border-color: var(--accent); background: rgba(108,108,245,.1); }
.work__info { padding: 16px 18px; }
.work__name {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.work__type { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

/* ----------------------------- Kontakt ----------------------------- */
.contact {
  position: relative; z-index: 1;
}
.contact__cta {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  max-width: 640px;
}
.contact__lead { color: var(--muted); font-size: 1.02rem; margin-bottom: 24px; }

.contact__channels a,
a.contact__ig {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--grad-btn); color: #fff;
  border-radius: 999px; padding: 15px 26px;
  font-weight: 600;
  box-shadow: 0 10px 28px -10px rgba(108,108,245,.6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.contact__ig:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(108,108,245,.75); }
.contact__ig .ch__label { font-size: .98rem; }
.contact__ig .ch__value { font-family: var(--font-mono); font-size: .8rem; opacity: .8; }

/* ----------------------------- Footer ----------------------------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: grid; gap: 20px; }
@media (min-width: 700px) { .footer__inner { grid-template-columns: 1fr auto; align-items: center; } }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__wordmark { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.footer__blurb { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.footer__meta { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); display: grid; gap: 4px; }
@media (min-width: 700px) { .footer__meta { text-align: right; } }

/* ----------------------------- Modal ----------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.is-open { display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,6,12,.82); backdrop-filter: blur(4px); }
.modal__body {
  position: relative; z-index: 1;
  max-width: 900px; width: 100%;
  background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: var(--radius); overflow: hidden;
}
.modal__img { width: 100%; max-height: 78vh; object-fit: contain; background: var(--bg); }
.modal__caption { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); padding: 14px 18px; }
.modal__close {
  position: absolute; top: 10px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10,11,19,.7); border: 1px solid var(--line-strong);
  font-size: 1.4rem; line-height: 1; color: var(--text);
}
.modal__close:hover { border-color: var(--accent); }

/* ----------------------------- Reveal animacije ----------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
