/* ============================================================
   oMedia - Unified Stylesheet (Pure HTML Version)
   All styles combined from the Astro source
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800;900&family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS Custom Properties (Dark Theme Default)
   ============================================================ */
:root {
  /* Dark mode (default) */
  --color-bg: #050509;
  --color-surface: #0D0D14;
  --color-surface-up: #14141F;
  --color-border: #1F1F2E;

  /* Accents */
  --color-accent: #FF004D;
  --color-accent-hover: #E6004A;
  --color-cyan: #00F2FE;
  --color-cyan-muted: #00C4D4;

  /* Text */
  --color-heading: #FFFFFF;
  --color-body: #B8B8C8;
  --color-muted: #6B6B80;

  /* Semantic */
  --color-success: #00D68F;
  --color-warning: #FFB547;
  --color-error: #FF4757;

  /* Fonts */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================================
   Light Mode Overrides
   ============================================================ */
html.light,
.light {
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-surface-up: #F0F0F5;
  --color-border: #E0E0E8;
  --color-heading: #0D0D14;
  --color-body: #4A4A5A;
  --color-muted: #6B6B80;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-body);
  font-family: var(--font-body);
  line-height: 1.7;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }

/* V3 Heading (Outfit) */
.v3-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* V3 Gradient Text */
.v3-gradient {
  background: linear-gradient(135deg, #FF004D 0%, #00F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Focus & Selection
   ============================================================ */
*:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 2px;
}

::selection {
  background: rgba(255, 0, 77, 0.3);
  color: white;
}

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-muted); }

/* ============================================================
   Skip to Content
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: white;
  border-radius: 0 0 8px 8px;
  z-index: 100;
  font-weight: 500;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav-scrolled {
  background: rgba(5, 5, 9, 0.72) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(31, 31, 46, 0.5);
}
.light .nav-scrolled {
  background: rgba(255, 255, 255, 0.85) !important;
}

/* AI Nav Link (gradient text) */
.ai-nav-link {
  background: linear-gradient(135deg, #FF004D, #00F2FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-nav-link:hover {
  filter: brightness(1.3);
}
.ai-nav-link svg {
  stroke: #00F2FE;
  -webkit-text-fill-color: initial;
}

.ai-nav-link-mobile {
  background: linear-gradient(135deg, #FF004D, #00F2FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ai-nav-link-mobile svg {
  stroke: #00F2FE;
  -webkit-text-fill-color: initial;
}

/* Dropdown */
.usluge-dropdown {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.group:hover .usluge-dropdown {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   Glassmorphism Surfaces
   ============================================================ */
.floating-bar {
  background: rgba(13, 13, 20, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(31, 31, 46, 0.6);
}
.light .floating-bar {
  background: rgba(255, 255, 255, 0.90);
}

.form-glass {
  background: rgba(13, 13, 20, 0.60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(31, 31, 46, 0.4);
}
.light .form-glass {
  background: rgba(255, 255, 255, 0.80);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--color-accent);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 0 20px rgba(255, 0, 77, 0.35), 0 0 60px rgba(255, 0, 77, 0.10);
  transform: scale(1.03);
}
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--color-heading);
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

/* ============================================================
   Form Inputs
   ============================================================ */
input, textarea, select {
  background: var(--color-surface-up);
  border: 1px solid var(--color-border);
  color: var(--color-heading);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.08);
}
input::placeholder, textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.5;
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-body);
  margin-bottom: 0.375rem;
}

/* Kontakt-specific form inputs */
.kontakt-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.75rem 1rem;
  color: var(--color-heading);
  font-size: 0.9375rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.kontakt-input::placeholder {
  color: var(--color-muted);
  opacity: 0.5;
}
.kontakt-input:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0,242,254,0.1);
}

/* ============================================================
   Bento Card
   ============================================================ */
.bento-card {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  background: var(--color-surface);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.06);
  transform: translateY(-4px);
}
.bento-card:has(input:checked) {
  border-color: var(--color-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
  background: rgba(0, 242, 254, 0.03);
}

/* ============================================================
   Featured Case Study
   ============================================================ */
.featured-study {
  border-left: 2px solid var(--color-accent);
  box-shadow: -4px 0 20px rgba(255, 0, 77, 0.08);
}

/* ============================================================
   Hero Background
   ============================================================ */
.hero-bg {
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(255, 0, 77, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 242, 254, 0.06) 0%, transparent 50%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

/* Radial glow background */
.v3-glow {
  background: radial-gradient(ellipse at center, rgba(255,0,77,0.06) 0%, rgba(0,242,254,0.02) 40%, transparent 70%);
}

/* Geometric grid background */
.ai-grid-bg,
.usluge-grid-bg,
.out-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============================================================
   AI Badge with Pulse Glow
   ============================================================ */
.ai-badge,
.usluge-badge,
.out-badge,
.web-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 10px 28px;
  background: linear-gradient(135deg, rgba(255,0,77,0.15), rgba(0,242,254,0.15));
  border: 1px solid rgba(255,0,77,0.3);
}

.ai-badge::before,
.usluge-badge::before,
.out-badge::before,
.web-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,0,77,0.3), rgba(0,242,254,0.3));
  filter: blur(12px);
  animation: badgePulse 2.5s ease-in-out infinite;
  z-index: -1;
}

.ai-badge-text,
.usluge-badge-text,
.out-badge-text,
.web-badge-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #FF004D, #00F2FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Alias keyframes for pages that use different names */
@keyframes aiBadgePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes uslugeBadgePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes outBadgePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ============================================================
   Animated Gradient Text (Hero H1 span)
   ============================================================ */
.ai-gradient-animated,
.usluge-gradient-animated {
  background: linear-gradient(90deg, #FF004D, #00F2FE, #FF004D, #00F2FE);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

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

/* Alias keyframes */
@keyframes aiGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes uslugeGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   Animated Border (bottom of hero)
   ============================================================ */
.ai-border-animated,
.usluge-border-animated,
.out-border-animated {
  background: linear-gradient(90deg, transparent, #FF004D, #00F2FE, transparent);
  background-size: 200% 100%;
  animation: borderShift 3s linear infinite;
}

@keyframes borderShift {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Alias keyframes */
@keyframes aiBorderShift {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes uslugeBorderShift {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes outBorderShift {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   AI Service Card
   ============================================================ */
.ai-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.ai-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(0,242,254,0.06), transparent 60%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ai-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255,0,77,0.3),
    0 8px 40px rgba(255,0,77,0.08),
    0 4px 60px rgba(0,242,254,0.06);
}

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

.ai-card-border {
  height: 3px;
  background: linear-gradient(90deg, #FF004D, #00F2FE);
}

.ai-card-content {
  padding: 1.75rem;
}

.ai-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 10px;
  background: rgba(255,0,77,0.08);
  color: var(--color-accent);
}

.ai-card-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   Service Card (Index page - with faded number)
   ============================================================ */
.service-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF004D, #00F2FE);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -25%;
  width: 150%;
  height: 150%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,77,0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,0,77,0.3);
  box-shadow:
    0 0 0 1px rgba(255,0,77,0.2),
    0 8px 40px rgba(255,0,77,0.08),
    0 4px 60px rgba(0,242,254,0.06);
}

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

.service-card-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF004D, #00F2FE);
}

.service-card-content {
  padding: 1.75rem;
}

.service-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 10px;
  background: rgba(255,0,77,0.08);
  color: var(--color-accent);
}

.faded-number {
  position: absolute;
  top: -0.25rem;
  right: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 7rem;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   Pillar Card (Usluge index page)
   ============================================================ */
.pillar-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.pillar-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,0,77,0.06) 0%, rgba(0,242,254,0.03) 50%, transparent 70%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255,0,77,0.3),
    0 8px 40px rgba(255,0,77,0.08),
    0 4px 60px rgba(0,242,254,0.06);
}

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

.pillar-card-gradient-line {
  height: 3px;
  background: linear-gradient(90deg, #FF004D, #00F2FE);
}

.pillar-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pillar-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  padding: 12px;
  background: rgba(255,0,77,0.08);
  color: var(--color-accent);
}

/* ============================================================
   Partner Card (Outsourcing page)
   ============================================================ */
.partner-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255,0,77,0.3),
    0 12px 50px rgba(255,0,77,0.1),
    0 4px 60px rgba(0,242,254,0.06);
}

.partner-card-border {
  height: 4px;
  background: linear-gradient(90deg, #FF004D, #00F2FE);
}

.partner-card-content {
  padding: 2rem;
}

.partner-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  padding: 14px;
  background: rgba(255,0,77,0.08);
  color: var(--color-accent);
}

.partner-card-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-cyan);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   Why Card (differentiator cards)
   ============================================================ */
.why-card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,0,77,0.04) 0%, transparent 70%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,0,77,0.2);
  box-shadow: 0 0 40px rgba(255,0,77,0.06);
}

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

/* ============================================================
   Investment Card
   ============================================================ */
.investment-card {
  /* Uses ai-card base styles */
}

/* ============================================================
   Process Line & Step Circle
   ============================================================ */
.process-line {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border) 0%, var(--color-accent) 30%, var(--color-cyan) 70%, var(--color-border) 100%);
  z-index: 0;
}

.step-circle {
  background: var(--color-bg);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--color-bg), var(--color-bg)), linear-gradient(135deg, #FF004D, #00F2FE);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* ============================================================
   Stat Block
   ============================================================ */
.stat-block {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(255,0,77,0.06);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, #FF004D, #00F2FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-heading);
}

/* ============================================================
   Metric Block (Index page)
   ============================================================ */
.metric-block {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.metric-border-left {
  border-left: 1px solid var(--color-border);
}

.metric-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, #FF004D, #00F2FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-heading);
}

/* Metric Card (service detail pages) */
.metric-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.04);
}

.metric-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.metric-up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

.metric-down {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

/* ============================================================
   Tech Badge
   ============================================================ */
.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-body);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.tech-badge:hover {
  border-color: var(--color-accent);
  background: rgba(255,0,77,0.06);
  color: var(--color-heading);
  box-shadow: 0 0 20px rgba(255,0,77,0.08);
}

/* ============================================================
   Project Card (Index / Radovi)
   ============================================================ */
.project-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  text-decoration: none;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,0,77,0.3);
  box-shadow:
    0 0 0 1px rgba(255,0,77,0.2),
    0 8px 40px rgba(255,0,77,0.08),
    0 4px 60px rgba(0,242,254,0.06);
}

.project-card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-cyan);
  background: rgba(0,242,254,0.08);
  border: 1px solid rgba(0,242,254,0.2);
}

/* ============================================================
   Trust Logos
   ============================================================ */
.trust-logo {
  filter: grayscale(100%) brightness(0.6);
  opacity: 0.5;
  transition: all 0.4s ease;
  height: 28px;
}

.trust-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ============================================================
   Trust Bar Scroll Animation
   ============================================================ */
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-scroll {
  animation: scroll-x 30s linear infinite;
}
.trust-scroll:hover {
  animation-play-state: paused;
}

/* ============================================================
   Outsource Points
   ============================================================ */
.outsource-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.outsource-point:hover {
  transform: translateY(-2px);
  border-color: rgba(255,0,77,0.2);
  box-shadow: 0 4px 20px rgba(255,0,77,0.06);
}

.outsource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-surface-up);
  flex-shrink: 0;
}

/* ============================================================
   AI Teaser Card (Index page)
   ============================================================ */
.ai-teaser-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-surface);
}

.ai-teaser-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(90deg, #FF004D, #00F2FE, #FF004D, #00F2FE);
  background-size: 300% 100%;
  animation: gradientShift 4s ease-in-out infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ai-teaser-content {
  padding: 3rem 2rem;
}

/* ============================================================
   Kontakt Radio Card (service selection)
   ============================================================ */
.kontakt-radio-card {
  display: block;
  cursor: pointer;
}

.kontakt-radio-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.kontakt-radio-card:hover .kontakt-radio-inner {
  border-color: rgba(255,0,77,0.3);
  background: rgba(255,0,77,0.03);
}

.kontakt-radio-card:has(input:checked) .kontakt-radio-inner {
  border-color: var(--color-accent);
  background: rgba(255,0,77,0.06);
  box-shadow: 0 0 24px rgba(255,0,77,0.1), 0 0 48px rgba(0,242,254,0.04);
}

.kontakt-radio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 0.75rem;
  background: rgba(255,0,77,0.08);
  color: var(--color-accent);
  transition: background 0.3s ease, color 0.3s ease;
}

.kontakt-radio-card:has(input:checked) .kontakt-radio-icon {
  background: rgba(255,0,77,0.15);
  color: #FF004D;
}

/* Budget Radio Card */
.kontakt-budget-card {
  display: block;
  cursor: pointer;
}

.kontakt-budget-inner {
  display: block;
  text-align: center;
  padding: 0.875rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-heading);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.kontakt-budget-card:hover .kontakt-budget-inner {
  border-color: rgba(255,0,77,0.3);
  background: rgba(255,0,77,0.03);
}

.kontakt-budget-card:has(input:checked) .kontakt-budget-inner {
  border-color: var(--color-accent);
  background: rgba(255,0,77,0.06);
  box-shadow: 0 0 20px rgba(255,0,77,0.1);
}

/* ============================================================
   Kontakt Info Card
   ============================================================ */
.kontakt-info-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.kontakt-info-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255,0,77,0.2),
    0 4px 30px rgba(255,0,77,0.06),
    0 2px 40px rgba(0,242,254,0.04);
}

.kontakt-info-inner {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.kontakt-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px;
  background: rgba(0,242,254,0.06);
  color: var(--color-cyan);
  flex-shrink: 0;
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.kontakt-faq {
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kontakt-faq[open] {
  border-color: rgba(255,0,77,0.2);
  box-shadow: 0 0 30px rgba(255,0,77,0.04);
}

.kontakt-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.3s ease;
}

.kontakt-faq-summary:hover {
  background: rgba(255,255,255,0.02);
}

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

.kontakt-faq-summary::marker {
  display: none;
  content: '';
}

.kontakt-faq-chevron {
  color: var(--color-muted);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.kontakt-faq[open] .kontakt-faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.kontakt-faq-answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

/* Generic FAQ item (service pages) */
.faq-item summary {
  padding: 0;
}

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

.faq-item[open] {
  border-color: rgba(0, 242, 254, 0.15);
}

/* ============================================================
   Device Browser Frame
   ============================================================ */
.device-browser {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-surface);
}
.device-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-surface-up);
  border-bottom: 1px solid var(--color-border);
}
.device-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}
.device-browser-url {
  flex: 1;
  margin-left: 12px;
  padding: 4px 12px;
  background: var(--color-surface);
  border-radius: 6px;
  font-size: 12px;
  color: var(--color-muted);
  font-family: var(--font-mono);
}

/* ============================================================
   Portfolio Skeleton Loading
   ============================================================ */
.portfolio-skeleton {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.portfolio-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.03) 50%, transparent 100%);
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

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

/* Generic skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--color-surface) 25%, var(--color-surface-up) 50%, var(--color-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Footer
   ============================================================ */
.footer-main {
  background: var(--color-bg);
}

.footer-gradient-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF004D 30%, #00F2FE 70%, transparent);
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
}

.footer-col-title {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-heading);
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-body);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-link:hover {
  color: var(--color-cyan);
  transform: translateX(2px);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all 0.3s;
}
.footer-social:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15);
}

/* ============================================================
   Cookie Consent Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(13, 13, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 0.5px solid var(--color-border);
  padding: 1rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.cookie-banner.hidden {
  transform: translateY(100%);
}


/* Tailwind utility classes handled by Tailwind CDN */
