/* ============================================================
   BUST SMM servis | style.css
   Premium dark landing page
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Colors */
  --bg: #07070d;
  --bg-2: #0c0c16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f4fb;
  --text-muted: #a7a7c0;
  --text-dim: #6f6f8a;

  --violet: #a855f7;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --blue: #6366f1;

  --grad: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(168,85,247,.18), rgba(236,72,153,.12), rgba(34,211,238,.16));

  /* Layout */
  --maxw: 1180px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  /* Effects */
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7);
  --glow: 0 0 40px -6px rgba(168, 85, 247, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

/* hidden atribut uvek skriva (nadjačava display: flex/grid na ID/klasama) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

::selection { background: rgba(168, 85, 247, 0.4); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

.section { padding: clamp(70px, 11vw, 130px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015), transparent); }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Background decor ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 18s var(--ease) infinite;
}
.orb--1 { width: 520px; height: 520px; background: radial-gradient(circle, #a855f7, transparent 70%); top: -160px; left: -120px; }
.orb--2 { width: 460px; height: 460px; background: radial-gradient(circle, #22d3ee, transparent 70%); top: 30%; right: -160px; animation-delay: -6s; }
.orb--3 { width: 420px; height: 420px; background: radial-gradient(circle, #ec4899, transparent 70%); bottom: -140px; left: 35%; animation-delay: -12s; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.96); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
  position: relative;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(168, 85, 247, 0.6);
  background-size: 200% 200%;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(236, 72, 153, 0.7); background-position: 100% 0; }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { transform: translateY(-3px); background: var(--surface-2); border-color: rgba(168,85,247,.5); }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }
.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 11px 0;
  background: rgba(7, 7, 13, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); background-size: 160% 160%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.25rem; color: #fff;
  box-shadow: var(--glow);
  animation: gradientShift 6s ease infinite;
}
.brand__text { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; }

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 0.93rem; font-weight: 500;
  color: var(--text-muted);
  border-radius: 9px;
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 10px #22d3ee; animation: pulse 1.8s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .5; transform: scale(.8);} }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}

/* ---------- Glass card ---------- */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

/* ---------- HERO ---------- */
.hero { padding: clamp(130px, 18vw, 200px) 0 clamp(60px, 9vw, 110px); position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 22px 0 20px;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-trust { display: flex; align-items: center; gap: 16px; }
.avatars { display: flex; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: #fff;
  border: 2px solid var(--bg);
  background: var(--grad); background-size: 200% 200%;
}
.avatars .avatar:not(:first-child) { margin-left: -12px; }
.avatar:nth-child(2) { background-position: 30% 0; }
.avatar:nth-child(3) { background-position: 60% 0; }
.avatar:nth-child(4) { background-position: 100% 0; }
.avatar--lg { width: 46px; height: 46px; font-size: 1.05rem; }

.hero-trust__text { font-size: 0.9rem; color: var(--text-muted); }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 0.95rem; }
.hero-trust__text strong { color: var(--text); }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card { padding: 26px; box-shadow: var(--shadow); }
.hero-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(168,85,247,.6), transparent 40%, transparent 60%, rgba(34,211,238,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; color: #34d399; }
.badge-live span { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: pulse 1.6s infinite; }

.metric { margin-bottom: 18px; }
.metric__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.metric__label { font-size: 0.88rem; color: var(--text-muted); }
.metric__value { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 12px rgba(168,85,247,.6); transition: width 1.3s var(--ease); }
.hero-card.in-view .bar i { width: var(--w); }

.hero-card__foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 600; color: #34d399;
}

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(12, 12, 22, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: bob 4s ease-in-out infinite;
}
.float-chip strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1; }
.float-chip small { color: var(--text-dim); font-size: 0.74rem; }
.float-chip__icon { font-size: 1.2rem; }
.float-chip--a { top: 8%; right: -18px; }
.float-chip--b { bottom: 10%; left: -22px; animation-delay: -2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Platforms strip ---------- */
.platforms { padding: 30px 0 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platforms__label { text-align: center; font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; }
.platforms__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
.platform-tag {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-dim);
  opacity: .8;
  transition: color 0.3s, opacity 0.3s, transform 0.3s;
}
.platform-tag:hover { color: var(--text); opacity: 1; transform: translateY(-2px); }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(44px, 6vw, 70px); }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; margin-top: 16px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card { padding: 30px; }
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  color: #fff;
}
.service-card__icon svg { width: 28px; height: 28px; }
.icon-grad-1 { background: linear-gradient(135deg, #a855f7, #6366f1); }
.icon-grad-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.icon-grad-3 { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.icon-grad-4 { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.icon-grad-5 { background: linear-gradient(135deg, #10b981, #22d3ee); }
.icon-grad-6 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 18px; }
.service-card__from { font-size: 0.88rem; color: var(--text-dim); }
.service-card__from strong { color: var(--text); font-family: var(--font-display); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
}
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  line-height: 1; margin-bottom: 16px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.93rem; }
.step p strong { color: var(--text); }

/* ---------- Stats band ---------- */
.stats-band { padding: clamp(50px, 7vw, 80px) 0; position: relative; }
.stats-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-soft);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__value {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { display: block; margin-top: 10px; color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card { padding: 34px 30px; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card--popular {
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(180deg, rgba(168,85,247,.1), var(--surface));
  box-shadow: 0 24px 60px -20px rgba(168, 85, 247, 0.5);
}
.price-card--popular::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--violet), var(--pink), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: .05em;
  padding: 6px 16px; border-radius: 100px; color: #fff;
  background: var(--grad); box-shadow: var(--glow); white-space: nowrap;
}
.price-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.price-card__tag { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 18px; }
.price-card__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.1rem); line-height: 1; margin-bottom: 24px; }
.price-card__price .cur { font-size: 1.5rem; vertical-align: super; margin-right: 2px; color: var(--text-muted); }
.price-card__price .per { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); margin-left: 4px; }
.price-card__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-card__list li { position: relative; padding-left: 28px; color: var(--text-muted); font-size: 0.95rem; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
  border: 1px solid var(--border);
}
.pricing-note { text-align: center; margin-top: 34px; color: var(--text-muted); }
.pricing-note a { color: var(--cyan); font-weight: 600; }
.pricing-note a:hover { text-decoration: underline; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  display: flex; gap: 16px; padding: 26px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border);
  color: var(--cyan);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 5px; }
.feature p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { padding: 30px; }
.review:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.review .stars { margin-bottom: 16px; }
.review blockquote { font-size: 1.02rem; color: var(--text); margin-bottom: 22px; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-family: var(--font-display); font-size: 0.96rem; }
.review figcaption small { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(168, 85, 247, 0.45); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem;
}
.faq-icon { position: relative; flex-shrink: 0; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--violet); border-radius: 2px; transition: transform 0.3s var(--ease);
}
.faq-icon::before { width: 16px; height: 2px; }
.faq-icon::after { width: 2px; height: 16px; }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.97rem; }

/* ---------- CTA ---------- */
.cta { padding: clamp(60px, 9vw, 120px) 0; }
.cta-box {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(168,85,247,.14), rgba(34,211,238,.08));
  backdrop-filter: blur(16px);
}
.cta-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,.35), transparent 65%);
  top: -50%; left: 50%; transform: translateX(-50%); filter: blur(40px); pointer-events: none;
}
.cta-box h2 { position: relative; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; }
.cta-box p { position: relative; color: var(--text-muted); font-size: 1.08rem; max-width: 560px; margin: 18px auto 32px; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cta-note { position: relative; display: block; color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 30px; background: rgba(255,255,255,.01); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--text-muted); font-size: 0.94rem; margin: 16px 0 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.social {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), color 0.3s, border-color 0.3s, background 0.3s;
}
.social svg { width: 19px; height: 19px; }
.social:hover { transform: translateY(-3px); color: #fff; border-color: rgba(168,85,247,.5); background: var(--surface-2); }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--text); padding-left: 5px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.86rem;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(168,85,247,.6);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { transform: translateY(-3px) scale(1.05); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 460px; margin: 10px auto 0; width: 100%; }
  .services-grid, .features-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card--popular { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 80px 28px 40px;
    background: rgba(8, 8, 14, 0.99); backdrop-filter: blur(24px);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    z-index: 105;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: 15px 20px; font-size: 1.35rem; }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 18px 0 0; font-size: 1.1rem; padding: 14px 30px; }
  .brand { position: relative; z-index: 110; }
  .nav-toggle { display: flex; z-index: 110; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .float-chip { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .services-grid, .features-grid, .reviews-grid, .steps { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Kalkulator ---------- */
.calc { display: grid; grid-template-columns: 1.55fr 1fr; padding: 0; overflow: hidden; }
.calc__main { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.calc__field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.calc__platforms, .calc__services { display: flex; flex-wrap: wrap; gap: 10px; }

.chip-btn {
  padding: 10px 16px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  transition: color .25s, background .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.chip-btn:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); }
.chip-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 22px -8px rgba(168,85,247,.65); }

.calc__qty { display: flex; flex-direction: column; gap: 14px; }
.calc__qtyrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.calc__qtyrow input[type="number"] {
  width: 130px; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.calc__qtyrow input[type="number"]:focus { outline: none; border-color: var(--violet); }
.calc__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.qty-chip {
  padding: 8px 13px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted); font-size: 0.82rem; font-weight: 600;
  transition: color .2s, border-color .2s;
}
.qty-chip:hover { color: #fff; border-color: rgba(168,85,247,.5); }
.calc__limits { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-dim); }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 100px;
  background: rgba(255,255,255,.12); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); border: 2px solid #fff; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(168,85,247,.18); transition: transform .15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--violet); border: 2px solid #fff; cursor: pointer; }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 100px; background: rgba(255,255,255,.12); }

.calc__summary {
  padding: clamp(24px, 4vw, 38px);
  background: linear-gradient(180deg, rgba(168,85,247,.12), rgba(34,211,238,.05));
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 13px;
}
.calc__summary h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.calc__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.92rem; color: var(--text-muted); }
.calc__line strong { color: var(--text); font-family: var(--font-display); font-weight: 600; text-align: right; }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.calc__total span { color: var(--text-muted); font-size: 0.95rem; }
.calc__total strong {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.1rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.calc__summary .btn { margin-top: 8px; }
.calc__note { text-align: center; color: var(--text-dim); font-size: 0.82rem; }

.pricing-sub { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: clamp(48px, 7vw, 72px) 0 28px; color: var(--text-muted); }

@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc__summary { border-left: none; border-top: 1px solid var(--border); }
}

/* ---------- Podstranice: page hero + breadcrumb ---------- */
.page-hero { padding: clamp(130px, 16vw, 185px) 0 clamp(36px, 6vw, 64px); text-align: center; position: relative; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.page-hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 620px; margin: 16px auto 0; }

.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Katalog ---------- */
.catalog { display: flex; flex-direction: column; gap: 30px; }
.catalog__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.catalog__head h3 { font-family: var(--font-display); font-size: 1.4rem; }
.catalog__head span { color: var(--text-dim); font-size: 0.85rem; }
.catalog__rows { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.catalog__row { display: grid; grid-template-columns: 2fr 1.3fr 1.2fr 0.9fr auto; gap: 16px; align-items: center; padding: 15px 22px; border-top: 1px solid var(--border); }
.catalog__row:first-child { border-top: none; }
.catalog__row--head { background: rgba(255,255,255,.03); font-size: 0.74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-dim); font-weight: 600; font-family: var(--font-display); }
.catalog__row:not(.catalog__row--head):hover { background: var(--surface-2); }
.catalog__name { font-weight: 600; font-family: var(--font-display); }
.catalog__price { font-family: var(--font-display); font-weight: 700; color: var(--text); white-space: nowrap; }
.catalog__price span { color: var(--text-dim); font-weight: 400; font-size: 0.78rem; margin-left: 5px; }
.catalog__meta, .catalog__eta { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  display: flex; gap: 14px; align-items: center; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.info-card:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.info-card__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--cyan); }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h4 { font-family: var(--font-display); font-size: 1.02rem; }
.info-card p { color: var(--text-muted); font-size: 0.9rem; }

.contact-form { padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 15px; }
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: 0.86rem; color: var(--text-muted); font-family: var(--font-display); font-weight: 600; }
.form-row input, .form-row textarea, .form-row select {
  padding: 13px 15px; border-radius: 11px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color .25s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-dim); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--violet); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row select { appearance: none; cursor: pointer; }
.form-success { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: #34d399; padding: 13px 16px; border-radius: 11px; font-size: 0.9rem; }

/* ---------- Pravni / prose tekst ---------- */
.prose { color: var(--text-muted); }
.prose h2 { font-family: var(--font-display); color: var(--text); font-size: 1.4rem; margin: 36px 0 12px; }
.prose p { margin-bottom: 14px; line-height: 1.78; }
.prose strong { color: var(--text); }
.prose ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 9px; }
.prose ul li { position: relative; padding-left: 22px; line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.prose a { color: var(--cyan); }
.prose a:hover { text-decoration: underline; }
.prose__updated { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 22px; }
.prose__note { margin-top: 32px; padding: 16px 18px; border: 1px dashed var(--border-strong); border-radius: 12px; color: var(--text-dim); font-size: 0.86rem; line-height: 1.6; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .catalog__row--head { display: none; }
  .catalog__row { grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 16px 18px; }
  .catalog__name { grid-column: 1 / -1; font-size: 1.05rem; }
  .catalog__price { grid-column: 1 / -1; }
  .catalog__row .btn { grid-column: 1 / -1; margin-top: 4px; }
}

/* ---------- Modal za poručivanje ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(4, 4, 10, 0.72); backdrop-filter: blur(6px); animation: fadeIn 0.25s var(--ease); }
.modal__box { position: relative; width: 100%; max-width: 460px; padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow); animation: modalIn 0.35s var(--ease); max-height: 90vh; overflow-y: auto; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text-muted); border: 1px solid var(--border); background: var(--surface); transition: color 0.2s, border-color 0.2s; }
.modal__close:hover { color: #fff; border-color: var(--border-strong); }
.modal__title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 18px; padding-right: 32px; }
.modal__summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.modal__line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: var(--text-muted); }
.modal__line strong { color: var(--text); font-family: var(--font-display); font-weight: 600; text-align: right; }
.modal__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--border); }
.modal__total span { color: var(--text-muted); }
.modal__total strong { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
#orderForm { display: flex; flex-direction: column; gap: 15px; }
.form-hint { color: var(--text-dim); font-size: 0.78rem; }
.form-row input.error { border-color: #f43f5e; }
.modal__success { text-align: center; padding: 10px 0; }
.modal__check { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, #10b981, #22d3ee); box-shadow: 0 0 30px -6px rgba(16, 185, 129, 0.6); }
.modal__success h4 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 8px; }
.modal__success p { color: var(--text-muted); margin-bottom: 20px; }
body.modal-open { overflow: hidden; }

/* ---------- 404 ---------- */
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 11rem); line-height: 1; margin-bottom: 4px; }

/* ---------- Plutajuće dugme "Piši nam" ---------- */
.fab-contact {
  position: fixed; left: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; border-radius: 100px;
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 12px 30px -8px rgba(168, 85, 247, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.fab-contact:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px rgba(236, 72, 153, 0.7); }
.fab-contact svg { width: 20px; height: 20px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250;
  max-width: 540px; margin: 0 auto;
  display: flex; gap: 16px; align-items: center;
  padding: 16px 18px;
  background: rgba(12, 12, 22, 0.96); border: 1px solid var(--border-strong);
  border-radius: 16px; backdrop-filter: blur(14px); box-shadow: var(--shadow);
  animation: slideUp 0.4s var(--ease);
}
.cookie p { font-size: 0.85rem; color: var(--text-muted); }
.cookie a { color: var(--cyan); }
.cookie__btn { flex-shrink: 0; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Focus (a11y) ---------- */
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

@media (max-width: 600px) {
  .fab-contact { padding: 13px; }
  .fab-contact span { display: none; }
  .cookie-visible .fab-contact, .cookie-visible .to-top { bottom: 130px; }
}

/* ---------- Popusti: paketi po mreži + količinski ---------- */
.package-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 30px; }
.pricing-sub__hint { color: var(--cyan); font-weight: 600; font-size: 0.82em; }

.price-card__old {
  font-size: 1.05rem; font-weight: 600; color: var(--text-dim);
  text-decoration: line-through; margin-right: 6px;
}
.price-card__save {
  margin: -16px 0 18px; font-size: 0.84rem; font-weight: 600; color: #34d399;
}

.calc__line--disc strong { color: #34d399; }
.calc-discount-note {
  text-align: center; color: var(--text-muted); font-size: 0.9rem;
  margin: 26px auto 0; max-width: 640px;
}
.calc-discount-note strong { color: var(--text); font-family: var(--font-display); }

/* ---------- Ispravke dizajna ---------- */
/* Tamne opcije u dropdown-u (umesto belog sistemskog) */
.form-row select { color-scheme: dark; }
.form-row select option { background: #12121c; color: var(--text); }

/* Čist number input bez sistemskih strelica (uz slajder i čipove su suvišne) */
.calc__qtyrow input[type="number"]::-webkit-outer-spin-button,
.calc__qtyrow input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__qtyrow input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* Zaključaj skrol dok je mobilni meni otvoren */
body.nav-open { overflow: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
