/* ============================================
   WEBYMIND MAURITIUS - ENHANCED STYLES
   Production-ready with Framer Motion-style animations
   ============================================ */

/* ============================================
   CSS VARIABLES & COLOR PALETTE
   ============================================ */
:root {
  /* Brand Colors */
  --wm-dark: #0d0d0d;
  --wm-card: #131313;
  --wm-card-2: #171717;
  --wm-text: #f7f7f7;
  --wm-muted: #b6b6b6;
  --wm-green: #9bfb8b;
  --wm-green-dark: #7ad96b;
  --wm-line: rgba(255, 255, 255, 0.08);
  --wm-line-20: rgba(255, 255, 255, 0.20);
  --wm-line-30: rgba(255, 255, 255, 0.30);
  
  /* Shadows */
  --wm-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  --wm-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);
  --wm-shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.4);
  --wm-shadow-2xl: 0 30px 70px rgba(0, 0, 0, 0.5);
  
  /* Animation Timings (Framer Motion style) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Borders */
  --wm-radius: 22px;
  --wm-radius-sm: 12px;
  --wm-radius-lg: 24px;
  --wm-radius-xl: 32px;
  --wm-radius-full: 9999px;
  
  /* Layout */
  --wm-max-width: 1280px;
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--wm-dark);
  color: var(--wm-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* ============================================
   FRAMER MOTION STYLE ANIMATIONS
   ============================================ */

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Down Animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade In Right Animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(155, 251, 139, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(155, 251, 139, 0.6);
  }
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Rotate Animation */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Shimmer Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Bounce Animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Draw Line Animation */
@keyframes drawLine {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ============================================
   SCROLL ANIMATION CLASSES
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s var(--ease-out-expo) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s var(--ease-out-expo) forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s var(--ease-out-expo) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s var(--ease-out-expo) forwards;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ============================================
   UTILITY CLASSES - DISPLAY
   ============================================ */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ============================================
   UTILITY CLASSES - FLEXBOX
   ============================================ */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-shrink-0 { flex-shrink: 0; }

/* ============================================
   UTILITY CLASSES - GRID
   ============================================ */
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   UTILITY CLASSES - SPACING
   ============================================ */
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

/* Padding */
.p-1 { padding: var(--space-1); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-12 { padding: var(--space-12); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }
.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-20 { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.pt-8 { padding-top: var(--space-8); }
.pt-16 { padding-top: var(--space-16); }
.pb-20 { padding-bottom: var(--space-20); }

/* Margin */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-16 { margin-bottom: var(--space-16); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-0\.5 { margin-top: 0.125rem; }

/* ============================================
   UTILITY CLASSES - SIZING
   ============================================ */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: var(--wm-max-width); }

/* ============================================
   UTILITY CLASSES - TYPOGRAPHY
   ============================================ */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* ============================================
   UTILITY CLASSES - COLORS
   ============================================ */
.bg-wm-dark { background-color: var(--wm-dark); }
.bg-wm-card { background-color: var(--wm-card); }
.bg-wm-card-2 { background-color: var(--wm-card-2); }
.bg-wm-green { background-color: var(--wm-green); }
.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000000; }

.text-wm-text { color: var(--wm-text); }
.text-wm-muted { color: var(--wm-muted); }
.text-wm-green { color: var(--wm-green); }
.text-black { color: #000000; }
.text-white { color: #ffffff; }

.text-gray-300 { color: #d1d5db; }

/* ============================================
   UTILITY CLASSES - BORDERS
   ============================================ */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }

.border-white\/10 { border-color: var(--wm-line); }
.border-white\/20 { border-color: var(--wm-line-20); }
.border-wm-green\/30 { border-color: rgba(155, 251, 139, 0.30); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: var(--wm-radius-full); }

/* ============================================
   UTILITY CLASSES - EFFECTS
   ============================================ */
.shadow-lg { box-shadow: var(--wm-shadow-lg); }
.shadow-xl { box-shadow: var(--wm-shadow-xl); }
.shadow-2xl { box-shadow: var(--wm-shadow-2xl); }

.opacity-85 { opacity: 0.85; }

/* ============================================
   UTILITY CLASSES - POSITIONING
   ============================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* ============================================
   UTILITY CLASSES - TRANSITIONS
   ============================================ */
.transition-all { transition: all 0.3s var(--ease-out-expo); }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.4s var(--ease-out-expo); }

/* ============================================
   COMPONENT STYLES - NAVIGATION
   ============================================ */
.sticky-nav {
  backdrop-filter: blur(12px);
  background: rgba(13, 13, 13, 0.85);
  border-bottom: 1px solid var(--wm-line);
  animation: fadeInDown 0.6s var(--ease-out-expo);
}

/* ============================================
   COMPONENT STYLES - GRADIENTS
   ============================================ */
.gradient-bg {
  position: relative;
  background: linear-gradient(180deg, #101010 0%, #0d0d0d 100%);
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(155, 251, 139, 0.12), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(155, 251, 139, 0.09), transparent 28%);
  opacity: 1;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.card-gradient {
  background: linear-gradient(180deg, var(--wm-card) 0%, var(--wm-card-2) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--wm-green) 0%, var(--wm-green-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ============================================
   COMPONENT STYLES - BUTTONS (OPTIMIZED SIZE)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--wm-radius-full);
  padding: 0.75rem 1.5rem; /* Optimized from 1rem 2rem */
  font-size: 0.9375rem; /* 15px - optimized from 16px */
  font-weight: 700;
  transition: all 0.3s var(--ease-out-expo);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--wm-green);
  color: #000000;
  box-shadow: 0 4px 14px rgba(155, 251, 139, 0.4);
}

.btn-primary:hover {
  background: var(--wm-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(155, 251, 139, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border: 2px solid var(--wm-line-20);
  background: transparent;
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--wm-green);
}

/* ============================================
   COMPONENT STYLES - CARDS
   ============================================ */
.card {
  background: linear-gradient(180deg, var(--wm-card) 0%, var(--wm-card-2) 100%);
  border: 1px solid var(--wm-line);
  border-radius: var(--wm-radius);
  box-shadow: var(--wm-shadow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(155, 251, 139, 0.05),
    transparent
  );
  transition: left 0.5s;
}

.card:hover::after {
  left: 100%;
}

.hover-lift {
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ============================================
   COMPONENT STYLES - ICON CONTAINERS
   ============================================ */
.icon-container {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(155, 251, 139, 0.10);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s var(--ease-out-expo);
}

.icon-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, var(--wm-green), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .icon-container::before {
  opacity: 1;
}

.card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
  background: rgba(155, 251, 139, 0.15);
}

.icon-container svg {
  transition: transform 0.3s var(--ease-spring);
}

.card:hover .icon-container svg {
  transform: scale(1.1);
}

/* ============================================
   COMPONENT STYLES - DECORATIVE ELEMENTS
   ============================================ */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--wm-green), transparent);
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--wm-green-dark), transparent);
  bottom: -125px;
  right: -125px;
  animation-delay: 2s;
}

/* ============================================
   COMPONENT STYLES - BADGES
   ============================================ */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--wm-radius-full);
  border: 1px solid rgba(155, 251, 139, 0.30);
  background: rgba(155, 251, 139, 0.10);
  color: var(--wm-green);
  font-weight: 700;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.eyebrow-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(155, 251, 139, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

/* ============================================
   COMPONENT STYLES - SEARCH PILLS
   ============================================ */
.search-term {
  background: var(--wm-card-2);
  border: 1px solid var(--wm-line);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.search-term::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wm-green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.search-term:hover {
  background: rgba(155, 251, 139, 0.10);
  border-color: rgba(155, 251, 139, 0.30);
  transform: translateY(-2px);
}

.search-term:hover::before {
  opacity: 0.1;
}

/* ============================================
   COMPONENT STYLES - STATS/TRUST CARDS
   ============================================ */
.stat-card {
  background: linear-gradient(180deg, var(--wm-card) 0%, var(--wm-card-2) 100%);
  border: 1px solid var(--wm-line);
  border-radius: 1rem;
  padding: 1rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--wm-green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wm-shadow-lg);
  border-color: rgba(155, 251, 139, 0.3);
}

.stat-card:hover::before {
  opacity: 0.05;
}

/* ============================================
   COMPONENT STYLES - LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  display: flex;
  background: var(--wm-card-2);
  border-radius: var(--wm-radius-full);
  padding: 0.25rem;
  border: 1px solid var(--wm-line);
}

.lang-btn {
  padding: 0.375rem 0.75rem;
  border-radius: var(--wm-radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  background: transparent;
  position: relative;
}

.lang-btn.active {
  background: var(--wm-green);
  color: #000000;
}

.lang-btn:not(.active) {
  color: var(--wm-muted);
}

.lang-btn:not(.active):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */
.container,
.max-w-7xl {
  width: 100%;
  max-width: var(--wm-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container,
  .max-w-7xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container,
  .max-w-7xl {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

@media (min-width: 640px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* ============================================
   SPACING UTILITIES
   ============================================ */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* ============================================
   RESPONSIVE UTILITIES - SMALL SCREENS
   ============================================ */
@media (min-width: 640px) {
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:h-12 { height: 3rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .sm\:pt-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:pb-32 { padding-bottom: 8rem; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:flex-row { flex-direction: row; }
}

/* ============================================
   RESPONSIVE UTILITIES - MEDIUM SCREENS
   ============================================ */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}

/* ============================================
   RESPONSIVE UTILITIES - LARGE SCREENS
   ============================================ */
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ============================================
   HOVER STATES
   ============================================ */
.hover\:bg-wm-green-dark:hover { background-color: var(--wm-green-dark); }
.hover\:bg-white\/5:hover { background-color: rgba(255, 255, 255, 0.05); }
.hover\:bg-wm-green\/10:hover { background-color: rgba(155, 251, 139, 0.10); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-wm-green:hover { color: var(--wm-green); }
.hover\:border-wm-green\/30:hover { border-color: rgba(155, 251, 139, 0.30); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }

.hover\:gap-3 {
  transition: gap 0.3s ease;
}
.hover\:gap-3:hover {
  gap: 0.75rem;
}

/* ============================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 639px) {
  .hidden-mobile {
    display: none;
  }
  
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem; /* Even more optimized for mobile */
    font-size: 0.875rem;
  }
  
  h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
*:focus {
  outline: 2px solid var(--wm-green);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .no-print {
    display: none !important;
  }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

[x-cloak] { 
  display: none !important; 
}