/* ============================================================================
   MODn Tech - Premium B2B Manufacturing IT Website
   Complete CSS Stylesheet
   Agency-grade design: Linear.app / Vercel / Stripe polish
   ============================================================================ */

/* ============================================================================
   CSS Custom Properties (Design Tokens)
   ============================================================================ */
:root {
  /* Brand Colors */
  --brand-blue: #4B5EFC;
  --brand-blue-rgb: 75, 94, 252;
  --brand-cyan: #3DD9C1;
  --brand-cyan-rgb: 61, 217, 193;

  /* Dark Industrial Palette */
  --dark-900: #0A0E17;
  --dark-800: #0F1420;
  --dark-700: #141A2A;
  --dark-600: #1A2035;

  /* Grays */
  --gray-600: #252D45;
  --gray-500: #3A4260;
  --gray-400: #5A6380;
  --gray-300: #8891A8;
  --gray-200: #B0B8CC;
  --gray-100: #D0D6E4;

  /* Accent Colors */
  --accent-red: #EF4444;
  --accent-amber: #F59E0B;
  --accent-green: #10B981;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  --gradient-primary-reverse: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-blue) 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark-900) 0%, var(--dark-800) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.85) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(75, 94, 252, 0.4) 0%, rgba(61, 217, 193, 0.4) 100%);

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-padding: 1.5rem;
  --section-padding: 5rem;
  --header-height: 80px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Effects */
  --glass-bg: rgba(20, 26, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --blur-amount: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);
  --shadow-glow-blue: 0 0 40px rgba(75, 94, 252, 0.25);
  --shadow-glow-blue-hover: 0 0 60px rgba(75, 94, 252, 0.4);
  --shadow-glow-cyan: 0 0 40px rgba(61, 217, 193, 0.2);
  --shadow-glow-cyan-hover: 0 0 60px rgba(61, 217, 193, 0.35);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(61, 217, 193, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--dark-900);
  color: var(--gray-100);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Subtle noise texture overlay on body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

/* ============================================================================
   Container & Layout Utilities
   ============================================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
}

/* ============================================================================
   Utility Classes
   ============================================================================ */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection styling */
::selection {
  background-color: rgba(61, 217, 193, 0.3);
  color: #fff;
}

::-moz-selection {
  background-color: rgba(61, 217, 193, 0.3);
  color: #fff;
}

/* ============================================================================
   Header
   ============================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo-img {
  height: 36px;
  width: auto;
  transition: all 0.4s var(--ease-out-expo);
}

.logo-img:hover {
  transform: scale(1.05);
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(75, 94, 252, 0.3));
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-200);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: -0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s var(--ease-out-expo);
  border-radius: 1px;
}

.nav-link:hover {
  color: #fff;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-cyan);
  letter-spacing: -0.01em;
  transition: var(--transition-base);
}

.header-phone:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(61, 217, 193, 0.5);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--gray-100);
  transition: all 0.4s var(--ease-out-expo);
  border-radius: 2px;
  transform-origin: center;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(75, 94, 252, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s var(--ease-out-expo);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(75, 94, 252, 0.5), 0 0 0 1px rgba(75, 94, 252, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(75, 94, 252, 0.4);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1.0625rem;
  border-radius: 12px;
}

.btn-xl {
  padding: 1.375rem 2.75rem;
  font-size: 1.125rem;
  border-radius: 14px;
}

.btn-nav {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* ============================================================================
   Hero Section
   ============================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    rgba(10, 14, 23, 0.97) 0%,
    rgba(10, 14, 23, 0.92) 35%,
    rgba(10, 14, 23, 0.85) 55%,
    rgba(75, 94, 252, 0.12) 100%
  );
  z-index: 2;
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(75, 94, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 94, 252, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 3;
  animation: grid-drift 25s linear infinite;
  opacity: 0.8;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  z-index: 4;
  animation: float-orb 12s ease-in-out infinite;
  will-change: transform;
}

.hero-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(75, 94, 252, 0.6) 0%, transparent 70%);
  top: 5%;
  left: -15%;
  animation-delay: 0s;
  animation-duration: 14s;
}

.hero-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 217, 193, 0.5) 0%, transparent 70%);
  bottom: 5%;
  right: -12%;
  animation-delay: -4s;
  animation-duration: 16s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 920px;
  padding: 3rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.25rem 0.5rem 0.875rem;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  color: var(--accent-green);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.035em;
}

.hero-headline .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.7;
  color: var(--gray-200);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-cta-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 3.5rem;
  letter-spacing: 0.01em;
}

.trust-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 2.5rem;
  background-color: rgba(20, 26, 42, 0.5);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8125rem;
  color: var(--gray-300);
  letter-spacing: 0.01em;
}

.trust-item strong {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: var(--gray-400);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scroll-down-fade 3s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--gray-400);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background-color: var(--gray-300);
  border-radius: 2px;
  animation: scroll-down 2s ease-in-out infinite;
}

/* ============================================================================
   Section Base Styles
   ============================================================================ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
  background-color: var(--dark-900);
}

.section--dark {
  background-color: var(--dark-800);
}

/* Subtle top edge on dark sections */
.section--dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  padding: 0.4375rem 1.125rem;
  background-color: rgba(61, 217, 193, 0.08);
  border: 1px solid rgba(61, 217, 193, 0.2);
  border-radius: 50px;
  color: var(--brand-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.section-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--gray-200);
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: -0.005em;
}

.text-left .section-desc {
  margin-left: 0;
}

/* ============================================================================
   Challenge Section
   ============================================================================ */
.challenge-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.challenge-text {
  order: 2;
}

.challenge-image {
  position: relative;
  order: 1;
}

.img-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--dark-700);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.img-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease-out-expo);
}

.img-frame:hover img {
  transform: scale(1.02);
}

/* Animated gradient border on image frames */
.img-frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(
    135deg,
    rgba(75, 94, 252, 0.3),
    rgba(61, 217, 193, 0.3),
    rgba(75, 94, 252, 0.1),
    rgba(61, 217, 193, 0.3)
  );
  background-size: 300% 300%;
  border-radius: 17px;
  z-index: -1;
  animation: gradient-border-shift 6s ease-in-out infinite;
}

/* Glow effect behind image */
.img-frame-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: -10%;
  background: var(--gradient-glow);
  filter: blur(60px);
  opacity: 0.4;
  z-index: -2;
  border-radius: 50%;
  transition: opacity 0.5s var(--ease-out-expo);
}

.challenge-image:hover .img-frame-glow,
.results-image:hover .img-frame-glow {
  opacity: 0.6;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pain-card {
  background-color: var(--dark-700);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--accent-red);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.pain-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
}

.pain-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(239, 68, 68, 0.1);
  border-radius: 12px;
  color: var(--accent-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pain-status {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  margin-bottom: 0.625rem;
}

.pain-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
}

.pain-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-300);
}

/* ============================================================================
   Solution / Services Section
   ============================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.service-card {
  background-color: rgba(20, 26, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(61, 217, 193, 0.15) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(61, 217, 193, 0.12);
}

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

/* Inner glow on card hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top center, rgba(61, 217, 193, 0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-img {
  height: 180px;
  overflow: hidden;
  position: relative;
  background-color: var(--dark-600);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--dark-700) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.service-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(75, 94, 252, 0.12) 0%, rgba(61, 217, 193, 0.12) 100%);
  border: 1px solid rgba(75, 94, 252, 0.15);
  border-radius: 14px;
  color: var(--brand-cyan);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.4s var(--ease-out-expo);
}

.service-card:hover .service-icon-wrap {
  box-shadow: 0 0 20px rgba(61, 217, 193, 0.15);
}

.service-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-cyan);
  margin-bottom: 0.625rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.875rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-features span {
  display: inline-flex;
  padding: 0.3125rem 0.75rem;
  background-color: rgba(75, 94, 252, 0.08);
  border: 1px solid rgba(75, 94, 252, 0.15);
  border-radius: 8px;
  font-size: 0.8125rem;
  color: var(--gray-200);
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease-out-expo);
}

.service-card:hover .service-features span {
  border-color: rgba(61, 217, 193, 0.2);
  background-color: rgba(61, 217, 193, 0.06);
}

/* ============================================================================
   Stats Banner
   ============================================================================ */
.stats-banner {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.stats-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.stats-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
}

.stats-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 23, 0.92) 0%,
    rgba(15, 20, 32, 0.85) 50%,
    rgba(75, 94, 252, 0.6) 100%
  );
  z-index: 2;
}

.stats-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 94, 252, 0.3);
}

.stat-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(75, 94, 252, 0.15) 0%, rgba(61, 217, 193, 0.1) 100%);
  border: 1px solid rgba(75, 94, 252, 0.2);
  border-radius: 16px;
  color: var(--brand-cyan);
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-accent-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), var(--brand-cyan), transparent);
  opacity: 0;
  transition: opacity 0.35s ease, width 0.35s ease;
}

.stat-card:hover .stat-accent-line {
  opacity: 1;
  width: 80%;
}

.stat-divider-v {
  display: none;
}

/* ============================================================================
   How It Works Section
   ============================================================================ */
.steps-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

/* Vertical connector line on mobile */
.steps-connector {
  display: none;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card-inner {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.step-card-inner:hover {
  transform: translateY(-6px);
  border-color: rgba(75, 94, 252, 0.25);
  box-shadow: 0 20px 60px -15px rgba(75, 94, 252, 0.15);
}

.step-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-blue), var(--brand-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step-card-inner:hover .step-card-glow {
  opacity: 1;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(75, 94, 252, 0.12) 0%, rgba(61, 217, 193, 0.08) 100%);
  border: 1px solid rgba(75, 94, 252, 0.15);
  border-radius: 14px;
  color: var(--brand-cyan);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.step-card-inner:hover .step-icon {
  background: linear-gradient(135deg, rgba(75, 94, 252, 0.2) 0%, rgba(61, 217, 193, 0.15) 100%);
  border-color: rgba(75, 94, 252, 0.3);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--gray-300);
}

/* Timeline dot below each card */
.step-dot {
  display: none;
}

.steps-cta {
  text-align: center;
  padding-top: 0.5rem;
}

/* ============================================================================
   Testimonials Section
   ============================================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.testimonial-card {
  background-color: rgba(20, 26, 42, 0.45);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.5s var(--ease-out-expo);
  overflow: hidden;
}

/* Glassmorphism inner glow on hover */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top left, rgba(75, 94, 252, 0.05) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(61, 217, 193, 0.12);
}

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

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: var(--accent-amber);
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-100);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(75, 94, 252, 0.3);
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  color: white;
  margin-bottom: 0.125rem;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.author-company {
  font-size: 0.8125rem;
  color: var(--gray-400);
  letter-spacing: 0.01em;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-logo-item {
  opacity: 0.4;
  transition: opacity 0.4s var(--ease-out-expo);
}

.trust-logo-item:hover {
  opacity: 0.9;
}

.client-logo-placeholder {
  width: 120px;
  height: 40px;
  background-color: var(--gray-500);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray-300);
  font-weight: 600;
}

/* ============================================================================
   Results Section
   ============================================================================ */
.results-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.results-content {
  order: 2;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: 2rem;
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s var(--ease-out-expo);
}

.result-item:hover {
  transform: translateX(4px);
}

.result-check {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 0.8125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.result-item span {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-200);
}

.results-image {
  position: relative;
  order: 1;
}

.img-frame-lg {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--dark-700);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.img-frame-lg::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(
    135deg,
    rgba(75, 94, 252, 0.3),
    rgba(61, 217, 193, 0.3),
    rgba(75, 94, 252, 0.1),
    rgba(61, 217, 193, 0.3)
  );
  background-size: 300% 300%;
  border-radius: 19px;
  z-index: -1;
  animation: gradient-border-shift 6s ease-in-out infinite;
}

.img-frame-lg img {
  width: 100%;
  height: auto;
  display: block;
}

.img-frame-stat {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background-color: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  z-index: 5;
}

.img-frame-stat .stat-item {
  text-align: center;
}

.img-frame-stat .stat-number {
  font-size: 1.75rem;
}

.img-frame-stat .stat-suffix {
  font-size: 1.5rem;
}

.img-frame-stat .stat-label {
  font-size: 0.75rem;
  color: var(--gray-300);
}

/* ============================================================================
   FAQ Section
   ============================================================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background-color: rgba(20, 26, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
  border-color: rgba(61, 217, 193, 0.25);
  box-shadow: 0 0 0 1px rgba(61, 217, 193, 0.1), 0 4px 20px rgba(0, 0, 0, 0.15);
  background-color: rgba(20, 26, 42, 0.6);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease-out-expo);
}

.faq-trigger:hover {
  color: var(--brand-cyan);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
  font-size: 1.125rem;
  transition: transform 0.4s var(--ease-out-expo);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.75rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray-300);
}

/* ============================================================================
   Final CTA Section
   ============================================================================ */
.final-cta {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.final-cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 23, 0.96) 0%,
    rgba(15, 20, 32, 0.92) 40%,
    rgba(75, 94, 252, 0.88) 100%
  );
  z-index: 2;
}

.final-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.final-cta-sub {
  font-size: 1.25rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  letter-spacing: -0.005em;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.final-cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 1.0625rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  transition: all 0.4s var(--ease-out-expo);
  letter-spacing: -0.01em;
}

.contact-link:hover {
  color: var(--brand-cyan);
  transform: translateY(-2px);
  text-shadow: 0 0 20px rgba(61, 217, 193, 0.4);
}

.contact-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* ============================================================================
   Footer
   ============================================================================ */
.site-footer {
  background-color: var(--dark-800);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.footer-col {
  /* Column container */
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-200);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.9375rem;
  color: var(--gray-400);
  transition: all 0.3s var(--ease-out-expo);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--brand-cyan);
  transform: translateX(3px);
}

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

.footer-legal {
  font-size: 0.8125rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--gray-400);
  transition: color 0.3s var(--ease-out-expo);
}

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

.footer-legal-sep {
  display: inline-block;
  margin: 0 0.625rem;
  color: var(--gray-500);
  font-size: 0.5rem;
  vertical-align: middle;
}

/* ============================================================================
   Keyframe Animations
   ============================================================================ */
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
  }
}

@keyframes scroll-down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes scroll-down-fade {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes grid-drift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 60px;
  }
}

@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(15px, 35px) scale(1.02);
  }
}

@keyframes gradient-border-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ============================================================================
   Scroll-triggered Animations
   ============================================================================ */
[data-animate] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate].animated {
  opacity: 1;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-up"].animated {
  transform: translateY(0);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-right"].animated {
  transform: translateX(0);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-left"].animated {
  transform: translateX(0);
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

/* Small devices (640px and up) */
@media (min-width: 640px) {
  :root {
    --section-padding: 6rem;
  }

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

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

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }

  .section {
    padding: 7rem 0;
  }

  .challenge-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .challenge-text {
    order: 1;
  }

  .challenge-image {
    order: 2;
  }

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

  .steps-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 0;
  }

  /* Show the horizontal connector line on desktop */
  .steps-connector {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .steps-connector-line {
    position: absolute;
    bottom: 7px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(75, 94, 252, 0.3) 20%, rgba(61, 217, 193, 0.2) 80%, transparent);
  }

  .steps-connector-glow {
    position: absolute;
    bottom: 3px;
    left: 10%;
    right: 10%;
    height: 10px;
    background: linear-gradient(90deg, transparent, rgba(75, 94, 252, 0.08) 30%, rgba(61, 217, 193, 0.06) 70%, transparent);
    filter: blur(4px);
  }

  .step-card {
    z-index: 1;
  }

  .step-card-inner {
    padding: 2.5rem 1.75rem 2rem;
  }

  /* Show timeline dots on desktop */
  .step-dot {
    display: block;
    width: 14px;
    height: 14px;
    margin-top: 1.5rem;
    position: relative;
  }

  .step-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  }

  .step-dot-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(75, 94, 252, 0.3);
  }

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

  .results-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .results-content {
    order: 1;
  }

  .results-image {
    order: 2;
  }

  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  .img-frame-stat {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
  :root {
    --section-padding: 8rem;
  }

  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
  }

  .stat-card {
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2.5rem 1.5rem;
  }

  .stat-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .stat-accent-line {
    display: none;
  }

  .stat-divider-v {
    display: block;
    width: 1px;
    align-self: stretch;
    margin: 1.5rem 0;
    background: linear-gradient(to bottom, transparent, rgba(75, 94, 252, 0.25), rgba(61, 217, 193, 0.15), transparent);
  }

  .hero-content {
    max-width: 960px;
  }
}

/* Trust divider on mobile */
@media (max-width: 767px) {
  .trust-divider {
    display: none;
  }

  .trust-bar {
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
  }

  .contact-divider {
    display: none;
  }

  .final-cta-contact {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile navigation overlay */
@media (max-width: 1023px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.5s var(--ease-out-expo);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }

  .main-nav.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 1.125rem;
  }

  .nav-link::after {
    display: none;
  }

  .header-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1.5rem;
  }

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

  .header-phone {
    justify-content: center;
  }
}

/* ============================================================================
   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;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-grid-pattern,
  .hero-orb,
  .badge-dot,
  .scroll-wheel {
    animation: none !important;
  }

  .img-frame::before,
  .img-frame-lg::before {
    animation: none !important;
  }
}

/* ============================================================================
   Print Styles
   ============================================================================ */
@media print {
  body::before {
    display: none;
  }

  .site-header,
  .scroll-indicator,
  .mobile-toggle,
  .btn,
  .final-cta,
  .hero-grid-pattern,
  .hero-orb {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    page-break-inside: avoid;
    padding: 2rem 0;
  }

  .section--dark {
    background-color: #f5f5f5;
  }
}

/* ============================================================================
   High Contrast Mode Support
   ============================================================================ */
@media (prefers-contrast: high) {
  :root {
    --dark-900: #000000;
    --dark-800: #0a0a0a;
    --gray-100: #FFFFFF;
    --glass-border: rgba(255, 255, 255, 0.3);
  }

  .btn-primary {
    border: 2px solid currentColor;
  }

  .faq-item,
  .pain-card,
  .service-card,
  .testimonial-card {
    border-width: 2px;
  }

  body::before {
    display: none;
  }
}
