/*
 * ShobKaaj - Minimal & User-Friendly Homepage (rearranged)
 */

/* =========================
  Variables & Color Themes
  ========================= */
:root {
  /* Homepage-specific color overrides */
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-weak: #fed7aa;
  --accent-weak-2: #fde68a;
  --star-color: #f59e0b;
  --promo-bg: #fff7ed;
  --phone-bg: #f9fafb;
  --map-bg-1: rgba(51, 87, 51, 0.1);
  --map-bg-2: #e5e7eb;
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-bg-strong: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --neuro-light: #f3f4f6;

  /* Gradients & Shadows */
  --hero-bg: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%);
  --premium-gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --hero-gradient: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --glow-primary: 0 0 20px rgba(51, 87, 51, 0);
  --glow-secondary: 0 0 20px rgba(249, 115, 22, 0.3);
  --hero-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --ring: 0 0 0 3px rgba(51, 87, 51, 0.5);
  --neuro-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Typography */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --lh-tight: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* Spacing */
  --section-padding: clamp(1rem, 10vw, 5rem);
  --container-padding: clamp(1.5rem, 5vw, 4rem);
  --card-padding: clamp(1.5rem, 3vw, 2.5rem);
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-4-5: 1.125rem;
  --space-5: 1.25rem;
  --space-5-5: 1.375rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-11: 2.75rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Borders & Radii */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --border-radius-xl: 1rem;

  /* Transitions & Animations */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --elastic: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Other */
  --blur-strength: 10px;
}

/* Dark mode overrides - system preference only when no manual theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
   --primary: #2f634e;
   --primary-hover: #5ce0a8;
   --primary-subtle: rgba(110, 231, 183, 0.1);
   --accent: #fb923c;
   --accent-dark: #f97316;
   --text: #e5e7eb;
   --text-secondary: #9ca3af;
   --text-muted: #a9aaac;
   --bg: #0d1117;
   --surface: #161b22;
   --surface-elevated: #21262d;
   --line: #374151;
   --glass-bg: rgba(0, 0, 0, 0.1);
   --glass-border: rgba(255, 255, 255, 0.05);
   --neuro-light: #374151;
   --badge-bg: #374151;
   --badge-text: #9ca3af;
   --promo-bg: #1f2937;
   --phone-bg: #111827;
   --map-bg-1: rgba(110, 231, 183, 0.1);
   --map-bg-2: #374151;
   --hover: #374151;
  }
}

/* Manual dark theme override */
[data-theme="dark"] {
  --primary: #2f634e;
  --primary-hover: #5ce0a8;
  --primary-subtle: rgba(110, 231, 183, 0.1);
  --accent: #fb923c;
  --accent-dark: #f97316;
  --text: #e5e7eb;
  --text-secondary: #9ca3af;
  --text-muted: #a9aaac;
  --bg: #0d1117;
  --surface: #161b22;
  --surface-elevated: #21262d00;
  --line: #374151;
  --glass-bg: rgba(0, 0, 0, 0.1);
  --glass-border: rgba(255, 255, 255, 0.05);
  --neuro-light: #374151;
  --badge-bg: #374151;
  --badge-text: #9ca3af;
  --promo-bg: #1f2937;
  --phone-bg: #111827;
  --map-bg-1: rgba(110, 231, 183, 0.1);
  --map-bg-2: #374151;
  --hover: #374151;
}

/* =========================
  Base & Utilities
  ========================= */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
}
h2 {
  color: var(--text);
  margin: 0 0 8px;
  padding: 20px 0;
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  text-align: center;
}

/* Clean scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* Selection */
::selection {
  background: var(--primary-subtle);
  color: var(--primary);
}

/* Container */
.container {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Shared sections */
.section { padding: 20px 0;max-width: 1900px; width: 98%; margin: 0 auto;margin: 0 auto}
.section-header { margin: 0 0 24px; text-align: center; }
.grid.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  text-align: center;
  transition: transform .06s, box-shadow .2s, background .2s;
}
.chip:hover { background: var(--primary-subtle); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Reveal Animation utility */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: 600ms cubic-bezier(.22, 1, .36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Sparkles */
.sparkle { position: absolute; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; filter: saturate(110%); }
@keyframes burst { 0%{transform:translate(0,0) scale(1);opacity:1}100%{transform:translate(var(--tx),var(--ty)) scale(.6);opacity:0} }

/* =========================
  Topbar
  ========================= */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin: var(--space-2) 0 var(--space-4);
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: all var(--duration-normal) var(--ease-out);
  border-radius: var(--radius-lg);
}
.topbar.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  transform: translateY(-2px);
}
@media (prefers-color-scheme: dark) {
  .topbar.scrolled:not([data-theme]) { background: rgba(13, 17, 23, 0.85); }
}
[data-theme="dark"] .topbar.scrolled { background: rgba(13, 17, 23, 0.85); }
.topbar .brand {
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-xl);
  letter-spacing: -0.01em;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.topbar .links {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  flex-wrap: wrap;
}
.topbar .links a {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  position: relative;
  transition: all var(--duration-fast) var(--ease-out);
}
.topbar .links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  transform: translateX(-50%);
}
.topbar .links a:hover {
  color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-1px);
}
.topbar .links a:hover::after { width: 100%; }
.topbar .links a:focus-visible { box-shadow: var(--ring); }

/* =========================
  Hero Section (base)
  ========================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-background { position: absolute; inset: 0; z-index: 1; }
.aurora-canvas { position: absolute; inset: 0; opacity: 0.1; filter: blur(2px); }
.hero-gradient-overlay { position: absolute; inset: 0; background: var(--primary); opacity: 0.02; }

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
  max-width: 1750px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Enhanced Hero Grid & Headline */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: clamp(var(--space-20), 12vh, 120px) 0 var(--space-6);
  min-height: 70vh;
}
.headline {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-3);
  color: var(--text);
  letter-spacing: -0.02em;
  text-shadow: var(--hero-text-shadow);
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s var(--ease-out) forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* Hero left / right entrance */
.hero-left {
  position: relative; z-index: 2;
  animation: slideInLeft 0.8s var(--ease-out) 0.2s forwards;
  opacity: 0;
  transform: translateX(-30px);
}
.hero-right {
  position: relative; z-index: 2;
  animation: slideInRight 0.8s var(--ease-out) 0.4s forwards;
  opacity: 0;
  transform: translateX(30px);
}

/* =========================
  Hero Content & Actions
  ========================= */
.hero-content { animation: fadeInUp 0.8s ease-out; }

.hero-title { margin: 0 0 var(--space-6); }
.title-line {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.title-line:first-child {
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title-subtitle {
  display: block;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  margin-top: var(--space-3);
}
.hero-description {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 500px;
}

/* Hero Actions (base) */
.hero-actions {
  display: flex;
  gap: var(--space-6);
  margin: 0 0 var(--space-16);
  animation: actionsGrandEntry 1.8s var(--elastic) 1.4s both;
}
/* Enhanced Hero Actions (overrides for entrance) */
.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin: var(--space-5) 0;
  /* animation: slideInLeft 0.8s var(--ease-out) 0.8s forwards; */
  /* opacity: 0; */
  /* transform: translateX(-20px); */
}

/* Buttons */
.btn {
  position: relative;
  cursor: pointer;
  user-select: none;
  outline: none;
  border: none;
  text-decoration: none;
  font-family: var(--font-system);
  transition: all var(--duration-normal) var(--ease-spring);
  overflow: hidden;
  transform-style: preserve-3d;
}
.btn:hover { transform: translateY(-3px) scale(1.05); }

.btn.large {
  height: auto;
  padding: var(--space-5) var(--space-8);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.5px;
  min-width: 200px;
  justify-content: center;
  -webkit-backdrop-filter: blur(var(--blur-strength));
  backdrop-filter: blur(var(--blur-strength));
}
.btn.large::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 20%, rgba(255,255,255,0.15) 50%, transparent 80%);
  transform: translateX(-100%) rotate(25deg);
  transition: transform 0.8s var(--smooth);
  z-index: 1;
}
.btn.large::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--border-radius-xl) - 2px);
  background: inherit;
  z-index: -1;
}
.btn.large:hover::before { transform: translateX(100%) rotate(25deg); }
.btn.large:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--glow-primary), 0 20px 40px rgba(0, 0, 0, 0.15);
}
.btn.large:active {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s var(--smooth);
}
.btn.primary {
  background: var(--premium-gradient);
  background-size: 200% 200%;
  border: none;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: primaryButtonGradient 4s ease-in-out infinite;
}
@keyframes primaryButtonGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn.secondary {
  background: var(--glass-bg-strong);
  border: 2px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-strength));
  backdrop-filter: blur(var(--blur-strength));
  color: black;
  position: relative;
}
.btn.secondary:hover {
  background: var(--surface-elevated);
  border-color: var(--primary);
  color: var(--badge-text);
  box-shadow: var(--neuro-inset), var(--glow-secondary);
}
.btn-text { position: relative; z-index: 2; transition: all 0.3s var(--smooth); }
.btn-icon { position: relative; z-index: 2; transition: all 0.3s var(--elastic); font-size: var(--fs-lg); }
.btn.large:hover .btn-icon { transform: translateX(4px) scale(1.1); }

/* =========================
  Hero Stats & Trust
  ========================= */
.hero-stats {
  display: flex;
  gap: clamp(var(--space-6), 6vw, var(--space-12));
  margin: 0 0 var(--space-12);
  animation: statsSpectacularEntry 2s var(--elastic) 1.2s both;
  position: relative;
}
@keyframes statsSpectacularEntry {
  0% { opacity: 0; transform: translateY(50px) scale(0.8); filter: blur(10px); }
  60% { opacity: 0.8; transform: translateY(-10px) scale(1.1); filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}
.stat-item {
  text-align: left;
  position: relative;
  padding: var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  -webkit-backdrop-filter: blur(var(--blur-strength));
  backdrop-filter: blur(var(--blur-strength));
  transition: all 0.5s var(--elastic);
  cursor: pointer;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--premium-gradient);
  transform: scaleX(0);
  transition: transform 0.5s var(--elastic);
  transform-origin: left;
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: transparent;
  border-color: var(--primary);
  box-shadow: var(--glow-primary), var(--glass-shadow);
}
.stat-number {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-extrabold);
  background: var(--premium-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  animation: statsNumberPulse 3s ease-in-out infinite;
  position: relative;
}
@keyframes statsNumberPulse {
  0%, 100% { background-position: 0% 50%; transform: scale(1); }
  50% { background-position: 100% 50%; transform: scale(1.05); }
}
.stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
  font-weight: var(--fw-medium);
  opacity: 0.8;
  transition: opacity 0.3s var(--smooth);
}
.stat-item:hover .stat-label {
  opacity: 1;
  color: var(--text-secondary);
}

/* Trust indicators */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  animation: trustIndicatorsLuxuryEntry 2s var(--elastic) 1.6s both;
  position: relative;
}
@keyframes trustIndicatorsLuxuryEntry {
  0% { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0px); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: var(--space-3) var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  -webkit-backdrop-filter: blur(var(--blur-strength));
  backdrop-filter: blur(var(--blur-strength));
  transition: all 0.4s var(--elastic);
  position: relative;
  cursor: pointer;
  font-weight: var(--fw-medium);
  overflow: hidden;
}
.trust-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--premium-gradient);
  opacity: 0;
  transition: opacity 0.4s var(--smooth);
}
.trust-item:hover::before { opacity: 0.05; }
.trust-item:hover {
  background: transparent;
  border-color: var(--primary);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--glow-primary), var(--glass-shadow);
  color: var(--primary);
}
.trust-icon {
  font-size: var(--fs-lg);
  position: relative;
  z-index: 2;
  transition: all 0.3s var(--elastic);
}
.trust-item:hover .trust-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(51, 87, 51, 0.3));
}

/* =========================
  Hero Visuals & Phone Mockup
  ========================= */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s var(--smooth) 0.6s both;
}
.phone-mockup {
  position: relative;
  width: 288px;
  height: 576px;
  background: linear-gradient(145deg, var(--surface), var(--line));
  border-radius: 36px;
  padding: 10px;
  box-shadow: 
   0 20px 60px rgba(0, 0, 0, 0.1),
   inset 0 2px 8px rgba(255, 255, 255, 0.5),
   inset 0 -2px 8px rgba(0, 0, 0, 0.1);
  animation: floatPhone 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotateY(-5deg); }
  50% { transform: translateY(-10px) rotateY(5deg); }
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.app-interface {
  padding: var(--space-6);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.interface-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}
.profile-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-extrabold);
  color: var(--primary);
}
.avatar {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}
.notification-badge {
  width: 32px; height: 32px;
  background: var(--error);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  animation: pulse 2s infinite;
}
.job-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}
.job-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all var(--duration-normal) var(--smooth);
  animation: slideInCard 0.8s var(--smooth) both;
}
.job-card:nth-child(1) { animation-delay: 0.2s; }
.job-card:nth-child(2) { animation-delay: 0.4s; }
@keyframes slideInCard {
  from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); }
}
.job-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-subtle), var(--shadow-md);
}
.job-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-2);
}
.job-category {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}
.job-urgent {
  background: var(--error);
  color: white;
  padding: 2px var(--space-2);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}
.job-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text);
  margin: 0 0 var(--space-2);
}
.job-details { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); }
.job-location { color: var(--text-muted); }
.job-budget { font-weight: var(--fw-bold); color: var(--primary); }

.floating-elements { position: absolute; inset: 0; pointer-events: none; }
.floating-chip {
  position: absolute;
  background: var(--primary);
  color: white;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  animation: floatChip 4s ease-in-out infinite;
  box-shadow: var(--shadow-sm);
}
.floating-chip:first-child {
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}
.floating-chip.payment {
  bottom: 30%;
  left: 10%;
  background: var(--success);
  animation-delay: 2s;
}
@keyframes floatChip {
  0%, 100% { transform: translateY(0) scale(0.9); opacity: 0.8; }
  50% { transform: translateY(-10px) scale(1); opacity: 1; }
}

/* Phone mock (alternate implementation present in file) */
.hero-right { display: grid; place-items: center; perspective: 1200px; }
.phone {
  width: min(320px,86%);
  height: 560px;
  border: 10px solid var(--accent-dark);
  border-radius: 36px;
  background: var(--primary-subtle);
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .15s ease;
}
.notch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  width: 140px;
  height: 22px;
  background: var(--accent-dark);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.map {
  position: absolute;
  inset: 44px 18px;
  border-radius: 24px;
  background:
   radial-gradient(200px 120px at 30% 30%, #e7f6ef 0, transparent 55%),
   linear-gradient(90deg,#eaf5f0 1px,transparent 1px),
   linear-gradient(#eaf5f0 1px,transparent 1px);
  background-size: 48px 48px, 48px 48px, 48px 48px;
  overflow: hidden;
  animation: pan 18s linear infinite;
}
@keyframes pan {
  0% { background-position:0 0, 0 0, 0 0 }
  50% { background-position:24px 24px, 24px 0, 0 24px }
  100% { background-position:0 0, 0 0, 0 0 }
}
.pin {
  position: absolute;
  width: 18px; height: 18px; border-radius: 50%;
  transform: translate(-50%,-50%); animation: bob 2.4s ease-in-out infinite;
}
.pin::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,0,0,.15); animation: ping 2s ease-out infinite;
}
.pin--accent { background: var(--accent) }
.pin--accent::after { box-shadow: 0 0 0 0 rgba(51,87,51,.28) }
.pin--mint { background: var(--primary-subtle) }
.pin--mint::after { box-shadow: 0 0 0 0 rgba(183,228,205,.35) }
@keyframes bob { 0%,100%{transform:translate(-50%,-52%)}50%{transform:translate(-50%,-48%)} }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(0,0,0,0)}70%{box-shadow:0 0 0 10px rgba(0,0,0,.12)}100%{box-shadow:0 0 0 0 rgba(0,0,0,0)} }

/* =========================
  Services & Cards
  ========================= */
.services-showcase {
  padding: var(--section-padding) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.service-card {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--duration-normal) var(--smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--smooth);
}
.service-card:hover::before { opacity: 0.05; }
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.service-card.featured {
  background: var(--primary-subtle);
  border-color: var(--primary);
}
.service-icon {
  width: 64px; height: 64px; border-radius: 12px; background: var(--surface-elevated);
  display: flex; align-items: center; justify-content: center; 
  color: var(--primary); font-size: 24px;
}
.service-icon i {
  display: block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  color: var(--primary) !important;
  font-size: 24px !important;
}
.service-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text);
  margin: 0 0 var(--space-2);
  position: relative;
  z-index: 2;
}
.service-description {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 2;
}
.service-stats {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-4);
  position: relative; z-index: 2;
}
.stat { font-weight: var(--fw-medium); }
.stat-divider { color: var(--line); }
.service-hover-content {
  position: relative; z-index: 2; opacity: 0; max-height: 0; overflow: hidden;
  transition: all var(--duration-normal) var(--smooth);
}
.service-card:hover .service-hover-content {
  opacity: 1; max-height: 200px; margin-top: var(--space-4);
}
.popular-jobs {
  display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4);
}
.popular-job {
  background: var(--hover); color: var(--text-secondary);
  padding: var(--space-1) var(--space-2); border-radius: var(--radius);
  font-size: var(--fs-xs); font-weight: var(--fw-medium);
  transition: all var(--duration-fast) var(--smooth);
}
.popular-job:hover { background: var(--primary-subtle); color: var(--primary); }
.service-cta {
  display: inline-flex; align-items: center; padding: var(--space-2) var(--space-4);
  background: var(--primary-subtle); color: var(--primary); border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); text-decoration: none;
  transition: all var(--duration-fast) var(--smooth);
}
.service-cta:hover { background: var(--primary); color: white; transform: translateY(-1px); }
.service-cta.primary { background: var(--primary); color: white; }
.service-cta.primary:hover { background: var(--primary-hover); }

/* Services grid mini layout */
.services {
  display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 18px; margin: 6px 0;
}
.svc { text-align: center; transform-style: preserve-3d; transition: transform .18s ease; }
.svc:hover { transform: translateY(-4px); }
.svc-ic {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto var(--space-4);
  border-radius: var(--radius-lg); background: var(--primary-subtle); color: var(--primary);
}
.svc-ic svg { width: 56px; height: 56px; }
.svc-label { font-size: 14px; }

/* =========================
  How It Works / Process
  ========================= */
.how-it-works { padding: var(--section-padding) 0; background: var(--bg); }
.process-steps {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.process-track {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  z-index: 1;
}
.track-line { width: 100%; height: 100%; background: var(--line); border-radius: 1px; }
.track-progress {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--primary); border-radius: 1px; width: 0;
  animation: progressLine 2s ease-in-out forwards; animation-delay: 1s;
}
@keyframes progressLine { to { width: 100%; } }
.step-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); position: relative; z-index: 2;
}
.step-card {
  text-align: center; padding: var(--space-6); background: var(--surface-elevated);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--smooth); animation: slideInUp 0.8s var(--smooth) both;
}
.step-card[data-step="1"] { animation-delay: 0.2s; }
.step-card[data-step="2"] { animation-delay: 0.4s; }
.step-card[data-step="3"] { animation-delay: 0.6s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.step-number {
  width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-xl);
  font-weight: var(--fw-bold); margin: 0 auto var(--space-4); transition: all var(--duration-normal) var(--smooth);
}
.step-card:hover .step-number { transform: scale(1.1); box-shadow: 0 0 0 8px var(--primary-subtle); }
.step-content { position: relative; }
.step-icon {
  width: 48px; height: 48px; margin: 0 auto var(--space-4); color: var(--primary); opacity: 0.7;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.step-icon i {
  display: block; font-family: "Font Awesome 6 Free"; font-weight: 900; font-style: normal; font-variant: normal;
  text-rendering: auto; line-height: 1;
}
.step-icon svg { width: 100%; height: 100%; }
.step-title { font-size: var(--fs-xl); font-weight: var(--fw-bold); color: var(--text); margin: 0 0 var(--space-3); }
.step-description { font-size: var(--fs-base); color: var(--text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--space-4); }
.step-features { display: flex; flex-direction: column; gap: var(--space-2); }
.feature {
  font-size: var(--fs-sm); color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  gap: var(--space-2);
}

/* =========================
  Testimonials
  ========================= */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--bg);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: var(--space-6); margin-top: var(--space-8);
}
.testimonial-card {
  background: var(--surface-elevated); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-6); transition: all var(--duration-normal) var(--smooth); animation: fadeInUp 0.8s var(--smooth) both;
}
.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.testimonial-card.featured {
  background: var(--primary-subtle); border-color: var(--primary); transform: scale(1.02);
}
.testimonial-header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-4);
}
.user-info { display: flex; gap: var(--space-3); }
.avatar-lg {
  width: 48px; height: 48px; background: var(--primary); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-lg); font-weight: var(--fw-bold); flex-shrink: 0;
}
.user-details { flex: 1; }
.user-name { font-size: var(--fs-base); font-weight: var(--fw-semibold); color: var(--text); margin: 0 0 var(--space-1); }
.user-role { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.rating { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-1); }
.stars { color: var(--star-color); font-size: var(--fs-sm); letter-spacing: 1px; }
.rating-text { font-size: var(--fs-xs); color: var(--text-muted); font-weight: var(--fw-semibold); }
.testimonial-text {
  font-size: var(--fs-base); line-height: var(--lh-relaxed); color: var(--text); margin: 0 0 var(--space-4); font-style: italic; position: relative;
}
.testimonial-text::before {
  content: '"'; font-size: 3rem; color: var(--primary); position: absolute; top: -10px; left: -15px; line-height: 1; opacity: 0.3;
}
.testimonial-stats { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-sm); color: var(--text-muted); }
.testimonial-stats .stat { font-weight: var(--fw-medium); }

/* Promo & Footer */
.promo {
  border-radius: 18px;
  max-width: 450px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto;
}

/* =========================
  Swatches & Feature Row
  ========================= */
.swatches {
  display: flex; gap: var(--space-4); margin: var(--space-3) 0 var(--space-4);
  animation: slideInLeft 0.8s var(--ease-out) 0.6s forwards; opacity: 0; transform: translateX(-20px);
}
.swatch {
  display: inline-block; width: min(260px, 38vw); max-width: 260px; height: 48px; border-radius: var(--radius-lg);
  filter: saturate(110%) contrast(105%); box-shadow: var(--shadow-sm); transition: all var(--duration-normal) var(--ease-out); cursor: pointer;
}
.swatch:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-md); }
.swatch--accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--accent));
  background-size: 200% 100%; animation: slide 6s ease-in-out infinite;
}
.swatch--mint {
  background: linear-gradient(90deg, var(--accent-weak-2), var(--accent-weak), var(--accent-weak-2));
  background-size: 200% 100%; animation: slide 6s ease-in-out infinite reverse;
}
@keyframes slide { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: var(--space-3);
  margin: var(--space-2) 0 var(--space-6);
  animation: slideInLeft 0.8s var(--ease-out) 1s forwards;
  opacity: 0;
  transform: translateX(-20px);
}
.feature {
  display: flex; align-items: center; gap: var(--space-2); color: var(--text);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: all var(--duration-normal) var(--ease-out); cursor: pointer;
}
.feature:hover {
  transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-md); background: var(--primary-subtle); border-color: var(--primary);
}
@media (prefers-color-scheme: dark) {
  .feature { background: rgba(189, 189, 189, 0.089); }
  .feature:hover { background: var(--primary-subtle); }
}
.ic {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--primary-subtle); color: var(--primary); transition: all var(--duration-fast) var(--ease-out); flex-shrink: 0;
}
.feature:hover .ic { background: var(--primary); color: white; transform: rotate(5deg) scale(1.1); }
.ic svg { width: 18px; height: 18px; transition: transform var(--duration-fast) var(--ease-out); }
.feature:hover .ic svg { transform: scale(1.1); }

/* =========================
  Small Cards (for blog posts, etc)
  Improvements:
  - horizontal scroll on small viewports
  - consistent card sizing
  - scroll snapping for better UX
  ========================= */
.small-cards {
  display: flex;
  gap: var(--space-4, 16px);
  flex-wrap: nowrap; /* keep cards in a single horizontal row */
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  overflow-x: auto; /* allow horizontal scroll on small viewports */
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.small-card {
  flex: 0 0 350px; /* fixed card width so they sit in a row */
  width: 350px;
  max-width: 350px;
  margin: 0;
  font-size: 0.97em;
  background: transparent;
  scroll-snap-align: start;
}

/* slightly larger summary text */
.small-card summary {
  font-size: 1em;
}

/* stack on small screens */
@media (max-width: 600px) {
  .small-cards {
    gap: 10px;
    flex-wrap: nowrap; /* keep horizontal scroll even on mobile */
  }
  .small-card {
    flex: 0 0 90vw;
    max-width: 98vw;
    padding: 0.6em 0.7em;
  }
}

/* =========================
  Polished Footer (replace existing .site-footer block)
  Improvements:
  - more robust variable fallbacks
  - improved contrast & hover/focus styles
  - dark-mode adjustments
  - simplified responsive behavior
  ========================= */
.site-footer {
  --pad-vertical: clamp(1rem, 2.5vw, 2rem);
  --footer-max: 1500px;
  --footer-bg-from: var(--surface-elevated, rgba(250,250,250,0.95));
  
  color: var(--text-secondary, #6b7280);
  padding: var(--pad-vertical) clamp(1rem, 4vw, 2.5rem);
  font-size: 0.95rem;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--duration-fast, 180ms) var(--smooth);
  border-top: 1px solid #e5e7eb;
}

/* container inside footer so we can center & wrap content cleanly */
.site-footer .footer-content {
  max-width: var(--footer-max);
  margin: 0 auto;
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
  width: 100%;
}

/* On larger screens, make 4 equal columns for the four h4 sections */
@media (min-width: 980px) {
  .site-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: var(--space-8);
    align-items: start;
    justify-items: stretch;
  }
}

/* Footer columns */
.site-footer .footer-section {
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer .footer-section h4 {
  color: var(--text, #111827);
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

/* Links and lists */
.site-footer .footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.site-footer .footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--smooth), transform var(--duration-fast) var(--smooth), opacity var(--duration-fast) var(--smooth);
  border-radius: 6px;
  display: inline-block;
  padding: 4px 6px;
  line-height: 1.3;
  will-change: transform, color;
}

/* subtle underline on hover to aid discovery without large layout shift */
.site-footer .footer-section a::after {
  content: '';
  display: inline-block;
  height: 2px;
  width: 0;
  margin-left: 6px;
  vertical-align: middle;
  transition: width var(--duration-fast) var(--smooth);
}
.site-footer .footer-section a:hover::after { width: 18px; }

/* hover / focus */
.site-footer .footer-section a:hover,
.site-footer .footer-section a:focus {
  color: var(--text);
  transform: translateX(4px);
  outline: none;
  box-shadow: var(--ring);
}

/* Contact & social */
.site-footer .contact-info p {
  margin: 0 0 8px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.site-footer .social-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--glass-bg, rgba(255,255,255,0.5));
  color: var(--text);
  border-radius: 10px;
  transition: transform var(--duration-fast) var(--smooth), background var(--duration-fast) var(--smooth), color var(--duration-fast) var(--smooth), box-shadow var(--duration-fast) var(--smooth);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* stronger visual feedback on hover and focus for keyboard users */
.site-footer .social-links a:hover,
.site-footer .social-links a:focus {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(90deg, var(--primary), var(--primary-hover, rgba(92,224,168,0.95)));
  color: white;
  box-shadow: var(--glow-primary);
  outline: none;
}

/* Bottom row / legal */
.site-footer .footer-bottom {
  max-width: var(--footer-max);
  margin: 1.25rem auto 0;
  padding-top: var(--space-4);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line, rgba(0,0,0,0.06));
  color: var(--text-muted, #9ca3af);
  font-size: 1.2rem;
  flex-wrap: wrap;
  padding-bottom: calc(var(--pad-vertical) / 2);
}

/* left-aligned legal text */
.site-footer .footer-legal {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Links in bottom row */
.site-footer .footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus {
  color: var(--text);
  box-shadow: var(--ring);
}

/* small brand / logo style */
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: var(--fw-extrabold);
  font-size: 1.05rem;
}

.site-footer .footer-brand svg,
.site-footer .footer-brand img {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 8px;
}

/* Accessibility */
.site-footer a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

/* Dark mode tweaks for footer to ensure contrast */
@media (prefers-color-scheme: dark) {
  .site-footer {
    --footer-bg-from: linear-gradient(180deg, rgba(12,14,17,0.85), rgba(13,17,23,0.6));
    background: linear-gradient(180deg, var(--footer-bg-from), rgba(255,255,255,0.02));
    color: var(--text-secondary, #9ca3af);
    border-top-color: rgba(255,255,255,0.04);
  }
  .site-footer .footer-section h4 { color: var(--text); }
  .site-footer .footer-section a { color: var(--text-secondary); }
  .site-footer .social-links a { background: var(--glass-bg, rgba(255,255,255,0.03)); color: var(--text); }
}

/* High contrast: increase borders & spacing */
@media (prefers-contrast: more) {
  .site-footer { border-top-width: 2px; box-shadow: none; }
  .site-footer .footer-section a { font-weight: 600; }
}

/* Print: hide decorative elements */
@media print {
  .site-footer .social-links { display: none; }
}

/* Responsive */
@media (max-width: 1440px) {
  /* nothing specific here in original; kept as placeholder */
}
@media (min-width: 1440px) {
  .hero-container { gap: var(--space-20); }
  .container { max-width: 1600px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: var(--space-16); text-align: center; }
  .hero-visual { order: -1; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

@media (max-width: 768px) {
  :root {
   --section-padding: clamp(3rem, 8vw, 6rem);
   --container-padding: clamp(1rem, 4vw, 1.5rem);
   --card-padding: clamp(1.5rem, 4vw, 2rem);
  }
  .hero-container { padding: var(--space-12) var(--container-padding); min-height: 90vh; }
  .phone-mockup { width: 280px; height: 560px; transform: scale(0.9); }
  .hero-stats { gap: var(--space-4); }
  .stat-item { min-width: 140px; padding: var(--space-3); }
  .hero-actions { flex-direction: column; align-items: center; gap: var(--space-4); }
  .btn.large { width: 100%; max-width: 400px; padding: var(--space-4) var(--space-6); }
  .trust-indicators { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .step-cards { grid-template-columns: 1fr; gap: var(--space-6); }
  .process-track { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .testimonial-card.featured { transform: none; }
  .title-line { font-size: clamp(2.5rem, 8vw, 4rem); }
}
@media (max-width: 620px) {
  .feature-row { grid-template-columns: repeat(2,1fr); }
  .services { grid-template-columns: repeat(2,1fr); }
  .swatches .swatch { width: 46vw; }
}
@media (max-width: 480px) {
  :root { --section-padding: 2rem; --container-padding: 1rem; --blur-strength: 15px; }
  .hero-section::before, .hero-section::after { display: none; }
  .phone-mockup { width: 216px; height: 432px; }
  .app-interface { padding: var(--space-4); }
  .hero-stats { flex-direction: column; gap: var(--space-3); }
  .stat-item { width: 100%; }
  .service-card, .step-card, .testimonial-card { padding: var(--space-4); }
  .btn.large { padding: var(--space-4); font-size: var(--fs-base); }
  .trust-item { padding: var(--space-2) var(--space-4); font-size: var(--fs-xs); }
}

.service-hover-content .service-cta {
  width: 100%;
  justify-content: center;
}

.grid.cards .form-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}