/* ===== Base ===== */
:root{
  --bg:#050508; --fg:#eaeaf2; --muted:#a8acb8;
  --stroke:rgba(255,255,255,.12); --radius:20px;
  --accent1:#22d3ee; --accent2:#a855f7;
}
*{box-sizing:border-box} html,body{height:100%}
body{
  margin:0; background:var(--bg); color:var(--fg);
  font-family:"Urbanist",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.6;
  overflow-x: hidden;
}
/* Mouse Glow */
.mouse-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(168,85,247,0.15), transparent 80%);
  transition: opacity 0.3s ease;
}
@media (max-width: 768px) { .mouse-glow { display: none; } }
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== Navbar ===== */
.nav{position:sticky;top:0;z-index:60;background:linear-gradient(180deg,rgba(5,5,8,.85),rgba(5,5,8,.55));backdrop-filter:blur(12px);border-bottom:1px solid var(--stroke)}
.nav__inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--fg)}
.brand__logo{height:34px;width:auto;object-fit:contain;filter:drop-shadow(0 4px 16px rgba(168,85,247,.25))}
.brand__text{display:flex;flex-direction:column;line-height:1.1}
.brand__name{font-weight:800;letter-spacing:.6px}
.brand__desc{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;font-weight:600}
.menu{display:none;gap:18px;align-items:center}
.menu__link{color:var(--muted);text-decoration:none;font-weight:600}
.menu__link:hover{color:var(--fg)}
.btn{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;font-weight:800;text-decoration:none;transition:.2s transform,.2s box-shadow}
.btn:hover{transform:translateY(-1px)}
.btn--light{background:#fff;color:#000;box-shadow:0 8px 30px rgba(255,255,255,.12)}
.btn--dark{background:transparent;color:#fff;border:1px solid var(--stroke)}
.btn--ghost{display:none}

/* Mobile nav */
.hamburger{display:inline-flex;flex-direction:column;gap:5px;background:transparent;border:0;cursor:pointer;width:30px;height:24px;position:relative;z-index:100;justify-content:center}
.hamburger span{width:100%;height:2px;background:#eaeaf2;display:block;border-radius:2px;position:absolute;transition:all .3s cubic-bezier(0.4, 0.0, 0.2, 1);left:0}
.hamburger span:nth-child(1){top:4px}
.hamburger span:nth-child(2){top:11px}
.hamburger span:nth-child(3){bottom:4px}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scale(0)}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.mnav{display:flex;flex-direction:column;gap:10px;padding:0 20px;border-bottom:1px solid transparent;background:rgba(5,5,8,.95);overflow:hidden;max-height:0;opacity:0;transition:all .4s cubic-bezier(0.4, 0, 0.2, 1);visibility:hidden}
.mnav a{color:#eaeaf2;text-decoration:none;font-weight:700;transform:translateY(-10px);opacity:0;transition:all .3s ease;transition-delay:0s}
.mnav.open{max-height:400px;opacity:1;padding:15px 20px;border-bottom-color:var(--stroke);visibility:visible}
.mnav.open a{transform:translateY(0);opacity:1}
.mnav.open a:nth-child(1){transition-delay:.05s}
.mnav.open a:nth-child(2){transition-delay:.1s}
.mnav.open a:nth-child(3){transition-delay:.15s}
.mnav.open a:nth-child(4){transition-delay:.2s}
.mnav.open a:nth-child(5){transition-delay:.25s}
.mnav.open a:nth-child(6){transition-delay:.3s}

@media(min-width:900px){
  .menu{display:flex}
  .btn--ghost{display:inline-flex}
  .hamburger{display:none}
  .mnav{display:none!important}
}

/* ===== Hero ===== */
.hero{position:relative;min-height:92vh;display:grid;place-items:center;overflow:hidden;background:#050508}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.05) contrast(1.05)}
.hero__gradient{position:absolute;inset:0;background:
  radial-gradient(60% 80% at 50% 40%,rgba(5,5,8,0) 0%,rgba(5,5,8,.4) 60%,rgba(5,5,8,.85) 100%),
  linear-gradient(180deg,rgba(5,5,8,.4) 0%,rgba(5,5,8,.9) 100%)}
.hero__content{position:relative;z-index:2;max-width:780px;text-align:left}

.pill{display:inline-block;font-size:10px;letter-spacing:3px;text-transform:uppercase;padding:6px 12px;border-radius:999px;color:#d7dbff;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.02));border:1px solid var(--stroke)}
.hero__title{margin:.9rem 0 1rem;line-height:1.1;font-size:clamp(32px,6vw,64px);font-weight:800}
.glow{
  background:linear-gradient(90deg,var(--accent1),var(--accent2));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:0 0 24px rgba(168,85,247,.25);
  animation:glowShift 6s ease-in-out infinite;
}
@keyframes glowShift{
  0%{filter:drop-shadow(0 0 0 rgba(168,85,247,.0))}
  50%{filter:drop-shadow(0 0 18px rgba(168,85,247,.35))}
  100%{filter:drop-shadow(0 0 0 rgba(168,85,247,.0))}
}
.hero__subtitle{color:var(--muted);max-width:60ch;margin-bottom:1.4rem}
.actions{display:flex;gap:12px;flex-wrap:wrap}

/* Sparks FX */
.fx{position:absolute;inset:0;pointer-events:none}
.spark{
  position:absolute;width:2px;height:2px;border-radius:50%;
  background:linear-gradient(180deg,var(--accent1),var(--accent2));
  opacity:.8; filter:blur(.2px);
  animation:rise linear infinite;
}
@keyframes rise{
  from{transform:translateY(10px) scale(.8); opacity:.0}
  20%{opacity:.8}
  to{transform:translateY(-120vh) scale(1.2); opacity:0}
}

/* Scroll reveal */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ===== Stats ===== */
.stats{display:flex;gap:16px;margin-top:22px;flex-wrap:wrap}
.stat{
  padding:16px;border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid var(--stroke); min-width:140px;
  transition: background .35s ease, transform .25s ease, box-shadow .35s ease, color .35s ease, border-color .35s ease;
  cursor:pointer;
}
.stat__k{font-weight:800;font-size:20px}
.stat__t{color:var(--muted);font-size:12px;letter-spacing:.3px;transition:color .35s ease}

/* Hover: cela pločica menja boju */
.stat:hover{
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border-color: transparent;
  color: #0a0a0a;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(168,85,247,.32), 0 6px 18px rgba(34,211,238,.25);
}
.stat:hover .stat__t{ color:#0a0a0a; }

/* ===== Sections ===== */
.section{padding:88px 0}
.h2{font-size:28px;font-weight:800;margin:0 0 18px}
.h3{font-size:22px;font-weight:800;margin:0 0 10px}
.accent{color:#fff;text-shadow:0 0 24px rgba(34,211,238,.25)}
.muted{color:#a8acb8} .small{font-size:12px}

.grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{
  padding:20px; border-radius:24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.15);
}
.card--xl{padding:32px}

/* Social chips */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 4px}
.chip{display:inline-block;padding:8px 12px;border-radius:999px;border:1px solid var(--stroke);background:rgba(255,255,255,.06);font-weight:700;font-size:12px;color:#d7dbff;transition:transform .2s ease, box-shadow .2s ease}
.chip:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(168,85,247,.2)}
.smm-feats .mini-card{padding:14px;border-radius:14px;border:1px solid var(--stroke);background:rgba(255,255,255,.04)}
.smm-feats b{display:block;margin-bottom:6px}

/* Testimonials */
.card--testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 4px solid var(--accent1);
}
.quote {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--fg);
}
.author b { display: block; font-size: 14px; }
.author span { font-size: 12px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--stroke);
  padding: 20px 0;
}
.faq-question {
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  color: var(--fg);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.faq-question::after {
  content: '+';
  color: var(--accent1);
}
.faq-answer {
  color: var(--muted);
  font-size: 15px;
}

/* Contact box */
.contact-box{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.contact-box .link{color:#eaeaf2;text-decoration:none;border-bottom:1px dashed rgba(234,234,242,.3)}
.contact-box .link:hover{border-bottom-color:#fff}
.contact-box .btn{margin-top:4px}

/* ===== Footer ===== */
.footer{border-top:1px solid var(--stroke);padding:30px 0;color:#a8acb8}
.footer__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer a{color:#a8acb8;text-decoration:none}
.footer a:hover{color:#eaeaf2}
.links{display:flex;gap:16px}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px){
  .nav__inner{padding:12px 0}
  .pill{font-size:9px}
  .hero__title{font-size:clamp(28px,8vw,44px)}
  .stats{gap:12px}
  .stat{min-width:calc(50% - 6px)}
  .section{padding:64px 0}
  .h2{font-size:24px}
}
@media (max-width: 460px){
  .stat{min-width:100%}
  .brand{gap:8px; margin-left: 24px;}
  .brand__logo{height:28px}
  .brand__text{justify-content:center}
  .brand__name{font-size: 14px;}
  .brand__desc{font-size: 8px; white-space: nowrap;}
}
