/*
Theme Name: Digitalni Partner
Theme URI: https://digitalni-partner.rs
Author: Digitalni Partner
Description: Custom tema za digitalni-partner.rs — B+C hibrid brend.
Version: 1.10.7
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: digitalni-partner
*/

:root {
  --dp-bg: #1a2744;
  --dp-bg-deep: #141e33;
  --dp-cyan: #22d3ee;
  --dp-blue: #3b82f6;
  --dp-orange: #f59e0b;
  --dp-orange-hover: #d97706;
  --dp-text: #ffffff;
  --dp-muted: #94a3b8;
  --dp-slate: #334155;
  --dp-light: #e8f3ff;
  --dp-site-bg: linear-gradient(145deg, #f5faff 0%, #e8f3ff 100%);
  --dp-site-glow: radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.1), transparent 50%),
    radial-gradient(ellipse 55% 45% at 90% 10%, rgba(59, 130, 246, 0.1), transparent 48%);
  --dp-border: rgba(34, 211, 238, 0.22);
  --dp-glass: rgba(255, 255, 255, 0.05);
  --dp-font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --dp-font-body: "Inter", system-ui, sans-serif;
  --dp-container: 1140px;
  --dp-radius: 20px;
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--dp-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: var(--dp-site-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--dp-site-bg);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--dp-site-glow);
  pointer-events: none;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--dp-font-display);
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

.dp-container {
  width: min(100% - 40px, var(--dp-container));
  margin-inline: auto;
}

/* Header */
.dp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 30, 51, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}

.dp-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 4px 0;
  font-family: var(--dp-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dp-text);
  text-decoration: none;
}

.dp-logo-icon {
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 11px;
  object-fit: contain;
}

.dp-logo-text {
  display: block;
  white-space: nowrap;
}

.dp-logo-text strong {
  color: var(--dp-cyan);
}

.dp-nav {
  display: flex;
  align-items: center;
}

.dp-nav-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.dp-nav-item {
  margin: 0;
}

.dp-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--dp-muted);
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease,
    background 0.25s ease;
}

.dp-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dp-nav-link::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: var(--dp-ripple-x, 50%);
  top: var(--dp-ripple-y, 50%);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.35);
  opacity: 0;
  pointer-events: none;
}

.dp-nav-link:hover {
  color: var(--dp-text);
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.dp-nav-link:hover::before {
  opacity: 0.55;
}

.dp-nav-link.dp-nav-active,
.dp-nav-link.current-menu-item,
.dp-nav-panel .current-menu-item > .dp-nav-link {
  color: var(--dp-text);
  border-color: transparent;
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--dp-cyan);
}

.dp-nav-link.dp-nav-active::before,
.dp-nav-panel .current-menu-item > .dp-nav-link::before {
  opacity: 0.35;
}

.dp-nav-link.is-pressed {
  transform: translateY(0) scale(0.96);
}

.dp-nav-link.is-rippling::after {
  animation: dp-nav-ripple 0.55s ease-out;
}

@keyframes dp-nav-ripple {
  0% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(14);
  }
}

.dp-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--dp-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.dp-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
}

/* Buttons */
.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dp-btn:hover {
  transform: translateY(-2px);
}

.dp-btn-primary {
  background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 55%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.3);
}

.dp-btn-primary:hover {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.4);
}

.dp-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  color: #1e293b;
  border-color: rgba(59, 130, 246, 0.28);
}

.dp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(59, 130, 246, 0.4);
}

.dp-hero .dp-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--dp-text);
  border-color: rgba(255, 255, 255, 0.2);
}

.dp-hero .dp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Hero */
.dp-hero {
  position: relative;
  overflow: visible;
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(34, 211, 238, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 15% 75%, rgba(59, 130, 246, 0.14), transparent),
    linear-gradient(165deg, #0f172a 0%, var(--dp-bg-deep) 40%, var(--dp-bg) 100%);
  color: var(--dp-text);
}

.dp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/hero-pattern.svg");
  background-size: 320px 320px;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

.dp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

.dp-hero-content {
  align-self: center;
}

.dp-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dp-blue);
}

.dp-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.dp-hero .dp-eyebrow {
  color: var(--dp-cyan);
}

.dp-hero-lead {
  max-width: 48ch;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--dp-muted);
  margin-bottom: 30px;
}

.dp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.dp-trust-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.dp-trust-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dp-trust-pill svg {
  color: var(--dp-cyan);
  flex-shrink: 0;
}

.dp-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding-top: 8px;
  overflow: visible;
}

.dp-hero-glow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 80%, rgba(34, 211, 238, 0.14) 0%, rgba(59, 130, 246, 0.06) 50%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.dp-hero-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.dp-glass-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 188px;
  padding: 22px 18px 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(77, 184, 255, 0.32);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(77, 184, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(18, 34, 58, 0.82) 0%, rgba(8, 14, 28, 0.92) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.08) inset,
    0 0 28px rgba(34, 211, 238, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.32);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dp-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #67d4ff 20%, #4db8ff 50%, #67d4ff 80%, transparent);
  box-shadow: 0 0 16px rgba(77, 184, 255, 0.85);
  z-index: 2;
}

.dp-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%);
  pointer-events: none;
}

.dp-glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 184, 255, 0.48);
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.12) inset,
    0 0 36px rgba(34, 211, 238, 0.2),
    0 18px 42px rgba(0, 0, 0, 0.36);
}

.dp-glass-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--dp-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  line-height: 1.3;
}

.dp-glass-card span {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #8ba3be;
}

.dp-glass-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(77, 184, 255, 0.55));
}

.dp-hero-scene {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  width: 100%;
  margin-top: auto;
  padding-top: 4px;
}

.dp-hero-illustration {
  width: 100%;
  max-width: 100%;
  margin: 0;
  pointer-events: none;
}

/* Sections */
.dp-section {
  padding: 88px 0;
}

.dp-section-lead {
  color: #475569;
  margin-bottom: 24px;
  max-width: 52ch;
}

.dp-section-head .dp-eyebrow,
.dp-feature-card__content .dp-eyebrow {
  color: var(--dp-blue);
}

/* Shared glass panels */
.dp-glass-panel {
  --dp-card-accent: 59, 130, 246;
  --dp-card-glow: 34, 211, 238;
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: calc(var(--dp-radius) + 4px);
  border: 1px solid rgba(var(--dp-card-accent), 0.22);
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(var(--dp-card-glow), 0.14), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.48) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 0 24px rgba(var(--dp-card-accent), 0.1),
    0 10px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dp-glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--dp-card-glow), 0.9) 25%, rgba(var(--dp-card-accent), 0.95) 50%, rgba(var(--dp-card-glow), 0.9) 75%, transparent);
  box-shadow: 0 0 14px rgba(var(--dp-card-glow), 0.55);
  pointer-events: none;
  z-index: 2;
}

.dp-glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(var(--dp-card-accent), 0.1), transparent 52%);
  pointer-events: none;
}

.dp-glass-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--dp-card-accent), 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 0 32px rgba(var(--dp-card-accent), 0.16),
    0 16px 40px rgba(15, 23, 42, 0.1);
}

.dp-glass-panel--dark {
  --dp-card-accent: 77, 184, 255;
  --dp-card-glow: 34, 211, 238;
  color: var(--dp-text);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(77, 184, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(18, 34, 58, 0.82) 0%, rgba(8, 14, 28, 0.92) 100%);
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.08) inset,
    0 0 28px rgba(34, 211, 238, 0.12),
    0 14px 36px rgba(0, 0, 0, 0.32);
}

.dp-glass-panel--dark::after {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.1), transparent 52%);
}

.dp-glass-panel--dark:hover {
  box-shadow:
    0 0 0 1px rgba(77, 184, 255, 0.12) inset,
    0 0 36px rgba(34, 211, 238, 0.2),
    0 18px 42px rgba(0, 0, 0, 0.36);
}

.dp-glass-panel > * {
  position: relative;
  z-index: 1;
}

/* Animated feature cards */
.dp-feature-card {
  max-width: 100%;
  margin-bottom: 44px;
  padding: 32px 36px;
}

.dp-feature-card__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dp-feature-card__grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: dp-grid-drift 18s linear infinite;
  opacity: 0.6;
}

.dp-feature-card--light .dp-feature-card__grid {
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
}

.dp-feature-card__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
  animation: dp-scan 4s ease-in-out infinite;
  opacity: 0.7;
}

.dp-feature-card__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: dp-orb-float 6s ease-in-out infinite;
}

.dp-feature-card__orb--1 {
  width: 120px;
  height: 120px;
  top: -20px;
  right: 10%;
  background: rgba(34, 211, 238, 0.2);
}

.dp-feature-card__orb--2 {
  width: 90px;
  height: 90px;
  bottom: -10px;
  left: 15%;
  background: rgba(59, 130, 246, 0.18);
  animation-delay: -3s;
}

.dp-feature-card__node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
  top: 25%;
  right: 18%;
  animation: dp-pulse 2.5s ease-in-out infinite;
}

.dp-feature-card__node--2 {
  top: 60%;
  right: 8%;
  animation-delay: -1.2s;
}

.dp-feature-card--light .dp-feature-card__node {
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.dp-feature-card__content {
  position: relative;
  z-index: 1;
}

.dp-feature-card__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.dp-feature-card__content > p:not(.dp-eyebrow) {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 62ch;
}

.dp-feature-card:not(.dp-feature-card--light) .dp-feature-card__content > p:not(.dp-eyebrow) {
  color: #94a3b8;
}

.dp-feature-card--light .dp-feature-card__content > p:not(.dp-eyebrow),
.dp-feature-card--light .dp-section-lead {
  color: #475569;
}

.dp-animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.dp-animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dp-grid-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(32px, 32px); }
}

@keyframes dp-scan {
  0%, 100% { top: 0; opacity: 0; }
  10% { opacity: 0.8; }
  50% { top: 100%; opacity: 0.6; }
  90% { opacity: 0; }
}

@keyframes dp-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -8px) scale(1.08); }
}

@keyframes dp-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.dp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dp-service-card {
  --dp-card-accent: 59, 130, 246;
  --dp-card-glow: 34, 211, 238;
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: calc(var(--dp-radius) + 4px);
  border: 1px solid rgba(var(--dp-card-accent), 0.22);
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(var(--dp-card-glow), 0.14), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.48) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 0 24px rgba(var(--dp-card-accent), 0.1),
    0 10px 32px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dp-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--dp-card-glow), 0.9) 25%, rgba(var(--dp-card-accent), 0.95) 50%, rgba(var(--dp-card-glow), 0.9) 75%, transparent);
  box-shadow: 0 0 14px rgba(var(--dp-card-glow), 0.55);
  pointer-events: none;
  z-index: 2;
}

.dp-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(var(--dp-card-accent), 0.1), transparent 52%);
  pointer-events: none;
}

.dp-service-card--1 {
  --dp-card-accent: 59, 130, 246;
  --dp-card-glow: 34, 211, 238;
}

.dp-service-card--2 {
  --dp-card-accent: 14, 165, 233;
  --dp-card-glow: 59, 130, 246;
}

.dp-service-card--3 {
  --dp-card-accent: 99, 102, 241;
  --dp-card-glow: 59, 130, 246;
}

.dp-service-card--4 {
  --dp-card-accent: 34, 211, 238;
  --dp-card-glow: 14, 165, 233;
}

.dp-service-card--5 {
  --dp-card-accent: 139, 92, 246;
  --dp-card-glow: 99, 102, 241;
}

.dp-service-card--6 {
  --dp-card-accent: 245, 158, 11;
  --dp-card-glow: 251, 191, 36;
}

.dp-service-card--photo {
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(var(--dp-card-glow), 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.38) 100%);
}

.dp-service-card--photo .dp-service-card__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.dp-service-card__photo--aplikacije {
  background-image: url("assets/images/aplikacije-bg.png");
  background-position: center center;
}

.dp-service-card__photo--web {
  background-image: url("assets/images/web-sajtovi-bg.png");
  background-position: center center;
}

.dp-service-card__photo--vpn {
  background-image: url("assets/images/vpn-bg.png");
  background-position: center center;
}

.dp-service-card--photo::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.46) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(var(--dp-card-accent), 0.08), transparent 52%);
}

.dp-service-card--photo h3,
.dp-service-card--photo .dp-service-intro,
.dp-service-card--photo li {
  text-shadow: 0 1px 8px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.8);
}

.dp-service-card > * {
  position: relative;
  z-index: 1;
}

.dp-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--dp-card-accent), 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 0 32px rgba(var(--dp-card-accent), 0.16),
    0 16px 40px rgba(15, 23, 42, 0.1);
}

.dp-service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(var(--dp-card-accent), 0.18);
  background: linear-gradient(135deg, rgba(var(--dp-card-glow), 0.14), rgba(var(--dp-card-accent), 0.1));
  color: rgb(var(--dp-card-accent));
  box-shadow: 0 0 16px rgba(var(--dp-card-glow), 0.18);
}

.dp-service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.dp-service-intro {
  color: #475569;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.dp-service-card li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 8px;
}

.dp-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--dp-card-glow));
  box-shadow: 0 0 6px rgba(var(--dp-card-glow), 0.45);
}

/* Partnership */
.dp-partnership {
  background: transparent;
}

.dp-partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.dp-partnership-main {
  margin-bottom: 0;
  padding: 32px 36px;
}

.dp-partnership-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

.dp-partnership-quote {
  grid-column: 1 / -1;
  padding: 32px 36px;
}

.dp-partnership-mini h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.dp-partnership-mini p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
}

.dp-glass-panel:not(.dp-glass-panel--dark) .dp-eyebrow {
  color: var(--dp-blue);
}

.dp-glass-panel:not(.dp-glass-panel--dark) .dp-section-lead {
  color: #475569;
}

.dp-partnership-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}

.dp-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  position: relative;
  flex-shrink: 0;
}

.dp-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--dp-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dp-partnership-panel__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dp-panel-motif {
  position: absolute;
  opacity: 0.12;
}

.dp-panel-motif--chart {
  width: 140px;
  height: 90px;
  top: 8%;
  right: 5%;
  border-left: 2px solid #3b82f6;
  border-bottom: 2px solid #3b82f6;
  background:
    linear-gradient(0deg, transparent 60%, rgba(59, 130, 246, 0.3) 60%, rgba(59, 130, 246, 0.3) 75%, transparent 75%),
    linear-gradient(0deg, transparent 40%, rgba(34, 211, 238, 0.25) 40%, rgba(34, 211, 238, 0.25) 55%, transparent 55%),
    linear-gradient(0deg, transparent 20%, rgba(59, 130, 246, 0.2) 20%, rgba(59, 130, 246, 0.2) 35%, transparent 35%);
  animation: dp-motif-float 8s ease-in-out infinite;
}

.dp-panel-motif--shield {
  width: 64px;
  height: 72px;
  bottom: 12%;
  left: 6%;
  border: 2px solid #22d3ee;
  border-radius: 4px 4px 50% 50%;
  clip-path: polygon(50% 0%, 100% 18%, 100% 55%, 50% 100%, 0% 55%, 0% 18%);
  animation: dp-motif-float 7s ease-in-out infinite reverse;
}

.dp-panel-motif--nodes {
  width: 100px;
  height: 60px;
  bottom: 20%;
  right: 12%;
  background:
    radial-gradient(circle, #3b82f6 3px, transparent 3px) 10px 20px / 40px 30px,
    radial-gradient(circle, #22d3ee 3px, transparent 3px) 30px 10px / 40px 30px;
  animation: dp-motif-float 9s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes dp-motif-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.dp-partnership-panel blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 500;
  color: #334155;
}

.dp-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #334155;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dp-tag::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 8px;
  flex-shrink: 0;
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.dp-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
}

.dp-tag--strategy::before {
  background-color: rgba(59, 130, 246, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 18V6M10 18V10M16 18V14M22 18V4' stroke='%233B82F6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.dp-tag--security::before {
  background-color: rgba(34, 211, 238, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l7 4v5c0 4.4-3 7.5-7 9-4-1.5-7-4.6-7-9V7l7-4z' stroke='%2322D3EE' stroke-width='1.8'/%3E%3Cpath d='M10 12l2 2 4-4' stroke='%2322D3EE' stroke-width='1.6'/%3E%3C/svg%3E");
}

.dp-tag--scale::before {
  background-color: rgba(99, 102, 241, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 17L17 7M17 7h-6M17 7v6' stroke='%236366F1' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.dp-tag--support::before {
  background-color: rgba(16, 185, 129, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2a8 8 0 00-8 8c0 3.4 2.1 6.3 5 7.5V20h6v-2.5c2.9-1.2 5-4.1 5-7.5a8 8 0 00-8-8z' stroke='%2310B981' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* Contact */
.dp-contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: stretch;
}

.dp-contact-card {
  padding: 28px;
}

.dp-contact-card__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dp-contact-card__fx .dp-feature-card__orb--1 {
  width: 100px;
  height: 100px;
  top: -30px;
  right: -10px;
  background: rgba(34, 211, 238, 0.15);
}

.dp-contact-card__fx .dp-feature-card__orb--2 {
  width: 80px;
  height: 80px;
  bottom: 20px;
  left: -20px;
  background: rgba(59, 130, 246, 0.12);
}

.dp-contact-card__profile {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
}

.dp-contact-avatar {
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
}

.dp-contact-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #0f172a;
}

.dp-contact-card__intro {
  flex: 1;
  min-width: 0;
}

.dp-contact-card__intro h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #0f172a;
}

.dp-contact-card__intro .dp-section-lead {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.dp-contact-details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dp-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dp-contact-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.dp-contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #3b82f6;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.dp-contact-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dp-contact-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.dp-contact-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  word-break: break-word;
}

a.dp-contact-value {
  color: var(--dp-blue);
  transition: color 0.2s ease;
}

a.dp-contact-value:hover {
  color: #2563eb;
}

.dp-contact-form {
  padding: 32px;
}

.dp-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

.dp-contact-form input,
.dp-contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dp-contact-form input:focus,
.dp-contact-form textarea:focus {
  outline: none;
  border-color: var(--dp-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.dp-contact-form .dp-btn {
  width: 100%;
}

.dp-form-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.dp-form-notice--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.dp-form-notice--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Footer */
.dp-footer {
  padding: 44px 0 52px;
  background: transparent;
  color: #64748b;
  border-top: 1px solid rgba(59, 130, 246, 0.14);
}

.dp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
}

.dp-footer-brand {
  font-family: var(--dp-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.dp-footer-brand strong {
  color: var(--dp-cyan);
}

.dp-footer-contact {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.dp-footer-contact a {
  color: var(--dp-blue);
}

.dp-footer-contact a:hover {
  color: #2563eb;
}

.dp-footer-links {
  display: flex;
  gap: 20px;
}

.dp-footer-links a {
  color: #64748b;
  font-size: 0.9rem;
}

.dp-footer-links a:hover {
  color: #0f172a;
}

.dp-footer-copy {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(59, 130, 246, 0.12);
  font-size: 0.8125rem;
}

/* Mobile */
body.dp-nav-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .dp-hero-grid,
  .dp-partnership-grid,
  .dp-contact-grid {
    grid-template-columns: 1fr;
  }

  .dp-partnership-aside {
    grid-template-columns: 1fr;
  }

  .dp-contact-card__profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dp-contact-details {
    grid-template-columns: 1fr;
  }

  .dp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dp-hero-visual {
    max-width: 100%;
    margin-inline: auto;
    min-height: auto;
  }

  .dp-hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
  }

  .dp-glass-card {
    min-height: 168px;
    padding: 18px 16px;
  }

  .dp-glass-card strong {
    font-size: 0.84rem;
  }

  .dp-glass-card span {
    font-size: 0.72rem;
  }

  .dp-feature-card {
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dp-animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dp-feature-card__grid,
  .dp-feature-card__scan,
  .dp-feature-card__orb,
  .dp-feature-card__node,
  .dp-panel-motif {
    animation: none;
  }
}

@media (max-width: 768px) {
  .dp-nav-toggle {
    display: flex;
  }

  .dp-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    background: rgba(15, 23, 42, 0.97);
    border-bottom: 1px solid var(--dp-border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  body.dp-nav-open .dp-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .dp-nav-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
  }

  .dp-nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 12px 16px;
  }

  .dp-nav-link:hover {
    transform: translateX(4px);
  }

  .dp-services-grid {
    grid-template-columns: 1fr;
  }

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

  .dp-trust-pill {
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .dp-hero {
    padding: 56px 0 72px;
  }
}
