/* ==========================================================================
   OTKUP SIROVINA PRO — SLUŽBENA WEB STRANICA I PREZENTACIJA
   Modern Tech & Industrial Glassmorphism Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #07090E;
  --bg-secondary: #0D121F;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(24, 33, 53, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(16, 185, 129, 0.3);
  
  --emerald: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --cyan: #06B6D4;
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --indigo: #6366F1;
  --amber: #F59E0B;
  --rose: #F43F5E;
  
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Pozadinski svjetlosni efekti (Mesh gradients) */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  mix-blend-mode: screen;
  will-change: transform;
  animation: floatAmbient 20s infinite alternate ease-in-out;
}

.ambient-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
  top: -150px;
  left: 10%;
}

.ambient-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: 30%;
  right: -150px;
  animation-duration: 25s;
}

.ambient-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--indigo) 0%, transparent 70%);
  bottom: 10%;
  left: -100px;
  animation-duration: 18s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* ==========================================================================
   NAVIGACIJA
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, 0.75);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--emerald-glow);
}

.brand-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--emerald);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Regional switch HR / SRB */
.region-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.2rem;
}

.region-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.region-btn.active {
  background: var(--emerald);
  color: #000;
  box-shadow: 0 0 12px var(--emerald-glow);
}

/* CTA gumbovi */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--emerald-glow);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SEKCIJA
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 4.5rem 1.5rem 2.5rem;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 1050px;
  margin-inline: auto;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, #10B981 75%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1050px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.metric-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.metric-num.emerald { color: var(--emerald); }
.metric-num.cyan { color: var(--cyan); }
.metric-num.amber { color: var(--amber); }

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   INTERAKTIVNI 3D SHOWCASE (SCREENSHOTOVI U POKRETU)
   ========================================================================== */
.showcase-section {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.showcase-header {
  text-align: center;
  margin-bottom: 2rem;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  color: #FFFFFF;
  border-color: var(--emerald);
  box-shadow: 0 0 20px var(--emerald-glow);
}

/* Okvir za snimke zaslona (prirodan, ravan i stabilan prikaz desktop softvera) */
.stage-wrapper, .stage-3d-wrapper {
  padding: 1.5rem 0;
  position: relative;
}

.mockup-window {
  position: relative;
  border-radius: 14px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85),
              0 0 30px rgba(16, 185, 129, 0.1);
  overflow: hidden;
}

/* Prozor naslovna traka (Windows / macOS hibrid) */
.mockup-titlebar {
  background: #1F2937;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4B5563;
}

.window-dots span:nth-child(1) { background: #EF4444; }
.window-dots span:nth-child(2) { background: #F59E0B; }
.window-dots span:nth-child(3) { background: #10B981; }

.mockup-title-text {
  font-size: 0.825rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SCREENSHOT PRIKAZ I ZAŠTITA */
.screenshot-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  background: #0B0F19;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Zaštićeni prikaz snimke zaslona */
.protected-img, .protected-canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.2s ease-in-out;
}

/* Dinamička laserska / HUD crta u pokretu */
.hud-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--emerald) 50%, transparent 100%);
  box-shadow: 0 0 15px var(--emerald);
  pointer-events: none;
  z-index: 25;
  opacity: 0.85;
  animation: scanlineSweep 4.5s infinite linear;
}

@keyframes scanlineSweep {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}

/* HUD Telemetrijski podaci koji lebde preko snimke */
.hud-telemetry {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 26;
  display: flex;
  gap: 0.75rem;
  pointer-events: none;
}

.hud-badge {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hud-badge.emerald { color: var(--emerald); border-color: rgba(16, 185, 129, 0.4); }
.hud-badge.cyan { color: var(--cyan); border-color: rgba(6, 182, 212, 0.4); }

/* Interaktivne pulsirajuće točke na snimci (Hotspots) */
.hotspot-pin {
  position: absolute;
  z-index: 30;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.pin-core {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 20px var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  position: relative;
  transition: transform var(--transition-fast);
}

.pin-core::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--emerald);
  animation: ripplePin 2s infinite ease-out;
}

@keyframes ripplePin {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hotspot-pin:hover .pin-core,
.hotspot-pin.active .pin-core {
  transform: scale(1.25);
  background: #FFFFFF;
  box-shadow: 0 0 25px #FFFFFF;
}

/* Tooltip za Hotspot (Osnovni stil) */
.pin-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  width: 270px;
  max-width: 85vw;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(16, 185, 129, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  z-index: 100;
}

/* Kada je pin u gornjoj polovici ekrana — balon se otvara PREMA DOLJE */
.hotspot-pin.tooltip-bottom .pin-tooltip {
  bottom: auto;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(-8px);
}

/* Poravnanje desno — za točke pri desnom rubu (npr. br. 2) */
.hotspot-pin.tooltip-align-right .pin-tooltip {
  left: auto;
  right: -15px;
  transform: translateY(8px);
}
.hotspot-pin.tooltip-bottom.tooltip-align-right .pin-tooltip {
  left: auto;
  right: -15px;
  transform: translateY(-8px);
}

/* Poravnanje lijevo — za točke pri lijevom rubu */
.hotspot-pin.tooltip-align-left .pin-tooltip {
  left: -15px;
  transform: translateY(8px);
}
.hotspot-pin.tooltip-bottom.tooltip-align-left .pin-tooltip {
  left: -15px;
  transform: translateY(-8px);
}

/* Prikaz kod prelaska mišem (Hover) ILI klika (.active) */
.hotspot-pin:hover .pin-tooltip,
.hotspot-pin.active .pin-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hotspot-pin.tooltip-align-right:hover .pin-tooltip,
.hotspot-pin.tooltip-align-right.active .pin-tooltip {
  transform: translateY(0);
}

.hotspot-pin.tooltip-align-left:hover .pin-tooltip,
.hotspot-pin.tooltip-align-left.active .pin-tooltip {
  transform: translateY(0);
}

.tooltip-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tooltip-desc {
  font-size: 0.78rem;
  color: #E2E8F0;
  line-height: 1.5;
}

/* ==========================================================================
   ANTI-SCREENSHOT SIGURNOSNI ŠTIT (DRM & CAPTURE BLOCKER)
   ========================================================================== */

/* 1. Transparentni zaštitni interaktivni stakleni sloj preko cijele snimke */
.anti-grab-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: transparent;
  pointer-events: all;
  cursor: crosshair;
}

/* 2. Dinamički vodeni žig (kosi ponavljajući tekst koji se animira) */
.watermark-layer {
  position: absolute;
  inset: -100px;
  z-index: 22;
  pointer-events: none;
  opacity: 0.08;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 80px;
  transform: rotate(-15deg);
  overflow: hidden;
  user-select: none;
  animation: watermarkDrift 30s infinite linear;
}

@keyframes watermarkDrift {
  0% { transform: rotate(-15deg) translateY(0); }
  100% { transform: rotate(-15deg) translateY(-80px); }
}

.watermark-token {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

/* 3. Sigurnosni štit kod gubitka fokusa (Snipping Tool, PrintScreen, Alt-Tab) */
.security-blur-shield {
  position: absolute;
  inset: 0;
  z-index: 50;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  background: rgba(7, 9, 14, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
}

.security-blur-shield.active {
  opacity: 1 !important;
  pointer-events: all !important;
  transition: none !important;
}

.shield-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--rose);
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.3);
  animation: pulseShield 1.5s infinite;
}

@keyframes pulseShield {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
  100% { transform: scale(0.95); }
}

.shield-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.shield-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.5;
}

.shield-unblock-hint {
  font-size: 0.78rem;
  color: var(--emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* 4. Instant Blackout flash kod pritiska PrintScreen tipke */
.instant-blackout {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: none !important;
}

.instant-blackout.trigger {
  opacity: 1 !important;
  pointer-events: all !important;
  transition: none !important;
}

.blackout-card {
  background: #0F172A;
  border: 2px solid var(--rose);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 500px;
  box-shadow: 0 0 80px rgba(244, 63, 94, 0.6);
}

/* Globalni blur i sakrivanje sadržaja prilikom pokušaja snimanja ili gubitka fokusa */
body.screen-protected {
  filter: blur(50px) brightness(0.15) !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

body.screen-protected .mockup-window,
body.screen-protected .screenshot-viewport,
body.screen-protected .protected-img,
body.window-unfocused .protected-img {
  filter: blur(60px) grayscale(1) !important;
  opacity: 0.05 !important;
}

@media print {
  html, body {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
  }
}

/* Sigurnosna obavijest (Toast) */
.security-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--rose);
  backdrop-filter: blur(16px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(244, 63, 94, 0.25);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(120%);
  transition: transform var(--transition-normal);
}

.security-toast.show {
  transform: translateY(0);
}

.toast-badge {
  font-size: 1.5rem;
}

.toast-text strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.toast-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MODULI PROGRAMA (ZNAČAJKE)
   ========================================================================== */
.features-section {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.section-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

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

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--emerald);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   INTERAKTIVNI SIMULATOR VAGE I ISPLATE
   ========================================================================== */
.simulator-section {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.sim-box {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Namjenska kontakt sekcija - savršeno centrirana na obrazac */
.contact-section {
  padding: 3rem 1.5rem 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  position: relative;
  z-index: 10;
  scroll-margin-top: 85px;
}

.contact-card {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 85px;
}

.sim-scale-display {
  background: #022C22;
  border: 2px solid #059669;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: inset 0 0 30px rgba(16, 185, 129, 0.2);
}

.scale-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #34D399;
}

.scale-digits-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.scale-huge-number {
  font-family: var(--font-mono);
  font-size: 4.5rem;
  font-weight: 800;
  color: #10B981;
  letter-spacing: -0.05em;
  text-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
  line-height: 1;
}

.scale-unit {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6EE7B7;
  margin-left: 0.5rem;
}

.scale-status-badge {
  background: #10B981;
  color: #000;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sim-control-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.sim-select, .sim-slider {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.95rem;
}

.sim-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.sim-res-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.sim-res-val.payout {
  color: var(--emerald);
  font-size: 1.5rem;
}

/* ==========================================================================
   ZAKONSKA USKLAĐENOST (COMPLIANCE MATRIX)
   ========================================================================== */
.compliance-section {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.compliance-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.compliance-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compliance-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.compliance-table td {
  padding: 1.25rem 1.5rem;
  font-size: 0.925rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compliance-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.law-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.check-icon {
  color: var(--emerald);
  font-weight: 900;
  margin-right: 0.35rem;
}

/* ==========================================================================
   ČESTA PITANJA (FAQ)
   ========================================================================== */
.faq-section {
  position: relative;
  z-index: 10;
  max-width: 1050px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item[open] {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.faq-question {
  padding: 1.35rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--emerald);
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--emerald);
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-fast);
}

.faq-item[open] .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--emerald);
  color: #000;
}

.faq-answer {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

.faq-answer strong {
  color: #FFFFFF;
}

.faq-answer ul {
  margin: 0.75rem 0 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 4rem 1.5rem 2rem;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   PRINT BLOKATOR (@media print)
   Spriječava ispisivanje stranice i snimanje u PDF!
   ========================================================================== */
@media print {
  body * {
    display: none !important;
    visibility: hidden !important;
  }
  
  html, body {
    background: #000000 !important;
    color: #FFFFFF !important;
    height: 100vh !important;
  }

  body::after {
    content: "⚠️ DOKUMENT JE ZAŠTIĆEN AUTORSKIM PRAVOM. ISPIS I DIGITALNO SNIMANJE SU BLOKIRANI. © OTKUP SIROVINA PRO" !important;
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    text-align: center !important;
    padding: 3rem !important;
    height: 100vh !important;
  }
}

/* ==========================================================================
   RESPONSIVNOST (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .sim-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .hud-telemetry {
    display: none;
  }

  .pin-tooltip {
    display: none;
  }
}
