/* ============================================ */
/* RADAR - Custom Styles (Redesign v2 - Human)  */
/* ============================================ */

/* --- Global --- */
html {
  scroll-behavior: smooth;
}

::selection {
  background-color: #0d9488;
  color: white;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: white;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.35);
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.5);
}

.btn-primary-lg:active {
  transform: translateY(0);
}

/* --- Navbar --- */
#navbar {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .nav-logo-text {
  color: #1a365d;
}

/* --- Stat Cards --- */
.stat-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

/* --- Step Cards --- */
.step-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #f1f5f9;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  user-select: none;
}

/* --- Feature Cards --- */
.feature-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

/* --- ROI Cards --- */
.roi-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.roi-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* --- Use Case Cards --- */
.use-case-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.use-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* --- Testimonial Cards V2 (with photos) --- */
.testimonial-card-v2 {
  background: white;
  border: 1px solid #fdecd3;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.testimonial-card-v2::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: #fad5a5;
  font-family: Georgia, serif;
  opacity: 0.5;
}

.testimonial-card-v2:hover {
  box-shadow: 0 16px 48px rgba(240, 117, 14, 0.1);
  border-color: #f7b86d;
  transform: translateY(-4px);
}

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

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

.animate-float {
  animation: float 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 6s ease-in-out infinite;
  animation-delay: 1s;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Progress Ring --- */
.progress-ring {
  transition: stroke-dashoffset 1.5s ease;
}

/* --- Form Focus States --- */
input:focus,
select:focus {
  outline: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .step-number {
    font-size: 2.5rem;
    right: 0.75rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .testimonial-card-v2::before {
    font-size: 3rem;
  }
}
