* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #22a563; border-radius: 3px; }

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Gradient background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Light card */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34, 165, 99, 0.12);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Service card hover glow */
.service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(34, 165, 99, 0.18);
  border-color: rgba(34, 165, 99, 0.4);
}

/* Navbar — white with subtle shadow */
.navbar-blur {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34, 165, 99, 0.12);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
}

/* Animated gradient text */
.gradient-text {
  background: linear-gradient(135deg, #22a563 0%, #45c07f 40%, #16a34a 70%, #22a563 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 4s linear infinite;
}
@keyframes textShine {
  to { background-position: 200% center; }
}

/* Hero phone mockup glow */
.phone-glow {
  filter: drop-shadow(0 0 30px rgba(34,165,99,0.35));
}

/* Desktop nav link — bordered pill style */
.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  color: #334155;
  font-weight: 500;
  font-size: 0.875rem;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav-link:hover {
  border-color: #22a563;
  color: #22a563;
  background: rgba(34, 165, 99, 0.06);
  box-shadow: 0 2px 12px rgba(34, 165, 99, 0.15);
}
@media (max-width: 640px) {
  .nav-link {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-width: 1px;
  }
}
/* Remove underline animation — replaced by border effect */
.nav-link::after { display: none; }

/* WhatsApp float button */
.whatsapp-btn {
  animation: wpPulse 2.5s ease-in-out infinite;
}
@keyframes wpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
}

/* Stats counter */
.stat-card {
  background: linear-gradient(135deg, rgba(34,165,99,0.1), rgba(34,165,99,0.03));
  border: 1px solid rgba(34,165,99,0.2);
}

/* Mobile menu animation */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.4s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero typed cursor */
.typed-cursor {
  display: inline-block;
  width: 3px;
  background: #22a563;
  animation: blink 0.8s step-end infinite;
  margin-left: 2px;
  vertical-align: middle;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Process step line */
.step-line {
  position: absolute;
  top: 24px; left: 50%;
  width: 100%; height: 2px;
  background: linear-gradient(to right, #22a563, transparent);
  transform: translateX(0);
}

/* Input focus glow */
.input-glow:focus {
  outline: none;
  border-color: #22a563;
  box-shadow: 0 0 0 3px rgba(34,165,99,0.12);
}
