html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #ffffff 100%);
  color: #0f172a;
}

.floating-orb {
  position: fixed;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
  animation: floaty 10s ease-in-out infinite;
}

.floating-orb.orb-1 {
  width: 220px;
  height: 220px;
  left: -70px;
  top: 24vh;
  background: rgba(59, 130, 246, 0.14);
}

.floating-orb.orb-2 {
  width: 190px;
  height: 190px;
  right: -56px;
  top: 58vh;
  background: rgba(20, 184, 166, 0.14);
  animation-delay: 1.2s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-14px) translateX(8px); }
}

.glass-nav {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.nav-link.active {
  color: #1d4ed8;
  font-weight: 700;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-menu.active {
  max-height: 520px;
}

.mobile-menu-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.mobile-menu.active .mobile-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu-item:nth-child(1) { transition-delay: 0.03s; }
.mobile-menu.active .mobile-menu-item:nth-child(2) { transition-delay: 0.07s; }
.mobile-menu.active .mobile-menu-item:nth-child(3) { transition-delay: 0.11s; }
.mobile-menu.active .mobile-menu-item:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-item:nth-child(5) { transition-delay: 0.19s; }
.mobile-menu.active .mobile-menu-item:nth-child(6) { transition-delay: 0.23s; }

.btn-soft {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.section-kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

.hero-dark-belt {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #334155 100%);
  position: relative;
  overflow: hidden;
}

.hero-dark-belt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.22), transparent 42%),
    radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.18), transparent 38%);
  pointer-events: none;
}

.hero-dark-belt .hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.trust-strip {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
}

.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: #bfdbfe;
}

.photo-card {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.photo-card img {
  transition: transform 0.45s ease;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.fade-in-up,
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible,
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-pulse-once {
  animation: ctaPulse 1.6s ease 0.7s 1;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
  45% { box-shadow: 0 0 0 11px rgba(37, 99, 235, 0.18); }
}

.testimonials-carousel {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.carousel-control.prev { left: 0.75rem; }
.carousel-control.next { right: 0.75rem; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  border: 0;
  background: rgba(15, 23, 42, 0.24);
}

.carousel-dot.active {
  background: #2563eb;
}

.blog-prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #334155;
}

.blog-prose li {
  margin-bottom: 0.35rem;
}

.blog-prose a {
  color: #2563eb;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in-up,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
