/* ── SalaCRM Landing Page ── Custom overrides & animations ── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

html { scroll-behavior: smooth; }

/* ── Smooth fade-in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero gradient overlay ── */
.hero-gradient {
  background: linear-gradient(135deg, #064e3b 0%, #059669 50%, #047857 100%);
}

/* ── Pulsing CTA ring ── */
.cta-pulse {
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}
.testimonial-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-bubble {
  background: #f0fdf4;
  border-radius: 18px;
  padding: 1rem 1.25rem;
  position: relative;
  margin-top: 0.75rem;
  line-height: 1.6;
  font-size: 0.925rem;
  color: #374151;
}
.testimonial-bubble::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 24px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f0fdf4;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* ── Form input focus ── */
input:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* ── Success animation ── */
@keyframes checkmark {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.animate-checkmark {
  animation: checkmark 0.4s ease-out forwards;
}

/* ── Mobile nav ── */
@media (max-width: 767px) {
  .nav-open .mobile-menu {
    max-height: 400px;
    opacity: 1;
  }
}
