/* Remodely AI - Premium Stylesheet v3 - Professional Edition */

:root {
  /* Brand Colors - Professional Palette */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-mid: #334155;
  --accent: #4f46e5;
  --accent-light: #6366f1;
  --accent-dark: #4338ca;
  --accent-glow: rgba(79, 70, 229, 0.4);
  --secondary: #0284c7;
  --secondary-light: #0ea5e9;
  --coral: #dc2626;
  --coral-light: #ef4444;
  --gold: #d97706;
  --emerald: #059669;
  --emerald-light: #10b981;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text: #1e293b;
  --text-light: #475569;
  --text-muted: #64748b;

  /* Professional Gradients */
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --gradient-accent: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  --gradient-warm: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  --gradient-cool: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
  --gradient-emerald: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(79, 70, 229, 0.08) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, rgba(99, 102, 241, 0.06) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, rgba(2, 132, 199, 0.06) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, rgba(220, 38, 38, 0.04) 0px, transparent 50%),
                   radial-gradient(at 0% 100%, rgba(79, 70, 229, 0.08) 0px, transparent 50%);

  /* Premium Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px 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-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Glass Morphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(129, 140, 248, 0.3);
  --glass-blur: blur(16px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: #0f172a;
  background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* =====================================================
   BACKGROUND - Clean B2B (starfield/aurora removed)
   ===================================================== */
#aurora-bg,
.starfield-canvas,
#starfield {
  display: none !important;
}

/* Smooth transition edges for light sections bordered by dark/aurora */
#services::before,
#how-it-works::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: inherit;
  mask-image: linear-gradient(to top, black, transparent);
  -webkit-mask-image: linear-gradient(to top, black, transparent);
  z-index: 2;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

/* Typography - Professional */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.75;
}

.gradient-text {
  color: #6366f1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease, transform 0.3s ease;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: var(--transition);
}

.navbar.scrolled::before {
  opacity: 1;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo span {
  color: #6366f1;
}

@keyframes chromeShine {
  0%, 100% {
    background-position: 200% center;
  }
  50% {
    background-position: 0% center;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links li a {
  display: block;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem !important;
  background: #4f46e5 !important;
  color: var(--white) !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

.nav-cta:hover {
  background: #4338ca !important;
  box-shadow: none !important;
}

.nav-login {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem !important;
  background: transparent !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

.nav-login:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: transparent;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  z-index: 1;
}

/* Hero Background - Subtle gradient mesh (no starfield animation) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(79, 70, 229, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Hero Background Animation - Hidden for performance */
.hero-bg-animation,
.hero-orb,
.hero-orb-1,
.hero-orb-2,
.hero-orb-3 {
  display: none !important;
}

.hero-noise {
  display: none !important;
}

/* Hero Gradient Mesh Background */
.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 25%, rgba(67, 56, 202, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 55% 65% at 80% 65%, rgba(139, 92, 246, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 85%, rgba(59, 130, 246, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 65% 15%, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  animation: auroraShift 20s ease-in-out infinite;
  will-change: transform;
}

@keyframes auroraShift {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(3%, -2%) scale(1.02) rotate(1deg); }
  50% { transform: translate(-2%, 3%) scale(0.98) rotate(-1deg); }
  75% { transform: translate(2%, 1%) scale(1.01) rotate(0.5deg); }
}

/* Hero Neural Network Canvas */
.hero-neural-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* Hero Grid Overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(165, 180, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 180, 252, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 10%, transparent 70%);
  pointer-events: none;
}

/* Hero content above background */
.hero > .container {
  position: relative;
  z-index: 2;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem 0.375rem 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: heroTitleFade 0.8s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

@keyframes heroTitleFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.6;
  font-weight: 400;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  animation: heroTitleFade 1.4s ease-out;
}

/* Hero CTA Features */
.hero-cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  animation: heroTitleFade 1.3s ease-out;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
}

.cta-feature svg {
  color: #22c55e;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-cta-features {
    justify-content: center;
  }
}

/* Hero Trust Section */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: heroTitleFade 1.6s ease-out;
}

.hero-trust-avatars {
  display: flex;
  align-items: center;
}

.hero-trust-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #0f172a;
  margin-left: -10px;
  object-fit: cover;
}

.hero-trust-avatars img:first-child {
  margin-left: 0;
}

.hero-trust-more {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: 2px solid #0f172a;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
}

.hero-trust-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-trust-rating {
  display: flex;
  gap: 2px;
}

.hero-trust-rating svg {
  filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.4));
}

.hero-trust-text strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: heroTitleFade 1.6s ease-out;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Hero Visual / Dashboard */
.hero-visual {
  position: relative;
  animation: heroVisualFade 1.5s ease-out 0.3s both;
}

@keyframes heroVisualFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Social Proof */
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.625rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.proof-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* Hero Features List */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.hero-feature svg {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
}

/* Hero Lead Capture Form */
/* =====================================================
   LEAD FORM
   ===================================================== */
.hero-lead-form {
  position: relative;
}

.lead-form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.lead-form-header {
  padding: 2rem 2rem 0;
  text-align: center;
}

.form-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.lead-form-header h3 {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.lead-form-header p {
  color: #64748b;
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.5;
}

.lead-form-body {
  padding: 1.5rem 2rem 2rem;
}

.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lead-form-group {
  margin-bottom: 1rem;
}

.lead-form-group:last-of-type {
  margin-bottom: 0;
}

.lead-form-group label {
  display: none;
}

.lead-form-group input,
.lead-form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
}

.lead-form-group input::placeholder {
  color: #94a3b8;
}

.lead-form-group input:focus,
.lead-form-group select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.lead-form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.125rem 1.5rem;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}

.lead-form-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.lead-form-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.lead-form-submit:hover svg {
  transform: translateX(3px);
}

.lead-form-footer {
  padding: 1rem 2rem 1.5rem;
  text-align: center;
}

.lead-form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.8125rem;
}

.lead-form-trust svg {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

/* Form stats row */
.lead-form-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0 0;
  margin-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
}

.lead-form-stat {
  text-align: center;
}

.lead-form-stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.lead-form-stat-label {
  font-size: 0.6875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-dashboard {
  position: relative;
}

.dashboard-video-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  opacity: 0.6;
}

.dashboard-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  mix-blend-mode: overlay;
}

.dashboard-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.2);
}

.dashboard-window {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background: #ff5f57; }
.dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-dots span:nth-child(3) { background: #28c840; }

.dashboard-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 600;
  flex: 1;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #34d399;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

.dashboard-content {
  display: flex;
}

.dashboard-sidebar {
  width: 50px;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.sidebar-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: #a5b4fc;
}

.dashboard-main {
  flex: 1;
  padding: 1.25rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.dash-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.875rem;
  position: relative;
}

.dash-stat-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.125rem;
}

.dash-stat-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dash-stat-change {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
}

.dash-stat-change.positive {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.dashboard-chart {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  height: 80px;
}

.chart-line {
  height: 100%;
}

.chart-line svg {
  width: 100%;
  height: 100%;
}

.dashboard-leads {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lead-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lead-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
}

.lead-info {
  flex: 1;
}

.lead-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
}

.lead-time {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
}

.lead-badge {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
}

.lead-badge.hot {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.lead-badge.warm {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}


/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  position: relative;
  letter-spacing: -0.01em;
}

.btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: #4f46e5;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #4338ca;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-full {
  width: 100%;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background: rgba(5, 5, 16, 0.75);
  color: var(--white);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.section-light {
  background: #ffffff;
  color: var(--text);
  position: relative;
}

.section-gray {
  background: #f8fafc;
  position: relative;
}

.section-gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
  pointer-events: none;
}


.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

.section-tag {
  display: none;
}

.section-tag.light {
  display: none;
}

.section-header h2 {
  margin-bottom: 0.5rem;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 0;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

   SOCIAL PROOF BAR
   ===================================================== */
.social-proof-bar {
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
  position: relative;
  z-index: 1;
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.proof-stat {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.proof-stat strong {
  color: #ffffff;
  font-weight: 700;
}

.proof-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .proof-bar-inner {
    gap: 1rem;
  }

  .proof-stat {
    font-size: 0.8125rem;
  }

  .proof-divider {
    display: none;
  }
}

/* =====================================================
   WHY AI SECTION
   ===================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.why-number {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.why-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-card {
    padding: 2rem 1.5rem;
  }

  .why-number {
    font-size: 2.5rem;
  }
}

/* =====================================================
   TECH STACK - TABBED INTERFACE
   ===================================================== */
.tech-strip-section {
  padding: 5rem 0;
}

/* Tab Navigation */
.tech-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tech-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.tech-tab:hover {
  background: var(--glass-bg-strong);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(129, 140, 248, 0.2);
}

.tech-tab.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.4);
  color: #a5b4fc;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

.tech-tab svg {
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.tech-tab.active svg,
.tech-tab:hover svg {
  opacity: 1;
}

/* Tab Panels */
.tech-panels {
  position: relative;
}

.tech-panel {
  display: none;
  animation: techPanelIn 0.35s ease;
}

.tech-panel.active {
  display: block;
}

@keyframes techPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-panel-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Tech Items (shared between strip and tabs) */
.tech-strip-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.tech-strip-item:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tech-strip-item svg {
  opacity: 0.6;
  transition: opacity 0.25s ease;
  flex-shrink: 0;
}

.tech-strip-item:hover svg {
  opacity: 1;
}

/* Tech Tooltip Cards */
.tech-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  width: 260px;
  padding: 1rem 1.125rem;
  background: linear-gradient(145deg, #1e2247, #171b3a);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: 14px;
  box-shadow:
    0 0 20px rgba(99, 102, 241, 0.25),
    0 0 60px rgba(99, 102, 241, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.3s ease;
  z-index: 100;
  text-align: left;
}

.tech-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #171b3a;
}

.tech-tooltip::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 9px solid transparent;
  border-top-color: rgba(129, 140, 248, 0.4);
}

.tech-strip-item:hover .tech-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.tech-tooltip strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: #a5b4fc;
  letter-spacing: 0.01em;
}

.tech-tooltip p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #c7d0e2;
  margin: 0;
}

@media (max-width: 768px) {
  .tech-tabs {
    gap: 0.375rem;
  }

  .tech-tab span {
    display: none;
  }

  .tech-tab {
    padding: 0.625rem 0.875rem;
  }
}

@media (max-width: 640px) {
  .tech-panel-grid {
    gap: 0.75rem;
  }

  .tech-strip-item {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }

  .tech-strip-item svg {
    width: 22px;
    height: 22px;
  }

  .tech-tooltip {
    display: none;
  }
}

/* =====================================================
   SOLUTIONS GRID - PRODUCTIZED OFFERINGS
   ===================================================== */
.section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15);
  transform: translateY(-4px);
}

.solution-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #4f46e5;
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.solution-card > p {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.solution-features li {
  font-size: 0.8125rem;
  color: #6366f1;
  background: #eef2ff;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  font-weight: 500;
}

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

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .solution-card {
    padding: 1.5rem;
  }
}

/* =====================================================
   HOW IT WORKS / PROCESS
   ===================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.1);
  border-color: #c7d2fe;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* =====================================================
   TECH STACK
   ===================================================== */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 100px;
}

.tech-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.15);
}

.tech-logo {
  color: #c4b5fd;
}

.tech-logo svg {
  width: 32px;
  height: 32px;
}

.tech-item p {
  margin: 0;
  font-size: 0.8125rem;
  color: #e2e8f0;
  font-weight: 600;
  text-align: center;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: rgba(79, 70, 229, 0.85);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* CTA Aurora Accent */
.cta-aurora-accent {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  animation: ctaAuroraFloat 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaAuroraFloat {
  0%, 100% { transform: translateX(0) scale(1); opacity: 1; }
  50% { transform: translateX(3%) scale(1.05); opacity: 0.8; }
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-section h2 {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section h2 br {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section {
  background: var(--gray-50);
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99, 102, 241, 0.06), transparent);
  pointer-events: none;
}

.contact-simple {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-left h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.contact-left > p {
  font-size: 1.0625rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link svg {
  color: #6366f1;
  flex-shrink: 0;
}

a.contact-link:hover {
  color: #6366f1;
}

.contact-form-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
}

.contact-form-card h4 {
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  transition: var(--transition);
  font-family: inherit;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), 0 2px 8px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

/* =====================================================
   EARLY ADOPTER
   ===================================================== */
.early-adopter {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.early-adopter-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.early-adopter h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.early-adopter p {
  font-size: 1.0625rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.about-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-cta {
  margin-top: 2rem;
}

.about-minimal {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 0;
}

.about-minimal h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.about-minimal p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.2s ease;
}

.about-stat:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-2px);
}

.about-stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: rgba(15, 23, 42, 0.5);
  color: var(--white);
  padding: 4rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.footer-column h5 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/* =====================================================
   LIGHTBOX / IMAGE MODAL
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.15s ease;
}

.lightbox-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2rem;
  }

  .hero-dashboard {
    display: none;
  }

  .lead-form-header {
    padding: 1.25rem 1.5rem;
  }

  .lead-form-header h3 {
    font-size: 1.25rem;
  }

  .lead-form-body {
    padding: 1.25rem 1.5rem;
  }

  .lead-form-footer {
    padding: 0.875rem 1.5rem 1.25rem;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
    height: 250px;
  }

  .about-stats {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .contact-simple {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .contact-details {
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }

/* Selection */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--primary);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* =====================================================
   GLASS MORPHISM & MODERN EFFECTS
   ===================================================== */

/* Glass Morphism Variables */
:root {
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-light: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-light: rgba(255, 255, 255, 0.15);
  --glass-blur: 16px;
  --glass-blur-lg: 24px;
}

/* Glass Morphism Base Class */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

.glass-light {
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur-lg));
  -webkit-backdrop-filter: blur(var(--glass-blur-lg));
  border: 1px solid var(--glass-border-light);
}


/* =====================================================
   REDUCED MOTION SUPPORT
   ===================================================== */
@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;
  }

  .btn-primary::before {
    animation: none !important;
  }

  .parallax-element {
    transform: none !important;
  }
}

/* =====================================================
   SCROLL PROGRESS INDICATOR
   ===================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* =====================================================
   ANIMATED GRADIENTS
   ===================================================== */

/* Hero Animated Gradient Background */
.hero-bg-animated {
  background: linear-gradient(
    135deg,
    #0a0a1a 0%,
    #0f172a 25%,
    #1a1033 50%,
    #0f172a 75%,
    #0a0a1a 100%
  );
  background-size: 400% 400%;
  animation: heroGradientShift 15s ease infinite;
}

@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Button Shine Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::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 ease;
}

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

/* Animated Gradient Text */
.animated-gradient-text {
  background: linear-gradient(
    90deg,
    #a5b4fc 0%,
    #c4b5fd 25%,
    #f0abfc 50%,
    #c4b5fd 75%,
    #a5b4fc 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextFlow 4s ease infinite;
}

@keyframes gradientTextFlow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* =====================================================
   ENHANCED HOVER EFFECTS
   ===================================================== */


/* Tech Item Glow Effect */
.tech-item {
  position: relative;
}

.tech-item::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0), rgba(139, 92, 246, 0));
  border-radius: inherit;
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0;
}

.tech-item:hover::after {
  opacity: 1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  filter: blur(8px);
}

/* Button Aurora Glow */
.btn-primary:hover {
  box-shadow:
    0 8px 25px rgba(99, 102, 241, 0.5),
    0 0 40px rgba(139, 92, 246, 0.3);
}

/* Process Step Hover */
.process-step:hover .process-number {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6), 0 0 40px rgba(99, 102, 241, 0.15);
}

.process-number {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   MICRO-INTERACTIONS
   ===================================================== */

/* Button Press State */
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Button Loading State */
.btn.loading {
  pointer-events: none;
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: buttonSpin 0.8s linear infinite;
}

@keyframes buttonSpin {
  to { transform: rotate(360deg); }
}

/* Input Focus Lift Effect */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
}

/* Input Label Animation */
.form-group {
  position: relative;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
  color: #6366f1;
}

/* Icon Bounce on Hover */
.solution-card:hover svg {
  animation: iconBounce 0.4s ease;
}

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

/* Ripple Effect for Interactive Elements */
.btn {
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Card Scale-In Animation */
.card-scale-in {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-scale-in.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Staggered Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* =====================================================
   SCROLL-DRIVEN ANIMATIONS
   ===================================================== */

/* For browsers that support scroll-driven animations */
@supports (animation-timeline: scroll()) {
  .parallax-element {
    animation: parallaxMove linear both;
    animation-timeline: scroll();
    animation-range: 0 100vh;
  }

  @keyframes parallaxMove {
    from { transform: translateY(0); }
    to { transform: translateY(-50px); }
  }
}

/* Fade-in on Scroll */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in from Left */
.scroll-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-in from Right */
.scroll-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =====================================================
   TECH STACK TABBED INTERFACE
   ===================================================== */
.tech-stack-section {
  position: relative;
}

.tech-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-tab svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.tech-tab:hover {
  background: rgba(99, 102, 241, 0.08);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(99, 102, 241, 0.2);
}

.tech-tab:hover svg {
  opacity: 1;
}

.tech-tab:hover svg {
  opacity: 1;
}

.tech-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
  border-color: rgba(139, 92, 246, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.tech-tab.active svg {
  opacity: 1;
  color: #c4b5fd;
}

.tech-tab-text {
  display: inline;
}

.tech-panels {
  position: relative;
}

.tech-panel {
  display: none;
  animation: techPanelFadeIn 0.4s ease;
}

.tech-panel.active {
  display: block;
}

@keyframes techPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-category-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tech-category-header h4 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tech-category-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0;
}

/* Tech Grid within Panels */
.tech-panel .tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive Tab Adjustments */
@media (max-width: 768px) {
  .tech-tabs {
    gap: 0.375rem;
    padding: 0.375rem;
  }

  .tech-tab {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }

  .tech-tab-text {
    display: none;
  }

  .tech-tab svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .tech-tab {
    padding: 0.5rem 0.75rem;
  }
}

/* =====================================================
   FLOATING STAT NUMBERS
   ===================================================== */
.stat-float {
  animation: statFloat 3s ease-in-out infinite;
}

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

/* =====================================================
   PERFORMANCE OPTIMIZATIONS
   ===================================================== */

/* Contain for better performance */
.tech-item {
  contain: layout style paint;
}

/* Will-change for frequently animated elements */
.btn-primary {
  will-change: transform;
}

/* GPU acceleration for smooth animations */
.tech-item:hover {
  transform: translateZ(0);
}

/* =====================================================
   COUNT-UP ANIMATION FOR NUMBERS
   ===================================================== */
.count-up {
  display: inline-block;
}

.count-up.animated {
  animation: countPop 0.3s ease-out;
}

@keyframes countPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* =====================================================
   ENHANCED PROCESS STEPS
   ===================================================== */
.process-grid {
  position: relative;
}

/* Connecting line between steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 2px;
  background: linear-gradient(90deg,
    rgba(99, 102, 241, 0.2) 0%,
    rgba(99, 102, 241, 0.5) 50%,
    rgba(99, 102, 241, 0.2) 100%);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

/* Process step progress dots */
.process-step::after {
  content: '';
  position: absolute;
  top: calc(2rem + 24px - 4px);
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.process-step:hover::after {
  opacity: 1;
  box-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 1024px) {
  .process-grid::before {
    display: none;
  }

  .process-step::after {
    display: none;
  }
}

/* =====================================================
   NAVBAR HIDE ON SCROLL DOWN
   ===================================================== */
.navbar.hidden {
  transform: translateY(-100%);
}

.navbar {
  transition: transform 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

/* =====================================================
   ENHANCED INPUT ANIMATIONS
   ===================================================== */
.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 4px rgba(99, 102, 241, 0.15),
    0 4px 12px rgba(99, 102, 241, 0.1);
}

/* Input validation states */
.form-group input.valid,
.form-group textarea.valid {
  border-color: #10b981;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #f43f5e;
  animation: inputShake 0.4s ease;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* =====================================================
   SKELETON LOADING STATES
   ===================================================== */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease infinite;
  border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =====================================================
   SMOOTH IMAGE LOADING
   ===================================================== */
.lazy-image {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

/* =====================================================
   TOOLTIP UTILITY
   ===================================================== */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: #1e293b;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 100;
}

[data-tooltip]::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

[data-tooltip]:hover::after {
  transform: translateX(-50%) translateY(-5px);
}

/* =====================================================
   NOTIFICATION BADGE
   ===================================================== */
.notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #f43f5e;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: notificationPulse 2s ease infinite;
}

@keyframes notificationPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* =====================================================
   ENHANCED SECTION TRANSITIONS
   ===================================================== */
.section {
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.2) 50%,
    transparent 100%);
}

.section-dark::after {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%);
}


/* =====================================================
   SECTION REVEAL ANIMATION
   ===================================================== */
.section {
  opacity: 1;
  transform: translateY(0);
}

/* Section header animations disabled for stability */
.section-header {
  opacity: 1;
  transform: none;
}

/* =====================================================
   ENHANCED MOBILE MENU
   ===================================================== */
@media (max-width: 991px) {
  .nav-links {
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .nav-links.active li {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }

  /* Mobile toggle animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* =====================================================
   HERO TEXT WAVE EFFECT
   ===================================================== */
.hero-title-char {
  display: inline-block;
  animation: heroCharWave 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

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


/* =====================================================
   BUTTON SUCCESS STATE
   ===================================================== */
.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

/* =====================================================
   TYPING CURSOR
   ===================================================== */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 100%);
  margin-left: 2px;
  animation: cursorBlink 1s ease infinite;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* =====================================================
   FOCUS RING IMPROVEMENTS
   ===================================================== */
:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 3px;
}

.btn:focus-visible {
  outline-offset: 4px;
  box-shadow:
    0 8px 25px rgba(99, 102, 241, 0.5),
    0 0 0 4px rgba(99, 102, 241, 0.2);
}

/* =====================================================
   HIGH CONTRAST MODE
   ===================================================== */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid #ffffff;
  }

  .tech-item {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* =====================================================
   DARK MODE SUPPORT (OS-level)
   ===================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #1e293b;
  border-radius: var(--radius-lg);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.toast-error {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.toast-info {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: #ffffff;
}

@media (max-width: 480px) {
  .toast-container {
    left: 1rem;
    right: 1rem;
    transform: none;
  }

  .toast {
    font-size: 0.875rem;
    padding: 0.875rem 1rem;
  }
}

/* =====================================================
   LOADING DOTS ANIMATION
   ===================================================== */
.loading-dots {
  display: inline-flex;
  gap: 4px;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: loadingDot 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes loadingDot {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* =====================================================
   CONFETTI ANIMATION (for success)
   ===================================================== */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  pointer-events: none;
  z-index: 10001;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* =====================================================
   HERO BADGE PULSE RING
   ===================================================== */
.hero-badge {
  position: relative;
}

/* =====================================================
   LINK UNDERLINE ANIMATION
   ===================================================== */
.link-animated {
  position: relative;
  display: inline-block;
}

.link-animated::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.3s ease;
}

.link-animated:hover::after {
  width: 100%;
}

/* =====================================================
   IMAGE REVEAL ANIMATION
   ===================================================== */
.image-reveal {
  position: relative;
  overflow: hidden;
}

.image-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  transform: translateX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-reveal.revealed::after {
  transform: translateX(100%);
}

/* =====================================================
   CURSOR GLOW (CSS-only, hero section)
   ===================================================== */
@media (pointer: fine) and (min-width: 768px) {
  .hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    left: var(--cursor-x, -200px);
    top: var(--cursor-y, -200px);
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, opacity 0.3s ease;
    opacity: 0;
  }

  .hero:hover::before {
    opacity: 1;
  }
}


/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-left.revealed {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-right.revealed {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal-scale.revealed {
  transform: scale(1);
}


/* =====================================================
   PROGRESS BARS
   ===================================================== */
.progress-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   TYPING CURSOR
   ===================================================== */
.typing-text::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: #8b5cf6;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* =====================================================
   MAGNETIC BUTTON EFFECT
   ===================================================== */
.btn-primary,
.nav-cta {
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* =====================================================
   GLOW PULSE FOR LIVE STATUS
   ===================================================== */
.status-dot {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 5px #22c55e, 0 0 10px #22c55e;
  }
  50% {
    box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e, 0 0 30px #22c55e;
  }
}

/* =====================================================
   BEFORE/AFTER IMAGE COMPARISON
   ===================================================== */
.image-compare {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: ew-resize;
}

.image-compare img {
  width: 100%;
  height: auto;
  display: block;
}

.image-compare-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.image-compare-after img {
  width: auto;
  min-width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.image-compare-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
}

.image-compare-slider::before,
.image-compare-slider::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.image-compare-slider::before {
  top: 50%;
  transform: translate(-50%, -50%);
}

.image-compare-slider::after {
  display: none;
}

.image-compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 11;
}

.image-compare-handle svg {
  width: 20px;
  height: 20px;
  color: #1e293b;
}

/* =====================================================
   FLOATING LABEL INPUTS
   ===================================================== */
.floating-label-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-label-group input,
.floating-label-group textarea {
  padding-top: 1.5rem;
}

.floating-label-group label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.5);
}

.floating-label-group input:focus ~ label,
.floating-label-group input:not(:placeholder-shown) ~ label,
.floating-label-group textarea:focus ~ label,
.floating-label-group textarea:not(:placeholder-shown) ~ label {
  top: 0.5rem;
  transform: translateY(0);
  font-size: 0.75rem;
  color: #8b5cf6;
}

/* =====================================================
   SKELETON LOADING
   ===================================================== */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* =====================================================
   NOTIFICATION BADGE
   ===================================================== */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  animation: badgePop 0.3s ease;
}

@keyframes badgePop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* =====================================================
   GLASSMORPHISM MODAL
   ===================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* =====================================================
   ANIMATED UNDERLINE LINKS
   ===================================================== */
.animated-link {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
}

.animated-link:hover::after {
  width: 100%;
}

/* =====================================================
   STAGGERED FADE IN
   ===================================================== */
.stagger-fade > * {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerFadeIn 0.5s ease forwards;
}

.stagger-fade > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-fade > *:nth-child(6) { animation-delay: 0.6s; }

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

/* =====================================================
   STATS COUNTER ANIMATION
   ===================================================== */
.stat-counter {
  font-variant-numeric: tabular-nums;
  transition: all 0.1s ease;
}

/* =====================================================
   ENHANCED ANIMATIONS
   ===================================================== */
@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 slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-slide-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.6s ease forwards;
}

.animate-slide-up {
  animation: slideInUp 0.6s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease forwards;
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }


/* =====================================================
   FOCUS VISIBLE STYLES FOR ACCESSIBILITY
   ===================================================== */
*:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 3px;
}

/* =====================================================
   HIGH CONTRAST MODE SUPPORT
   ===================================================== */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid #ffffff;
  }

  .nav-links a {
    border-bottom: 1px solid transparent;
  }

  .nav-links a:hover {
    border-bottom-color: currentColor;
  }
}


/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10000;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7, #d946ef);
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* =====================================================
   ANIMATED GRADIENT BORDERS
   ===================================================== */
.gradient-border {
  position: relative;
  background: transparent;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7, #ec4899);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientRotate 3s linear infinite;
  background-size: 200% 200%;
}

@keyframes gradientRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =====================================================
   ENHANCED CARD SPOTLIGHT EFFECT
   ===================================================== */
.card-spotlight {
  position: relative;
  overflow: hidden;
}

.card-spotlight::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-spotlight:hover::before {
  opacity: 1;
}

/* =====================================================
   PULSE RING ANIMATION
   ===================================================== */
.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(99, 102, 241, 0.5);
  border-radius: inherit;
  animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* =====================================================
   SHIMMER TEXT EFFECT
   ===================================================== */
.shimmer-text {
  color: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
}

@keyframes shimmerText {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* =====================================================
   FLOATING LABELS FOR INPUTS (ENHANCED)
   ===================================================== */
.form-group {
  position: relative;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(99, 102, 241, 0.2),
    inset 0 0 0 2px rgba(99, 102, 241, 0.5);
}


/* =====================================================
   SECTION DIVIDERS
   ===================================================== */
.section-divider {
  height: 100px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

/* =====================================================
   BADGE STYLES
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-warning {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-new {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: #ffffff;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* =====================================================
   ANIMATED ICONS
   ===================================================== */
.animated-icon {
  transition: all 0.3s ease;
}

.animated-icon:hover {
  transform: scale(1.2) rotate(5deg);
}

.icon-spin:hover {
  animation: iconSpin 0.5s ease-in-out;
}

@keyframes iconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =====================================================
   LOADING STATES
   ===================================================== */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =====================================================
   BETTER SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 100px;
  border: 2px solid #0f172a;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #6366f1 #0f172a;
}

/* =====================================================
   ADDITIONAL RESPONSIVE FIXES
   ===================================================== */
@media (max-width: 1200px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }

  .about-image {
    grid-row: 1;
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto 2rem;
  }
}

/* =====================================================
   ENHANCED SECTION STYLING
   ===================================================== */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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


/* =====================================================
   BETTER IMAGE LOADING
   ===================================================== */
img {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src]:not([src=""]) {
  opacity: 1;
}

/* =====================================================
   ENHANCED BUTTONS
   ===================================================== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::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 ease;
}

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

.btn-outline {
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-outline:hover::before {
  opacity: 1;
}

/* =====================================================
   BETTER MOBILE MENU
   ===================================================== */
@media (max-width: 991px) {
  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* =====================================================
   CONTACT FORM IMPROVEMENTS
   ===================================================== */
.contact-form-card {
  position: relative;
}

@keyframes formGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* =====================================================
   FOOTER ENHANCEMENTS
   ===================================================== */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.5) 50%, transparent 100%);
}

.footer-social a {
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  color: #a5b4fc;
}

/* =====================================================
   PERFORMANCE: REDUCE ANIMATIONS DURING SCROLL
   ===================================================== */
body.is-scrolling * {
  animation-play-state: paused !important;
}

/* =====================================================
   SECTION VISIBILITY ANIMATIONS - DISABLED FOR NOW
   ===================================================== */
/* Animations disabled to prevent overlap issues */

/* =====================================================
   FINAL POLISH
   ===================================================== */

/* Smooth images */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Better text rendering */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Ensure contrast */
.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

/* =====================================================
   FIX SECTION OVERLAP ISSUES
   ===================================================== */
.section {
  position: relative;
  z-index: 1;
}

/* Dark sections: semi-transparent to show aurora */
.section-dark {
  background-color: rgba(5, 5, 16, 0.75) !important;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

/* Light sections: opaque to hide aurora */
.section-light {
  background-color: #ffffff !important;
}

.section-gray {
  background-color: #f8fafc !important;
}

/* Make sure containers stay within bounds */
.container {
  position: relative;
  z-index: 1;
}

/* Hero section */
.hero {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

/* =====================================================
   COMPREHENSIVE SECTION ISOLATION
   ===================================================== */

/* Every section gets stacking context */
section {
  position: relative;
  z-index: 1;
}


#services {
  background: #ffffff !important;
  position: relative;
  z-index: 1;
}

#how-it-works {
  background: #f8fafc !important;
  position: relative;
  z-index: 1;
}

.tech-stack-section {
  background: rgba(15, 23, 42, 0.5) !important;
  position: relative;
  z-index: 1;
}

.cta-section {
  background: rgba(79, 70, 229, 0.85) !important;
  position: relative;
  z-index: 1;
}

.contact-section {
  background: #ffffff !important;
  position: relative;
  z-index: 1;
}

#about {
  background: rgba(15, 23, 42, 0.5) !important;
  position: relative;
  z-index: 1;
}

/* Force content to stay within section bounds */
section > * {
  position: relative;
  z-index: 1;
}


/* =====================================================
   ENHANCED VISUAL EFFECTS - Continued Development
   ===================================================== */

/* Animated gradient text for headlines */
.gradient-text-animated {
  color: #4f46e5;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 200% center;
  }
}

/* Glow border effect for cards */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7, #ec4899);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glow-border:hover::before {
  opacity: 1;
  animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% {
    filter: blur(8px);
  }
  50% {
    filter: blur(12px);
  }
}

/* Floating animation */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

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

/* Pulse glow effect */
.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
  }
}

/* Button ripple effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Shimmering text effect */
.shimmer-text {
  color: #ffffff;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Enhanced focus states */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.4),
    0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Form input glow on focus */
.form-input:focus,
.form-textarea:focus {
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.15),
    0 0 20px rgba(99, 102, 241, 0.1);
  border-color: var(--accent);
}

/* Navbar link underline animation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* CTA button enhanced glow */
.nav-cta:hover {
  box-shadow:
    0 0 30px rgba(99, 102, 241, 0.5),
    0 0 60px rgba(139, 92, 246, 0.3);
}

/* Scroll indicator bounce */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }
}

/* Tech item enhanced glow */
.tech-item:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow:
    0 0 20px rgba(99, 102, 241, 0.2),
    inset 0 0 20px rgba(99, 102, 241, 0.05);
}


/* Smooth page transitions */
.page-transition {
  animation: pageIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state pulse */
.loading {
  animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Section entrance animations */
.section-enter {
  animation: sectionEnter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes sectionEnter {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card stagger animation helper */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .float-animation,
  .pulse-glow,
  .gradient-text-animated,
  .shimmer-text {
    animation: none !important;
  }

  #aurora-bg,
  .hero-neural-canvas {
    display: none !important;
  }

  .hero-gradient-mesh {
    animation: none !important;
  }

  .hero-grid-overlay {
    display: none !important;
  }

  .cta-aurora-accent {
    animation: none !important;
  }
}

/* =====================================================
   AURORA MOBILE RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  #aurora-bg {
    opacity: 0.5;
  }

  .hero-neural-canvas {
    display: none;
  }

  .hero-grid-overlay {
    display: none;
  }

  .hero-gradient-mesh {
    animation-duration: 30s;
  }
}

@media (max-width: 480px) {
  #aurora-bg {
    opacity: 0.35;
  }
}

/* =====================================================
   KEYBOARD NAVIGATION STYLES
   ===================================================== */
.keyboard-nav *:focus {
  outline: 2px solid var(--accent) !important;
  outline-offset: 3px !important;
}

.keyboard-nav .tech-item:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4) !important;
}

/* Revealed animation state */
.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =====================================================
   OPTIMIZED SCROLL ANIMATIONS
   ===================================================== */

/* Base scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 400ms; }

.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Section visible state */
.section-visible {
  opacity: 1;
}

/* Sections are visible by default - animations applied via JS only to below-fold elements */
.section.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.section.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth cursor transitions */
body {
  cursor: default;
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
  .navbar,
  .cta-section,
  footer {
    display: none !important;
  }

  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }

  .section {
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }
}

/* =====================================================
   DARK MODE IMPROVEMENTS
   ===================================================== */
@media (prefers-color-scheme: dark) {
  .section-light {
    background-color: rgba(30, 41, 59, 0.8) !important;
  }

  .section-gray {
    background-color: rgba(15, 23, 42, 0.7) !important;
  }
}

/* =====================================================
   FINAL POLISH
   ===================================================== */

/* Ensure smooth scrolling throughout */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Better text rendering */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent content shift on scroll */
html {
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Loading state for buttons */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: buttonSpin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes buttonSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Success/Error states for forms */
.form-input.success,
.form-textarea.success {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-success-message {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary,
  .btn-secondary,
  .nav-cta {
    border: 2px solid currentColor;
  }

  .tech-item {
    border-width: 2px;
  }
}

/* =====================================================
   CONSOLIDATED MOBILE STYLES
   Organized by breakpoint for maintainability
   ===================================================== */

/* ----- LARGE TABLETS (max-width: 1024px) ----- */
@media (max-width: 1024px) {
  /* Hero - Stack columns */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  /* Hide dashboard on tablet */
  .hero-dashboard {
    display: none;
  }

  /* Lead form adjustments */
  .lead-form-card {
    max-width: 100%;
  }


  /* About section */
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
    height: 250px;
  }

  .about-stats {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Process grid */
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

}

/* ----- TABLETS (max-width: 991px) ----- */
@media (max-width: 991px) {
  /* Prevent body scroll when mobile menu open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  /* Mobile navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links li a {
    padding: 1rem;
    font-size: 1.125rem;
    border-radius: 8px;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 1rem;
    text-align: center;
    padding: 1rem !important;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Hamburger animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Contact layout */
  .contact-simple {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .contact-details {
    align-items: center;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ----- PHONES LANDSCAPE / SMALL TABLETS (max-width: 768px) ----- */
@media (max-width: 768px) {
  /* Disable scroll snap on mobile for better UX */
  html {
    scroll-snap-type: none;
  }

  /* Base typography adjustments */
  html {
    font-size: 15px;
  }

  /* Container padding */
  .container {
    padding: 0 1.25rem;
  }

  /* Section padding */
  .section {
    padding: 3rem 0;
  }

  /* Hero section */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.875rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-proof {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
  }

  .hero-features {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }

  .hero-feature {
    font-size: 0.9375rem;
  }

  /* Lead form mobile */
  .hero-visual {
    max-width: 100%;
    padding: 0;
  }

  .lead-form-row {
    grid-template-columns: 1fr;
  }

  .lead-form-header {
    padding: 1rem 1.25rem;
  }

  .lead-form-header h3 {
    font-size: 1.125rem;
  }

  .lead-form-header p {
    font-size: 0.8125rem;
  }

  .lead-form-body {
    padding: 1.25rem;
  }

  .lead-form-group {
    margin-bottom: 0.75rem;
  }

  .lead-form-group input,
  .lead-form-group select {
    padding: 0.75rem;
    font-size: 16px; /* Prevents iOS zoom */
  }

  .lead-form-submit {
    padding: 0.875rem;
    font-size: 1rem;
    min-height: 48px; /* Touch target */
  }

  .lead-form-stats {
    gap: 1rem;
  }

  .lead-form-stat-value {
    font-size: 0.9375rem;
  }

  /* Grids to single column */
  .solutions-grid,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }


  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 0.9375rem;
  }
}

/* ----- PHONES PORTRAIT (max-width: 480px) ----- */
@media (max-width: 480px) {
  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Typography */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Hero */
  .hero {
    padding: 90px 0 48px;
  }

  .hero h1 {
    font-size: 1.625rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  /* Lead form */
  .lead-form-header {
    padding: 0.875rem 1rem;
  }

  .lead-form-body {
    padding: 1rem;
  }

  .lead-form-group input,
  .lead-form-group select {
    padding: 0.75rem 0.875rem;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    min-height: 48px;
  }

  /* Cards */
  .contact-form-card {
    padding: 1.25rem;
  }

  /* Toast */
  .toast-container {
    left: 1rem;
    right: 1rem;
    transform: none;
  }

  .toast {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
}

/* ----- TOUCH DEVICE OPTIMIZATIONS ----- */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn,
  .nav-links li a {
    min-height: 44px;
  }

  /* Remove hover effects that don't work on touch */
  .tech-item:hover {
    transform: none;
  }

  .lead-form-card:hover {
    transform: none;
  }

  /* Make links more tappable */
  .footer-links a {
    padding: 0.5rem 0;
    display: inline-block;
  }
}

/* ----- LANDSCAPE PHONE ADJUSTMENTS ----- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
  }

  .hero-content {
    text-align: left;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero-buttons .btn {
    width: auto;
  }

  .hero-visual {
    max-width: 320px;
  }
}

/* ----- SAFE AREA INSETS (notched phones) ----- */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero,
  .section,
  .footer {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* =====================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ===================================================== */
.legal-page {
  padding: 120px 0 60px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 3rem 3.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.legal-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.legal-content .legal-updated {
  color: #64748b;
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: #4f46e5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #6366f1;
}

.legal-content strong {
  color: #1e293b;
  font-weight: 600;
}

.legal-content .legal-highlight {
  background: #f1f5f9;
  border-left: 3px solid #6366f1;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.legal-content .legal-highlight p {
  margin-bottom: 0;
}

.legal-toc {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.legal-toc h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #0f172a;
}

.legal-toc ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.legal-toc li {
  margin-bottom: 0.25rem;
}

.legal-toc a {
  color: #6366f1;
  text-decoration: none;
  font-size: 0.9375rem;
}

.legal-toc a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 2rem 1.5rem;
    border-radius: 0;
  }

  .legal-content h1 {
    font-size: 1.75rem;
  }

  .legal-content h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding: 100px 0 40px;
  }

  .legal-content {
    padding: 1.5rem 1.25rem;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }
}

/* =====================================================
   CAREERS PAGE
   ===================================================== */
.careers-page h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.careers-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.career-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.career-card:hover {
  border-color: #6366f1;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.career-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.career-card-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.career-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.career-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  white-space: nowrap;
}

.career-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.career-card ul {
  margin-bottom: 0.5rem;
}

.career-card li {
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.career-apply-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.625rem 1.5rem;
  background: #6366f1;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.career-apply-btn:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .career-card {
    padding: 1.25rem 1.5rem;
  }

  .career-card-header {
    flex-direction: column;
  }

  .career-card-header h3 {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .career-card {
    padding: 1rem 1.25rem;
  }
}

/* =====================================================
   BUSINESS PLAN PAGE
   ===================================================== */
.bp-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
}

.bp-page th,
.bp-page td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.bp-page th {
  background: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bp-page tbody tr:hover {
  background: #f8fafc;
}

.bp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bp-product {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.bp-product h3 {
  margin-top: 0;
}

.bp-product-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* =====================================================
   LAUNCH PLAYBOOK PAGE
   ===================================================== */
.playbook-progress-bar {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin: 1.5rem 0 0.5rem;
}

.playbook-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #34a853);
  border-radius: 999px;
  transition: width 0.4s ease;
  width: 0%;
}

.playbook-progress-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.playbook-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.playbook-btn {
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.playbook-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.playbook-btn-danger {
  color: #dc2626;
  border-color: #fecaca;
}

.playbook-btn-danger:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.playbook-section {
  margin-bottom: 1rem;
}

.playbook-section-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0;
}

.playbook-section-header:hover {
  background: #e2e8f0;
}

.playbook-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #6366f1;
  color: #ffffff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.playbook-section-count {
  margin-left: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6366f1;
  background: #e0e7ff;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
}

.playbook-section-body {
  padding: 0.75rem 0 0 0.5rem;
  display: block;
}

.playbook-section-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #f1f5f9;
}

.playbook-section-body h3:first-child {
  margin-top: 0.5rem;
}

.playbook-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  margin: 0.25rem 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.5;
}

.playbook-item:hover {
  background: #f8fafc;
}

.playbook-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #6366f1;
  cursor: pointer;
}

.playbook-item.completed {
  color: #94a3b8;
  text-decoration: line-through;
}

@media (max-width: 768px) {
  .playbook-section-header {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .playbook-item {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
  }

  .bp-page table {
    font-size: 0.8125rem;
  }

  .bp-page th,
  .bp-page td {
    padding: 0.5rem 0.625rem;
  }
}

@media (max-width: 480px) {
  .playbook-controls {
    flex-direction: column;
  }

  .playbook-btn {
    text-align: center;
  }
}

/* =====================================================
   PLAYBOOK PANELS (Goals, Share, Calendar)
   ===================================================== */
.playbook-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  animation: panelSlide 0.2s ease;
}

@keyframes panelSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.playbook-panel h3 {
  margin-top: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

/* --- Goal Tracker --- */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.goal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.goal-label {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0f172a;
  margin-bottom: 0.625rem;
  display: block;
}

.goal-inputs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.goal-field {
  flex: 1;
}

.goal-field span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.goal-field input {
  width: 100%;
  padding: 0.375rem 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.goal-field input:focus {
  outline: none;
  border-color: #6366f1;
  background: #ffffff;
}

.goal-bar-wrap {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.goal-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s ease, background 0.4s ease;
  width: 0%;
  background: #6366f1;
}

/* --- Share Panel --- */
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.share-btn svg {
  flex-shrink: 0;
}

.share-message {
  margin-top: 0.75rem;
  padding: 0.5rem 0.875rem;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* --- Calendar Panel --- */
.calendar-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.calendar-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.calendar-event:hover {
  border-color: #6366f1;
}

.calendar-event-info {
  flex: 1;
  min-width: 0;
}

.calendar-event-info strong {
  display: block;
  font-size: 0.9375rem;
  color: #0f172a;
  margin-bottom: 0.125rem;
}

.calendar-event-info span {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.4;
}

.calendar-event-actions {
  display: flex;
  gap: 0.375rem;
  flex-shrink: 0;
}

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

  .calendar-event {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-event-actions {
    width: 100%;
  }

  .calendar-event-actions .playbook-btn {
    flex: 1;
    text-align: center;
  }

  .share-actions {
    flex-direction: column;
  }

  .share-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .playbook-panel {
    padding: 1rem 1.25rem;
  }
}

/* =====================================================
   GLASS MORPHISM EFFECTS
   ===================================================== */
@supports (backdrop-filter: blur(16px)) {
  .why-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow), var(--glass-inset);
  }

  .why-card:hover {
    background: var(--glass-bg-strong);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow), var(--glass-inset), 0 0 24px rgba(99, 102, 241, 0.15);
  }

  .tech-strip-item {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* CTA section base background */
.cta-section {
  background: rgba(79, 70, 229, 0.85);
}

/* =====================================================
   BUTTON SHINE EFFECT
   ===================================================== */
.btn-primary,
.lead-form-submit {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.lead-form-submit::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::after,
.lead-form-submit:hover::after {
  left: 125%;
}

/* =====================================================
   ENHANCED CARD HOVER EFFECTS
   ===================================================== */
.solution-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 48px -12px rgba(99, 102, 241, 0.18),
    0 0 0 1px rgba(99, 102, 241, 0.08);
}

.solution-card:hover .solution-icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.solution-icon {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Why Card number glow on hover */
.why-card:hover .why-number {
  text-shadow: 0 0 30px rgba(129, 140, 248, 0.4);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.why-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-number {
  transition: text-shadow 0.3s ease;
}

/* =====================================================
   SCROLL-DRIVEN ANIMATIONS
   ===================================================== */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.card-scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #818cf8, #a78bfa);
  width: 0%;
  transition: width 0.1s linear;
}

/* =====================================================
   ANIMATED GRADIENT TEXT
   ===================================================== */
.section-dark .section-header h2 {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientTextShift 6s ease infinite;
}

@keyframes gradientTextShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* =====================================================
   FORM INPUT FOCUS EFFECTS
   ===================================================== */
.form-group input:focus,
.form-group textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.form-group input,
.form-group textarea {
  transition: all 0.25s ease;
}

/* =====================================================
   RIPPLE ANIMATION
   ===================================================== */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out;
}

@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =====================================================
   CARD SPOTLIGHT GRADIENT
   ===================================================== */
.card-spotlight {
  position: relative;
}

.card-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.06),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card-spotlight:hover::before {
  opacity: 1;
}

/* =====================================================
   PERFORMANCE: WILL-CHANGE HINTS
   ===================================================== */
.is-scrolling .hero-gradient-mesh {
  animation-play-state: paused;
}

/* Contain layout for cards */
.solution-card,
.why-card,
.process-step {
  contain: layout style;
}

/* =====================================================
   PLAYBOOK ENHANCEMENTS - Cloud Sync, Due Dates, Notifications
   ===================================================== */

/* Primary Button Style */
.playbook-btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border-color: #4f46e5;
}

.playbook-btn-primary:hover {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  border-color: #6366f1;
}

/* --- Sync Status Indicator --- */
.sync-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 1rem;
  width: fit-content;
}

.sync-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.sync-icon.sync-syncing {
  background: #f59e0b;
  animation: pulse 1s infinite;
}

.sync-icon.sync-error {
  background: #ef4444;
}

.sync-icon.sync-synced {
  background: #22c55e;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* --- Auth Panel --- */
.auth-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-method {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.auth-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1e293b;
}

.auth-input-group {
  display: flex;
  gap: 0.5rem;
}

.auth-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-hint {
  font-size: 0.75rem;
  color: #64748b;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-google-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.auth-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.auth-user-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.auth-user-details strong {
  font-size: 1rem;
  color: #0f172a;
}

.auth-user-details span {
  font-size: 0.8125rem;
  color: #64748b;
}

.auth-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-sync-info {
  font-size: 0.75rem;
  color: #64748b;
}

.auth-sync-info p {
  margin: 0;
}

.auth-message {
  padding: 0.625rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
}

.auth-message-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.auth-message-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --- Notifications Panel --- */
.notification-section {
  margin-bottom: 1.5rem;
}

.notification-section:last-child {
  margin-bottom: 0;
}

.notification-section h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
}

.notification-permission {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.notification-enabled {
  color: #166534;
}

.notification-denied {
  color: #991b1b;
}

.notification-setting {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.notification-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #334155;
  cursor: pointer;
}

.notification-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #6366f1;
  cursor: pointer;
}

.notification-select {
  padding: 0.375rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #1e293b;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.notification-select:focus {
  outline: none;
  border-color: #6366f1;
}

/* --- Due Date Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 420px;
  animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.modal-body {
  padding: 1.5rem;
}

.modal-task-title {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0 0 1.25rem 0;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #6366f1;
}

.due-date-inputs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.due-date-field {
  flex: 1;
}

.due-date-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}

.due-date-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.due-date-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.due-date-quick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.due-date-quick span {
  font-size: 0.8125rem;
  color: #64748b;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
  border-radius: 0 0 16px 16px;
}

/* --- Due Date Button on Tasks --- */
.due-date-btn {
  padding: 0.25rem;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.due-date-btn:hover {
  background: #e0e7ff;
  color: #6366f1;
}

.playbook-item {
  position: relative;
}

/* --- Due Date Indicators --- */
.due-date-indicator {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.due-date-indicator:empty {
  display: none;
}

.due-date-indicator.due-overdue {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.due-date-indicator.due-soon {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fef08a;
}

.due-date-indicator.due-completed {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  text-decoration: line-through;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-input-group {
    flex-direction: column;
  }

  .due-date-inputs {
    flex-direction: column;
  }

  .modal-content {
    margin: 0.5rem;
  }

  .auth-actions {
    flex-direction: column;
  }

  .due-date-indicator {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
  }

  .playbook-item {
    flex-wrap: wrap;
  }

  .due-date-btn {
    margin-left: 0.5rem;
  }
}

@media (max-width: 480px) {
  .sync-status {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
  }

  .due-date-quick {
    flex-direction: column;
    align-items: flex-start;
  }

  .due-date-quick span {
    margin-bottom: 0.25rem;
  }
}

/* =====================================================
   SMART SCHEDULER - Demo Page Styles
   ===================================================== */

/* Scheduler Hero */
.scheduler-hero {
  padding: 120px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, transparent 100%);
}

.scheduler-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.scheduler-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.5rem 0;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scheduler-hero p {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
}

.scheduler-demo-section {
  padding: 40px 0 80px;
}

/* Scheduler Grid */
.scheduler-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 968px) {
  .scheduler-grid {
    grid-template-columns: 1fr;
  }
}

/* Scheduler Panels */
.scheduler-calendar-panel,
.scheduler-form-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.scheduler-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.scheduler-panel-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* Calendar Navigation */
.calendar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
}

.cal-nav-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.calendar-nav span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  min-width: 120px;
  text-align: center;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1.5rem;
}

.cal-header {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #334155;
}

.cal-day.empty {
  cursor: default;
}

.cal-day.past {
  color: #cbd5e1;
  cursor: not-allowed;
}

.cal-day.unavailable {
  color: #94a3b8;
  cursor: not-allowed;
}

.cal-day.available {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.cal-day.available:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.cal-day.selected {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border: none;
}

.cal-day.today {
  font-weight: 700;
  box-shadow: inset 0 0 0 2px #6366f1;
}

.cal-day.today.selected {
  box-shadow: none;
}

/* Time Slots */
.time-slots-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.time-slots-hint {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.5rem;
}

.time-slot {
  padding: 0.625rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.time-slot:hover {
  background: #e0e7ff;
  border-color: #a5b4fc;
  color: #4338ca;
}

.time-slot.selected {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: transparent;
  color: #ffffff;
}

/* Voice Assistant Banner */
.voice-assistant-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.voice-assistant-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.voice-pulse {
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  animation: voicePulse 2s ease-in-out infinite;
}

@keyframes voicePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.voice-assistant-info strong {
  display: block;
  font-size: 0.9375rem;
  color: #0f172a;
}

.voice-assistant-info span {
  font-size: 0.75rem;
  color: #64748b;
}

.voice-assistant-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.voice-assistant-btn:hover {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  transform: translateY(-1px);
}

/* Voice Chat Widget */
.voice-chat-widget {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.voice-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.voice-chat-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.voice-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.voice-status-dot.connecting { background: #f59e0b; animation: pulse 1s infinite; }
.voice-status-dot.connected { background: #22c55e; }
.voice-status-dot.listening { background: #22c55e; animation: pulse 1.5s infinite; }
.voice-status-dot.speaking { background: #6366f1; animation: pulse 0.5s infinite; }
.voice-status-dot.muted { background: #ef4444; }
.voice-status-dot.error { background: #ef4444; }
.voice-status-dot.disconnected { background: #64748b; }

#voiceStatusText {
  font-size: 0.75rem;
  color: #94a3b8;
}

.voice-close-btn {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.voice-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.voice-chat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.voice-avatar {
  position: relative;
  width: 80px;
  height: 80px;
}

.voice-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #334155;
  transition: all 0.3s ease;
}

.voice-avatar-ring.speaking {
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  animation: speakingRing 0.5s ease-in-out infinite alternate;
}

@keyframes speakingRing {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.voice-avatar-inner {
  position: absolute;
  inset: 6px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.voice-transcript {
  width: 100%;
  max-height: 120px;
  overflow-y: auto;
  padding: 0.5rem;
}

.transcript-line {
  margin: 0.5rem 0;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.transcript-line.aria {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  margin-right: 20%;
}

.transcript-line.user {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  margin-left: 20%;
  text-align: right;
}

.voice-chat-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.voice-mute-btn,
.voice-end-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.voice-mute-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.voice-mute-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.voice-mute-btn.muted {
  background: #ef4444;
  color: #ffffff;
}

.voice-end-btn {
  background: #ef4444;
  color: #ffffff;
}

.voice-end-btn:hover {
  background: #dc2626;
}

/* Scheduler Form */
.scheduler-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scheduler-form .form-row {
  display: flex;
  gap: 1rem;
}

.scheduler-form .form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.scheduler-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.scheduler-form label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.scheduler-form input,
.scheduler-form select,
.scheduler-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #0f172a;
  transition: all 0.2s ease;
}

.scheduler-form input:focus,
.scheduler-form select:focus,
.scheduler-form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.scheduler-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* Selected Slot Display */
.selected-slot-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
}

.selected-slot-icon {
  width: 40px;
  height: 40px;
  background: #dcfce7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #166534;
}

.selected-slot-info {
  flex: 1;
}

.selected-slot-info strong {
  display: block;
  font-size: 0.9375rem;
  color: #166534;
}

.selected-slot-info span {
  font-size: 0.8125rem;
  color: #15803d;
}

.change-slot-btn {
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: 1px solid #86efac;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #166534;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.change-slot-btn:hover {
  background: #dcfce7;
}

/* Submit Button */
.scheduler-submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.scheduler-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.scheduler-submit-btn:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
}

.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* Scheduler Features */
.scheduler-features {
  text-align: center;
}

.scheduler-features h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: #a5b4fc;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Success Modal */
.success-modal {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.success-modal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.success-modal > p {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0 0 1.5rem;
}

.success-details {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.success-detail-row:last-child {
  border-bottom: none;
}

.success-detail-row span {
  font-size: 0.875rem;
  color: #64748b;
}

.success-detail-row strong {
  font-size: 0.875rem;
  color: #0f172a;
}

.success-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* =====================================================
   MOBILE PRESENTATION MODE - No Scroll, High-Converting
   ===================================================== */

/* ===== SOLID BACKGROUND - ALL SCREENS ===== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #0f172a;
}

/* Mobile-only: Lock viewport, single-screen experience */
@media (max-width: 768px) {
  /* Presentation Mode: Lock viewport - NO SCROLL */
  html.mobile-presentation,
  html.mobile-presentation body {
    overflow: hidden !important;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    width: 100%;
    touch-action: none;
  }

  /* Hero fills the entire screen */
  .mobile-presentation .hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
  }

  /* Hide non-essential elements in presentation mode */
  .mobile-presentation .navbar,
  .mobile-presentation .social-proof-bar,
  .mobile-presentation .hero-bg-animation,
  .mobile-presentation .hero-noise,
  .mobile-presentation .section,
  .mobile-presentation footer,
  .mobile-presentation .hero-grid,
  .mobile-presentation .scroll-progress {
    display: none !important;
  }

  /* Create new mobile-first hero layout */
  .mobile-presentation .hero > .container {
    display: none;
  }

  /* Mobile Hero Content - Visible in presentation mode */
  .mobile-hero-content {
    display: none;
  }

  .mobile-presentation .mobile-hero-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    position: relative;
    z-index: 10;
  }

  /* Top Bar - Logo + Contact */
  .mobile-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    padding-top: calc(16px + env(safe-area-inset-top));
    position: relative;
    z-index: 20;
  }

  .mobile-hero-logo {
    height: 32px;
    width: auto;
  }

  .mobile-hero-logo svg {
    height: 100%;
    width: auto;
  }

  .mobile-hero-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .mobile-hero-contact:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.15);
  }

  .mobile-hero-contact svg {
    width: 18px;
    height: 18px;
    color: #22c55e;
  }

  /* Middle - Main Message */
  .mobile-hero-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 24px;
    position: relative;
    z-index: 10;
  }

  .mobile-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    margin-bottom: 20px;
  }

  .mobile-hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: pulseDot 2s ease-in-out infinite;
  }

  @keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
  }

  .mobile-hero-badge span {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
  }

  /* Logo Text */
  .mobile-hero-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
  }

  .mobile-hero-logo-text span {
    color: #818cf8;
  }

  .mobile-hero-headline {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.0;
    margin: 0 0 28px 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.04em;
  }

  /* Accent Text */
  .gradient-text-animated {
    color: #818cf8;
  }

  /* Dashboard Preview Cards */
  .mobile-dashboard-preview {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    padding: 0 10px;
  }

  .dash-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .dash-card__icon {
    font-size: 1.5rem;
  }

  .dash-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .dash-card__number {
    font-size: 1.375rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
  }

  .dash-card__label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
  }

  /* Value Props */
  .mobile-hero-props {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
  }

  .mobile-hero-prop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
  }

  .prop-icon {
    font-size: 1.25rem;
  }

  .prop-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
  }

  .mobile-hero-sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    max-width: 320px;
  }

  /* Features Pills */
  .mobile-hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }

  .mobile-hero-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .mobile-hero-feature svg {
    width: 14px;
    height: 14px;
    color: #10b981;
  }

  /* Stats Row - Hard hitting numbers */
  .mobile-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mobile-hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 2px 20px rgba(99, 102, 241, 0.4);
  }

  .mobile-hero-stat-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 100px;
  }

  /* ===== MINI FORM CARD - Bottom of Screen ===== */
  .mobile-form-card {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-radius: 28px 28px 0 0;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 200px;
    overflow: hidden;
    display: none;
  }

  .mobile-presentation .mobile-form-card {
    display: block;
  }

  /* Mini Preview State */
  .mobile-form-preview {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-form-preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .mobile-form-preview-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
  }

  .mobile-form-preview-text p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
  }

  .mobile-form-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .mobile-form-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 16px;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
  }

  .mobile-form-cta:active {
    transform: scale(0.98);
  }

  .mobile-form-cta svg {
    width: 20px;
    height: 20px;
  }

  /* ===== EXPANDED FORM STATE ===== */
  .mobile-form-card.expanded {
    max-height: 100vh;
    max-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    padding-top: calc(20px + env(safe-area-inset-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-form-card.expanded .mobile-form-preview {
    display: none;
  }

  .mobile-form-card.expanded .mobile-form-full {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  /* Full Form - Hidden by default */
  .mobile-form-full {
    display: none;
  }

  /* Form Header */
  .mobile-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
  }

  .mobile-form-close {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: #475569;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-form-close:active {
    background: #e2e8f0;
    transform: scale(0.95);
  }

  .mobile-form-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
  }

  /* Form Body */
  .mobile-form-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
  }

  .mobile-form-field input,
  .mobile-form-field select,
  .mobile-form-field textarea {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px; /* Prevents iOS zoom */
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
  }

  .mobile-form-field input:focus,
  .mobile-form-field select:focus,
  .mobile-form-field textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  }

  .mobile-form-field input::placeholder {
    color: #94a3b8;
  }

  /* Service Type Selector - 3 column for trades */
  .mobile-service-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .mobile-service-option {
    padding: 14px 8px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-service-option:active {
    transform: scale(0.97);
  }

  .mobile-service-option.selected {
    background: #eef2ff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  }

  .mobile-service-option-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .mobile-service-option-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
  }

  /* Submit Button */
  .mobile-form-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: auto;
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .mobile-form-submit:active {
    transform: scale(0.98);
  }

  .mobile-form-submit svg {
    width: 20px;
    height: 20px;
  }

  /* Trust Indicators */
  .mobile-form-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    margin-top: 16px;
    border-top: 1px solid #e2e8f0;
  }

  .mobile-form-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #64748b;
  }

  .mobile-form-trust-item svg {
    width: 16px;
    height: 16px;
    color: #10b981;
  }

  /* Success State */
  .mobile-form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    min-height: 100%;
  }

  .mobile-form-card.success .mobile-form-preview,
  .mobile-form-card.success .mobile-form-full {
    display: none;
  }

  .mobile-form-card.success .mobile-form-success {
    display: flex;
  }

  .mobile-form-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
  }

  .mobile-form-success-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
  }

  .mobile-form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
  }

  .mobile-form-success p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 32px 0;
    max-width: 280px;
  }

  .mobile-form-success-btn {
    padding: 16px 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    color: #475569;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-form-success-btn:active {
    background: #e2e8f0;
    transform: scale(0.98);
  }
}

/* Desktop: Hide mobile presentation elements */
@media (min-width: 769px) {
  .mobile-hero-content,
  .mobile-form-card {
    display: none !important;
  }
}
