﻿/* ============================================================
   SIMBIA MARKETING — style.css
   Tech-glow design system · Mobile-first · GPU-accelerated
   ============================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Palette */
  --black:        #050507;
  --black-soft:   #0c0c10;
  --black-card:   #111118;
  --black-border: #1e1e2a;
  --gold:         #d9b64a;
  --gold-bright:  #f3cf68;
  --gold-dim:     #9a7a2c;
  --gold-glow:    rgba(217, 182, 74, 0.18);
  --gold-glow-sm: rgba(217, 182, 74, 0.08);
  --white:        #f5f5f7;
  --white-dim:    #9898a8;
  --white-faint:  #3a3a4a;

  /* Typography */
  --font-display: 'Syne', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-slow: 600ms;

  /* Z-index layers */
  --z-base:   1;
  --z-header: 100;
  --z-menu:   200;
  --z-modal:  300;
  --z-transition: 10000;
}

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  overflow-x: hidden;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  accent-color: var(--gold);
  -webkit-tap-highlight-color: rgba(217, 182, 74, 0.18);
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── TYPOGRAPHY SCALE ──────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-1 { font-size: clamp(2.4rem, 8vw, 5.5rem); }
.display-2 { font-size: clamp(1.8rem, 5vw, 3.8rem); }
.h2        { font-size: clamp(1.5rem, 4vw, 2.6rem); }
.h3        { font-size: clamp(1.2rem, 3vw, 1.8rem); }

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg { font-size: clamp(1rem, 2.5vw, 1.2rem); line-height: 1.7; }
.body-sm { font-size: 0.875rem; line-height: 1.6; color: var(--white-dim); }

/* ── LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s5);
}

.section {
  padding: var(--s8) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--s7) 0; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid { display: grid; }
.gap-4 { gap: var(--s4); }
.gap-5 { gap: var(--s5); }
.gap-6 { gap: var(--s6); }

.text-gold   { color: var(--gold); }
.text-dim    { color: var(--white-dim); }
.text-center { text-align: center; }

/* ── NOISE TEXTURE OVERLAY ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── PAGE TRANSITION ───────────────────────────────────── */
.pg-trans {
  position: fixed;
  inset: 0;
  z-index: var(--z-transition);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.pg-trans .sl {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(240, 196, 90, 0.12), transparent 44%),
    linear-gradient(135deg, #07070a 0%, #111118 54%, #d9b64a 120%);
  transform: translateY(-105%);
  transition: transform 680ms var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}

.pg-trans .sl:nth-child(1) { --d: 0ms; --rd: 165ms; }
.pg-trans .sl:nth-child(2) { --d: 55ms; --rd: 110ms; }
.pg-trans .sl:nth-child(3) { --d: 110ms; --rd: 55ms; }
.pg-trans .sl:nth-child(4) { --d: 165ms; --rd: 0ms; }

.pg-trans::before {
  content: 'Simbia.';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 5rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0;
  text-shadow: 0 0 32px rgba(217, 182, 74, 0.45);
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.96);
  transition: opacity 320ms ease, transform 620ms var(--ease-out-expo);
}

.pg-trans::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(50% + 3.8rem);
  z-index: 2;
  width: min(220px, 56vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.5);
  transition: opacity 360ms ease, transform 620ms var(--ease-out-expo);
}

body.page-enter .pg-trans,
body.page-leaving .pg-trans {
  visibility: visible;
  opacity: 1;
}

body.page-leaving .pg-trans {
  pointer-events: auto;
}

body.page-enter .pg-trans .sl,
body.page-leaving .pg-trans .sl {
  transform: translateY(0);
}

body.page-enter.page-enter-active .pg-trans .sl {
  transform: translateY(105%);
  transition-delay: var(--rd, 0ms);
}

body.page-enter .pg-trans::before,
body.page-enter .pg-trans::after,
body.page-leaving .pg-trans::before,
body.page-leaving .pg-trans::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.page-enter .pg-trans::after,
body.page-leaving .pg-trans::after {
  transform: translateX(-50%) scaleX(1);
}

body.page-enter.page-enter-active .pg-trans::before,
body.page-enter.page-enter-active .pg-trans::after {
  opacity: 0;
}

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  padding: var(--s4) 0;
  transition: background-color var(--duration-base) var(--ease-in-out),
              backdrop-filter var(--duration-base) var(--ease-in-out),
              box-shadow var(--duration-base) var(--ease-in-out);
}

.site-header.scrolled {
  background-color: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--black-border),
              0 4px 30px rgba(0, 0, 0, 0.5);
}

body.menu-open .site-header {
  z-index: calc(var(--z-menu) + 2);
  background-color: rgba(5, 5, 7, 0.2);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
  z-index: calc(var(--z-menu) + 1);
  position: relative;
  min-width: 126px;
  min-height: 44px;
}

.site-logo img {
  height: clamp(34px, 4vw, 42px);
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}

.site-logo .logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-logo.logo-missing img {
  display: none;
}

.site-logo.logo-missing .logo-text {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.98rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.logo-text span {
  color: var(--gold);
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-dim);
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-base) var(--ease-out-expo);
}

.nav-desktop a:hover {
  color: var(--white);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.55rem 1.25rem;
  background: var(--gold);
  color: var(--black) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  transition: background var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease,
              transform var(--duration-fast) ease !important;
  white-space: nowrap;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold-bright) !important;
  box-shadow: 0 0 20px rgba(217, 182, 74, 0.4);
  transform: translateY(-1px) !important;
  color: var(--black) !important;
}

/* ── HAMBURGER BUTTON ──────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: calc(var(--z-menu) + 1);
  position: relative;
  border-radius: var(--r-md);
  transition: background var(--duration-fast) ease;
}

.hamburger:hover {
  background: var(--gold-glow-sm);
}

.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--duration-base) var(--ease-out-expo),
              opacity var(--duration-base) ease,
              background var(--duration-fast) ease;
  will-change: transform, opacity;
}

/* X state */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--gold);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--gold);
}

/* ── FULLSCREEN MOBILE MENU ────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  padding: max(var(--s9), calc(76px + var(--s5))) var(--s6) var(--s7);
  overflow-y: auto;
  overscroll-behavior: contain;

  /* Glass */
  background: rgba(5, 5, 7, 0.96);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);

  /* Initial state — hidden */
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo),
              visibility 0s linear var(--duration-slow);
  will-change: opacity, transform;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo),
              visibility 0s linear 0s;
}

/* Staggered nav items */
.mobile-menu .nav-items {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-bottom: var(--s6);
}

.mobile-menu .nav-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
  will-change: opacity, transform;
}

.mobile-menu.open .nav-item:nth-child(1)  { opacity: 1; transform: none; transition-delay: 80ms; }
.mobile-menu.open .nav-item:nth-child(2)  { opacity: 1; transform: none; transition-delay: 130ms; }
.mobile-menu.open .nav-item:nth-child(3)  { opacity: 1; transform: none; transition-delay: 180ms; }
.mobile-menu.open .nav-item:nth-child(4)  { opacity: 1; transform: none; transition-delay: 230ms; }
.mobile-menu.open .nav-item:nth-child(5)  { opacity: 1; transform: none; transition-delay: 280ms; }
.mobile-menu.open .nav-item:nth-child(6)  { opacity: 1; transform: none; transition-delay: 330ms; }
.mobile-menu.open .nav-item:nth-child(7)  { opacity: 1; transform: none; transition-delay: 380ms; }
.mobile-menu.open .nav-item:nth-child(8)  { opacity: 1; transform: none; transition-delay: 430ms; }

.mobile-menu .nav-item a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--black-border);
  transition: color var(--duration-fast) ease;
}

.mobile-menu .nav-item a:hover {
  color: var(--gold);
}

.mobile-menu .menu-footer {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
  will-change: opacity, transform;
}

.mobile-menu.open .menu-footer {
  opacity: 1;
  transform: none;
  transition-delay: 420ms;
}

.mobile-menu .menu-footer p {
  font-size: 0.8rem;
  color: var(--white-dim);
}

.mobile-menu .menu-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  margin-top: var(--s5);
  width: fit-content;
  transition: background var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease;
}

.mobile-menu .menu-cta:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 30px rgba(217, 182, 74, 0.5);
}

/* ── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* kartice: blago podizanje + sitan scale = premium osjećaj */
.reveal-scale { transform: translateY(28px) scale(0.965); }
.reveal-scale.revealed { transform: none; }

.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }
.reveal-delay-4 { transition-delay: 240ms; }
.reveal-delay-5 { transition-delay: 300ms; }

/* MOBILNI: kraći pomak = brže i snappy, ne sporo */
@media (max-width: 768px) {
  .reveal { transform: translateY(18px); }
  .reveal-scale { transform: translateY(18px) scale(0.975); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale,
  .pg-trans, .pg-trans .sl,
  .pg-trans::before, .pg-trans::after {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pg-trans {
    display: none;
  }
}

/* Simbia Automation Lab */
.automation-hero { position:relative; overflow:hidden; }
.automation-hero::after { content:""; position:absolute; inset:20% -15% auto 52%; height:420px; pointer-events:none; background:radial-gradient(circle,rgba(217,182,74,.18),transparent 66%); filter:blur(10px); }
.automation-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--s3); }
.automation-grid .service-card { min-height:260px; display:flex; flex-direction:column; align-items:flex-start; }
.automation-grid .service-card p { flex:1; }
.automation-grid .service-card b { margin-top:var(--s4); color:var(--gold); font-size:.7rem; line-height:1.45; }
.automation-number { display:inline-grid; place-items:center; width:38px; height:38px; margin-bottom:var(--s4); border:1px solid rgba(217,182,74,.35); border-radius:12px; color:var(--gold); font:700 .64rem var(--font-mono); }
.automation-flow { border-top:1px solid var(--black-border); background:var(--black-soft); }
@media (max-width:1080px) { .automation-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px) { .automation-grid { grid-template-columns:1fr; } .automation-grid .service-card { min-height:0; } }

/* ── GLOW DIVIDER ──────────────────────────────────────── */
.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dim) 30%, var(--gold) 50%, var(--gold-dim) 70%, transparent 100%);
  opacity: 0.4;
}

.glow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: transform var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease,
              background var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
  will-change: transform;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 30px rgba(217, 182, 74, 0.5),
              0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--black-border);
}

.btn-ghost:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

/* ── BADGE / TAG ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.35rem 0.8rem;
  background: var(--gold-glow-sm);
  border: 1px solid rgba(217, 182, 74, 0.2);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.badge .dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(217, 182, 74, 0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(217, 182, 74, 0); }
}

/* ── HERO SECTION ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--s8) + 80px) 0 var(--s8);
  overflow: hidden;
}

/* Grid bg */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--black-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--black-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 80%);
  opacity: 0.4;
}

/* Gold radial glow */
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(217, 182, 74, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  max-width: 860px;
}

.hero-eyebrow {
  margin-bottom: var(--s5);
}

.hero-title {
  margin-bottom: var(--s5);
  font-size: clamp(1.9rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: -0.08em;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(217, 182, 74, 0.6);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: var(--s7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.8rem;
  color: var(--white-dim);
}

.hero-note .checkmark {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--s5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  opacity: 0.5;
  animation: scroll-fade 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes scroll-fade {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold-dim);
  border-bottom: 2px solid var(--gold-dim);
  transform: rotate(45deg);
}

/* ── STATS SECTION ─────────────────────────────────────── */
.stats-section {
  padding: var(--s7) 0;
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  background: var(--black-soft);
  padding: var(--s6) var(--s5);
  text-align: center;
  position: relative;
  transition: background var(--duration-fast) ease;
}

.stat-item:hover {
  background: var(--black-card);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s2);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--white-dim);
  letter-spacing: 0.04em;
}

/* ── SERVICES SECTION ──────────────────────────────────── */
.services-section {
  padding: var(--s9) 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--s7);
}

.section-header .label {
  display: block;
  margin-bottom: var(--s3);
}

.section-header .h2 {
  margin-bottom: var(--s4);
}

.section-header p {
  color: var(--white-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s6);
  position: relative;
  /* overflow: visible — badges positioned with negative top need to escape */
  overflow: visible;
  transition: border-color var(--duration-base) ease,
              transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) ease;
  will-change: transform;
}

/* Top-line glow: clipped inside card via inner pseudo with overflow:hidden wrapper */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(217, 182, 74, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(217, 182, 74, 0.08);
}

.service-card:hover::after {
  opacity: 1;
}

/* ── PRICING CARD — featured badge variant ─────────────── */
/* Wrapper adds padding-top so the badge floats above the card boundary */
.pricing-card-wrap {
  padding-top: 18px;  /* space for the badge to breathe above the card */
  position: relative;
}

.pricing-card-wrap .service-card {
  height: 100%;
}

/* The badge sits in .pricing-card-wrap, above the card */
.pricing-card-wrap .card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
}

/* Featured / Dominacija card highlight */
.service-card--featured {
  border-color: rgba(217, 182, 74, 0.4) !important;
  background: linear-gradient(
    160deg,
    var(--black-card) 0%,
    rgba(217, 182, 74, 0.07) 100%
  ) !important;
  box-shadow: 0 0 40px rgba(217, 182, 74, 0.1), 0 0 0 1px rgba(217, 182, 74, 0.15);
}

.service-card--featured:hover {
  border-color: rgba(217, 182, 74, 0.6) !important;
  box-shadow: 0 20px 50px rgba(217, 182, 74, 0.18), 0 0 0 1px rgba(217, 182, 74, 0.25);
  transform: translateY(-6px);
}

.service-card--featured .price-value {
  color: var(--gold) !important;
}

.service-card--featured::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--gold-glow-sm);
  border: 1px solid rgba(217, 182, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--s5);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--s3);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.65;
}

/* ── SYSTEMS SECTION (Why) ─────────────────────────────── */
.why-section {
  padding: var(--s9) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(217, 182, 74, 0.03) 50%, transparent 100%);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  align-items: center;
}

@media (min-width: 900px) {
  .why-inner { grid-template-columns: 1fr 1fr; gap: var(--s9); }
}

.why-text .label { display: block; margin-bottom: var(--s4); }
.why-text .h2 { margin-bottom: var(--s5); }
.why-text p {
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: var(--s5);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.why-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.why-item .icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--gold-glow);
  border: 1px solid rgba(217, 182, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.why-item .copy strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--s1);
}

.why-item .copy p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Terminal card */
.terminal-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-bar {
  background: var(--black-soft);
  border-bottom: 1px solid var(--black-border);
  padding: 0.75rem var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.terminal-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red   { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-bar .title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--white-dim);
}

.terminal-body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.terminal-line {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--white-dim);
}

.terminal-line .prompt { color: var(--gold); margin-right: var(--s2); }
.terminal-line .cmd    { color: var(--white); }
.terminal-line .output { color: #5aeabc; }
.terminal-line .output.warn { color: var(--gold-bright); }
.terminal-line .comment { color: #4a4a62; }

.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--gold);
  vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── CTA SECTION ───────────────────────────────────────── */
.cta-section {
  padding: var(--s9) 0;
}

.cta-inner {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s8) var(--s7);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(217, 182, 74, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner .label { margin-bottom: var(--s4); }
.cta-inner .h2 { margin-bottom: var(--s4); }
.cta-inner p {
  color: var(--white-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto var(--s6);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: center;
}

.cta-meta {
  margin-top: var(--s5);
  display: flex;
  gap: var(--s5);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-meta span {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.78rem;
  color: var(--white-dim);
}

.cta-meta .check { color: var(--gold); }

/* ── CHAT WIDGET PLACEHOLDER ───────────────────────────── */
/* ── SIMBIA AI — floating chat widget (site-wide) ──────── */
#ai-chat-widget {
  position: fixed;
  bottom: var(--s5);
  right: var(--s5);
  z-index: var(--z-modal);
  font-family: var(--font-body);
}

.saw-launcher {
  width: 60px; height: 60px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #050507;
  box-shadow: 0 8px 30px rgba(0,0,0,.45), 0 0 0 6px var(--gold-glow-sm);
  transition: transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) ease;
  position: relative;
}
.saw-launcher:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 38px rgba(0,0,0,.55), 0 0 0 8px var(--gold-glow);
}
.saw-launcher svg { width: 28px; height: 28px; }
.saw-ping {
  position: absolute; top: 3px; right: 3px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #46e6a0; border: 2px solid #050507;
}
.saw-ping::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #46e6a0; animation: sawPing 1.8s ease-out infinite;
}
@keyframes sawPing { 0%{transform:scale(.6);opacity:.8} 100%{transform:scale(1.9);opacity:0} }

.saw-panel {
  position: absolute; bottom: calc(60px + var(--s3)); right: 0;
  width: min(370px, calc(100vw - 2 * var(--s5)));
  max-height: min(74vh, 560px);
  display: flex; flex-direction: column;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  overflow: hidden;
  transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform var(--duration-base) var(--ease-out-expo),
              opacity var(--duration-base) ease;
}
#ai-chat-widget.open .saw-panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
#ai-chat-widget.open .saw-launcher { transform: scale(.9); }

.saw-head {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s4); border-bottom: 1px solid var(--black-border);
  background: linear-gradient(180deg, var(--gold-glow-sm), transparent);
}
.saw-avatar {
  width: 40px; height: 40px; border-radius: var(--r-full); flex-shrink: 0;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight: 700;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim)); color:#050507;
}
.saw-meta { flex: 1; min-width: 0; }
.saw-name { font-weight: 700; font-size: .92rem; }
.saw-status { display:flex; align-items:center; gap:6px; font-size:.7rem; color: var(--white-dim); margin-top:2px; }
.saw-dot { width:7px;height:7px;border-radius:50%;background:#46e6a0;flex-shrink:0; }
.saw-close {
  width:32px;height:32px;border-radius:var(--r-sm);color:var(--white-dim);
  font-size:1.5rem;line-height:1;display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.saw-close:hover { background: var(--black-soft); color: var(--white); }

.saw-msgs { flex:1; overflow-y:auto; padding: var(--s4); display:flex; flex-direction:column; gap: var(--s3); }
.saw-msg { display:flex; gap: var(--s2); max-width: 90%; }
.saw-msg--user { align-self: flex-end; flex-direction: row-reverse; }
.saw-bubble {
  padding: var(--s3) var(--s4); border-radius: var(--r-md); font-size: .85rem; line-height:1.55;
  background: var(--black-soft); border:1px solid var(--black-border); color: var(--white);
}
.saw-msg--user .saw-bubble { background: var(--gold); border-color: var(--gold); color:#050507; }
.saw-mini-avatar {
  width:26px;height:26px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:.8rem;
  background:var(--black-soft);border:1px solid var(--black-border);
}
.saw-count { font-family: var(--font-mono); font-size:.62rem; letter-spacing:.1em; color: var(--white-faint); text-align:center; padding: 0 var(--s4) var(--s2); }
.saw-input-row { display:flex; gap: var(--s2); padding: var(--s3) var(--s4) var(--s4); border-top:1px solid var(--black-border); }
.saw-input { flex:1; min-width:0; background: var(--black-soft); border:1px solid var(--black-border); border-radius: var(--r-md); padding: .7rem var(--s3); color: var(--white); font-family: inherit; font-size:.85rem; }
.saw-input:focus { outline:none; border-color: var(--gold-dim); }
.saw-send { padding:.7rem var(--s4); border-radius: var(--r-md); background: var(--gold); color:#050507; font-weight:700; font-size:.72rem; letter-spacing:.04em; white-space:nowrap; transition: background var(--duration-fast) ease; }
.saw-send:hover { background: var(--gold-bright); }
.saw-send:disabled, .saw-input:disabled { opacity:.5; cursor:not-allowed; }
.chat-memory-note { margin:0; padding:.55rem 1rem .8rem; color:var(--white-faint); font-size:.62rem; line-height:1.45; text-align:center; }
.chat-memory-note a { color:var(--white-dim); text-decoration:underline; text-underline-offset:2px; }
.chat-memory-note--widget { padding-top:0; }

/* Mobile: bottom-sheet, ali UVIJEK sa close dugmetom (nikad preko cijelog ekrana bez izlaza) */
@media (max-width: 480px) {
  #ai-chat-widget { bottom: var(--s4); right: var(--s4); }
  .saw-panel {
    position: fixed; left: 0; right: 0; bottom: 0; width: 100%;
    max-height: 82vh; border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .saw-launcher, .saw-panel { transition: none; }
  .saw-ping::after { animation: none; }
}

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  padding: var(--s8) 0 var(--s5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  margin-bottom: var(--s7);
}

@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--s4);
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--s4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--white-dim);
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: 0.875rem;
  color: var(--white-dim);
  margin-bottom: var(--s3);
}

.footer-contact-item .icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--white-dim);
  transition: color var(--duration-fast) ease;
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding-top: var(--s5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--white-faint);
}

.footer-legal {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--white-faint);
  transition: color var(--duration-fast) ease;
}

.footer-legal a:hover {
  color: var(--white-dim);
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }
  .site-header {
    padding: 0.85rem 0;
    background-color: rgba(5, 5, 7, 0.28);
  }
  .site-header.scrolled {
    backdrop-filter: blur(18px) saturate(1);
    -webkit-backdrop-filter: blur(18px) saturate(1);
  }
  .mobile-menu {
    backdrop-filter: blur(34px) saturate(1);
    -webkit-backdrop-filter: blur(34px) saturate(1);
  }
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 480px) {
  .site-logo img {
    height: 34px;
    max-width: 164px;
  }
  .site-logo {
    min-width: 118px;
    min-height: 40px;
  }
  .container { padding: 0 var(--s4); }
  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding: calc(76px + var(--s5)) 0 var(--s6);
  }
  .hero-eyebrow { margin-bottom: var(--s4); }
  .badge {
    max-width: 100%;
    flex-wrap: wrap;
    border-radius: var(--r-md);
    letter-spacing: 0.08em;
    line-height: 1.45;
  }
  .hero-title {
    margin-bottom: var(--s4);
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    letter-spacing: -0.015em;
  }
  .hero-title .accent { max-width: 100%; }
  .hero-subtitle {
    max-width: 100%;
    overflow-wrap: anywhere;
    margin-bottom: var(--s5);
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .page-hero .display-2 { max-width: 100%; font-size: clamp(1.75rem,7.6vw,2.2rem); overflow-wrap:anywhere; }
  .hero-status-grid {
    max-width: none;
    margin-top: var(--s5) !important;
  }
  .hero-status-item { padding: var(--s3); }
  .scroll-indicator { display: none; }
  .ticker-wrap::before,
  .ticker-wrap::after { width: 48px; }
  .cta-inner { padding: var(--s6) var(--s5); }
}

/* ──────────────────────────────────────────────────────────
   PAGE HERO (inner pages — paketi, usluge, etc.)
   ────────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(80px + var(--s8)) 0 var(--s8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(217, 182, 74, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .label {
  display: block;
  margin-bottom: var(--s4);
}

.page-hero .display-2 {
  margin-bottom: var(--s4);
}

.page-hero p {
  color: var(--white-dim);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   PRICING PAGE — BENTO GRID SYSTEM
   Glassmorphism cards · Gold glow · GPU-accelerated hover
   ══════════════════════════════════════════════════════════ */

/* ── Outer wrapper: badge needs space above each column ── */
.pricing-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 600px) {
  .pricing-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .pricing-cols { grid-template-columns: repeat(5, 1fr); }
}

/* Each column is a slot; padding-top creates badge runway */
.pkg-slot {
  display: flex;
  flex-direction: column;
  padding-top: 22px;   /* badge floats in this space */
  position: relative;
}

/* ── Badge (lives in slot, above card) ─────────────────── */
.pkg-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.28rem 0.8rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  box-shadow:
    0 0 0 2px var(--black),
    0 0 20px rgba(217, 182, 74, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.5);
}

.pkg-badge .blink {
  width: 5px;
  height: 5px;
  background: var(--black);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ── Base card ─────────────────────────────────────────── */
.pricing-card {
  flex: 1;
  display: flex;
  flex-direction: column;

  /* Glassmorphism */
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.01) 100%
    ),
    var(--black-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: visible;   /* badge must not clip */
  position: relative;

  transition:
    border-color  var(--duration-base) var(--ease-out-expo),
    transform     var(--duration-base) var(--ease-out-expo),
    box-shadow    var(--duration-base) var(--ease-out-expo);
  will-change: transform, box-shadow;
}

/* Top-edge glow line */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 182, 74, 0.35) 30%,
    rgba(217, 182, 74, 0.6) 50%,
    rgba(217, 182, 74, 0.35) 70%,
    transparent 100%
  );
  opacity: 0;
  border-radius: 1px;
  transition: opacity var(--duration-base) ease;
  pointer-events: none;
}

.pricing-card:hover::before { opacity: 1; }

.pricing-card:hover {
  border-color: rgba(217, 182, 74, 0.22);
  transform: translateY(-5px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(217, 182, 74, 0.08);
}

/* ── Featured (Dominacija) card ────────────────────────── */
.pricing-card--featured {
  border-color: rgba(217, 182, 74, 0.38);
  background:
    linear-gradient(
      155deg,
      rgba(217, 182, 74, 0.09) 0%,
      rgba(217, 182, 74, 0.04) 40%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    var(--black-card);
  box-shadow:
    0 0 0 1px rgba(217, 182, 74, 0.18),
    0 0 60px rgba(217, 182, 74, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

.pricing-card--featured::before {
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 182, 74, 0.5) 20%,
    var(--gold) 50%,
    rgba(217, 182, 74, 0.5) 80%,
    transparent 100%
  );
  left: 0; right: 0;
}

.pricing-card--featured:hover {
  border-color: rgba(217, 182, 74, 0.6);
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(217, 182, 74, 0.3),
    0 0 80px rgba(217, 182, 74, 0.18),
    0 28px 60px rgba(0, 0, 0, 0.6);
}

/* ── Card inner regions ────────────────────────────────── */
.pkg-head {
  padding: 1.5rem 1.5rem 1.2rem;
  border-bottom: 1px solid var(--black-border);
}

.pricing-card--featured .pkg-head {
  border-bottom-color: rgba(217, 182, 74, 0.18);
}

.pkg-tier {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pkg-tier::before {
  content: '◆';
  font-size: 0.5rem;
  color: var(--gold);
}

.pricing-card--featured .pkg-tier {
  color: var(--gold-bright);
}

/* Price row */
.pkg-price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.pkg-amount {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 0.9;
}

.pricing-card--featured .pkg-amount {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(217, 182, 74, 0.35);
}

.pkg-currency {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white-dim);
  padding-bottom: 0.2rem;
}

.pricing-card--featured .pkg-currency {
  color: var(--gold-dim);
}

.pkg-period {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--white-faint);
  margin-bottom: 0.75rem;
}

.pkg-tagline {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.55;
}

.pricing-card--featured .pkg-tagline {
  color: rgba(245, 245, 247, 0.8);
}

/* ── Feature list ──────────────────────────────────────── */
.pkg-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pkg-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

.pkg-feature {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--white-dim);
}

.pkg-feature .chk {
  font-size: 0.7rem;
  color: var(--gold-dim);
  font-weight: 700;
  padding-top: 2px;
  flex-shrink: 0;
}

.pricing-card--featured .pkg-feature {
  color: var(--white);
}

.pricing-card--featured .pkg-feature .chk {
  color: var(--gold-bright);
}

/* Disabled item */
.pkg-feature--off {
  opacity: 0.35;
}

.pkg-feature--off .chk {
  color: var(--white-faint) !important;
}

/* ── CTA footer ────────────────────────────────────────── */
.pkg-foot {
  padding: 0 1.5rem 1.5rem;
}

.pkg-foot .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.75rem 1rem;
}

/* ── Pricing note banner ───────────────────────────────── */
.pricing-note {
  background: var(--black-soft);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
  justify-content: space-between;
}

.pricing-note p {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.65;
  max-width: 600px;
}

/* ──────────────────────────────────────────────────────────
   SERVICES PAGE (usluge.html)
   ────────────────────────────────────────────────────────── */

/* Full-width alternating service sections */
.service-section {
  padding: var(--s9) 0;
  border-bottom: 1px solid var(--black-border);
}

.service-section:nth-child(even) {
  background: var(--black-soft);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  align-items: center;
}

@media (min-width: 860px) {
  .service-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--s8);
  }

  /* Alternate: even sections flip the order */
  .service-section:nth-child(even) .service-layout {
    direction: rtl;
  }
  .service-section:nth-child(even) .service-layout > * {
    direction: ltr;
  }
}

.service-text .label {
  display: block;
  margin-bottom: var(--s4);
}

.service-text .h2 {
  margin-bottom: var(--s4);
}

.service-text p {
  color: var(--white-dim);
  line-height: 1.75;
  margin-bottom: var(--s5);
}

/* Service detail list */
.service-details {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin-bottom: var(--s6);
}

.service-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: 0.9rem;
  color: var(--white-dim);
}

.service-detail-item .check {
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 700;
  margin-top: 1px;
}

/* Big service icon card (right side) */
.service-visual {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s5);
  position: relative;
  overflow: hidden;
}

.service-visual::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(217, 182, 74, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.service-visual .big-icon {
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(217, 182, 74, 0.3));
}

.service-visual h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.service-visual p {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.65;
  max-width: 300px;
}

/* Service metric pills */
.service-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
}

.metric-pill {
  background: var(--gold-glow-sm);
  border: 1px solid rgba(217, 182, 74, 0.2);
  border-radius: var(--r-full);
  padding: 0.4rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* Services quick-nav at top */
.services-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  justify-content: center;
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--black-border);
}

.services-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.5rem 1rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white-dim);
  transition: border-color var(--duration-fast) ease,
              color var(--duration-fast) ease,
              background var(--duration-fast) ease;
}

.services-nav a:hover {
  border-color: rgba(217, 182, 74, 0.3);
  color: var(--gold);
  background: var(--gold-glow-sm);
}

/* ══════════════════════════════════════════════════════════
   FORM SYSTEM — kontakt.html + audit.html
   Mobile-first · Gold focus ring · GPU-friendly
   ══════════════════════════════════════════════════════════ */

/* ── Form layout ───────────────────────────────────────── */
.form-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  align-items: start;
}

@media (min-width: 900px) {
  .form-page-grid {
    grid-template-columns: 1fr 420px;
    gap: var(--s8);
  }
}

/* ── Form card ─────────────────────────────────────────── */
.form-card {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.035) 0%,
    rgba(255, 255, 255, 0.01) 100%
  ), var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 182, 74, 0.5) 40%,
    var(--gold) 50%,
    rgba(217, 182, 74, 0.5) 60%,
    transparent 100%
  );
  pointer-events: none;
}

@media (max-width: 480px) {
  .form-card { padding: var(--s5) var(--s4); }
}

/* ── Form group ────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: var(--s5);
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.form-label .req {
  color: var(--gold);
  margin-left: 2px;
}

/* ── Input / Textarea / Select ─────────────────────────── */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;             /* 16px — prevents iOS zoom */
  line-height: 1.5;
  outline: none;
  appearance: none;
  -webkit-appearance: none;

  /* GPU-friendly transitions — only border-color + box-shadow */
  transition:
    border-color var(--duration-fast) ease,
    box-shadow   var(--duration-fast) ease,
    background   var(--duration-fast) ease;
}

/* Mobile-friendly padding — big tap targets */
.form-input,
.form-select {
  padding: 0.9rem 1.1rem;
  min-height: 52px;
}

.form-textarea {
  padding: 0.9rem 1.1rem;
  resize: vertical;
  min-height: 130px;
}

/* Placeholder */
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--white-faint);
  font-size: 0.9rem;
}

/* Select arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%238a6b25' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--black-soft);
  color: var(--white);
}

/* Hover state */
.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: rgba(217, 182, 74, 0.2);
  background: rgba(255, 255, 255, 0.045);
}

/* Focus state — gold ring */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(217, 182, 74, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 3px rgba(217, 182, 74, 0.12),
    0 0 16px rgba(217, 182, 74, 0.08);
}

/* Valid / filled */
.form-input:not(:placeholder-shown):not(:focus),
.form-textarea:not(:placeholder-shown):not(:focus) {
  border-color: rgba(217, 182, 74, 0.22);
}

/* ── Two-column row on desktop ─────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ── Submit button ─────────────────────────────────────── */
.form-submit {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin-top: var(--s6);
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.form-submit .privacy-note {
  font-size: 0.72rem;
  color: var(--white-faint);
  text-align: center;
  line-height: 1.55;
}

.form-submit .privacy-note a {
  color: var(--gold-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Contact info sidebar ──────────────────────────────── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.contact-info-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s5) var(--s6);
  transition: border-color var(--duration-base) ease;
}

.contact-info-card:hover {
  border-color: rgba(217, 182, 74, 0.18);
}

.contact-info-card .card-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: var(--s4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-info-card .card-label::before {
  content: '◆';
  font-size: 0.45rem;
  color: var(--gold);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--black-border);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-row .icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--gold-glow-sm);
  border: 1px solid rgba(217, 182, 74, 0.12);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.contact-row .info strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.contact-row .info a {
  color: var(--white-dim);
  font-size: 0.85rem;
  transition: color var(--duration-fast) ease;
}

.contact-row .info a:hover {
  color: var(--gold);
}

.contact-row .info span {
  color: var(--white-dim);
  font-size: 0.85rem;
}

/* Response time note */
.response-note {
  background: var(--gold-glow-sm);
  border: 1px solid rgba(217, 182, 74, 0.15);
  border-radius: var(--r-lg);
  padding: var(--s4) var(--s5);
}

.response-note p {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.65;
}

.response-note strong {
  color: var(--gold);
}

/* WA button in sidebar */
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding: 0.9rem 1.5rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition:
    background var(--duration-fast) ease,
    transform  var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
  will-change: transform;
}

.wa-btn:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.wa-btn:active { transform: scale(0.97); }

/* ── Audit page hero accent ────────────────────────────── */
.audit-hero-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.audit-hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
}

.audit-hero-stat .unit {
  font-size: 1.2rem;
  color: var(--gold-dim);
  font-weight: 700;
}

/* Process steps (audit page) */
.audit-steps {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.audit-step {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.audit-step .step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--gold-glow);
  border: 1px solid rgba(217, 182, 74, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.audit-step .step-copy strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.audit-step .step-copy p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.6;
}

/* Audit trust pills */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  color: var(--white-dim);
}

.trust-pill .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Form success state (shown via JS) */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s5);
  padding: var(--s7) var(--s5);
}

.form-success.visible { display: flex; }

.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 1px solid rgba(217, 182, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--white-dim);
  max-width: 320px;
  line-height: 1.65;
}

/* ── OWNER ADMIN PANELS ───────────────────────────────── */
.owner-admin {
  display: none;
  margin: 0 0 var(--s6);
  padding: var(--s5);
  background:
    linear-gradient(135deg, rgba(217,182,74,0.09), rgba(255,255,255,0.015)),
    var(--black-card);
  border: 1px solid rgba(217,182,74,0.2);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.owner-admin.is-visible {
  display: block;
}

.owner-admin__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s4);
}

.owner-admin__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.owner-admin__hint {
  margin-top: 4px;
  font-size: .78rem;
  color: var(--white-dim);
}

.owner-admin__badge {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.owner-admin__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 760px) {
  .owner-admin__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .owner-admin__grid .wide {
    grid-column: 1 / -1;
  }
}

.owner-admin label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.owner-admin input,
.owner-admin textarea,
.owner-admin select {
  width: 100%;
  padding: .78rem .9rem;
  background: rgba(5,5,7,0.72);
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  color: var(--white);
  font: 500 .9rem var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

.owner-admin textarea {
  min-height: 92px;
  resize: vertical;
}

.owner-admin input:focus,
.owner-admin textarea:focus,
.owner-admin select:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(217,182,74,0.08);
}

.owner-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
  margin-top: var(--s4);
}

.owner-admin__status {
  font-size: .78rem;
  color: var(--white-dim);
}

.admin-plus {
  display: none;
  width: 100%;
  min-height: 180px;
  border: 1px dashed rgba(217,182,74,0.35);
  border-radius: var(--r-xl);
  background: rgba(217,182,74,0.055);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration-base) ease,
              background var(--duration-base) ease,
              transform var(--duration-base) var(--ease-out-expo);
}

body.admin-unlocked .admin-plus {
  display: flex;
}

.admin-plus span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(217,182,74,0.35);
  background: rgba(5,5,7,0.4);
}

.admin-plus:hover {
  background: rgba(217,182,74,0.1);
  border-color: rgba(217,182,74,0.65);
  transform: translateY(-3px);
}

.dynamic-empty {
  display: none;
  padding: var(--s6);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  background: var(--black-card);
  color: var(--white-dim);
  text-align: center;
}

.dynamic-empty.is-visible {
  display: block;
}

/* ── sr-only utility ───────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════════════════════════
   KLIJENTI PAGE — Logo wall
   ══════════════════════════════════════════════════════════ */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

@media (min-width: 500px)  { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px)  { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1060px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }

.logo-cell {
  background: var(--black-card);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  position: relative;
  transition: background var(--duration-base) ease;
  overflow: hidden;
}

.logo-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-glow-sm);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
  pointer-events: none;
}

.logo-cell:hover {
  background: var(--black-soft);
  z-index: 1;
}

.logo-cell:hover::after { opacity: 1; }

/* Logo is linked */
.logo-cell a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* The logo image itself */
.logo-img {
  max-width: 80%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Grayscale by default — GPU composited (filter is hardware-accelerated) */
  filter: grayscale(1) brightness(0.6) contrast(1.1);
  opacity: 0.7;
  transition:
    filter  var(--duration-base) var(--ease-out-expo),
    opacity var(--duration-base) var(--ease-out-expo);
  will-change: filter, opacity;
}

.logo-cell:hover .logo-img,
.logo-cell a:focus .logo-img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
}

.logo-cell--dynamic {
  min-height: 128px;
}

.logo-card-link,
.logo-card-static {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.client-logo-stage {
  position: relative;
  width: min(150px, 86%);
  height: 64px;
}

.client-logo-tone,
.client-logo-original {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo),
              filter var(--duration-base) var(--ease-out-expo);
}

.client-logo-tone {
  background: var(--gold);
  opacity: .72;
  -webkit-mask: var(--logo-url) center / contain no-repeat;
  mask: var(--logo-url) center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(217,182,74,.12));
}

.client-logo-original {
  opacity: 0;
  transform: scale(.96);
}

.logo-cell--dynamic:hover .client-logo-tone,
.logo-card-link:focus .client-logo-tone {
  opacity: 0;
  transform: scale(1.04);
}

.logo-cell--dynamic:hover .client-logo-original,
.logo-card-link:focus .client-logo-original {
  opacity: 1;
  transform: scale(1);
}

.logo-cell__remove {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
  display: none;
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: rgba(5,5,7,.88);
  border: 1px solid rgba(217,182,74,.25);
  color: var(--gold);
  font-size: 1rem;
}

body.admin-unlocked .logo-cell__remove {
  display: grid;
  place-items: center;
}

/* Placeholder cell (no logo yet) */
.logo-cell--placeholder {
  cursor: default;
}

.logo-cell--placeholder .logo-placeholder {
  width: 60%;
  height: 36px;
  background: var(--black-border);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}

.logo-cell--placeholder .logo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.04) 50%,
    transparent 100%
  );
  animation: shimmer 1.8s ease-in-out infinite;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Stats strip above logo grid */
.client-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
  margin-bottom: var(--s7);
}

@media (min-width: 640px) { .client-stats { grid-template-columns: repeat(4, 1fr); } }

.client-stat {
  text-align: center;
  padding: var(--s5) var(--s4);
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
}

.client-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.client-stat .lbl {
  font-size: 0.75rem;
  color: var(--white-dim);
  margin-top: var(--s2);
  display: block;
  letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════════
   ALATI PAGE — Calculator cards
   ══════════════════════════════════════════════════════════ */

/* Tool card — premium dark UI */
.tool-card {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.008) 100%),
    var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition:
    border-color var(--duration-base) ease,
    box-shadow   var(--duration-base) ease;
  will-change: box-shadow;
}

.tool-card:focus-within,
.tool-card:hover {
  border-color: rgba(217, 182, 74, 0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(217,182,74,0.08);
}

.tool-card-header {
  padding: var(--s5) var(--s6);
  border-bottom: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  gap: var(--s4);
  position: relative;
}

.tool-card-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,182,74,0.3), transparent);
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--gold-glow);
  border: 1px solid rgba(217,182,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tool-card-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.tool-card-header p  { font-size: 0.78rem; color: var(--white-dim); line-height: 1.4; }

.tool-body {
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

/* Slider group */
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s3);
}

.slider-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.slider-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
  min-width: 80px;
  text-align: right;
}

/* Range input — styled, GPU track */
.tool-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--black-border);
  outline: none;
  cursor: pointer;
  position: relative;
}

.tool-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  box-shadow: 0 0 8px rgba(217,182,74,0.4);
  cursor: pointer;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.tool-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  cursor: pointer;
}

.tool-slider:hover::-webkit-slider-thumb,
.tool-slider:focus::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(217,182,74,0.6);
}

/* Result panel */
.tool-result {
  background: rgba(217,182,74,0.05);
  border: 1px solid rgba(217,182,74,0.18);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

@media (max-width: 380px) { .tool-result { grid-template-columns: 1fr; } }

.result-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-faint);
}

.result-val {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
}

.result-val.positive { color: #5aeabc; }
.result-val.negative { color: #e05a5a; }
.result-val.neutral  { color: var(--gold); }

/* Score bar (text quality meter) */
.score-bar-wrap {
  background: var(--black-border);
  border-radius: var(--r-full);
  height: 8px;
  overflow: hidden;
  margin-top: var(--s3);
}

.score-bar-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
  transition: width 0.5s var(--ease-out-expo);
  will-change: width;
}

.score-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--s2);
}

/* Text input for copy scorer */
.tool-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0.85rem 1rem;
  resize: vertical;
  min-height: 110px;
  outline: none;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.tool-textarea::placeholder { color: var(--white-faint); }

.tool-textarea:focus {
  border-color: rgba(217,182,74,0.5);
  box-shadow: 0 0 0 3px rgba(217,182,74,0.1);
}

/* Analyse button */
.tool-analyse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.7rem 1.4rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  cursor: pointer;
  border: none;
  transition:
    background var(--duration-fast) ease,
    transform  var(--duration-fast) ease,
    box-shadow var(--duration-fast) ease;
  will-change: transform;
}

.tool-analyse-btn:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217,182,74,0.35);
}

.tool-analyse-btn:active { transform: scale(0.97); }

/* Feedback list from copy scorer */
.feedback-list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  margin-top: var(--s3);
  min-height: 24px;
}

.feedback-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--white-dim);
}

.feedback-item .fi-icon {
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 1px;
}

.feedback-item.ok   .fi-icon { color: #5aeabc; }
.feedback-item.warn .fi-icon { color: var(--gold); }
.feedback-item.bad  .fi-icon { color: #e05a5a; }

/* Tools grid */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

@media (min-width: 900px) {
  /* ROI full-width, budget + copy side by side */
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tool-card--wide {
    grid-column: 1 / -1;
  }
}

/* ══════════════════════════════════════════════════════════
   FAQ PAGE — Accordion / details+summary
   ══════════════════════════════════════════════════════════ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 1fr 1fr; }
}

.faq-category { display: flex; flex-direction: column; gap: var(--s3); }

.faq-category-title {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--black-border);
  margin-bottom: var(--s2);
}

.faq-category-title::before { content: '◆'; font-size: 0.5rem; }

.faq-item {
  background: linear-gradient(150deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%), var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  overflow: visible;
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.faq-item:hover {
  border-color: rgba(217,182,74,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 0 1px rgba(217,182,74,0.06);
}

.faq-item[open] {
  border-color: rgba(217,182,74,0.28);
  box-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 0 0 1px rgba(217,182,74,0.1);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--white);
  user-select: none;
  -webkit-user-select: none;
  transition: color var(--duration-fast) ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-bright); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-glow-sm);
  border: 1px solid rgba(217,182,74,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  transition: transform var(--duration-base) var(--ease-out-expo), background var(--duration-base) ease;
  will-change: transform;
}

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-glow);
}

.faq-answer {
  padding: var(--s4) var(--s5) var(--s5);
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.75;
  border-top: 1px solid var(--black-border);
}

.faq-answer p + p { margin-top: var(--s3); }
.faq-answer a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.faq-answer a:hover { color: var(--gold-bright); }
.faq-answer strong { color: var(--white); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   AKADEMIJA PAGE
   ══════════════════════════════════════════════════════════ */

.chat-invite {
  background: linear-gradient(155deg, rgba(217,182,74,0.08) 0%, rgba(217,182,74,0.03) 50%, var(--black-card) 100%);
  border: 1px solid rgba(217,182,74,0.25);
  border-radius: var(--r-xl);
  padding: var(--s8) var(--s6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.chat-invite::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 250px;
  background: radial-gradient(ellipse, rgba(217,182,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.chat-invite::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.chat-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border: 2px solid rgba(217,182,74,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto var(--s4);
  box-shadow: 0 0 24px rgba(217,182,74,0.3);
  position: relative; z-index: 1;
}

.chat-avatar::after {
  content: '';
  position: absolute; bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  background: #5aeabc;
  border-radius: 50%;
  border: 2px solid var(--black-card);
  animation: pulse 2s ease-in-out infinite;
}

.chat-invite h2 { font-size: clamp(1.3rem,3vw,1.8rem); margin-bottom: var(--s3); position: relative; z-index: 1; }
.chat-invite > p { color: var(--white-dim); font-size: .95rem; line-height: 1.7; max-width: 480px; margin: 0 auto var(--s5); position: relative; z-index: 1; }

.chat-bubbles { display: flex; flex-direction: column; gap: var(--s3); max-width: 420px; margin: 0 auto var(--s6); text-align: left; position: relative; z-index: 1; }

.bubble { padding: var(--s3) var(--s4); border-radius: 14px; font-size: 0.82rem; line-height: 1.5; max-width: 80%; }
.bubble--user { background: var(--black-soft); border: 1px solid var(--black-border); color: var(--white-dim); align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble--ai   { background: var(--gold-glow); border: 1px solid rgba(217,182,74,0.2); color: var(--white); align-self: flex-start; border-bottom-left-radius: 4px; }

.vault-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}
@media (min-width: 600px)  { .vault-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .vault-grid { grid-template-columns: repeat(3,1fr); } }

.vault-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  position: relative;
  overflow: visible;
  display: flex; flex-direction: column; gap: var(--s3);
  transition: border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}

.vault-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}

.vault-card:not(.vault-card--locked):hover { border-color: rgba(217,182,74,0.2); transform: translateY(-3px); }
.vault-card:not(.vault-card--locked):hover::after { opacity: 1; }
.vault-card--locked { opacity: 0.6; cursor: default; }

.vault-lock { position: absolute; top: var(--s3); right: var(--s3); width: 26px; height: 26px; background: var(--black-border); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.vault-category { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dim); }
.vault-card h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.vault-card > p { font-size: 0.8rem; color: var(--white-dim); line-height: 1.6; flex: 1; }
.vault-meta { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s2); }
.vault-tag { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; padding: 2px 8px; border-radius: var(--r-full); background: var(--black-soft); border: 1px solid var(--black-border); color: var(--white-faint); }

/* ══════════════════════════════════════════════════════════
   RJEČNIK PAGE
   ══════════════════════════════════════════════════════════ */

.alpha-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: var(--s4) 0; border-bottom: 1px solid var(--black-border); margin-bottom: var(--s7); }

.alpha-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--r-md);
  background: var(--black-card);
  border: 1px solid var(--black-border);
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--white-dim);
  cursor: pointer;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
  text-decoration: none;
}

.alpha-btn:hover      { background: var(--gold-glow-sm); border-color: rgba(217,182,74,0.3); color: var(--gold); }
.alpha-btn--active    { background: var(--gold-glow); border-color: rgba(217,182,74,0.4); color: var(--gold); }
.alpha-btn--empty     { opacity: 0.2; cursor: default; pointer-events: none; }

.dict-group { margin-bottom: var(--s7); scroll-margin-top: 100px; }

.dict-letter { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--gold); opacity: 0.25; line-height: 1; margin-bottom: var(--s4); }

.term-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-left: 3px solid var(--gold-dim);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--s4) var(--s5);
  margin-bottom: var(--s3);
  display: flex; flex-direction: column; gap: var(--s2);
  transition: border-left-color var(--duration-fast) ease, background var(--duration-fast) ease;
}

.term-card:hover { border-left-color: var(--gold); background: var(--black-soft); }

.term-name { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.term-short { font-family: var(--font-body); font-size: 0.68rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--white-faint); padding: 1px 7px; background: var(--black-soft); border: 1px solid var(--black-border); border-radius: var(--r-full); }
.term-def { font-size: 0.88rem; color: var(--white-dim); line-height: 1.7; }
.term-def strong { color: var(--white); }
.term-example { font-size: 0.78rem; color: var(--white-faint); line-height: 1.6; border-left: 2px solid var(--black-border); padding-left: var(--s3); margin-top: var(--s1); font-style: italic; }

/* ══════════════════════════════════════════════════════════
   BLOG PAGE
   ══════════════════════════════════════════════════════════ */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 600px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: linear-gradient(150deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%), var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-base) ease,
              transform     var(--duration-base) var(--ease-out-expo),
              box-shadow    var(--duration-base) ease;
  will-change: transform;
}

.blog-card:hover {
  border-color: rgba(217,182,74,0.22);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(217,182,74,0.08);
}

/* Thumbnail area */
.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter var(--duration-base) ease, transform var(--duration-slow) var(--ease-out-expo);
  will-change: transform, filter;
}

.blog-card:hover .blog-thumb img {
  filter: brightness(1);
  transform: scale(1.04);
}

/* Placeholder thumbnail (no image) */
.blog-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black-soft) 0%, var(--black-card) 100%);
  position: relative;
  overflow: hidden;
}

.blog-thumb-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: shimmer 2s ease-in-out infinite;
}

.blog-thumb-placeholder .ph-icon {
  font-size: 2.5rem;
  opacity: 0.25;
  z-index: 1;
}

/* Category tag on thumbnail */
.blog-tag {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid;
}

.blog-tag--seo      { background: rgba(90,234,188,0.15); border-color: rgba(90,234,188,0.3);  color: #5aeabc; }
.blog-tag--ppc      { background: rgba(217,182,74,0.15); border-color: rgba(217,182,74,0.3);  color: var(--gold-bright); }
.blog-tag--funnels  { background: rgba(120,140,255,0.15); border-color: rgba(120,140,255,0.3); color: #a0a8ff; }
.blog-tag--copy     { background: rgba(255,160,90,0.15);  border-color: rgba(255,160,90,0.3);  color: #ffb470; }
.blog-tag--meta     { background: rgba(100,170,255,0.15); border-color: rgba(100,170,255,0.3); color: #88bbff; }
.blog-tag--strategija { background: rgba(200,100,200,0.15); border-color: rgba(200,100,200,0.3); color: #e090e0; }

/* Card body */
.blog-body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--white-faint);
}

.blog-meta .sep { opacity: 0.4; }

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  transition: color var(--duration-fast) ease;
}

.blog-card:hover h3 { color: var(--gold-bright); }

.blog-card p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.65;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dim);
  transition: color var(--duration-fast) ease, gap var(--duration-fast) ease;
  margin-top: auto;
}

.blog-card:hover .blog-read-more {
  color: var(--gold);
  gap: var(--s3);
}

/* Featured / wide blog card */
.blog-card--featured {
  grid-column: 1 / -1;
}

@media (min-width: 1020px) {
  .blog-card--featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
  }
  .blog-card--featured .blog-thumb {
    aspect-ratio: auto;
    min-height: 280px;
  }
}

/* Owner approval panel */
.admin-approval-page #approval-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  align-items: stretch;
}

.approval-card {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: var(--s5);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  background:
    linear-gradient(150deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.008) 100%),
    var(--black-card);
  overflow: hidden;
}

.approval-card .blog-tag {
  position: static;
  display: inline-flex;
  width: max-content;
  margin-bottom: var(--s3);
}

.approval-card h2 {
  margin: 0 0 var(--s3);
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.approval-card p {
  max-width: 70ch;
  margin: 0 0 var(--s3);
  color: var(--white-dim);
  line-height: 1.65;
}

.approval-card textarea {
  display: block;
  min-height: 96px;
}

.approval-card--empty {
  max-width: 560px;
}

@media (max-width: 600px) {
  .admin-approval-page .section {
    padding-top: calc(var(--s5) + env(safe-area-inset-top)) !important;
  }

  .admin-approval-page .display-2 {
    font-size: clamp(2.2rem, 13vw, 3.6rem);
  }

  .approval-card {
    padding: var(--s4);
  }

  .approval-card .cta-actions {
    align-items: stretch;
  }

  .approval-card .btn {
    width: 100%;
  }
}

/* Filter tabs */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.4rem 1rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white-dim);
  cursor: pointer;
  transition: background var(--duration-fast) ease,
              border-color var(--duration-fast) ease,
              color var(--duration-fast) ease;
}

.filter-btn:hover,
.filter-btn--active {
  background: var(--gold-glow-sm);
  border-color: rgba(217,182,74,0.3);
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════
   WEBINARI PAGE
   ══════════════════════════════════════════════════════════ */

/* Next webinar hero bento */
.webinar-hero-card {
  background: linear-gradient(155deg, rgba(217,182,74,0.1) 0%, rgba(217,182,74,0.04) 40%, var(--black-card) 100%);
  border: 1px solid rgba(217,182,74,0.3);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s6);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

@media (min-width: 840px) {
  .webinar-hero-card { grid-template-columns: 1fr auto; align-items: center; }
}

.webinar-hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.webinar-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.8rem;
  background: rgba(90,234,188,0.12);
  border: 1px solid rgba(90,234,188,0.3);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5aeabc;
  margin-bottom: var(--s4);
}

.webinar-live-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5aeabc;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Countdown */
.countdown {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  min-width: 64px;
}

.countdown-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-top: 4px;
}

.countdown-sep {
  align-self: flex-start;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-dim);
  padding-top: var(--s3);
  opacity: 0.5;
}

/* Webinar reg form (inline) */
.webinar-reg-form {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  min-width: 260px;
}

.webinar-reg-form .form-input { font-size: 0.9rem; }

/* Past webinar video cards */
.webinar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 600px)  { .webinar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .webinar-grid { grid-template-columns: repeat(4, 1fr); } }

.video-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-base) ease,
              transform     var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}

.video-card:hover {
  border-color: rgba(217,182,74,0.22);
  transform: translateY(-3px);
}

/* Thumbnail with play overlay */
.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: var(--black-soft);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter var(--duration-base) ease, transform var(--duration-slow) var(--ease-out-expo);
  will-change: transform, filter;
}

.video-card:hover .video-thumb img {
  filter: brightness(0.9);
  transform: scale(1.04);
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d0d14 0%, var(--black-card) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(217,182,74,0.92);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(217,182,74,0.5);
  transition: transform var(--duration-base) var(--ease-out-expo),
              background var(--duration-fast) ease;
  will-change: transform;
  z-index: 2;
}

.play-btn svg { margin-left: 3px; }

.video-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--gold-bright);
}

.video-duration {
  position: absolute;
  bottom: var(--s2);
  right: var(--s2);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--white);
  z-index: 2;
}

.video-body {
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex: 1;
}

.video-category {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.video-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

.video-meta {
  font-size: 0.72rem;
  color: var(--white-faint);
  margin-top: auto;
}

/* ══════════════════════════════════════════════════════════
   RESURSI PAGE — Resource download cards
   ══════════════════════════════════════════════════════════ */

.resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

@media (min-width: 860px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }

.resource-card {
  background: linear-gradient(150deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%), var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.resource-card:hover {
  border-color: rgba(217,182,74,0.25);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(217,182,74,0.08);
}

/* Top accent line */
.resource-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright), var(--gold-dim));
}

.resource-visual {
  padding: var(--s6) var(--s6) var(--s4);
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
}

.resource-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  background: var(--gold-glow);
  border: 1px solid rgba(217,182,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.resource-visual h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: var(--s2); }
.resource-visual p  { font-size: 0.8rem; color: var(--white-dim); line-height: 1.6; }

.resource-details {
  padding: 0 var(--s6) var(--s4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.resource-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: var(--black-soft);
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--white-faint);
}

/* Download form section */
.resource-form-wrap {
  padding: var(--s4) var(--s6) var(--s6);
  border-top: 1px solid var(--black-border);
  margin-top: auto;
}

.resource-form-wrap .form-group { margin-bottom: var(--s3); }

.resource-form-wrap .form-input {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  min-height: 46px;
}

.resource-form-wrap .btn {
  width: 100%;
  justify-content: center;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
}

.resource-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s3);
  padding: var(--s5) 0;
}

.resource-success.visible { display: flex; }
.resource-success .ok-icon { font-size: 2rem; }
.resource-success h4 { font-size: 0.95rem; font-weight: 700; }
.resource-success p { font-size: 0.8rem; color: var(--white-dim); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   INDEX v2 — ENTERPRISE COMPONENTS
   Ticker · Architecture · AI Terminal · VIP Portal · Barriers
   ══════════════════════════════════════════════════════════ */

/* ── Language switcher ─────────────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  color: var(--white-faint);
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
  text-decoration: none;
}

.lang-switch a:hover          { color: var(--white-dim); }
.lang-switch a.active         { color: var(--gold); background: var(--gold-glow-sm); }
.lang-switch .sep             { color: var(--white-faint); font-size: 0.55rem; opacity: 0.4; }

/* ── Scrolling ticker ──────────────────────────────────── */
.ticker-wrap {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(217,182,74,0.06) 0%, rgba(217,182,74,0.03) 50%, rgba(217,182,74,0.06) 100%);
  border-top: 1px solid rgba(217,182,74,0.12);
  border-bottom: 1px solid rgba(217,182,74,0.12);
  padding: 0.6rem 0;
  position: relative;
  z-index: 1;
  contain: paint;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before { left: 0;  background: linear-gradient(90deg, var(--black), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--black), transparent); }

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  white-space: nowrap;
}

.ticker-item .diamond {
  color: var(--gold);
  font-size: 0.5rem;
}

/* ── Hero enterprise grid ──────────────────────────────── */
.hero-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 520px;
}

@media (min-width: 640px) {
  .hero-status-grid { grid-template-columns: repeat(4, 1fr); }
}

.hero-status-item {
  background: var(--black-soft);
  padding: var(--s4) var(--s3);
  text-align: center;
}

.hero-status-item .val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hero-status-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-faint);
  display: block;
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Architecture visualization ────────────────────────── */
.arch-section {
  padding: var(--s9) 0;
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  align-items: center;
}

@media (min-width: 900px) {
  .arch-grid { grid-template-columns: 1fr 1fr; }
}

.arch-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.arch-node {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%), var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s5) var(--s4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s3);
  position: relative;
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.arch-node:hover {
  border-color: rgba(217,182,74,0.3);
  box-shadow: 0 0 30px rgba(217,182,74,0.08);
}

.arch-node--core {
  grid-column: 1 / -1;
  border-color: rgba(217,182,74,0.25);
  background: linear-gradient(135deg, rgba(217,182,74,0.08) 0%, rgba(217,182,74,0.02) 100%), var(--black-card);
}

.arch-node--core::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.arch-node-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--gold-glow);
  border: 1px solid rgba(217,182,74,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.arch-node-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.arch-node-desc {
  font-size: 0.75rem;
  color: var(--white-faint);
  line-height: 1.5;
}

/* Connector lines between nodes */
.arch-connector {
  position: absolute;
  background: linear-gradient(90deg, rgba(217,182,74,0.2), rgba(217,182,74,0.08));
  z-index: 0;
  pointer-events: none;
}

/* Online pulse dot on arch nodes */
.arch-online {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: #5aeabc;
}

.arch-online::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #5aeabc;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ── Barriers section (numbered problems) ──────────────── */
.barriers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 700px) { .barriers-grid { grid-template-columns: repeat(3, 1fr); } }

.barrier-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s6) var(--s5);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}

.barrier-card:hover {
  border-color: rgba(217,182,74,0.2);
  transform: translateY(-4px);
}

.barrier-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--gold);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: var(--s3);
  right: var(--s4);
  pointer-events: none;
}

.barrier-icon {
  font-size: 1.8rem;
  margin-bottom: var(--s4);
  display: block;
}

.barrier-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--s3);
  line-height: 1.3;
}

.barrier-card p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ── AI Terminal block ─────────────────────────────────── */
.terminal-section {
  padding: var(--s9) 0;
}

.terminal-outer {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(155deg, rgba(217,182,74,0.06) 0%, rgba(217,182,74,0.02) 40%, var(--black-card) 100%);
  border: 1px solid rgba(217,182,74,0.22);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(217,182,74,0.08), 0 24px 60px rgba(0,0,0,0.5);
}

.terminal-outer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.terminal-header {
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid rgba(217,182,74,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

.terminal-title-block {
  display: flex;
  align-items: center;
  gap: var(--s3);
}

.terminal-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  border: 1px solid rgba(217,182,74,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  position: relative;
}

.terminal-avatar::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 9px; height: 9px;
  background: #5aeabc;
  border-radius: 50%;
  border: 2px solid var(--black-card);
  animation: pulse 2s ease-in-out infinite;
}

.terminal-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.terminal-status-line {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--white-faint);
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-status-line .dot-green {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #5aeabc;
  animation: pulse 1.6s ease-in-out infinite;
}

.terminal-badges {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}

.terminal-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-full);
  border: 1px solid;
}

.terminal-badge--secure {
  background: rgba(90,234,188,0.08);
  border-color: rgba(90,234,188,0.2);
  color: #5aeabc;
}

.terminal-badge--ai {
  background: rgba(217,182,74,0.08);
  border-color: rgba(217,182,74,0.2);
  color: var(--gold-dim);
}

/* Chat messages area */
.terminal-messages {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  min-height: 180px;
}

.msg {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}

.msg--ai { flex-direction: row; }
.msg--user { flex-direction: row-reverse; }

.msg-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}

.msg--ai .msg-avatar {
  background: var(--gold-glow);
  border: 1px solid rgba(217,182,74,0.2);
}

.msg--user .msg-avatar {
  background: var(--black-border);
  color: var(--white-dim);
}

.msg-bubble {
  padding: var(--s3) var(--s4);
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 78%;
}

.msg--ai .msg-bubble {
  background: rgba(217,182,74,0.07);
  border: 1px solid rgba(217,182,74,0.15);
  color: var(--white);
  border-bottom-left-radius: 4px;
}

.msg--user .msg-bubble {
  background: var(--black-soft);
  border: 1px solid var(--black-border);
  color: var(--white-dim);
  border-bottom-right-radius: 4px;
  text-align: right;
}

/* Input row */
.terminal-input-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s5) var(--s5);
  border-top: 1px solid rgba(217,182,74,0.1);
}

.terminal-input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.65rem 1.1rem;
  outline: none;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.terminal-input::placeholder { color: var(--white-faint); }

.terminal-input:focus {
  border-color: rgba(217,182,74,0.45);
  box-shadow: 0 0 0 3px rgba(217,182,74,0.1);
}

.terminal-send {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.65rem 1.25rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: var(--r-full);
  cursor: pointer;
  border: none;
  transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
  white-space: nowrap;
}

.terminal-send:hover { background: var(--gold-bright); transform: translateY(-1px); }
.terminal-send:active { transform: scale(0.97); }

.terminal-msg-count {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--white-faint);
  padding: 0 var(--s5) var(--s3);
  text-align: right;
}

/* ── VIP Portal block ──────────────────────────────────── */
.portal-section {
  padding: var(--s9) 0;
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
}

.portal-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  align-items: center;
}

@media (min-width: 900px) {
  .portal-inner { grid-template-columns: 1fr 1fr; }
}

/* Portal mock dashboard */
.portal-dashboard {
  background: var(--black-card);
  border: 1px solid rgba(217,182,74,0.2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(217,182,74,0.06);
}

.portal-dash-bar {
  background: var(--black-soft);
  border-bottom: 1px solid var(--black-border);
  padding: 0.6rem var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.portal-dash-bar .dots { display: flex; gap: 5px; }
.portal-dash-bar .dots span { width: 8px; height: 8px; border-radius: 50%; }

.portal-url {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--white-faint);
  letter-spacing: 0.08em;
}

.portal-dash-body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.portal-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

.portal-kpi {
  background: var(--black-soft);
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  padding: var(--s3);
  text-align: center;
}

.portal-kpi .k-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.portal-kpi .k-lbl {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-top: 3px;
  display: block;
}

.portal-kpi .k-trend {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #5aeabc;
  display: block;
  margin-top: 2px;
}

/* Position bars */
.portal-bar-row {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.portal-bar-item {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  align-items: center;
  gap: var(--s2);
}

.portal-bar-keyword {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--white-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-bar-track {
  background: var(--black-border);
  border-radius: var(--r-full);
  height: 5px;
  overflow: hidden;
}

.portal-bar-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
  transition: width 1.2s var(--ease-out-expo);
}

.portal-bar-pos {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gold);
  text-align: right;
}

/* VIP Access form */
.portal-access-form {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.portal-access-form .form-input {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Process timeline (numbered steps) ─────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 700px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  position: relative;
  transition: border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}

.process-step:hover {
  border-color: rgba(217,182,74,0.2);
  transform: translateY(-3px);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.process-step-num::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold-dim);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--s3);
}

.process-step p {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.65;
}

.process-step .step-day {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-faint);
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  padding: 2px 8px;
  margin-bottom: var(--s3);
}

/* ══════════════════════════════════════════════════════════
   STORE PAGE — Digital products + checkout modal
   ══════════════════════════════════════════════════════════ */

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}
@media (min-width: 600px)  { .store-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1020px) { .store-grid { grid-template-columns: repeat(4,1fr); } }

.product-card {
  background: linear-gradient(150deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.008) 100%), var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-base) ease,
              transform     var(--duration-base) var(--ease-out-expo),
              box-shadow    var(--duration-base) ease;
  will-change: transform;
  cursor: pointer;
}

.product-card--print .product-thumb {
  background: linear-gradient(135deg, rgba(217,182,74,.14), rgba(255,255,255,.025)), var(--black-soft);
}

.product-card--dynamic {
  animation: cardIn 420ms var(--ease-out-expo) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.product-card:hover {
  border-color: rgba(217,182,74,0.28);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(217,182,74,0.1);
}

.product-thumb {
  aspect-ratio: 4/3;
  background: var(--black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
}

.product-thumb .prod-icon {
  font-size: 3.5rem;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(217,182,74,0.3));
  transition: transform var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}

.product-card:hover .prod-icon { transform: scale(1.1); }

.product-tag {
  position: absolute;
  top: var(--s3);
  left: var(--s3);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-full);
  backdrop-filter: blur(8px);
}

.product-tag--pdf      { background: rgba(90,234,188,0.15); border: 1px solid rgba(90,234,188,0.3); color: #5aeabc; }
.product-tag--template { background: rgba(217,182,74,0.15); border: 1px solid rgba(217,182,74,0.3); color: var(--gold-bright); }
.product-tag--course   { background: rgba(160,168,255,0.15); border: 1px solid rgba(160,168,255,0.3); color: #a0a8ff; }
.product-tag--bundle   { background: rgba(255,160,90,0.15);  border: 1px solid rgba(255,160,90,0.3);  color: #ffb470; }
.product-tag--print    { background: rgba(255,255,255,0.1);  border: 1px solid rgba(217,182,74,0.28); color: var(--gold); }

.product-body {
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}

.product-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-card p {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.6;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s5) var(--s5);
  border-top: 1px solid var(--black-border);
  margin-top: auto;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-price .amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  line-height: 1;
}

.product-price .currency {
  font-size: 0.8rem;
  color: var(--gold-dim);
  font-weight: 600;
}

.product-price .old-price {
  font-size: 0.78rem;
  color: var(--white-faint);
  text-decoration: line-through;
  margin-left: 4px;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.55rem 1.1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) ease,
              transform  var(--duration-fast) ease,
              box-shadow var(--duration-fast) ease;
  white-space: nowrap;
  will-change: transform;
}

.btn-buy:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217,182,74,0.4);
}

.btn-buy:active { transform: scale(0.97); }

.product-remove {
  position: absolute;
  top: var(--s3);
  right: var(--s3);
  z-index: 4;
  display: none;
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  background: rgba(5,5,7,.85);
  border: 1px solid rgba(217,182,74,.25);
  color: var(--gold);
  font-size: 1.1rem;
}

body.admin-unlocked .product-remove {
  display: grid;
  place-items: center;
}

/* ── Checkout modal ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(5,5,7,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s5);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out-expo),
              visibility 0s linear var(--duration-base);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity var(--duration-base) var(--ease-out-expo),
              visibility 0s linear 0s;
}

.modal-box {
  background: linear-gradient(155deg, rgba(217,182,74,0.06) 0%, rgba(255,255,255,0.02) 100%), var(--black-card);
  border: 1px solid rgba(217,182,74,0.25);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s6);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}

.modal-close {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--white-dim);
  cursor: pointer;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.modal-close:hover { background: var(--gold-glow); color: var(--gold); }

.modal-product-preview {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  background: var(--black-soft);
  border: 1px solid var(--black-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--s5);
}

.modal-product-icon { font-size: 2rem; flex-shrink: 0; }
.modal-product-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.modal-product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

/* ── Store features strip ──────────────────────────────── */
.store-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: center;
  padding: var(--s5) 0;
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  margin-bottom: var(--s7);
}

.store-feature {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.8rem;
  color: var(--white-dim);
}

.store-feature .icon { font-size: 1rem; }

/* ══════════════════════════════════════════════════════════
   VIP CLIENT PORTAL — client-template.html
   ══════════════════════════════════════════════════════════ */

/* Locked / auth wall */
.portal-auth-wall {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s8) var(--s5);
  text-align: center;
  position: relative;
}

.portal-auth-wall .hero-glow { opacity: 0.6; }

.portal-auth-card {
  background: linear-gradient(155deg, rgba(217,182,74,0.07) 0%, var(--black-card) 100%);
  border: 1px solid rgba(217,182,74,0.22);
  border-radius: var(--r-xl);
  padding: var(--s7) var(--s6);
  max-width: 440px;
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 60px rgba(217,182,74,0.08), 0 24px 60px rgba(0,0,0,0.5);
}

.portal-auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.portal-logo-icon {
  width: 64px; height: 64px;
  border-radius: var(--r-lg);
  background: var(--gold-glow);
  border: 1px solid rgba(217,182,74,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--s5);
  box-shadow: 0 0 24px rgba(217,182,74,0.2);
}

/* Dashboard layout (shown after login) */
.portal-layout {
  display: none;
  min-height: 100svh;
  flex-direction: column;
}

.portal-layout.visible { display: flex; }

.portal-topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(5,5,7,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  padding: var(--s3) 0;
}

.portal-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

.portal-client-id {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-faint);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.portal-client-id .id-val {
  color: var(--gold);
  font-weight: 700;
}

.portal-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: rgba(90,234,188,0.1);
  border: 1px solid rgba(90,234,188,0.25);
  border-radius: var(--r-full);
  color: #5aeabc;
}

/* Dashboard grid */
.portal-content {
  padding: var(--s6) 0 var(--s9);
  flex: 1;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 700px)  { .portal-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1100px) { .portal-grid { grid-template-columns: repeat(3,1fr); } }

.portal-widget {
  background: linear-gradient(150deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%), var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--duration-base) ease;
}

.portal-widget:hover { border-color: rgba(217,182,74,0.18); }

.portal-widget--wide { grid-column: 1 / -1; }

.widget-head {
  padding: var(--s4) var(--s5);
  border-bottom: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.widget-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.widget-title::before { content: '◆'; font-size: 0.45rem; color: var(--gold); }

.widget-updated {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--white-faint);
}

.widget-body { padding: var(--s5); }

/* Big KPI inside widget */
.widget-kpi {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  margin-bottom: var(--s2);
}

.widget-kpi .big {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
}

.widget-kpi .big.positive { color: #5aeabc; }
.widget-kpi .big.neutral  { color: var(--gold); }

.widget-kpi .trend {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.widget-kpi .trend.up   { color: #5aeabc; }
.widget-kpi .trend.down { color: #e05a5a; }

.widget-sublabel {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-faint);
}

/* Position table inside widget */
.pos-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.pos-table th {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-faint);
  text-align: left;
  padding: var(--s2) var(--s3);
  border-bottom: 1px solid var(--black-border);
}

.pos-table td {
  padding: var(--s3);
  border-bottom: 1px solid rgba(30,30,42,0.6);
  color: var(--white-dim);
  vertical-align: middle;
}

.pos-table tr:last-child td { border-bottom: none; }

.pos-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.pos-change {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--r-sm);
}

.pos-change.up   { background: rgba(90,234,188,0.1); color: #5aeabc; }
.pos-change.same { background: rgba(152,152,168,0.1); color: var(--white-faint); }
.pos-change.down { background: rgba(224,90,90,0.1); color: #e05a5a; }

/* Activity feed */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.activity-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid rgba(30,30,42,0.5);
}

.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  justify-self: center;
}

.activity-dot.green  { background: #5aeabc; box-shadow: 0 0 6px rgba(90,234,188,0.5); }
.activity-dot.gold   { background: var(--gold); box-shadow: 0 0 6px rgba(217,182,74,0.4); }
.activity-dot.blue   { background: #88bbff; }
.activity-dot.orange { background: #ffb470; }

.activity-text { font-size: 0.82rem; color: var(--white-dim); line-height: 1.5; }
.activity-text strong { color: var(--white); }
.activity-time { font-family: var(--font-mono); font-size: 0.6rem; color: var(--white-faint); white-space: nowrap; }

/* Logout button */
.portal-logout {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faint);
  padding: 5px 12px;
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  cursor: pointer;
  background: none;
  transition: border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.portal-logout:hover { border-color: rgba(217,182,74,0.3); color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   LEGAL PAGES — politika, uslovi
   ══════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: var(--s7) 0 var(--s3);
  padding-top: var(--s4);
  border-top: 1px solid var(--black-border);
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { margin-top: var(--s5); border-top: none; }
.legal-content h3 { font-size: 1rem; font-weight: 600; margin: var(--s4) 0 var(--s2); }
.legal-content p  { font-size: .88rem; color: var(--white-dim); line-height: 1.8; margin-bottom: var(--s4); }
.legal-content ul { list-style: none; display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s4); }
.legal-content ul li {
  display: flex; align-items: flex-start; gap: var(--s2);
  font-size: .88rem; color: var(--white-dim); line-height: 1.6;
}
.legal-content ul li::before { content: '◆'; color: var(--gold-dim); font-size: .55rem; margin-top: 4px; flex-shrink: 0; }
.legal-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--white); font-weight: 600; }
.legal-toc {
  background: var(--black-card); border: 1px solid var(--black-border);
  border-radius: var(--r-lg); padding: var(--s5); margin-bottom: var(--s7);
}
.legal-toc h3 { font-size: .72rem; font-family: var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: var(--s3); }
.legal-toc ol { list-style: none; display: flex; flex-direction: column; gap: 6px; counter-reset: toc-counter; }
.legal-toc ol li { counter-increment: toc-counter; display: flex; gap: var(--s2); font-size: .82rem; }
.legal-toc ol li::before { content: counter(toc-counter) '.'; font-family: var(--font-mono); font-size: .65rem; color: var(--gold-dim); min-width: 16px; }
.legal-toc a { color: var(--white-dim); text-decoration: none; transition: color var(--duration-fast) ease; }
.legal-toc a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════ */
.error-page {
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: var(--s8) var(--s5);
  position: relative; overflow: hidden;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 25vw, 16rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  background: linear-gradient(135deg, rgba(217,182,74,0.15) 0%, rgba(217,182,74,0.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.error-content { position: relative; z-index: 1; max-width: 520px; }

/* ══════════════════════════════════════════════════════════
   WEBINAR-POST — AI generated article template
   ══════════════════════════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s7);
  align-items: start;
}
@media (min-width: 1020px) {
  .article-layout { grid-template-columns: 1fr 300px; }
}
.article-body h2 { font-size: 1.25rem; font-weight: 700; margin: var(--s6) 0 var(--s3); color: var(--white); }
.article-body h3 { font-size: 1rem; font-weight: 600; margin: var(--s5) 0 var(--s2); color: var(--gold-bright); }
.article-body p  { font-size: .92rem; color: var(--white-dim); line-height: 1.85; margin-bottom: var(--s4); }
.article-body ul { list-style: none; display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s5); }
.article-body ul li { display: flex; align-items: flex-start; gap: var(--s3); font-size: .9rem; color: var(--white-dim); line-height: 1.6; }
.article-body ul li::before { content: '◆'; color: var(--gold); font-size: .55rem; margin-top: 5px; flex-shrink: 0; }
.article-body blockquote {
  border-left: 3px solid var(--gold); padding: var(--s4) var(--s5);
  background: var(--gold-glow-sm); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  margin: var(--s5) 0; font-style: italic; color: var(--white); font-size: .95rem; line-height: 1.7;
}
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-bottom: var(--s6); }
.article-tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--r-full); background: var(--gold-glow-sm); border: 1px solid rgba(217,182,74,.2); color: var(--gold); }
.article-date { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; color: var(--white-faint); }
.article-sidebar { display: flex; flex-direction: column; gap: var(--s4); }
.sidebar-widget { background: var(--black-card); border: 1px solid var(--black-border); border-radius: var(--r-xl); padding: var(--s5); }
.sidebar-widget h4 { font-size: .72rem; font-family: var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: var(--s4); }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO / STUDIO / CERTIFIKAT / PARTNER
   ══════════════════════════════════════════════════════════ */
.portfolio-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s5);
}
@media (min-width: 600px)  { .portfolio-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(3,1fr); } }

.portfolio-card {
  background: var(--black-card); border: 1px solid var(--black-border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}
.portfolio-card:hover { border-color: rgba(217,182,74,.22); transform: translateY(-4px); }
.portfolio-thumb {
  aspect-ratio: 16/9; background: var(--black-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.portfolio-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.portfolio-body { padding: var(--s5); }
.portfolio-cat { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: var(--s2); }
.portfolio-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: var(--s2); }
.portfolio-card p  { font-size: .8rem; color: var(--white-dim); line-height: 1.6; }
.portfolio-results { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s3); }
.portfolio-result-pill { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; padding: 3px 9px; border-radius: var(--r-full); background: var(--gold-glow-sm); border: 1px solid rgba(217,182,74,.2); color: var(--gold); }

/* Cert card */
.cert-card {
  max-width: 480px; margin: 0 auto;
  background: linear-gradient(155deg, rgba(217,182,74,.09) 0%, var(--black-card) 100%);
  border: 2px solid rgba(217,182,74,.35); border-radius: var(--r-xl);
  padding: var(--s8) var(--s7); text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(217,182,74,.1), 0 24px 60px rgba(0,0,0,.5);
}
.cert-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cert-seal { font-size: 4rem; margin-bottom: var(--s4); filter: drop-shadow(0 0 16px rgba(217,182,74,.4)); }
.cert-name { font-family: var(--font-display); font-size: clamp(1.3rem,3vw,1.8rem); font-weight: 800; letter-spacing: -.02em; margin: var(--s3) 0; }
.cert-subtitle { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dim); }
.cert-id { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; color: var(--white-faint); margin-top: var(--s4); }

/* Partner tiers */
.partner-tiers { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
@media (min-width: 700px) { .partner-tiers { grid-template-columns: repeat(3,1fr); } }
.partner-tier {
  background: var(--black-card); border: 1px solid var(--black-border);
  border-radius: var(--r-xl); padding: var(--s6) var(--s5); text-align: center;
  display: flex; flex-direction: column; gap: var(--s3);
  transition: border-color var(--duration-base) ease, transform var(--duration-base) var(--ease-out-expo);
  will-change: transform;
}
.partner-tier:hover { border-color: rgba(217,182,74,.22); transform: translateY(-3px); }
.partner-tier-icon { font-size: 2.5rem; }
.partner-tier-name { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.partner-tier-commission { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; color: var(--gold); line-height: 1; }
.partner-tier p { font-size: .8rem; color: var(--white-dim); line-height: 1.6; }


/* lang switch u mobilnom meniju */
.menu-footer .lang-switch { display:flex; gap:var(--s2); align-items:center; font-family:var(--font-mono); font-size:.85rem; letter-spacing:.1em; margin-bottom:var(--s4); }
.menu-footer .lang-switch a { color:var(--white-dim); transition:color var(--duration-fast) ease; }
.menu-footer .lang-switch a.active { color:var(--gold); }
.menu-footer .lang-switch .sep { color:var(--white-faint); }

/* Owner command center */
.owner-dashboard-page .owner-shell {
  min-height: 100vh;
  padding-top: calc(var(--s6) + env(safe-area-inset-top));
}

.owner-container {
  max-width: 1240px;
}

.owner-logo {
  margin-bottom: var(--s6);
}

.owner-hero,
.owner-toolbar,
.owner-block__head,
.owner-node__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
}

.owner-hero {
  margin-bottom: var(--s5);
}

.owner-hero .display-2 {
  margin: var(--s3) 0 var(--s3);
}

.owner-session,
.owner-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border-radius: var(--r-full);
  border: 1px solid var(--black-border);
  padding: .42rem .72rem;
  font: 700 .68rem var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white-dim);
  background: rgba(255,255,255,.035);
}

.owner-session.is-on,
.owner-pill.is-ok {
  color: #5aeabc;
  border-color: rgba(90,234,188,.28);
  background: rgba(90,234,188,.08);
}

.owner-pill.is-warn {
  color: var(--gold);
  border-color: rgba(217,182,74,.32);
  background: rgba(217,182,74,.08);
}

.owner-login-card,
.owner-card,
.owner-node,
.owner-kpi,
.site-map-card {
  border: 1px solid var(--black-border);
  background:
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    var(--black-card);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.owner-login-card {
  padding: var(--s5);
  margin-bottom: var(--s6);
}

.owner-login-form,
.owner-mini-form {
  display: grid;
  gap: var(--s3);
}

.owner-login-form {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
}

.owner-login-form label,
.owner-mini-form label {
  display: grid;
  gap: 7px;
  font: 700 .68rem var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.owner-login-form input,
.owner-mini-form input,
.owner-mini-form textarea,
.owner-mini-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  background: rgba(5,5,7,.78);
  color: var(--white);
  padding: .78rem .9rem;
  font: 500 .92rem var(--font-body);
}

.owner-mini-form textarea {
  min-height: 96px;
  resize: vertical;
}

.owner-panel {
  display: grid;
  gap: var(--s6);
}

.owner-login-card[hidden],
.owner-panel[hidden] {
  display: none !important;
}

.owner-kpi-grid,
.owner-node-grid,
.owner-action-grid,
.site-map-grid {
  display: grid;
  gap: var(--s4);
  align-items: start;
}

.owner-kpi-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owner-node-grid,
.owner-action-grid,
.site-map-grid {
  grid-template-columns: 1fr;
}

.owner-kpi,
.owner-card,
.owner-node,
.site-map-card {
  padding: var(--s5);
  min-width: 0;
}

.owner-kpi strong,
.owner-node__temp {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  line-height: .95;
}

.owner-kpi strong {
  font-size: clamp(1.7rem, 5vw, 3rem);
}

.owner-kpi span {
  display: block;
  margin-top: var(--s2);
  color: var(--white-dim);
  font-size: .82rem;
}

.owner-block {
  display: grid;
  gap: var(--s4);
}

.owner-block__head p {
  max-width: 420px;
  color: var(--white-dim);
  line-height: 1.6;
}

.owner-two-col {
  display: grid;
  gap: var(--s4);
}

.owner-card {
  position: relative;
  overflow: hidden;
}

.owner-card .blog-tag {
  position: static;
  display: inline-flex;
  width: max-content;
  margin-bottom: var(--s3);
}

.owner-card h2,
.owner-block h2,
.owner-toolbar h2,
.site-map-card h2 {
  margin: 0 0 var(--s3);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

.owner-node__name {
  font-weight: 800;
  color: var(--white);
}

.owner-node__temp {
  margin: var(--s4) 0 var(--s2);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.owner-mini-metrics,
.owner-status-list {
  display: grid;
  gap: var(--s2);
  margin-top: var(--s4);
}

.owner-mini-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.owner-mini-metrics span,
.owner-status-list span {
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  background: rgba(5,5,7,.42);
  padding: .68rem .75rem;
  color: var(--white-dim);
  font-size: .78rem;
  line-height: 1.35;
}

.owner-mini-metrics strong,
.owner-status-list strong {
  color: var(--white);
}

.owner-form-status {
  min-height: 1.2em;
  color: var(--white-dim);
  font-size: .78rem;
}

/* Clean site map */
.site-map-hero {
  padding-bottom: var(--s5);
}

.site-map-hero .display-2 {
  margin: var(--s3) 0;
}

.site-map-section {
  padding-top: 0;
}

.center-launch { padding:0 0 var(--s7); }
.center-launch-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--s3); }
.center-launch-grid a { position:relative; display:grid; gap:var(--s2); min-height:150px; padding:var(--s5); border:1px solid var(--black-border); border-radius:var(--r-xl); background:linear-gradient(145deg,rgba(217,182,74,.08),rgba(255,255,255,.01)); overflow:hidden; transition:transform .25s ease,border-color .25s ease; }
.center-launch-grid a::after { content:"→"; position:absolute; right:var(--s4); bottom:var(--s4); color:var(--gold); font-size:1.3rem; }
.center-launch-grid a:hover { transform:translateY(-5px); border-color:rgba(217,182,74,.5); }
.center-launch-grid span { color:var(--gold); font:700 .58rem var(--font-mono); letter-spacing:.18em; }
.center-launch-grid strong { color:var(--white); font:800 clamp(1rem,2vw,1.35rem) var(--font-display); }
.center-launch-grid small { color:var(--white-dim); }

.site-map-card {
  display: grid;
  gap: var(--s3);
}

.site-map-card > span {
  display: inline-flex;
  width: max-content;
  border: 1px solid rgba(217,182,74,.28);
  border-radius: var(--r-full);
  padding: .28rem .65rem;
  background: rgba(217,182,74,.08);
  color: var(--gold);
  font: 800 .62rem var(--font-mono);
  letter-spacing: .16em;
}

.site-map-card p {
  margin: 0;
  color: var(--white-dim);
  line-height: 1.6;
}

.site-map-card--owner {
  border-color: rgba(217,182,74,.28);
}

.site-map-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
  margin-top: var(--s2);
}

.site-map-links a {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  padding: .78rem .9rem;
  background: rgba(5,5,7,.38);
  color: var(--white);
  font-weight: 700;
}

.site-map-links a::after {
  content: ">";
  color: var(--gold);
}

.language-prep-card {
  max-width: 760px;
}

@media (min-width: 760px) {
  .owner-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .owner-node-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .owner-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owner-two-col { grid-template-columns: 1fr 1fr; }
  .site-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) { .center-launch-grid { grid-template-columns:1fr; } .center-launch-grid a { min-height:120px; } }

@media (min-width: 1120px) {
  .site-map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .owner-hero,
  .owner-toolbar,
  .owner-block__head,
  .owner-node__top {
    display: grid;
  }

  .owner-login-form {
    grid-template-columns: 1fr;
  }

  .owner-mini-metrics {
    grid-template-columns: 1fr;
  }
}

.owner-action-grid--compact {
  margin-top: var(--s5);
}

.owner-card--wide {
  grid-column: 1 / -1;
}

.owner-mini-form select,
.owner-mini-form input[type="file"] {
  width: 100%;
}

.academy-chat-open {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: .85rem 1.2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(217,182,74,.24);
  border-radius: var(--r-full);
  color: var(--white);
  text-align: left;
  transition: border-color var(--duration-fast) ease,
              background var(--duration-fast) ease,
              transform var(--duration-fast) ease;
}

.academy-chat-open span {
  color: var(--white-dim);
  font-size: .92rem;
}

.academy-chat-open strong {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--black);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .4rem .85rem;
  border-radius: var(--r-full);
}

.academy-chat-open:hover {
  border-color: rgba(217,182,74,.55);
  background: rgba(217,182,74,.08);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .academy-chat-open {
    align-items: stretch;
    flex-direction: column;
    border-radius: var(--r-lg);
  }

  .academy-chat-open strong {
    text-align: center;
  }
}

/* =========================================================
   REAL CLIENT ADMIN + VIP PORTAL
   ========================================================= */
.back-link {
  display: block;
  width: fit-content;
  margin-bottom: var(--s4);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
}

.client-admin-hero { align-items: flex-end; }
.client-form-card { margin-top: var(--s5); }
.client-company-form { display: grid; gap: var(--s5); }

.client-form-step {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--black-border);
}

.client-form-step:first-of-type { padding-top: 0; border-top: 0; }
.client-form-step div { display: grid; gap: 3px; }
.client-form-step strong { font-size: .92rem; color: var(--white); }
.client-form-step small { color: var(--white-dim); line-height: 1.45; }

.client-step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(217,182,74,.38);
  border-radius: 50%;
  background: rgba(217,182,74,.1);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-weight: 800;
}

.client-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
}

.client-channel-grid label {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 46px;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.02);
  color: var(--white-dim);
  cursor: pointer;
}

.client-channel-grid label:has(input:checked) {
  border-color: rgba(217,182,74,.45);
  background: rgba(217,182,74,.08);
  color: var(--white);
}

.client-channel-grid input { accent-color: var(--gold); }
.client-report-settings { margin-top: calc(var(--s3) * -1); }
.client-list-section { margin-top: var(--s8); }
.client-admin-list { display: grid; gap: var(--s4); }
.client-company-card { padding: clamp(1.15rem, 3vw, 1.8rem); }

.client-company-head,
.client-company-meta,
.client-social-links,
.client-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
}

.client-company-head { justify-content: space-between; align-items: flex-start; }
.client-company-head h2 { margin-top: var(--s2); }
.client-company-meta { margin: var(--s4) 0; }

.client-company-meta span {
  min-width: 180px;
  padding: .72rem .85rem;
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
  background: rgba(0,0,0,.22);
  color: var(--white-dim);
  font-size: .76rem;
}

.client-company-meta strong { color: var(--white); }
.client-company-meta a,
.client-social-links a { color: var(--gold); }
.client-social-links { margin-bottom: var(--s4); font-size: .78rem; }
.client-social-links a { padding: .35rem .65rem; border: 1px solid rgba(217,182,74,.22); border-radius: var(--r-full); }
.client-code-note { margin-top: var(--s3); }
.client-card-status { min-height: 1.3rem; margin-top: var(--s2); color: var(--gold); font-size: .78rem; }

.danger-button { color: #ff8b8b; border-color: rgba(255,90,90,.2); }
.danger-button:hover { color: #ffb0b0; border-color: rgba(255,90,90,.5); }
.client-report-form { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--black-border); }
.client-report-form h3 { margin-bottom: var(--s4); }

.owner-image-picker { display: grid; gap: var(--s2); }
.owner-image-preview {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border: 1px solid var(--black-border);
  border-radius: var(--r-md);
}

.product-thumb.has-image { padding: 0; }
.product-thumb .product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.product-thumb.has-image::after { z-index: 1; background: linear-gradient(180deg, rgba(5,5,7,.04), rgba(5,5,7,.78)); }
.product-thumb.has-image .product-tag,
.product-thumb.has-image .product-remove { z-index: 2; }

/* VIP client view */
.vip-real-page { min-height: 100vh; background: #050507; }
.vip-login {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 1.25rem;
  overflow: hidden;
}

.vip-login::after {
  content: '';
  position: absolute;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,182,74,.15), transparent 68%);
  filter: blur(18px);
  animation: vipGlow 7s ease-in-out infinite alternate;
}

@keyframes vipGlow { to { transform: translate3d(5vw,-3vh,0) scale(1.08); } }

.vip-login-card {
  position: relative;
  z-index: 2;
  width: min(610px, 100%);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgba(217,182,74,.28);
  border-radius: clamp(1.2rem, 4vw, 2rem);
  background: linear-gradient(150deg, rgba(24,24,34,.94), rgba(8,8,12,.97));
  box-shadow: 0 35px 100px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.04);
}

.vip-logo { display: inline-flex; margin-bottom: var(--s7); }
.vip-login-card .label { display: block; margin-bottom: var(--s3); }
.vip-login-card h1 { font-size: clamp(2rem, 7vw, 3.8rem); line-height: .98; letter-spacing: -.05em; margin-bottom: var(--s4); }
.vip-login-card h1 span { color: var(--gold-bright); }
.vip-login-card > p { color: var(--white-dim); line-height: 1.7; }
.vip-login-card > small { display: block; margin-top: var(--s5); color: var(--white-faint); }
.vip-login-card > small a { color: var(--gold); }
.vip-login-form { display: grid; gap: var(--s2); margin-top: var(--s5); }
.vip-login-form > label { font-size: .74rem; color: var(--white-dim); }
.vip-login-form > div { display: flex; gap: var(--s2); }
.vip-login-form input {
  min-width: 0;
  flex: 1;
  padding: 1rem 1.1rem;
  border: 1px solid var(--black-border);
  border-radius: var(--r-full);
  background: rgba(0,0,0,.45);
  color: var(--white);
  outline: none;
}
.vip-login-form input:focus { border-color: rgba(217,182,74,.6); box-shadow: 0 0 0 3px rgba(217,182,74,.08); }
#vip-login-status { min-height: 1.25rem; color: #ff9a9a; font-size: .78rem; }

.vip-dashboard { min-height: 100vh; }
.vip-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--black-border);
  background: rgba(5,5,7,.9);
  backdrop-filter: blur(22px);
}
.vip-topbar-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s5); min-height: 76px; }
.vip-topbar .vip-logo { margin: 0; }
.vip-client-heading { display: grid; justify-items: center; gap: 2px; }
.vip-client-heading small { color: var(--gold); font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em; }
.vip-client-heading strong { font-size: .92rem; }

.vip-section-nav { border-bottom: 1px solid var(--black-border); background: #08080c; overflow-x: auto; }
.vip-section-nav .container { display: flex; gap: var(--s5); }
.vip-section-nav a { padding: .85rem 0; color: var(--white-dim); font-size: .78rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.vip-section-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.vip-main { padding: var(--s7) 0 var(--s9); }
.vip-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); margin-bottom: var(--s6); }
.vip-welcome h1 { margin: var(--s2) 0; font-size: clamp(1.8rem, 4vw, 3.3rem); }
.vip-welcome p { max-width: 720px; color: var(--white-dim); line-height: 1.65; }
.vip-sync { display: flex; align-items: center; gap: var(--s3); min-width: 230px; padding: var(--s3) var(--s4); border: 1px solid rgba(90,234,188,.2); border-radius: var(--r-lg); background: rgba(90,234,188,.05); }
.vip-sync .dot { width: 8px; height: 8px; border-radius: 50%; background: #5aeabc; box-shadow: 0 0 14px rgba(90,234,188,.7); }
.vip-sync div { display: grid; gap: 2px; }
.vip-sync small { color: var(--white-faint); font-size: .62rem; }
.vip-sync strong { color: #8ff2cf; font-size: .72rem; }

.vip-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin-bottom: var(--s4); }
.vip-kpi-grid article,
.vip-panel { border: 1px solid var(--black-border); border-radius: var(--r-xl); background: linear-gradient(150deg, rgba(255,255,255,.03), rgba(255,255,255,.008)), var(--black-card); }
.vip-kpi-grid article { display: grid; gap: var(--s2); padding: var(--s5); min-height: 154px; }
.vip-kpi-grid span { color: var(--white-dim); font-size: .72rem; }
.vip-kpi-grid strong { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.45rem); color: var(--gold-bright); }
.vip-kpi-grid strong.is-good,
.vip-status-list strong.is-good { color: #7cf0c7; }
.vip-kpi-grid small { color: var(--white-faint); font-size: .66rem; line-height: 1.45; }

.vip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-bottom: var(--s4); }
.vip-panel { padding: clamp(1.1rem, 3vw, 1.75rem); scroll-margin-top: 130px; }
.vip-panel-wide { grid-column: 1 / -1; margin-bottom: var(--s4); }
.vip-panel h2 { margin: var(--s3) 0 var(--s4); font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
.vip-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); }
.vip-panel-head h2 { margin-bottom: 0; }

.vip-report-content { margin-top: var(--s5); }
.vip-report-summary { padding: var(--s4); border-left: 3px solid var(--gold); border-radius: 0 var(--r-md) var(--r-md) 0; background: rgba(217,182,74,.06); }
.vip-report-summary p,
.vip-report-columns p { margin-top: var(--s2); color: var(--white-dim); line-height: 1.68; white-space: pre-line; }
.vip-report-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.vip-report-columns > div { padding: var(--s4); border: 1px solid var(--black-border); border-radius: var(--r-lg); background: rgba(0,0,0,.2); }

.vip-status-list { display: grid; gap: var(--s2); }
.vip-status-list div { display: grid; grid-template-columns: minmax(110px,.8fr) 1.2fr; gap: var(--s3); padding: .75rem .85rem; border: 1px solid var(--black-border); border-radius: var(--r-md); background: rgba(0,0,0,.22); }
.vip-status-list span { color: var(--white-dim); font-size: .72rem; }
.vip-status-list strong { text-align: right; font-size: .72rem; overflow-wrap: anywhere; }

.vip-metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.vip-metrics-grid > div { display: grid; gap: 4px; padding: var(--s4); border: 1px solid var(--black-border); border-radius: var(--r-lg); background: rgba(0,0,0,.2); }
.vip-metrics-grid strong { color: var(--gold-bright); font-size: 1.25rem; }
.vip-metrics-grid span { color: var(--white-faint); font-size: .68rem; }

.vip-timeline { display: grid; gap: var(--s4); }
.vip-timeline article { display: grid; grid-template-columns: 14px 1fr; gap: var(--s3); }
.vip-timeline-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(217,182,74,.5); }
.vip-timeline article > div { padding-bottom: var(--s4); border-bottom: 1px solid var(--black-border); }
.vip-timeline-head { display: flex; justify-content: space-between; gap: var(--s4); }
.vip-timeline-head small { color: var(--white-faint); }
.vip-timeline p { margin-top: var(--s2); color: var(--white-dim); line-height: 1.6; }

.vip-social-grid,
.vip-chip-grid { display: grid; gap: var(--s2); }
.vip-social-grid a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--s3); padding: .9rem 1rem; border: 1px solid var(--black-border); border-radius: var(--r-md); background: rgba(0,0,0,.2); }
.vip-social-grid a:hover { border-color: rgba(217,182,74,.4); }
.vip-social-grid small { color: var(--white-faint); }
.vip-social-grid b { color: var(--gold); }
.vip-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vip-chip-grid span { padding: .8rem .9rem; border: 1px solid rgba(217,182,74,.22); border-radius: var(--r-full); background: rgba(217,182,74,.06); color: var(--gold-bright); text-align: center; font-size: .75rem; }
.vip-trust-note { display: flex; align-items: flex-start; gap: var(--s4); border-color: rgba(90,234,188,.18); }
.vip-trust-note strong { color: #8ff2cf; white-space: nowrap; }
.vip-trust-note p,
.vip-empty,
.vip-empty-state p { color: var(--white-dim); line-height: 1.65; }
.vip-empty-state { text-align: center; padding: var(--s6); border: 1px dashed var(--black-border); border-radius: var(--r-lg); }
.vip-empty-state strong { color: var(--gold-bright); }

@media (max-width: 880px) {
  .vip-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-grid { grid-template-columns: 1fr; }
  .vip-panel-wide { grid-column: auto; }
  .vip-welcome { align-items: flex-start; flex-direction: column; }
  .vip-sync { min-width: 0; width: 100%; }
}

@media (max-width: 620px) {
  .client-admin-hero { align-items: flex-start; }
  .client-channel-grid { grid-template-columns: 1fr; }
  .client-card-actions .btn { width: 100%; }
  .vip-login-form > div { flex-direction: column; }
  .vip-login-form .btn { width: 100%; }
  .vip-topbar-inner { grid-template-columns: 1fr auto; min-height: 68px; }
  .vip-topbar .vip-logo { display: none; }
  .vip-client-heading { justify-items: start; }
  .vip-welcome { margin-bottom: var(--s4); }
  .vip-kpi-grid { grid-template-columns: 1fr 1fr; gap: var(--s2); }
  .vip-kpi-grid article { min-height: 132px; padding: var(--s4); }
  .vip-report-columns { grid-template-columns: 1fr; }
  .vip-panel-head { flex-direction: column; }
  .vip-status-list div { grid-template-columns: 1fr; }
  .vip-status-list strong { text-align: left; }
  .vip-metrics-grid { grid-template-columns: 1fr; }
  .vip-timeline-head { flex-direction: column; gap: var(--s2); }
  .vip-social-grid a { grid-template-columns: 1fr auto; }
  .vip-social-grid small { grid-column: 1 / -1; }
  .vip-trust-note { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .vip-login::after { animation: none; }
}

/* =========================================================
   HOMEPAGE CINEMATIC FIRST IMPRESSION
   ========================================================= */
.hero-stage {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero-stage .hero-content { max-width: 690px; min-width: 0; }
.hero-stage .hero-title {
  max-width: 100%;
  display: grid;
  justify-items: start;
  gap: clamp(.68rem,.75vw,.85rem);
  font-size: clamp(2.8rem, 3.7vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.hero-title-line { display:block; width:max-content; max-width:100%; }
.hero-title-final { white-space:nowrap; }
.hero-stage .hero-subtitle { max-width: 650px; }

.hero-cinematic {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
  filter: drop-shadow(0 38px 60px rgba(0,0,0,.55));
}

.hero-cinematic::before,
.hero-cinematic::after {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid rgba(217,182,74,.13);
  background: radial-gradient(circle at 48% 45%, rgba(217,182,74,.09), rgba(5,5,7,.1) 45%, transparent 70%);
}

.hero-cinematic::after {
  inset: 17%;
  border-color: rgba(217,182,74,.22);
  box-shadow: inset 0 0 50px rgba(217,182,74,.06), 0 0 70px rgba(217,182,74,.05);
}

.growth-core {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 37%;
  aspect-ratio: 1;
  box-sizing: border-box;
  gap: clamp(4px, .7vw, 8px);
  padding: 10%;
  overflow: hidden;
  text-align: center;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(217,182,74,.5);
  border-radius: 28%;
  background: linear-gradient(145deg, rgba(30,27,17,.98), rgba(8,8,12,.98));
  box-shadow: inset 0 0 35px rgba(217,182,74,.11), 0 0 55px rgba(217,182,74,.16), 0 25px 60px rgba(0,0,0,.7);
  animation: coreFloat 4.8s ease-in-out infinite;
}

.growth-core::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 23%;
}

.growth-core-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(38px, 4vw, 50px);
  height: clamp(38px, 4vw, 50px);
  margin: 0;
  border: 1px solid rgba(217,182,74,.45);
  border-radius: 16px;
  color: var(--gold-bright);
  font: 800 1.75rem/1 var(--font-display);
  box-shadow: inset 0 0 18px rgba(217,182,74,.13);
}

.growth-core small { display:block; color: var(--white-faint); font: 600 clamp(.38rem,.5vw,.48rem)/1 var(--font-mono); letter-spacing: .24em; }
.growth-core strong { display:block; width:100%; max-width:100%; margin:0 auto; color: var(--white); font: 800 clamp(.56rem,.78vw,.76rem)/1.02 var(--font-display); letter-spacing: .045em; overflow-wrap:normal; text-align:center; }
.growth-core > span { display: flex; align-items: center; gap: 6px; color: #77e7be; font: 600 .45rem/1 var(--font-mono); letter-spacing: .12em; }
.growth-core > span i { width: 5px; height: 5px; border-radius: 50%; background: #5aeabc; box-shadow: 0 0 10px #5aeabc; animation: pulse 1.6s ease-in-out infinite; }

.growth-orbit {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(217,182,74,.26);
  border-radius: 50%;
}

.growth-orbit::before,
.growth-orbit::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 18px rgba(238,203,95,.85);
}
.growth-orbit::before { left: -4px; }
.growth-orbit::after { right: -4px; }
.growth-orbit span { position: absolute; top: -10px; left: 50%; padding: 4px 8px; transform: translateX(-50%); border: 1px solid rgba(217,182,74,.22); border-radius: var(--r-full); background: #09090d; color: var(--gold); font: 600 .48rem/1 var(--font-mono); letter-spacing: .14em; }

.growth-orbit-one { width: 60%; height: 60%; margin: -30%; animation: orbitSpin 15s linear infinite; }
.growth-orbit-two { width: 78%; height: 45%; margin: -22.5% -39%; transform: rotate(53deg); animation: orbitSpinTilt 20s linear infinite reverse; }
.growth-orbit-three { width: 44%; height: 86%; margin: -43% -22%; transform: rotate(35deg); animation: orbitSpinTall 24s linear infinite; }

.hero-beam {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 94%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,182,74,.45), transparent);
  transform-origin: center;
  animation: beamSweep 6s ease-in-out infinite alternate;
}
.hero-beam-a { transform: translate(-50%,-50%) rotate(22deg); }
.hero-beam-b { transform: translate(-50%,-50%) rotate(-48deg); animation-delay: -3s; }

.growth-signal {
  position: absolute;
  z-index: 7;
  padding: .65rem .75rem;
  border: 1px solid rgba(217,182,74,.22);
  border-radius: .7rem;
  background: rgba(8,8,12,.88);
  box-shadow: 0 12px 30px rgba(0,0,0,.34);
  color: var(--white-dim);
  font: 600 .48rem/1 var(--font-mono);
  letter-spacing: .1em;
  backdrop-filter: blur(12px);
  animation: signalFloat 4.5s ease-in-out infinite;
}
.growth-signal b { margin-left: .55rem; color: #72e4bb; font-weight: 600; }
.signal-one { top: 12%; right: 0; }
.signal-two { left: -2%; bottom: 24%; animation-delay: -1.5s; }
.signal-three { right: 2%; bottom: 12%; animation-delay: -3s; }

.hero-particles i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: particlePulse 3s ease-in-out infinite; }
.hero-particles i:nth-child(1) { top: 8%; left: 32%; }
.hero-particles i:nth-child(2) { top: 31%; right: 4%; animation-delay: -.5s; }
.hero-particles i:nth-child(3) { right: 22%; bottom: 5%; animation-delay: -1s; }
.hero-particles i:nth-child(4) { left: 7%; bottom: 14%; animation-delay: -1.5s; }
.hero-particles i:nth-child(5) { top: 24%; left: 10%; animation-delay: -2s; }
.hero-particles i:nth-child(6) { top: 4%; right: 28%; animation-delay: -2.5s; }

@keyframes coreFloat { 0%,100% { transform: translate(-50%,-50%) translateY(-4px) rotate(-1deg); } 50% { transform: translate(-50%,-50%) translateY(6px) rotate(1deg); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinTilt { from { transform: rotate(53deg); } to { transform: rotate(413deg); } }
@keyframes orbitSpinTall { from { transform: rotate(35deg); } to { transform: rotate(395deg); } }
@keyframes beamSweep { from { opacity: .18; filter: blur(.2px); } to { opacity: .72; filter: blur(1px); } }
@keyframes signalFloat { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(5px); } }
@keyframes particlePulse { 0%,100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.5); } }

.decision-strip { padding: clamp(3.5rem,7vw,6.5rem) 0; border-bottom: 1px solid var(--black-border); background: linear-gradient(180deg, #08080c, #050507); scroll-margin-top: 80px; }
.decision-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s5); }
.decision-heading h2 { font-size: clamp(1.7rem,3.3vw,3rem); line-height: 1; }
.decision-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--s3); }
.decision-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s4); min-height: 180px; padding: clamp(1.1rem,2.5vw,1.65rem); border: 1px solid var(--black-border); border-radius: var(--r-xl); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.006)); transition: transform var(--duration-base) var(--ease-out-expo), border-color var(--duration-fast) ease, background var(--duration-fast) ease; }
.decision-card > span { align-self: start; color: var(--gold); font: 600 .62rem/1 var(--font-mono); letter-spacing: .15em; }
.decision-card div { display: grid; gap: var(--s2); }
.decision-card strong { font-family: var(--font-display); font-size: clamp(1rem,1.7vw,1.28rem); color: var(--white); line-height: 1.2; }
.decision-card p { color: var(--white-dim); font-size: .78rem; line-height: 1.6; }
.decision-card > b { color: var(--gold); font-size: 1.45rem; transition: transform var(--duration-fast) ease; }
.decision-card:hover { transform: translateY(-6px); border-color: rgba(217,182,74,.42); background: linear-gradient(145deg, rgba(217,182,74,.1), rgba(255,255,255,.012)); }
.decision-card:hover > b { transform: translateX(5px); }

.logo-grid-empty {
  grid-column: 1 / -1;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px dashed rgba(217,182,74,.28);
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, rgba(217,182,74,.06), rgba(255,255,255,.01));
  color: var(--white-dim);
  text-align: center;
  line-height: 1.7;
}

.cookie-consent {
  position: fixed;
  z-index: calc(var(--z-menu) + 20);
  right: clamp(1rem,3vw,2rem);
  bottom: clamp(1rem,3vw,2rem);
  left: clamp(1rem,3vw,2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  max-width: 980px;
  margin-left: auto;
  padding: clamp(1rem,2.5vw,1.4rem);
  border: 1px solid rgba(217,182,74,.32);
  border-radius: var(--r-xl);
  background: rgba(9,9,13,.96);
  box-shadow: 0 24px 70px rgba(0,0,0,.65);
  backdrop-filter: blur(18px);
}
.cookie-consent strong { display: block; margin-bottom: .25rem; color: var(--white); font-family: var(--font-display); }
.cookie-consent p { color: var(--white-dim); font-size: .78rem; line-height: 1.55; }
.cookie-consent a { color: var(--gold); font-size: .72rem; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__actions { display: flex; flex-shrink: 0; gap: var(--s2); }
.cookie-consent__actions .btn { min-height: 44px; padding: .7rem 1rem; font-size: .7rem; }

@media (max-width: 1080px) {
  .hero-stage { grid-template-columns: minmax(0,1fr) minmax(320px,.72fr); gap: 1.5rem; }
  .hero-stage .hero-title { font-size: clamp(2.7rem,4.7vw,3.9rem); }
  .growth-signal { display: none; }
  .decision-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .hero { justify-content: flex-start; padding-top: 130px; }
  .hero-stage { grid-template-columns: 1fr; }
  .hero-stage .hero-content { max-width: none; }
  .hero-stage .hero-title { font-size: clamp(2.25rem,8.1vw,3.8rem); }
  .hero-cinematic { width: min(88vw,430px); justify-self: center; margin: -1rem auto -3rem; opacity: .82; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-card { min-height: 0; }
}

@media (max-width: 560px) {
  .hero { padding-top: 105px; }
  .hero-stage,
  .hero-stage .hero-content { min-width: 0; width: 100%; }
  .hero-stage .hero-title {
    max-width: 100%;
    font-size: clamp(1.85rem,8.4vw,2.65rem);
    line-height: 1;
    letter-spacing: -.03em;
  }
  .hero-stage .badge {
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    line-height: 1.45;
    font-size: .52rem;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
  }
  .hero-stage .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-stage .hero-actions .btn { width: 100%; }
  .hero-stage .hero-status-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage .hero-status-item { min-height: 82px; }
  .hero-cinematic { width: min(92vw,410px); margin: -1.5rem auto -4rem; }
  .decision-heading { align-items: flex-start; flex-direction: column; }
  .decision-card { grid-template-columns: auto 1fr; }
  .decision-card > b { display: none; }
  .cookie-consent { align-items: stretch; flex-direction: column; }
  .cookie-consent__actions { flex-direction: column; }
  .cookie-consent__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .growth-core,
  .growth-orbit,
  .hero-beam,
  .growth-signal,
  .hero-particles i { animation: none !important; }
}

/* OWNER MEMORY — zaštićene email i AI tabele */
.memory-filter { display:grid; grid-template-columns:minmax(180px,.6fr) minmax(240px,1.4fr) minmax(280px,1fr) auto; align-items:end; gap:var(--s3); }
.memory-filter label { display:grid; gap:.45rem; color:var(--white-dim); font-size:.75rem; }
.memory-table-wrap { overflow:auto; border:1px solid var(--black-border); border-radius:var(--r-lg); background:var(--black-soft); }
.memory-table { width:100%; min-width:920px; border-collapse:collapse; }
.memory-table th,.memory-table td { padding:1rem; border-bottom:1px solid var(--black-border); text-align:left; vertical-align:top; }
.memory-table th { position:sticky; top:0; z-index:1; color:var(--gold); background:#0b0b0f; font:600 .67rem/1.3 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; }
.memory-table td { max-width:390px; color:var(--white-dim); font-size:.78rem; line-height:1.55; overflow-wrap:anywhere; }
.memory-table td small { display:block; margin-top:.35rem; color:var(--white-faint); }
@media (max-width:900px){ .memory-filter { grid-template-columns:1fr; } }

/* UPOREDBA — jasan izbor modela */
.model-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--s4); }
.model-card { position:relative; min-height:420px; padding:clamp(1.35rem,2.4vw,2rem); overflow:hidden; border:1px solid var(--black-border); border-radius:var(--r-xl); background:linear-gradient(150deg,rgba(27,27,35,.92),rgba(10,10,14,.98)); }
.model-card--featured { border-color:rgba(217,182,74,.58); box-shadow:0 24px 70px rgba(217,182,74,.1),inset 0 0 45px rgba(217,182,74,.05); }
.model-num { position:absolute; right:1rem; top:.65rem; color:rgba(255,255,255,.045); font:800 5.5rem/1 var(--font-display); }
.model-card h2 { position:relative; margin:1.1rem 0 .7rem; font-size:clamp(1.25rem,1.7vw,1.7rem); }
.model-card > p { position:relative; min-height:74px; color:var(--white-dim); line-height:1.65; font-size:.88rem; }
.model-points { position:relative; display:grid; gap:.8rem; margin-top:1.3rem; }
.model-points span { display:grid; gap:.22rem; padding-top:.8rem; border-top:1px solid var(--black-border); color:var(--white-dim); font-size:.76rem; line-height:1.5; }
.model-points b { color:var(--white); font-size:.66rem; letter-spacing:.09em; text-transform:uppercase; }
.model-compare-section { background:var(--black-soft); border-block:1px solid var(--black-border); }
.model-table-wrap { overflow:auto; border:1px solid var(--black-border); border-radius:var(--r-xl); }
.model-table { width:100%; min-width:850px; border-collapse:collapse; background:#09090d; }
.model-table th,.model-table td { padding:1rem 1.15rem; border-right:1px solid var(--black-border); border-bottom:1px solid var(--black-border); text-align:center; font-size:.8rem; }
.model-table thead th { color:var(--white); background:var(--black-card); font-family:var(--font-display); font-size:.85rem; }
.model-table tbody th { width:28%; color:var(--white); text-align:left; font-weight:600; }
.model-table td { color:var(--white-dim); }
.model-table .is-featured { background:rgba(217,182,74,.055); }
.model-table .best { color:var(--gold-bright); font-weight:700; }
.choice-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.choice-card { padding:var(--s6); border:1px solid var(--black-border); border-radius:var(--r-xl); background:var(--black-card); }
.choice-card > span { color:var(--gold); font:600 .63rem/1.3 var(--font-mono); letter-spacing:.12em; }
.choice-card h2 { margin:.8rem 0 .65rem; font-size:1.25rem; }
.choice-card p { color:var(--white-dim); font-size:.84rem; line-height:1.65; }

/* BRAND KIT — logo u stvarnim primjenama */
.brand-foundation-grid { display:grid; grid-template-columns:1.25fr .75fr; gap:var(--s5); }
.brand-logo-stage,.brand-palette { min-height:390px; padding:clamp(1.5rem,3vw,2.5rem); border:1px solid var(--black-border); border-radius:var(--r-xl); background:linear-gradient(145deg,#131319,#08080b); }
.brand-logo-stage { display:flex; flex-direction:column; justify-content:space-between; background-image:linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px),linear-gradient(145deg,#131319,#08080b); background-size:38px 38px,38px 38px,auto; }
.brand-logo-stage img { width:min(100%,520px); height:auto; align-self:center; filter:drop-shadow(0 18px 35px rgba(217,182,74,.12)); }
.brand-logo-stage p,.brand-palette p { color:var(--white-dim); font-size:.82rem; line-height:1.65; }
.brand-palette { display:grid; grid-template-rows:auto repeat(3,1fr) auto; gap:.65rem; }
.swatch { display:flex; justify-content:space-between; align-items:end; min-height:66px; padding:1rem; border:1px solid rgba(255,255,255,.1); border-radius:var(--r-md); }
.swatch b,.swatch small { font:600 .62rem/1 var(--font-mono); letter-spacing:.1em; }
.swatch-black { color:#f5f5f7; background:#050507; }.swatch-gold { color:#050507; background:#d9b64a; }.swatch-white { color:#050507; background:#f5f5f7; }
.brand-showcase-section { background:var(--black-soft); border-block:1px solid var(--black-border); }
.brand-showcase-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:var(--s4); }
.brand-mock { grid-column:span 4; min-height:360px; margin:0; padding:1rem; overflow:hidden; border:1px solid var(--black-border); border-radius:var(--r-xl); background:#0a0a0e; }
.brand-mock--sign,.brand-mock--deck { grid-column:span 8; }
.brand-mock figcaption { margin-bottom:.8rem; color:var(--gold); font:600 .6rem/1 var(--font-mono); letter-spacing:.15em; }
.business-card,.social-post,.office-sign,.deck-cover,.package-scene { height:calc(100% - 1.5rem); border-radius:var(--r-lg); }
.business-card { display:grid; align-content:center; gap:1.2rem; padding:2rem; background:radial-gradient(circle at 80% 10%,rgba(217,182,74,.2),transparent 36%),#050507; border:1px solid rgba(217,182,74,.35); }
.business-card img { width:78%; }.business-card span,.business-card small { color:var(--gold); font:500 .48rem/1.4 var(--font-mono); letter-spacing:.12em; }.business-card small{color:var(--white-dim)}
.social-post { display:flex; flex-direction:column; justify-content:space-between; padding:1.6rem; background:linear-gradient(145deg,rgba(217,182,74,.15),transparent 50%),repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 30px),#08080b; }
.social-post img { width:58%; }.social-post strong { font:800 clamp(1.35rem,2vw,2rem)/.98 var(--font-display); }.social-post em { color:var(--gold); font-style:normal; }.social-post span { color:var(--white-faint); font:500 .5rem var(--font-mono); letter-spacing:.15em; }
.office-sign { position:relative; display:grid; place-items:center; overflow:hidden; background:linear-gradient(115deg,#27231f,#0b0b0d 55%,#1b1711); }
.office-sign::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent 49.7%,rgba(255,255,255,.06) 50%,transparent 50.3%); }
.office-sign img { position:relative; width:min(70%,540px); filter:drop-shadow(0 12px 20px #000) drop-shadow(0 0 20px rgba(217,182,74,.25)); }
.phone-mock { display:grid; place-items:center; height:calc(100% - 1.5rem); background:radial-gradient(circle,rgba(217,182,74,.15),transparent 60%); }
.phone-screen { display:flex; flex-direction:column; align-items:center; gap:.8rem; width:72%; height:100%; padding:2rem 1rem; border:7px solid #22222a; border-radius:34px; background:#08080c; box-shadow:0 25px 45px #000; }
.phone-avatar { display:grid; place-items:center; width:54px; height:54px; border-radius:50%; background:var(--gold); color:var(--black); font:800 1.5rem var(--font-display); }.phone-screen img{width:78%}.phone-screen strong{font-size:.85rem;text-align:center}.phone-screen small{color:var(--gold);font:.48rem var(--font-mono)}.phone-screen i{width:100%;height:30px;border-radius:8px;background:#17171e}
.deck-cover { display:grid; grid-template-columns:1fr 1.2fr; grid-template-rows:auto 1fr auto; align-items:center; gap:1rem; padding:2rem; background:linear-gradient(135deg,#050507 60%,rgba(217,182,74,.22)); border:1px solid rgba(217,182,74,.35); }.deck-cover img{width:75%}.deck-cover span,.deck-cover small{color:var(--gold);font:.55rem var(--font-mono);letter-spacing:.12em}.deck-cover strong{grid-column:2;grid-row:1/3;font:800 clamp(2rem,4vw,4rem)/.9 var(--font-display)}.deck-cover small{grid-column:1/-1}
.package-scene { display:flex; align-items:center; justify-content:center; gap:1rem; background:radial-gradient(circle at 30% 40%,rgba(217,182,74,.18),transparent 50%),#101015; }.package-box{display:flex;flex-direction:column;justify-content:center;gap:1rem;width:48%;height:65%;padding:1rem;transform:rotate(-5deg);background:#09090c;border:1px solid rgba(217,182,74,.35);box-shadow:18px 25px 35px #000}.package-box>span{color:var(--gold);font:800 2.5rem var(--font-display)}.package-box img{width:100%}.package-note{padding:1.2rem;transform:rotate(4deg);background:var(--gold);color:var(--black);font:700 .85rem var(--font-mono)}
.brand-rules-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.brand-rule { min-height:260px; padding:var(--s6); border:1px solid var(--black-border); border-radius:var(--r-xl); background:var(--black-card); }.brand-rule h2{margin:1rem 0 .7rem;font-size:1.4rem}.brand-rule p{color:var(--white-dim);font-size:.84rem;line-height:1.7}.brand-type-display{font:800 2rem/1 var(--font-display)!important;letter-spacing:-.04em}
@media(max-width:1080px){.model-grid{grid-template-columns:repeat(2,1fr)}.brand-mock{grid-column:span 6}.brand-mock--sign,.brand-mock--deck{grid-column:span 12}}
@media(max-width:720px){.model-grid,.choice-grid,.brand-foundation-grid,.brand-rules-grid{grid-template-columns:1fr}.model-card{min-height:0}.brand-showcase-grid{display:grid;grid-template-columns:1fr}.brand-mock,.brand-mock--sign,.brand-mock--deck{grid-column:auto;min-height:340px}.deck-cover{grid-template-columns:1fr;padding:1.4rem}.deck-cover strong{grid-column:1;grid-row:auto;font-size:2.2rem}.brand-logo-stage,.brand-palette{min-height:330px}}

/* Javna ponuda štampe grupisana po stvarnom partneru */
.print-partner-group { grid-column:1/-1; display:block; padding:clamp(1rem,2vw,1.5rem); border:1px solid var(--black-border); border-radius:var(--r-xl); background:linear-gradient(145deg,rgba(25,25,32,.78),rgba(8,8,11,.94)); }
.print-partner-head { display:grid; grid-template-columns:1fr auto; align-items:end; gap:.35rem 1rem; margin-bottom:var(--s5); padding-bottom:var(--s4); border-bottom:1px solid var(--black-border); }
.print-partner-head .label { grid-column:1/-1; }.print-partner-head h2 { font-size:clamp(1.4rem,2.5vw,2rem); }.print-partner-head p { color:var(--white-dim); font-size:.8rem; }
.print-partner-group > .store-grid { margin:0; }
@media(max-width:640px){.print-partner-head{grid-template-columns:1fr;}.print-partner-head .label{grid-column:auto}}

