/* =============================================================
   WebDynamics v3.0.2 
   ============================================================= */

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

/* WordPress body/wrapper reset */
html, body {
  width: 100%;
  max-width: 100% !important;
  overflow-x: hidden;
}

body.wd-body {
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset cestih WP theme wrappera */
#page, #content, #primary, .site, .site-content,
.wp-site-blocks, .entry-content, .post-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* CUSTOM PROPERTIES */
:root {
  --wd-navy-deepest: #071428;
  --wd-navy-deep:    #0A1E3D;
  --wd-navy-mid:     #0E2A52;
  --wd-navy-light:   #1A3A6B;
  --wd-teal:         #00C2E0;
  --wd-teal-dark:    #0099B8;
  --wd-teal-glow:    rgba(0, 194, 224, 0.15);
  --wd-text-primary: #E8F6FC;
  --wd-text-muted:   #94B8D4;
  --wd-text-faint:   #5A7A9A;
  --wd-border:       rgba(0, 194, 224, 0.12);
  --wd-border-hover: rgba(0, 194, 224, 0.35);
  --font-display:    'Space Grotesk', sans-serif;
  --font-body:       'DM Sans', sans-serif;
  --radius:          0.75rem;
  --radius-sm:       0.375rem;
  --container-max:   1540px;
  --container-pad:   1.25rem;
}

@media (min-width: 640px)  { :root { --container-pad: 1.5rem; } }
@media (min-width: 1024px) { :root { --container-pad: 2rem; } }

/* BASE TYPOGRAPHY */
body {
  background-color: var(--wd-navy-deepest);
  color: var(--wd-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--wd-text-primary);
}

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

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

/* SCROLLBAR  */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--wd-navy-deepest); }
::-webkit-scrollbar-thumb { background: var(--wd-navy-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--wd-teal-dark); }

/* LAYOUT  */
.wd-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.wd-section {
  position: relative;
  padding: 5rem 0;
}

/* UTILITIES */
.wd-teal-text   { color: var(--wd-teal); }
.wd-sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.wd-dot-grid {
  background-image: radial-gradient(circle, rgba(0,194,224,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.wd-glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wd-teal), transparent);
  opacity: 0.4;
}

/* BADGES / TAGS */
.wd-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0,194,224,0.1);
  color: var(--wd-teal);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2rem;
  border: 1px solid rgba(0,194,224,0.25);
}

.wd-section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wd-teal);
  opacity: 0.7;
  text-transform: uppercase;
}

/* BUTTONS */
.wd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--wd-teal);
  color: var(--wd-navy-deepest);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.wd-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%) skewX(-15deg);
  animation: wd-shimmer 2.5s ease-in-out infinite;
}

.wd-btn-primary:hover {
  background: var(--wd-teal-dark);
  box-shadow: 0 0 20px rgba(0,194,224,0.4);
  color: var(--wd-navy-deepest);
}

.wd-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--wd-text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(232,246,252,0.35);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.wd-btn-outline:hover {
  border-color: var(--wd-teal);
  color: var(--wd-teal);
  background: rgba(0,194,224,0.06);
}

/* CARDS */
.wd-card {
  background: var(--wd-navy-deep);
  border: 1px solid var(--wd-border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wd-card:hover {
  border-color: var(--wd-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,194,224,0.12);
}

.wd-stat-card {
  background: linear-gradient(135deg, var(--wd-navy-deep), var(--wd-navy-mid));
  border: 1px solid rgba(0,194,224,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

/* GRADIENT TEXT  */
.wd-gradient-text {
  background: linear-gradient(135deg, #00C2E0 0%, #0099B8 50%, #00D4F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wd-animated-gradient {
  background: linear-gradient(135deg, #00C2E0, #0099B8, #00E5FF, #00C2E0);
  background-size: 300% 300%;
  animation: wd-gradient-shift 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ANIMATIONS */
@keyframes wd-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes wd-shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(250%) skewX(-15deg); }
}

@keyframes wd-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes wd-glow-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0,194,224,0.3); }
  50%       { box-shadow: 0 0 25px rgba(0,194,224,0.6); }
}

@keyframes wd-bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50%       { transform: translateY(-6px) translateX(-50%); }
}

@keyframes wd-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wd-float       { animation: wd-float 6s ease-in-out infinite; }
.wd-glow-pulse  { animation: wd-glow-pulse 3s ease-in-out infinite; }
.wd-fade-up     { animation: wd-fade-up 0.8s ease forwards; }

/* NAVBAR */
.wd-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  font-family: var(--font-display);
}

.wd-nav.is-scrolled {
  background: rgba(7,20,40,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,194,224,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.wd-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Logo */
.wd-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.wd-nav__logo-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--wd-teal);
  display: flex; align-items: center; justify-content: center;
  animation: wd-glow-pulse 3s ease-in-out infinite;
}

.wd-nav__logo-icon svg {
  width: 16px; height: 16px;
  color: var(--wd-navy-deepest);
  fill: none; stroke: currentColor; stroke-width: 2.5;
}

.wd-nav__logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wd-text-primary);
}

.wd-nav__logo-text span { color: var(--wd-teal); }

/* Desktop links */
.wd-nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

@media (min-width: 768px) { .wd-nav__links { display: flex; } }

.wd-nav__links a,
.wd-nav__links button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wd-text-muted);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.25rem;
  white-space: nowrap;
}

.wd-nav__links a:hover,
.wd-nav__links button:hover { color: var(--wd-text-primary); }

.wd-nav__links a.is-active,
.wd-nav__links button.is-active {
  color: var(--wd-teal);
  background: rgba(0,194,224,0.08);
}

/* Dropdown */
.wd-nav__dropdown {
  position: relative;
}

.wd-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  min-width: 220px;
  background: rgba(7,20,40,0.97);
  border: 1px solid rgba(0,194,224,0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.wd-nav__dropdown:hover .wd-nav__dropdown-menu,
.wd-nav__dropdown:focus-within .wd-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wd-nav__dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  transition: color 0.15s ease, background 0.15s ease;
  border-radius: 0;
}

.wd-nav__dropdown-menu li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.wd-nav__dropdown-menu li:last-child  a { border-radius: 0 0 var(--radius) var(--radius); }

.wd-nav__dropdown-menu a:hover {
  color: var(--wd-text-primary);
  background: rgba(0,194,224,0.08);
}

.wd-nav__dropdown-menu a.is-active {
  color: var(--wd-teal);
  background: rgba(0,194,224,0.12);
}

/* Chevron */
.wd-nav__chevron {
  width: 14px; height: 14px;
  transition: transform 0.2s ease;
  fill: none; stroke: currentColor; stroke-width: 2;
}

.wd-nav__dropdown:hover .wd-nav__chevron { transform: rotate(180deg); }

/* CTA */
.wd-nav__cta { display: none; }
@media (min-width: 768px) { .wd-nav__cta { display: flex; align-items: center; } }

/* Hamburger */
.wd-nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  padding: 4px;
  background: none; border: none;
}

@media (min-width: 768px) { .wd-nav__hamburger { display: none; } }

.wd-nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--wd-text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.wd-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wd-nav__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.wd-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.wd-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(0,194,224,0.12);
  background: rgba(7,20,40,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wd-nav__mobile.is-open { display: flex; }

.wd-nav__mobile a,
.wd-nav__mobile button {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wd-text-muted);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: flex; align-items: center; justify-content: space-between;
}

.wd-nav__mobile a:hover { color: var(--wd-text-primary); }

.wd-nav__mobile a.is-active {
  color: var(--wd-teal);
  background: rgba(0,194,224,0.08);
}

.wd-nav__mobile-sub {
  padding-left: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.125rem;
}

.wd-nav__mobile-sub.is-open { display: flex; }

.wd-nav__mobile-sub a {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

.wd-nav__mobile-cta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,194,224,0.12);
}

/* HERO SECTION */
.wd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #071428 0%, #0A1E3D 60%, #071428 100%);
  padding-top: 5rem;
}

.wd-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.wd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,20,40,0.9) 0%, rgba(7,20,40,0.5) 60%, rgba(7,20,40,0.2) 100%);
}

.wd-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.wd-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.wd-hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
  min-height: calc(100vh - 5rem);
}

@media (min-width: 1024px) {
  .wd-hero__layout { grid-template-columns: 1fr 1fr; }
}

.wd-hero__content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.wd-hero__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wd-hero__tag { margin-bottom: 1.25rem; }

.wd-hero__heading {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.wd-hero__heading-line2 {
  display: block;
}

.wd-hero__desc {
  font-size: 1.1rem;
  color: var(--wd-text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.wd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.wd-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.wd-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--wd-text-muted);
}

.wd-hero__trust-item svg {
  color: var(--wd-teal);
  width: 15px; height: 15px;
  flex-shrink: 0;
}

/* Hero mockup */
.wd-hero__visual {
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.wd-hero__visual.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) { .wd-hero__visual { display: flex; } }

.wd-hero__mockup-wrap {
  position: relative;
}

.wd-hero__mockup-wrap img {
  max-width: 750px !important;
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(0,194,224,0.25));
}

.wd-hero__badge {
  position: absolute;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2rem;
}

.wd-hero__badge--top {
  top: -1rem; right: -1rem;
  background: var(--wd-teal);
  color: var(--wd-navy-deepest);
  box-shadow: 0 0 20px rgba(0,194,224,0.4);
}

.wd-hero__badge--bottom {
  bottom: -1rem; left: -1rem;
  background: var(--wd-navy-mid);
  color: var(--wd-teal);
  border: 1px solid rgba(0,194,224,0.3);
  font-size: 0.75rem;
}

/* Scroll indicator */
.wd-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: wd-bounce 2s ease-in-out infinite;
}

.wd-hero__scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(180deg, transparent, var(--wd-teal));
}

.wd-hero__scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wd-teal);
}

/* STATS SECTION */
.wd-stats {
  padding: 4rem 0;
  background: var(--wd-navy-deep);
  border-top: 1px solid rgba(0,194,224,0.1);
  border-bottom: 1px solid rgba(0,194,224,0.1);
}

.wd-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.wd-stat-card__icon-wrap {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(0,194,224,0.12);
  color: var(--wd-teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
}

.wd-stat-card__icon-wrap svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
}

.wd-stat-card__value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--wd-teal);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.wd-stat-card__label {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
}

/* PARTNERS SECTION */
.wd-partners {
  padding: 2.5rem 0;
  background: var(--wd-navy-deepest);
  border-bottom: 1px solid rgba(0,194,224,0.08);
}

.wd-partners__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wd-text-faint);
  margin-bottom: 1.5rem;
}

.wd-partners__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3.5rem;
  opacity: 0.5;
}

.wd-partners__item {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wd-text-muted);
}

/* SERVICES SECTION */
.wd-services { background: var(--wd-navy-deepest); }

.wd-services__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.wd-services__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.wd-services__desc {
  font-size: 1rem;
  color: var(--wd-text-muted);
  margin: 0 auto;
}

.wd-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px)  { .wd-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wd-services__grid { grid-template-columns: repeat(3, 1fr); } }

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

.wd-service-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,194,224,0.1);
  color: var(--wd-teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.wd-service-card:hover .wd-service-card__icon { transform: scale(1.1); }

.wd-service-card__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2;
}

.wd-service-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin-bottom: 0.75rem;
}

.wd-service-card__desc {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.wd-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wd-teal);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.wd-service-card__link:hover { gap: 0.625rem; color: var(--wd-teal); }

.wd-service-card__link svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  flex-shrink: 0;
}

.wd-services__footer { text-align: center; }

/* PORTFOLIO SECTION */
.wd-portfolio { background: var(--wd-navy-deep); }

.wd-portfolio__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .wd-portfolio__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.wd-portfolio__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.wd-portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.wd-portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,194,224,0.12);
  cursor: pointer;
}

.wd-portfolio-item img {
  width: 100%;
  height: 224px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.wd-portfolio-item:hover img { transform: scale(1.1); }

.wd-portfolio-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(7,20,40,0.95) 0%, rgba(7,20,40,0.4) 60%, transparent 100%);
}

.wd-portfolio-item__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,194,224,0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto !important;
  z-index: 2;
}

.wd-portfolio-item:hover .wd-portfolio-item__hover { opacity: 1; }

.wd-portfolio-item__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--wd-teal);
  color: var(--wd-navy-deepest);
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
}

.wd-portfolio-item__icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
}

.wd-portfolio-item__cat {
  margin-bottom: 0.5rem;
}

.wd-portfolio-item__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--wd-text-primary);
}

/* CTA Banner */
.wd-portfolio-cta {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 280px;
  border: 1px solid rgba(0,194,224,0.15);
}

.wd-portfolio-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.wd-portfolio-cta__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: rgba(7,20,40,0.7);
}

@media (max-width: 640px) {
  .wd-portfolio-cta {
    height: auto !important;
  }

  .wd-portfolio-cta img {
    display: none;
  }

  .wd-portfolio-cta__content {
    position: relative !important;
    inset: auto !important;
    padding: 3rem 1.5rem !important;
  }
}

.wd-portfolio-cta__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.wd-portfolio-cta__desc {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  max-width: 100%;
  margin-bottom: 1.5rem;
}

/* TESTIMONIALS SECTION */
.wd-testimonials { background: var(--wd-navy-deepest); }

.wd-testimonials__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.wd-testimonials__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.wd-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.wd-testimonial-card {
  padding: 1.75rem;
}

.wd-testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.wd-testimonial-card__stars svg {
  width: 14px; height: 14px;
  fill: var(--wd-teal);
  color: var(--wd-teal);
}

.wd-testimonial-card__text {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--wd-text-muted);
  margin-bottom: 1.5rem;
}

.wd-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wd-testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,194,224,0.15);
  color: var(--wd-teal);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.wd-testimonial-card__name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wd-text-primary);
}

.wd-testimonial-card__role {
  font-size: 0.75rem;
  color: var(--wd-text-muted);
}

/* CTA SECTION */
.wd-cta {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1E3D 0%, #071428 100%);
}

.wd-cta::before,
.wd-cta::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wd-teal), transparent);
}

.wd-cta::before { top: 0; }
.wd-cta::after  { bottom: 0; }

.wd-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.wd-cta__tag { margin-bottom: 1.25rem; }

.wd-cta__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.wd-cta__desc {
  font-size: 1rem;
  color: var(--wd-text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.wd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* FOOTER */
.wd-footer {
  background: linear-gradient(180deg, var(--wd-navy-deep) 0%, #040D1E 100%);
  border-top: 1px solid rgba(0,194,224,0.12);
  font-family: var(--font-body);
}

.wd-footer__main {
  padding: 4rem 0;
}

.wd-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px)  { .wd-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wd-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.wd-footer__brand-desc {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.wd-footer__socials {
  display: flex;
  gap: 0.75rem;
}

.wd-footer__social {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: rgba(0,194,224,0.08);
  border: 1px solid rgba(0,194,224,0.15);
  color: var(--wd-text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.wd-footer__social:hover {
  background: rgba(0,194,224,0.18);
  color: var(--wd-teal);
  border-color: rgba(0,194,224,0.4);
}

.wd-footer__social svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 2;
}

.wd-footer__col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wd-teal);
  margin-bottom: 1.25rem;
}

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

.wd-footer__nav a {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease;
}

.wd-footer__nav a:hover { color: var(--wd-teal); }

.wd-footer__nav a svg {
  width: 12px; height: 12px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.wd-footer__nav a:hover svg { opacity: 1; }

.wd-footer__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wd-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.wd-footer__contact-icon {
  width: 28px; height: 28px;
  border-radius: 4px;
  background: rgba(0,194,224,0.1);
  color: var(--wd-teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.wd-footer__contact-icon svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor; stroke-width: 2;
}

.wd-footer__contact-text {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
}

.wd-footer__bottom {
  border-top: 1px solid rgba(0,194,224,0.08);
  padding: 1.25rem 0;
}

.wd-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 640px) {
  .wd-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.wd-footer__copyright {
  font-size: 0.75rem;
  color: var(--wd-text-faint);
}

.wd-footer__legal {
  display: flex;
  gap: 1.25rem;
}

.wd-footer__legal a {
  font-size: 0.75rem;
  color: var(--wd-text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}

.wd-footer__legal a:hover { color: var(--wd-teal); }

/* CONTACT FORM */
.wd-form__group { margin-bottom: 1.25rem; }

.wd-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.wd-form__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wd-text-muted);
  margin-bottom: 0.375rem;
}

.wd-form__input,
.wd-form__select,
.wd-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,194,224,0.18);
  border-radius: var(--radius-sm);
  color: var(--wd-text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}

.wd-form__input:focus,
.wd-form__select:focus,
.wd-form__textarea:focus {
  border-color: var(--wd-teal);
}

.wd-form__input::placeholder,
.wd-form__textarea::placeholder { color: var(--wd-text-faint); }

.wd-form__select { cursor: pointer; background-image: none; }

.wd-form__select option { background: #0A1E3D; }

.wd-form__textarea { resize: vertical; min-height: 120px; }

.wd-form__notice {
  display: none;
  padding: 2.5rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.wd-form__notice.is-visible { display: flex; }

.wd-form__notice-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,194,224,0.15);
  color: var(--wd-teal);
  display: flex; align-items: center; justify-content: center;
}

.wd-form__notice-icon svg {
  width: 32px; height: 32px;
  fill: none; stroke: currentColor; stroke-width: 2;
}

/* RESPONSIVE HELPERS */
@media (max-width: 640px) {
  .wd-hero__actions .wd-btn-primary,
  .wd-hero__actions .wd-btn-outline {
    font-size: 0.9375rem;
    padding: 0.875rem 1.5rem;
  }
}

/* GRID HELPERS */
.wd-grid-2 { display:grid; grid-template-columns:1fr; gap:1.5rem; }
.wd-grid-3 { display:grid; grid-template-columns:1fr; gap:1.5rem; }
.wd-grid-4 { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }

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

/* ABOUT PAGE */
.wd-about-hero-grid { display:grid; grid-template-columns:1fr; gap:3rem; align-items:center; }
@media (min-width:1024px) { .wd-about-hero-grid { grid-template-columns:1fr 1fr; } }

.wd-timeline { position:relative; max-width:48rem; margin:0 auto; }
.wd-timeline::before {
  content:''; position:absolute; left:50%; top:0; bottom:0;
  width:1px; transform:translateX(-50%);
  background:linear-gradient(180deg, var(--wd-teal), transparent);
}
.wd-timeline__item {
  display:grid; grid-template-columns:1fr 1rem 1fr;
  align-items:start; gap:1.5rem; margin-bottom:2rem;
}
.wd-timeline__item--left .wd-timeline__card  { grid-column:1; text-align:right; }
.wd-timeline__item--left .wd-timeline__dot   { grid-column:2; }
.wd-timeline__item--left .wd-timeline__spacer{ grid-column:3; }
.wd-timeline__item--right .wd-timeline__spacer{ grid-column:1; }
.wd-timeline__item--right .wd-timeline__dot  { grid-column:2; }
.wd-timeline__item--right .wd-timeline__card { grid-column:3; }
.wd-timeline__dot {
  width:14px; height:14px; border-radius:50%; background:var(--wd-teal);
  box-shadow:0 0 12px rgba(0,194,224,0.5); margin-top:1.25rem;
  justify-self:center;
}

@media (max-width:640px) {
  .wd-timeline::before { left:0.5rem; }
  .wd-timeline__item { grid-template-columns:1rem 1fr; }
  .wd-timeline__item--left .wd-timeline__card,
  .wd-timeline__item--right .wd-timeline__card { grid-column:2; text-align:left; }
  .wd-timeline__item--left .wd-timeline__dot,
  .wd-timeline__item--right .wd-timeline__dot  { grid-column:1; }
  .wd-timeline__spacer { display:none; }
}

/* CONTACT PAGE */
.wd-contact-layout { display:grid; grid-template-columns:1fr; gap:2.5rem; }
@media (min-width:1024px) { .wd-contact-layout { grid-template-columns:1fr 2fr; } }

/* ICON COLOR FIX */
.wd-stat-card__icon-wrap svg,
.wd-service-card__icon svg,
.wd-hero__trust-item svg,
.wd-footer__contact-icon svg,
.wd-footer__social svg { color:inherit; }

/* ===== BLOG ===== */
.wd-blog-featured {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,194,224,0.15);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .wd-blog-featured { grid-template-columns: 1fr 1fr; }
}
.wd-blog-featured__img {
  position: relative;
  height: 256px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .wd-blog-featured__img { height: auto; min-height: 300px; }
}
.wd-blog-featured__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.wd-blog-featured:hover .wd-blog-featured__img img { transform: scale(1.05); }
.wd-blog-featured__content {
  background: var(--wd-navy-deep);
  padding: 2rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}

/* Blog cards */
.wd-blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,194,224,0.12);
  background: var(--wd-navy-deep);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.wd-blog-card:hover {
  border-color: var(--wd-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,194,224,0.12);
}
.wd-blog-card__img {
  position: relative;
  height: 176px;
  overflow: hidden;
}
.wd-blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.wd-blog-card:hover .wd-blog-card__img img { transform: scale(1.1); }

/* Tag na slici — GORNJI LEVI UGAO */
.wd-blog-card__cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.wd-blog-card__body { padding: 1.25rem; }
.wd-blog-card__meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; color: var(--wd-text-faint);
  margin-bottom: 0.75rem;
}
.wd-blog-card__meta-item { display: flex; align-items: center; gap: 0.375rem; }
.wd-blog-card__meta svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2; }
.wd-blog-card__title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--wd-text-primary);
  line-height: 1.35; margin-bottom: 0.5rem;
}
.wd-blog-card__excerpt {
  font-size: 0.8125rem; color: var(--wd-text-muted);
  line-height: 1.6; margin-bottom: 1rem;
}
.wd-blog-card__tags {
  display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1rem;
}
.wd-blog-card__tag {
  font-size: 0.7rem; padding: 0.125rem 0.5rem; border-radius: 4px;
  background: rgba(0,194,224,0.06); color: var(--wd-text-faint);
  border: 1px solid rgba(0,194,224,0.12);
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.wd-blog-card__tag svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2; }
.wd-blog-card__link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  color: var(--wd-teal); text-decoration: none;
  transition: gap 0.2s ease;
}
.wd-blog-card__link:hover { gap: 0.625rem; }
.wd-blog-card__link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* Blog search */
.wd-blog-search {
  position: relative;
  max-width: 28rem; margin: 0 auto;
}
.wd-blog-search__icon {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none; color: var(--wd-text-muted);
}
.wd-blog-search__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.wd-blog-search input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,194,224,0.2);
  border-radius: var(--radius-sm);
  color: var(--wd-text-primary);
  font-family: var(--font-body); font-size: 0.875rem;
  outline: none; transition: border-color 0.2s ease;
}
.wd-blog-search input:focus { border-color: var(--wd-teal); }
.wd-blog-search input::placeholder { color: var(--wd-text-faint); }

/* Blog filters */
.wd-blog-filters {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.wd-filter-btn {
  padding: 0.5rem 1.25rem; border-radius: 2rem;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
  background: rgba(0,194,224,0.08); color: var(--wd-text-muted);
  border: 1px solid rgba(0,194,224,0.2);
}
.wd-filter-btn.is-active {
  background: var(--wd-teal); color: var(--wd-navy-deepest);
  border-color: var(--wd-teal);
}
.wd-filter-btn:hover:not(.is-active) { color: var(--wd-text-primary); }

/* ===== PORTFOLIO ISPRAVKE ===== */
/* Portfolio: tag kategorija i results ISPOD slike, ne iznad */
.wd-portfolio-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(7,20,40,0.95) 0%, rgba(7,20,40,0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hover sa dve ikonice */
.wd-portfolio-item__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(7,20,40,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto !important;
  z-index: 2;
}
.wd-portfolio-item:hover .wd-portfolio-item__hover { opacity: 1; }

.wd-portfolio-item__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.wd-portfolio-item__icon:first-child {
  background: var(--wd-teal);
  color: var(--wd-navy-deepest);
}
.wd-portfolio-item__icon:last-child {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}
.wd-portfolio-item__icon:hover { transform: scale(1.1); }
.wd-portfolio-item__icon svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
}




.wd-portfolio-item__hover a {
    pointer-events: auto;
    cursor: pointer;
}



/* =============================================================
   AI AUTOMATIZACIJA — template-specific styles
   Dodati ispod postojeceg main.css (WebDynamics v3.0.2)
   Prefix: wdai-
   ============================================================= */

/* ── HERO ─────────────────────────────────────────────────── */
.wdai-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #071428 0%, #0A1E3D 55%, #071428 100%);
}

.wdai-hero__dots {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}

.wdai-hero__glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(0,194,224,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.wdai-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 3rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .wdai-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100vh;
  }
}

.wdai-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.wdai-hero__lead {
  font-size: 1.05rem;
  color: var(--wd-text-muted);
  line-height: 1.75;
  max-width: 38rem;
  margin-bottom: 2rem;
}

.wdai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wdai-hero__text-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wd-teal);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.wdai-hero__text-link:hover { opacity: 1; }

/* Hero image */
.wdai-hero__visual {
  display: none;
}
@media (min-width: 1024px) {
  .wdai-hero__visual { display: flex; justify-content: flex-end; align-items: center; }
}

.wdai-hero__img-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: visible;
}

.wdai-hero__img-wrap img {
  border-radius: 1.25rem;
  width: 100%;
  max-width: 580px;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(0,194,224,0.2));
  border: 1px solid rgba(0,194,224,0.15);
}

.wdai-hero__img-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2rem;
  white-space: nowrap;
}

.wdai-hero__img-badge svg {
  flex-shrink: 0;
}

.wdai-hero__img-badge--tl {
  top: -1rem;
  left: -1rem;
  background: var(--wd-teal);
  color: var(--wd-navy-deepest);
  box-shadow: 0 0 20px rgba(0,194,224,0.4);
  animation: wd-glow-pulse 3s ease-in-out infinite;
}

.wdai-hero__img-badge--br {
  bottom: -1rem;
  right: -1rem;
  background: var(--wd-navy-mid);
  color: var(--wd-teal);
  border: 1px solid rgba(0,194,224,0.3);
}

/* ── KLIJENTI ─────────────────────────────────────────────── */
.wdai-clients {
  padding: 2.25rem 0;
  background: var(--wd-navy-deep);
  border-top: 1px solid rgba(0,194,224,0.08);
  border-bottom: 1px solid rgba(0,194,224,0.08);
}

.wdai-clients__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wd-text-faint);
  margin-bottom: 1.25rem;
}

.wdai-clients__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
}

.wdai-clients__item {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wd-text-muted);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.wdai-clients__item:hover { opacity: 0.85; }

/* ── BOL SEKCIJA ──────────────────────────────────────────── */
.wdai-pain {
  background: linear-gradient(180deg, var(--wd-navy-deepest) 0%, rgba(10,30,61,0.6) 100%);
  border-top: 1px solid rgba(0,194,224,0.08);
}

.wdai-pain__header {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 3.5rem;
}

.wdai-pain__header .wd-section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.wdai-pain__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--wd-text-primary);
}

.wdai-pain__subhead {
  font-size: 1rem;
  color: var(--wd-text-muted);
  line-height: 1.7;
}

.wdai-pain__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px)  { .wdai-pain__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wdai-pain__grid { grid-template-columns: repeat(2, 1fr); } }

.wdai-pain__card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(180, 30, 30, 0.06);
  border: 1px solid rgba(220, 60, 60, 0.2);
  border-left: 3px solid rgba(220, 80, 80, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.wdai-pain__card:hover {
  background: rgba(180, 30, 30, 0.1);
  border-color: rgba(220, 80, 80, 0.4);
  border-left-color: rgba(220, 80, 80, 0.8);
}

.wdai-pain__card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(220, 60, 60, 0.12);
  color: #e05a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.wdai-pain__card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin-bottom: 0.6rem;
}

.wdai-pain__card p {
  font-size: 0.9rem;
  color: var(--wd-text-muted);
  line-height: 1.65;
}

.wdai-pain__card p strong {
  color: var(--wd-text-primary);
}

/* CTA u okviru pain sekcije */
.wdai-pain__cta {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  background: rgba(0,194,224,0.05);
  border: 1px solid rgba(0,194,224,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .wdai-pain__cta {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.wdai-pain__cta p {
  font-size: 1rem;
  color: var(--wd-text-muted);
  max-width: 38rem;
  line-height: 1.6;
}

/* ── O AUTOMATIZACIJI — about layout ─────────────────────── */
.wdai-about {
  background: var(--wd-navy-deepest);
}

.wdai-about__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .wdai-about__layout { grid-template-columns: 1fr 1fr; }
}

.wdai-about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.wdai-about__text p {
  font-size: 0.95rem;
  color: var(--wd-text-muted);
  line-height: 1.75;
}

.wdai-about__text p strong {
  color: var(--wd-text-primary);
}

/* Pillars */
.wdai-pillar {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,194,224,0.08);
}

.wdai-pillar:last-child { border-bottom: none; }

.wdai-pillar__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--wd-teal);
  letter-spacing: 0.05em;
  min-width: 28px;
  padding-top: 0.15rem;
}

.wdai-pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin-bottom: 0.35rem;
}

.wdai-pillar p {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── SHARED SECTION HEADER ────────────────────────────────── */
.wdai-section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}

.wdai-section-header .wd-section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.wdai-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.wdai-section-header p {
  font-size: 0.975rem;
  color: var(--wd-text-muted);
  line-height: 1.7;
}

/* ── USLUGE — service cards ───────────────────────────────── */
.wdai-services {
  background: var(--wd-navy-deep);
}

.wdai-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px)  { .wdai-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wdai-services__grid { grid-template-columns: repeat(3, 1fr); } }

.wdai-svc-card {
  padding: 1.75rem;
}

.wdai-svc-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(0,194,224,0.1);
  color: var(--wd-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform 0.3s ease;
}

.wdai-svc-card:hover .wdai-svc-card__icon { transform: scale(1.1); }

.wdai-svc-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin-bottom: 0.6rem;
}

.wdai-svc-card p {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.65;
}

/* ── INTEGRACIJE ──────────────────────────────────────────── */
.wdai-integrations {
  background: var(--wd-navy-deepest);
}

.wdai-integrations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

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

.wdai-int-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(0,194,224,0.04);
  border: 1px solid var(--wd-border);
  transition: border-color 0.3s ease;
}

.wdai-int-item:hover { border-color: var(--wd-border-hover); }

.wdai-int-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0,194,224,0.1);
  color: var(--wd-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wdai-int-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin-bottom: 0.4rem;
}

.wdai-int-item p {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.6;
  margin: 0;
}

.wdai-integrations__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(0,194,224,0.03);
  border: 1px solid rgba(0,194,224,0.08);
}

.wdai-integrations__logos span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wd-text-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── PROCES — stepper ─────────────────────────────────────── */
.wdai-process {
  background: var(--wd-navy-deep);
}

.wdai-process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

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

.wdai-step {
  padding: 2rem 1.5rem;
  position: relative;
  border-top: 1px solid rgba(0,194,224,0.1);
}

@media (min-width: 768px) {
  .wdai-step {
    border-top: none;
    border-left: 1px solid rgba(0,194,224,0.1);
    padding: 0 2rem;
  }
  .wdai-step:first-child { border-left: none; padding-left: 0; }
}

.wdai-step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--wd-teal);
  opacity: 0.35;
  margin-bottom: 1rem;
  line-height: 1;
}

.wdai-step__line {
  display: none;
}

.wdai-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin-bottom: 0.6rem;
}

.wdai-step p {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.65;
}

/* ── SIGURNOST ────────────────────────────────────────────── */
.wdai-security {
  background: var(--wd-navy-deepest);
}

.wdai-security__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .wdai-security__layout { grid-template-columns: 1fr 1fr; }
}

.wdai-security__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.wdai-security__text p {
  font-size: 0.975rem;
  color: var(--wd-text-muted);
  line-height: 1.7;
}

.wdai-security__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wdai-sec-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(0,194,224,0.04);
  border: 1px solid var(--wd-border);
}

.wdai-sec-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0,194,224,0.1);
  color: var(--wd-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wdai-sec-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin-bottom: 0.3rem;
}

.wdai-sec-card p {
  font-size: 0.85rem;
  color: var(--wd-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── POČETAK — start small ────────────────────────────────── */
.wdai-start {
  background: var(--wd-navy-deep);
}

.wdai-start__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .wdai-start__layout { grid-template-columns: 1fr 1fr; }
}

.wdai-start__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.wdai-start__text p {
  font-size: 0.975rem;
  color: var(--wd-text-muted);
  line-height: 1.75;
}

.wdai-start__text p strong { color: var(--wd-text-primary); }

.wdai-start__list-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wd-teal);
  margin-bottom: 1.25rem;
}

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

.wdai-start__items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--wd-text-muted);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0,194,224,0.04);
  border: 1px solid rgba(0,194,224,0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wdai-start__items li:hover {
  background: rgba(0,194,224,0.08);
  border-color: rgba(0,194,224,0.2);
  color: var(--wd-text-primary);
}

.wdai-start__items li svg {
  color: var(--wd-teal);
  flex-shrink: 0;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.wdai-faq {
  background: var(--wd-navy-deepest);
}

.wdai-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.wdai-faq__item {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(0,194,224,0.04);
  border: 1px solid var(--wd-border);
  transition: border-color 0.3s ease;
}

.wdai-faq__item:hover { border-color: var(--wd-border-hover); }

.wdai-faq__item h3 {
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--wd-teal);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.wdai-faq__item p {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.7;
}

/* ── FINALNI CTA ──────────────────────────────────────────── */
.wdai-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--wd-navy-mid) 0%, var(--wd-navy-deep) 100%);
  border-top: 1px solid rgba(0,194,224,0.15);
  position: relative;
  overflow: hidden;
}

.wdai-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,194,224,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.wdai-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .wdai-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

.wdai-cta__text {
  max-width: 44rem;
}

.wdai-cta__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.wdai-cta__text p {
  font-size: 0.975rem;
  color: var(--wd-text-muted);
  line-height: 1.7;
}

.wdai-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .wdai-cta__actions { flex-direction: row; align-items: center; }
}



/* =============================================================
   ECOMMERCE — feature kartice (wdec-)
   Dodato uz ecommerce.php template
   ============================================================= */
 
.wdec-features {
  background: var(--wd-navy-deepest);
}
 
.wdec-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
 
@media (min-width: 640px)  { .wdec-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wdec-features__grid { grid-template-columns: repeat(3, 1fr); } }
 
.wdec-feature-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
 
.wdec-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,194,224,0.1);
  color: var(--wd-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
 
.wdec-feature-card:hover .wdec-feature-card__icon {
  transform: scale(1.1);
  background: rgba(0,194,224,0.18);
}
 
.wdec-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--wd-text-primary);
  margin: 0;
}
 
.wdec-feature-card p {
  font-size: 0.875rem;
  color: var(--wd-text-muted);
  line-height: 1.65;
  margin: 0;
}
 
/* ── INDUSTRIJE TAGOVI ────────────────────────────────────── */
.wdec-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}
 
.wdec-industry-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wd-text-muted);
  padding: 0.4rem 0.875rem;
  border-radius: 2rem;
  background: rgba(0,194,224,0.05);
  border: 1px solid rgba(0,194,224,0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
 
.wdec-industry-tag:hover {
  background: rgba(0,194,224,0.1);
  color: var(--wd-text-primary);
  border-color: rgba(0,194,224,0.25);
}



/* ── PROCESS STEPPER FIX ─────────────────────────────────── */
@media (min-width: 768px) {
  .wdai-process__steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .wdai-step {
    border-top: 1px solid rgba(0,194,224,0.1);
    border-left: none;
    padding: 2rem 1.5rem;
  }

  .wdai-step:first-child {
    padding-left: 1.5rem;
  }
}