/*
  South Orange County Web Design — Elite Performance-Optimized Design System
  - Ultra-modern, responsive, accessible
  - Core Web Vitals optimized with advanced animations
  - SEO-friendly semantics & lightning-fast performance
*/

/* Performance-optimized font loading with font-display: swap */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Critical rendering optimizations */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Reduce layout shift and optimize images */
img, video {
  height: auto;
  max-width: 100%;
  display: block;
}

/* Respect user motion preferences */
@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;
  }
}

/* GPU acceleration for smooth animations */
.hero, .card, .btn, .portfolio-card {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

:root{
  /* High Contrast Color Palette */
  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --surface: #ffffff;
  --surface-elevated: #f1f5f9;
  --surface-glass: rgba(248, 250, 252, 0.95);
  --border: rgba(0, 0, 0, 0.1);
  --border-strong: rgba(0, 0, 0, 0.2);
  --text: #1a202c;
  --text-secondary: #2d3748;
  --text-muted: #4a5568;
  --heading: #1a202c;
  
  /* High Contrast Brand Colors */
  --primary: #22d3ee;
  --primary-dark: #0891b2;
  --primary-glow: rgba(34, 211, 238, 0.2);
  --accent: #38bdf8;
  --accent-dark: #0284c7;
  --accent-glow: rgba(56, 189, 248, 0.2);
  --secondary: #fbbf24;
  --secondary-glow: rgba(251, 191, 36, 0.2);
  
  /* Status Colors */
  --success: #22c55e;
  --success-glow: rgba(34, 197, 94, 0.2);
  --warning: #fbbf24;
  --danger: #ef4444;
  
  /* High Contrast Gradients */
  --gradient-primary: linear-gradient(135deg, #22d3ee, #38bdf8);
  --gradient-secondary: linear-gradient(135deg, #fbbf24, #f59e0b);
  --gradient-surface: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(56, 189, 248, 0.1));
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
  --gradient-text: linear-gradient(135deg, #22d3ee, #38bdf8, #fbbf24);
  
  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-primary);
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  
  /* Layout */
  --max-width: 1280px;
  --container-padding: clamp(1rem, 5vw, 3rem);
  --section-padding: clamp(2rem, 6vw, 6rem);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows & Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 40px rgba(6, 182, 212, 0.1);
  --blur: blur(16px);
  
  /* Animation */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 1rem;
  min-width: 320px;
  width: 100%;
  position: relative;
}

/* Clean text styling without excessive !important */
p, span, div, li, td, th, label {
  color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

/* Input and form elements */
.input, textarea, select {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

/* Card content */
.card p, .card span, .card div {
  color: var(--text);
}

/* Service descriptions */
.service p {
  color: var(--text-secondary);
}

/* Portfolio meta */
.meta p {
  color: var(--text-secondary);
}

/* Premium background with animated gradients */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
  animation: backgroundShift 20s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(1deg); }
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary);
}

/* Selection styles */
::selection {
  background: var(--accent-glow);
  color: var(--heading);
}

::-moz-selection {
  background: var(--accent-glow);
  color: var(--heading);
}

/* ===== LAYOUT SYSTEM ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  box-sizing: border-box;
}

/* Navigation System */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  color: var(--heading);
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
}

.links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.links a {
  color: var(--text);
  font-weight: 500;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}

.links a:hover {
  color: var(--accent);
}

.mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.mobile.open {
  display: flex;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .links {
    display: none;
  }
  
  .mobile {
    display: flex;
  }
  
  .menu {
    display: block;
  }
}

.section {
  padding: var(--section-padding) 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.4s; }
.section:nth-child(4) { animation-delay: 0.6s; }
.section:nth-child(5) { animation-delay: 0.8s; }

.section-inner {
  position: relative;
  z-index: 1;
}

/* Grid System */
.grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Premium Card System */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.card:hover::before {
  transform: scaleX(1);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Primary Button */
.btn.primary {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
  animation: glow 2s ease-in-out infinite;
}

/* Hero Visual Showcase */
.hero-showcase {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.showcase-item {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.showcase-item.primary {
  background: var(--gradient-primary);
  color: #ffffff;
}

.showcase-item.secondary {
  background: var(--gradient-secondary);
  color: #ffffff;
}

.showcase-item.accent {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #ffffff;
}

.showcase-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.showcase-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.showcase-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: inherit;
}

.showcase-item p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(251, 191, 36, 0.1) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

/* Service Cards - Equal Height and Consistent Sizing */
.service {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.service:hover {
  color: inherit;
  text-decoration: none;
}

.service h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--heading);
}

.service p {
  flex-grow: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.service .metric {
  margin-top: auto;
  padding: 0.5rem 1rem;
  background: var(--accent-glow);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Service Icons */
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
  flex-shrink: 0;
}

.metric {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent-glow);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Enhanced Brand Chips */
.brand-chip.elite {
  background: var(--gradient-surface);
  border: 1px solid var(--border-strong);
  color: var(--heading);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  transition: var(--transition);
  flex-shrink: 0;
  min-width: 0;
  word-break: break-word;
}

.brand-chip.elite:hover {
  transform: translateY(-2px);
  background: var(--surface-elevated);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

/* Trust Badges */
.trust {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.trust .badge {
  background: var(--gradient-surface);
  border-color: var(--border-strong);
  font-weight: 600;
}

/* Image fallback indicator */
.img-fallback{outline:1px solid rgba(255,255,255,.12)}

/* ===== FORMS & INTERACTIONS ===== */
form {
  display: grid;
  gap: 1.5rem;
}

.input, textarea, select {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--surface-elevated);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Stats Grid - Enhanced Professional Design */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border-radius: var(--radius-xl);
  border: 2px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.2), var(--shadow-xl);
  background: linear-gradient(135deg, var(--surface-elevated) 0%, #ffffff 100%);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1;
  font-family: var(--font-heading);
  text-shadow: 0 2px 4px rgba(56, 189, 248, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--primary-dark);
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
  color: var(--text);
}

/* Portfolio specific stats styling */
.hero-section .stats-grid {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 100%;
  }
  
  .stat-item {
    padding: 1.5rem 1rem;
    min-width: 0;
  }
  
  .stat-number {
    font-size: 2.25rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .stat-item {
    padding: 1.25rem 1rem;
    min-width: 0;
    width: 100%;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* ===== INDUSTRIES PAGE STYLING ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.industry-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(56, 189, 248, 0.15), var(--shadow-xl);
  background: linear-gradient(135deg, var(--surface-elevated) 0%, #ffffff 100%);
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1) rotate(5deg);
}

.industry-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  transition: color 0.3s ease;
}

.industry-card:hover .industry-title {
  color: var(--accent);
}

.industry-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.industry-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.feature-tag {
  background: var(--accent);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.industry-card:hover .feature-tag {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-section {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.btn.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .industry-card {
    padding: 2rem 1.5rem;
  }
  
  .industry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .industry-title {
    font-size: 1.25rem;
  }
  
  .cta-section {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .industry-card {
    padding: 1.5rem 1rem;
  }
  
  .industry-features {
    gap: 0.25rem;
  }
  
  .feature-tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
}

/* ===== BLOG PAGE STYLING ===== */
.blog-categories {
  margin: 2rem 0;
}

.category-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.category-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-btn:hover,
.category-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.blog-card {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow);
}

.blog-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}

.blog-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(56, 189, 248, 0.15), var(--shadow-xl);
}

.blog-image {
  position: relative;
  background: var(--gradient-primary);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card.featured .blog-image {
  height: auto;
  min-height: 250px;
}

.blog-placeholder {
  font-size: 4rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.blog-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.blog-content {
  padding: 2rem;
}

.blog-card.featured .blog-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-title {
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title a {
  color: var(--accent);
}

.blog-card.featured .blog-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog-card.featured .blog-excerpt {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.blog-date,
.blog-read-time,
.blog-author {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-date::before {
  content: '📅';
  font-size: 0.8rem;
}

.blog-read-time::before {
  content: '⏱️';
  font-size: 0.8rem;
}

.blog-author::before {
  content: '👤';
  font-size: 0.8rem;
}

.blog-cta {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-card.featured {
    grid-template-columns: 1fr;
  }
  
  .blog-card.featured .blog-image {
    height: 200px;
  }
  
  .category-filters {
    gap: 0.5rem;
  }
  
  .category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-card.featured .blog-content {
    padding: 2rem;
  }
  
  .blog-card.featured .blog-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .blog-content {
    padding: 1.25rem;
  }
  
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .blog-cta {
    padding: 2rem 1.5rem;
  }
}

/* ===== BLOG ARTICLE STYLING ===== */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border);
}

.article-category {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.article-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1.5rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.article-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2rem;
}

.article-author,
.article-date,
.article-read-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-author::before {
  content: '👤';
}

.article-date::before {
  content: '📅';
}

.article-read-time::before {
  content: '⏱️';
}

.article-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin: 3rem 0 1.5rem 0;
  font-family: var(--font-heading);
}

.article-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 1rem 0;
  font-family: var(--font-heading);
}

.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.article-content li strong {
  color: var(--text);
  font-weight: 600;
}

.article-cta {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-elevated) 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.article-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.article-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .article-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .article-content {
    font-size: 1rem;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content h3 {
    font-size: 1.25rem;
  }
  
  .article-cta {
    padding: 2rem 1.5rem;
  }
}

/* ===== ALERTS & NOTIFICATIONS ===== */
.form-note {
  font-size: 0.875rem;
  color: var(--text-secondary) !important;
  margin-top: 0.5rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin: 1rem 0;
}

.alert.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
}

/* ===== FOOTER SYSTEM ===== */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  background: var(--bg-secondary);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer .cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer .brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--heading);
}

.footer a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: block;
  padding: 0.25rem 0;
}

.footer a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

@media (max-width: 1024px) {
  .footer .cols {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer .cols .brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer .cols {
    grid-template-columns: 1fr;
  }
}
/* ===== UTILITY CLASSES ===== */
.m0 { margin: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* Padding utility */
.pad {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* Typography utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.small { 
  font-size: 0.875rem; 
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Professional typography hierarchy */
.h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
  text-align: center;
}

.sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Clean paragraph styling */
p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text);
}

/* Gradient text effect */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== RESPONSIVE DESIGN TESTING & OPTIMIZATION ===== */

/* Critical mobile optimization fixes */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent zoom-out white space issues */
.hero-grid, .grid, .stats-grid, .brands, .trust {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Fix pills and badges overflow */
.pills, .trust, .brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
}

.badge, .brand-chip {
  flex-shrink: 0;
  min-width: 0;
  word-break: break-word;
}

/* Mobile-first responsive breakpoints */
@media (max-width: 480px) {
  /* Extra small devices */
  .container { 
    padding: 0 1rem; 
    max-width: 100%;
    min-width: 0;
  }
  .h1 { font-size: 2rem; line-height: 1.2; }
  .h2 { font-size: 1.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .btn.large { padding: 0.875rem 1.5rem; font-size: 0.9rem; }
  .service-icon { font-size: 2rem; }
  
  /* Prevent horizontal overflow */
  .hero-showcase {
    width: 100%;
    max-width: 100%;
  }
  
  .showcase-item {
    min-width: 0;
    word-wrap: break-word;
  }
}

@media (max-width: 640px) {
  /* Small devices */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 3rem 0; }
  .section { padding: 2rem 0; }
  .nav .links { display: none; }
  .mobile { display: block; }
  
  /* Ensure full width usage */
  .container {
    padding: 0 1rem;
    max-width: 100%;
    width: 100%;
  }
  
  /* Fix grid overflow */
  .grid {
    width: 100%;
    max-width: 100%;
  }
  
  /* Prevent text overflow */
  .hero-content {
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
  }
}

@media (min-width: 641px) and (max-width: 768px) {
  /* Medium small devices */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 2rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablets */
  .container { max-width: 90%; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 4rem 0; }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  /* Small desktop */
  .container { max-width: 1000px; }
  .hero { padding: 5rem 0; }
}

@media (min-width: 1201px) {
  /* Large desktop */
  .container { max-width: 1200px; }
  .hero { padding: 6rem 0; }
  .h1 { font-size: 3.5rem; }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-size: 600px 600px;
  }
}

/* Landscape orientation optimizations */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 2rem 0; }
  .stats-grid { margin-top: 1rem; }
}

/* Print styles */
@media print {
  .header, .footer, .btn, .mobile { display: none; }
  .hero { padding: 1rem 0; }
  body { background: white; color: black; }
  .card { border: 1px solid #ccc; }
}

/* Dark mode support */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --text: #1a202c;
    --surface: #f7fafc;
    --border: rgba(0, 0, 0, 0.1);
  }
}

/* Accessibility improvements */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(255, 255, 255, 0.3);
    --text: #ffffff;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; min-width: 44px; }
  .card { padding: 1.5rem; }
  .nav a { padding: 1rem; }
  
  /* Prevent zoom-out issues on touch devices */
  .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  
  .hero-content, .hero-visual {
    width: 100%;
    max-width: 100%;
  }
}

/* Tables */
table{width:100%;border-collapse:separate;border-spacing:0 10px}
th,td{text-align:left;padding:10px}
tr{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08)}
tr:hover{background:rgba(255,255,255,.06)}

/* Breadcrumbs */
.breadcrumbs{display:flex;gap:6px;align-items:center;color:var(--text-muted);font-size:14px}
.breadcrumbs a{color:var(--text-secondary)}
.breadcrumbs a:hover{color:var(--accent)}

/* FAQ */
.faq-item{border:1px solid var(--border-strong);border-radius:12px;padding:14px 16px;background:var(--surface)}
.faq-item summary{cursor:pointer;font-weight:600;color:var(--heading)}
.faq-item p{margin:10px 0 0;color:var(--text-secondary)}

/* Accessible focus states */
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:10px}

/* Ambient background effects */
body{position:relative;isolation:isolate}
body::before, body::after{
  content:"";position:fixed;inset:-10%;z-index:-1;pointer-events:none
}
body::before{
  background:
    radial-gradient(60% 30% at 20% 10%, rgba(6,182,212,.18), transparent 60%),
    radial-gradient(40% 25% at 85% 15%, rgba(245,158,11,.16), transparent 60%);
  filter: blur(12px);
}
body::after{
  background-image:
    linear-gradient(transparent 0%, rgba(255,255,255,.05) 120%),
    repeating-linear-gradient(90deg, transparent 0, transparent 38px, var(--grid) 39px, transparent 40px);
  mask-image: radial-gradient(60% 50% at 50% 20%, black 0%, transparent 80%);
}

/* Advanced reveal animations */
@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@keyframes slideInLeft{from{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:none}}
@keyframes slideInRight{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
@keyframes scaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}
@keyframes float{0%,100%{transform:translateY(0px)}50%{transform:translateY(-10px)}}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@keyframes glow{0%,100%{box-shadow:0 0 20px rgba(56,189,248,0.3)}50%{box-shadow:0 0 40px rgba(56,189,248,0.6)}}

.hero .h1{animation:slideInLeft .8s ease both}
.hero .sub{animation:fadeUp .8s ease .1s both}
.hero .pills{animation:fadeUp .8s ease .2s both}
.hero-cta{animation:slideInLeft .8s ease .3s both}
.hero-visual{animation:slideInRight .8s ease .2s both}
.showcase-item{animation:scaleIn .6s ease both;transition:all 0.3s ease}
.showcase-item:nth-child(1){animation-delay:.4s}
.showcase-item:nth-child(2){animation-delay:.5s}
.showcase-item:nth-child(3){animation-delay:.6s}
.showcase-item:hover{transform:translateY(-5px);box-shadow:var(--shadow-xl)}
.stat-item{animation:fadeUp .6s ease both;transition:all 0.3s ease}
.stat-item:nth-child(1){animation-delay:.7s}
.stat-item:nth-child(2){animation-delay:.8s}
.stat-item:nth-child(3){animation-delay:.9s}
.stat-item:nth-child(4){animation-delay:1s}
.stat-item:hover{transform:scale(1.05)}

@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important}
}

/* Advanced Animation Classes */
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.pulse-glow { animation: glow 3s ease-in-out infinite; }
.hover-lift:hover { transform: translateY(-2px); transition: all 0.3s ease; }
.hover-glow:hover { box-shadow: 0 0 20px rgba(56, 189, 248, 0.4); }
.floating { animation: float 3s ease-in-out infinite; }
.pulse-icon { animation: pulse 2s ease-in-out infinite; }
.animated-glow { animation: pulse 4s ease-in-out infinite, glow 6s ease-in-out infinite; }

/* Enhanced Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Staggered Section Animations */
.section { 
  opacity: 0; 
  transform: translateY(40px); 
  animation: fadeUpSection 1s ease forwards; 
}
.section:nth-child(2) { animation-delay: 0.3s; }
.section:nth-child(3) { animation-delay: 0.5s; }
.section:nth-child(4) { animation-delay: 0.7s; }
.section:nth-child(5) { animation-delay: 0.9s; }

@keyframes fadeUpSection {
  to { opacity: 1; transform: translateY(0); }
}

/* Interactive Badge Animations */
.badge:hover {
  transform: scale(1.05);
  transition: all 0.2s ease;
}

/* Enhanced Button Animations */
.btn.xl { 
  padding: 1rem 2rem; 
  font-size: 1rem; 
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}

.btn.xl:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5);
}

/* Force gradient heading and trust/brand styles */
.hero .h1 span{
  color:transparent !important;
  -webkit-text-fill-color: transparent !important;
  background-image: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
}
.trust{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.trust .badge{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04));border-color:rgba(255,255,255,.22)}
.brands{display:flex;gap:12px;flex-wrap:wrap}
.brand-chip{padding:10px 12px;border-radius:12px;background:var(--surface-elevated);border:1px solid var(--border-strong);color:var(--text) !important;font-weight:600;letter-spacing:.01em}

/* Testimonials */
.testimonials .rating-summary{display:flex;align-items:center;gap:10px;color:var(--text-secondary)}
.stars{position:relative;display:inline-block;font-size:18px;line-height:1}
.stars .bg{color:rgba(255,255,255,.3)}
.stars .fill{position:absolute;top:0;left:0;white-space:nowrap;overflow:hidden;color:var(--secondary);width:100%}
.testimonial .quote{margin:0;color:var(--text) !important}
.testimonial .author{margin-top:10px;color:var(--text-secondary) !important;font-weight:600}

/* Card hover elevation */
.card{transition:transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease}
.card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.18);background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.03));box-shadow:0 20px 50px rgba(0,0,0,.35)}

/* Service icons */
.service .icon{width:28px;height:28px;color:var(--accent-2)}
.service h3{display:flex;align-items:center;gap:10px}

/* Meta note */
.meta-note{color:var(--text-secondary) !important}

/* Primary button shine */
.btn.primary{position:relative;overflow:hidden}
.btn.primary::after{content:"";position:absolute;top:0;left:-120%;width:60%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg);transition:left .55s ease}
.btn.primary:hover::after{left:130%}

/* Section alternates */
.section.alt{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}

/* Elevated hero visuals */
.hero{padding:90px 0 56px}
.hero .h1{font-size:clamp(36px,6vw,64px);line-height:1.02;letter-spacing:-.02em}
.hero-grid{align-items:center}
.hero-art{position:relative;min-height:380px}
.hero-art::before{content:"";position:absolute;inset:-10%;z-index:-1;pointer-events:none;background:
  radial-gradient(60% 50% at 40% 30%, rgba(6,182,212,.25), transparent 60%),
  radial-gradient(50% 40% at 70% 70%, rgba(245,158,11,.22), transparent 60%);
filter:blur(24px)}
.hero-art .shot{position:absolute;border-radius:16px;border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 60px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.06) inset;overflow:hidden}
.hero-art .shot-1{width:66%;left:18%;top:6%;transform:rotate(-1.5deg)}
.hero-art .shot-2{width:46%;left:-2%;top:40%;transform:rotate(-6deg)}
.hero-art .shot-3{width:50%;right:-4%;top:58%;transform:rotate(5deg)}
.hero-art .shot img{display:block;width:100%;height:auto}
.hero-art .shot:hover{transform:translateY(-4px)}

/* Mini feature chips */
.mini-features{display:flex;gap:10px;flex-wrap:wrap}
.mini{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.mini svg{width:16px;height:16px;color:var(--accent-2);opacity:.9}
