/* ============================================
   MAMA FUA — Premium Design System
   Warm Amber / Orange / Cream Palette
   Inspired by PlugPro & LaundryHeap UI
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  /* Primary Warm Amber System */
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;

  /* Neutrals */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Functional */
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.10);
  --shadow-amber: 0 8px 30px rgba(245,158,11,0.15);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ========== UTILITY CLASSES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }

/* ========== ANIMATED BACKGROUND ========== */
.bg-warm-gradient {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 30%, #FDE68A 60%, #FEF3C7 100%);
  position: relative;
}
.bg-warm-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(251,191,36,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(245,158,11,0.10) 0%, transparent 50%);
  pointer-events: none;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all 0.4s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  padding: 8px 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gray-900);
}
.navbar-logo img { height: 38px; width: auto; }
.navbar-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--amber-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navbar-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.3s;
  position: relative;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--gray-900); }
.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber-500);
  border-radius: 1px;
}
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.btn:hover::after { background: rgba(255,255,255,0.1); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--amber-500);
  color: white;
  box-shadow: var(--shadow-amber);
}
.btn-primary:hover {
  background: var(--amber-600);
  box-shadow: 0 12px 35px rgba(245,158,11,0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--gray-900);
  color: white;
}
.btn-secondary:hover { background: var(--gray-800); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--amber-500); color: var(--amber-600); background: var(--amber-50); }

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--gray-900); background: var(--gray-100); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); }

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ========== CARDS ========== */
.card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-body { padding: 24px; }

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FFFBEB 0%, #FEF3C7 40%, #FDE68A 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(251,191,36,0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}
@keyframes heroGlow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}
.hero-text { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: rgba(255,255,255,0.8);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-700);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251,191,36,0.2);
  animation: fadeInUp 0.8s var(--ease-out) both;
}
.hero-badge .badge-dot {
  width: 28px;
  height: 28px;
  background: var(--amber-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 20px;
  color: var(--gray-900);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}
.hero h1 span { color: var(--amber-600); }
.hero-desc {
  font-size: 1.125rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}
.hero-stat { text-align: left; }
.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
}
.hero-stat-label { font-size: 0.85rem; color: var(--gray-400); }

/* Hero Right - Phone / Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1s var(--ease-out) 0.3s both;
}
.hero-phone {
  width: 300px;
  height: 600px;
  background: white;
  border-radius: 40px;
  box-shadow: var(--shadow-xl), 0 0 0 8px rgba(0,0,0,0.03);
  overflow: hidden;
  position: relative;
}
.hero-phone-header {
  padding: 50px 24px 20px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-50));
}
.hero-phone-greeting {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.hero-phone-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}
.hero-phone-pills {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  overflow-x: auto;
}
.hero-phone-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--amber-100);
  color: var(--amber-700);
  border: none;
}
.hero-phone-pill.active {
  background: var(--amber-500);
  color: white;
}
.hero-phone-card {
  margin: 12px 16px;
  padding: 20px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
  border-radius: var(--radius-lg);
  color: white;
}
.hero-phone-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}
.hero-phone-card p { font-size: 0.75rem; opacity: 0.9; margin-bottom: 10px; }
.hero-phone-card .btn-phone {
  padding: 6px 16px;
  background: white;
  color: var(--amber-600);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.hero-phone-services { padding: 16px 24px; }
.hero-phone-services h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}

/* Floating badges around phone */
.floating-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: floatBadge 6s ease-in-out infinite;
  z-index: 3;
}
.floating-badge.top-right { top: 40px; right: -30px; animation-delay: 0s; }
.floating-badge.bottom-left { bottom: 80px; left: -40px; animation-delay: 2s; }
.floating-badge.mid-right { top: 50%; right: -50px; animation-delay: 4s; }
.floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.floating-badge-icon.amber { background: var(--amber-100); color: var(--amber-600); }
.floating-badge-icon.green { background: #D1FAE5; color: #059669; }
.floating-badge-icon.blue { background: #DBEAFE; color: #2563EB; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ========== SEARCH BAR ========== */
.search-bar-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--gray-100);
}
.search-bar-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: transparent;
  font-family: inherit;
}
.search-bar-wrapper input::placeholder { color: var(--gray-400); }
.search-bar-wrapper .btn { border-radius: var(--radius-lg); }

/* ========== FILTER PILLS ========== */
.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-600);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-pill:hover { border-color: var(--amber-300); color: var(--amber-600); }
.filter-pill.active {
  background: var(--amber-500);
  color: white;
  border-color: var(--amber-500);
  box-shadow: var(--shadow-amber);
}
.filter-pill .pill-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--amber-200);
}
.service-card-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: white;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-700);
  box-shadow: var(--shadow-sm);
}
.service-card-body { padding: 20px; }
.service-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.service-card-desc {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.5;
}
.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.service-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber-600);
}
.service-card-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 400;
}

/* ========== PROVIDER CARDS (like PlugPro reference) ========== */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.provider-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
}
.provider-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--amber-200);
}
.provider-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--amber-50), var(--amber-100));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.provider-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.provider-card-img .provider-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}
.provider-card-verified {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.provider-card-body { padding: 20px; text-align: center; }
.provider-card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.provider-card-area {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.provider-card-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.provider-stat {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 70px;
}
.provider-stat.amber-bg { background: var(--amber-50); }
.provider-stat.green-bg { background: #ECFDF5; }
.provider-stat.blue-bg { background: #EFF6FF; }
.provider-stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  display: block;
}
.provider-stat-label {
  font-size: 0.65rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.provider-card-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--amber-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--amber-600);
  transition: all 0.3s var(--ease-out);
}
.step-card:hover .step-number {
  background: var(--amber-500);
  color: white;
  transform: scale(1.1);
}
.step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}
.step-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--amber-100);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-700);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-out);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial-stars { margin-bottom: 16px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--amber-100);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--gray-900);
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500), var(--amber-600));
  border-radius: var(--radius-2xl);
  padding: 60px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.cta-section h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-section .btn {
  background: white;
  color: var(--amber-600);
  font-weight: 700;
  position: relative;
}
.cta-section .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }

/* ========== FOOTER ========== */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--amber-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ========== FORMS ========== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-family: inherit;
  color: var(--gray-800);
  background: white;
  transition: all 0.3s var(--ease-out);
}
.form-input:focus {
  outline: none;
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input { cursor: pointer; }

/* ========== MODALS ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-spring);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 1.25rem; }
.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--gray-200); color: var(--gray-800); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 0 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  transform: translateX(120%);
  animation: toastSlideIn 0.4s var(--ease-spring) forwards;
  font-size: 0.9rem;
  font-weight: 500;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info { border-left: 4px solid var(--info); }
.toast.removing { animation: toastSlideOut 0.3s var(--ease-out) forwards; }
@keyframes toastSlideIn { to { transform: translateX(0); } }
@keyframes toastSlideOut { to { transform: translateX(120%); opacity: 0; } }

/* ========== SKELETON LOADERS ========== */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 24px; width: 70%; margin-bottom: 12px; }
.skeleton-circle { border-radius: 50%; }
.skeleton-card { height: 280px; border-radius: var(--radius-xl); }

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--gray-100);
  padding: 8px 0;
  padding-bottom: env(safe-area-inset-bottom, 8px);
  z-index: 999;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.06);
}
.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.3s;
  border-radius: var(--radius-md);
}
.mobile-nav-item.active { color: var(--amber-600); }
.mobile-nav-item svg { width: 22px; height: 22px; }
.mobile-nav-item.active svg { color: var(--amber-500); }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse { 
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.anim-fade-up { animation: fadeInUp 0.6s var(--ease-out) both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 9999;
  padding: 80px 24px 24px;
  transition: right 0.4s var(--ease-out);
  box-shadow: var(--shadow-xl);
}
.mobile-menu.active { right: 0; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu a:hover { color: var(--amber-600); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-actions .btn { display: none; }
  .mobile-nav { display: block; }
  body { padding-bottom: 70px; }
  .section-pad { padding: 60px 0; }
  .hero { min-height: auto; padding-top: 100px; }
  .hero-content { padding: 80px 20px 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-stat-value { font-size: 1.25rem; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-section { margin: 0 12px; padding: 40px 24px; }
  .search-bar-wrapper { flex-direction: column; padding: 12px; }
  .search-bar-wrapper .btn { width: 100%; }
  .filter-pills { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-desc { font-size: 1rem; }
  .section-title { font-size: 1.5rem; }
  .container { padding: 0 16px; }
}

/* ========== ADMIN SIDEBAR ========== */
.admin-layout {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background: var(--gray-900);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform 0.3s var(--ease-out);
}
.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-sidebar-header h3 {
  color: white;
  font-size: 1.15rem;
}
.admin-sidebar-header .logo-dot {
  width: 36px;
  height: 36px;
  background: var(--amber-500);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
}
.admin-nav { padding: 12px 0; }
.admin-nav-section {
  padding: 0 16px;
  margin-bottom: 8px;
}
.admin-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-500);
  padding: 12px 12px 6px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.06); color: white; }
.admin-nav-item.active {
  background: var(--amber-500);
  color: white;
  font-weight: 600;
}
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav-item .nav-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(239,68,68,0.2);
  color: #FCA5A5;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  background: var(--gray-50);
  min-height: 100vh;
}
.admin-topbar {
  background: white;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-topbar-left h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-content { padding: 32px; }

/* Admin stat cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--amber-200);
  transform: translateY(-2px);
}
.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.stat-card-icon.amber { background: var(--amber-100); color: var(--amber-600); }
.stat-card-icon.green { background: #D1FAE5; color: #059669; }
.stat-card-icon.blue { background: #DBEAFE; color: #2563EB; }
.stat-card-icon.purple { background: #EDE9FE; color: #7C3AED; }
.stat-card-icon.red { background: #FEE2E2; color: #DC2626; }
.stat-card-icon.teal { background: #CCFBF1; color: #0D9488; }
.stat-card-change {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.stat-card-change.up { background: #D1FAE5; color: #059669; }
.stat-card-change.down { background: #FEE2E2; color: #DC2626; }
.stat-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.stat-card-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* Admin tables */
.data-table-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.data-table-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}
.data-table-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.data-table td {
  padding: 14px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-50);
  color: var(--gray-700);
}
.data-table tr:hover td { background: var(--amber-50); }
.data-table .user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.data-table .user-cell img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* Quick Action Cards */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.quick-action {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
}
.quick-action:hover {
  border-color: var(--amber-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--amber-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.25rem;
  color: var(--amber-600);
}
.quick-action-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ========== ADMIN RESPONSIVE ========== */
@media (max-width: 1024px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 20px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stat-cards { grid-template-columns: 1fr; }
  .admin-topbar { padding: 12px 16px; }
  .admin-content { padding: 16px; }
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.2s;
}
.pagination a:hover { background: var(--amber-50); color: var(--amber-600); }
.pagination .active {
  background: var(--amber-500);
  color: white;
}

/* ========== AUTH PAGES ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7, #FDE68A);
  padding: 20px;
}
.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
  padding: 40px;
}
.auth-card .logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-card .logo h2 {
  font-size: 1.75rem;
  margin-bottom: 4px;
}
.auth-card .logo p { color: var(--gray-400); font-size: 0.9rem; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ========== ALERT BOXES ========== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #D1FAE5; color: #065F46; }
.alert-error { background: #FEE2E2; color: #991B1B; }
.alert-warning { background: #FEF3C7; color: #92400E; }
.alert-info { background: #DBEAFE; color: #1E40AF; }

/* ========== PWA Install Banner ========== */
.pwa-install-banner {
  position: fixed;
  bottom: 80px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-xl);
  z-index: 999;
  display: none;
  animation: fadeInUp 0.5s var(--ease-spring) both;
}
.pwa-install-banner.show { display: flex; align-items: center; gap: 16px; }
