/* Klase koje GSAP hvata, ali rade i bez JS-a (blagi fade-in) */



.anim-scale-in {
  opacity: 0;
  transform: scale(0.96);
}

.float-soft {
  animation: floatSoft 4.2s ease-in-out infinite alternate;
}

@keyframes floatSoft {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}






/* ZAŠTO NAS – layout + kartice */

.why-us-section {
  position: relative;
  padding: 120px 0;
}

.why-us-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.why-us-eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 6px;
}

.why-us-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
  margin-top: auto;
}

.why-us-lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* GRID kartica */

.why-us-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top left,
      rgba(71, 127, 139, 0.24),
      rgba(3, 6, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  cursor: default;
  transform-style: preserve-3d;
  transition:
    transform 0.25s ease-out,
    box-shadow 0.25s ease-out,
    border-color 0.25s ease-out,
    background 0.35s ease-out;
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right,
      rgba(255, 255, 255, 0.12),
      transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease-out;
}

.why-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Ikona u kružiću */

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0,
      rgba(255, 255, 255, 0.22),
      rgba(5, 12, 31, 1));
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  transform: translateZ(20px);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

/* Lista benefita */

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.why-list li {
  position: relative;
  padding-left: 14px;
  margin-top: 4px;
}

.why-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* Hover interakcija */

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.9);
  border-color: rgba(71, 127, 139, 0.95);
  background: radial-gradient(circle at top left,
      rgba(71, 127, 139, 0.36),
      rgba(3, 6, 20, 0.98));
}

.why-card:hover::after {
  opacity: 1;
}

.why-card:hover .why-icon {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.9);
}

/* Responsivno */

@media (max-width: 960px) {
  .why-us-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .why-us-section {
    padding: 90px 0 80px;
  }

  .why-us-features {
    grid-template-columns: minmax(0, 1fr);
  }
}
