/* ============================================
   ULTRA-LUXURY WORLD-CLASS DESIGN SYSTEM
   Professional Blue Color Palette Enhanced
   Advanced Glassmorphism & Ultra-Premium Effects
   Apple/Tesla Level Quality Enhancement
   ============================================ */

/* CSS Custom Properties - Premium Design Variables */
:root {
  /* Professional Blue Color Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  
  /* Neutral Palette */
  --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;
  
  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: var(--primary-500);
  
  /* Premium Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-300) 100%);
  --gradient-glass: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
  
  /* Ultra-Premium Shadows - World Class Quality */
  --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 rgba(0, 0, 0, 0.07), 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-premium: 0 25px 50px rgba(37, 99, 235, 0.15), 
                   0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-ultra: 0 32px 64px rgba(37, 99, 235, 0.12),
                  0 16px 32px rgba(0, 0, 0, 0.08),
                  0 0 0 1px rgba(255, 255, 255, 0.1),
                  inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --shadow-floating: 0 40px 80px rgba(37, 99, 235, 0.08),
                     0 20px 40px rgba(0, 0, 0, 0.05),
                     0 0 0 1px rgba(59, 130, 246, 0.1);
  --shadow-luxury: 0 50px 100px rgba(37, 99, 235, 0.1),
                   0 25px 50px rgba(0, 0, 0, 0.04),
                   0 0 0 1px rgba(255, 255, 255, 0.15),
                   inset 0 2px 0 rgba(255, 255, 255, 0.3);
  
  /* Optimized Glass Effects for Scroll Performance */
  --glass-backdrop: blur(20px) saturate(150%);
  --glass-backdrop-heavy: blur(30px) saturate(180%);
  --glass-light: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-border-strong: rgba(255, 255, 255, 0.4);
  --glass-tint: rgba(59, 130, 246, 0.02);
  --glass-tint-strong: rgba(59, 130, 246, 0.05);
  --glass-surface: rgba(255, 255, 255, 0.12);
  --glass-surface-strong: rgba(255, 255, 255, 0.18);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Transitions */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  overflow-x: hidden;
}

/* GPU Acceleration for smooth scrolling */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Optimize scroll performance */
body {
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  transform: translateZ(0); /* Force GPU acceleration */
  will-change: scroll-position;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-normal);
  color: var(--gray-900);
  background: linear-gradient(135deg, 
    var(--gray-50) 0%, 
    rgba(59, 130, 246, 0.03) 50%, 
    var(--gray-100) 100%);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Scroll Performance Optimizations */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain; /* Prevent scroll chaining */
  transform: translateZ(0); /* Force GPU acceleration */
  will-change: scroll-position;
}

/* Optimized Background Effects for Scroll Performance */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 1200px 800px at 20% 0%, 
      rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 800px 600px at 80% 100%, 
      rgba(37, 99, 235, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 50%, 
      rgba(96, 165, 250, 0.04) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0); /* GPU acceleration */
  /* Animation removed for better scroll performance */
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Simplified mesh gradient - static for better performance */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 100px,
      rgba(59, 130, 246, 0.005) 101px,
      rgba(59, 130, 246, 0.005) 103px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 100px,
      rgba(37, 99, 235, 0.005) 101px,
      rgba(37, 99, 235, 0.005) 103px
    );
  background-size: 200px 200px, 200px 200px;
  z-index: -1;
  pointer-events: none;
  will-change: auto; /* No animation, no will-change needed */
  /* Animation removed for better scroll performance */
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
}

/* Ultra-Premium Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  background: 
    linear-gradient(180deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(255, 255, 255, 0.85) 100%),
    var(--glass-tint);
  will-change: transform, background;
  transform: translateZ(0); /* GPU acceleration */
  border-bottom: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-floating);
  transition: var(--transition-slow);
  padding: var(--space-lg) 0;
  animation: navbar-entrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes navbar-entrance {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar.scrolled {
  background: 
    linear-gradient(180deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(255, 255, 255, 0.92) 100%),
    var(--glass-tint-strong);
  box-shadow: var(--shadow-luxury);
  padding: calc(var(--space-md) + 2px) 0;
  backdrop-filter: var(--glass-backdrop-heavy);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-xl);
  font-weight: var(--font-extrabold);
  background: 
    linear-gradient(135deg, 
      var(--primary-600) 0%, 
      var(--primary-500) 30%, 
      var(--primary-400) 60%, 
      var(--primary-500) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: var(--transition-slow);
  animation: ultra-logo-gradient 4s ease-in-out infinite;
  letter-spacing: -0.03em;
  position: relative;
}

@keyframes ultra-logo-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-logo::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  opacity: 0;
  filter: blur(8px);
  transition: var(--transition-normal);
  z-index: -1;
}

.nav-logo:hover {
  transform: translateY(-2px) scale(1.05);
}

.nav-logo:hover::before {
  opacity: 0.2;
  filter: blur(12px);
}

.nav-logo i {
  font-size: var(--text-2xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ultra-icon-pulse 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
  transition: var(--transition-slow);
}

@keyframes ultra-icon-pulse {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
  }
  50% { 
    transform: scale(1.1) rotate(2deg); 
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.4));
  }
}

.nav-logo:hover i {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 6px 12px rgba(59, 130, 246, 0.5));
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.nav-link {
  font-weight: var(--font-semibold);
  color: var(--gray-700);
  text-decoration: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
  will-change: color, background;
  transform: translateZ(0); /* GPU acceleration */
}

.nav-link:hover {
  color: var(--primary-600);
  background: rgba(59, 130, 246, 0.08);
}

.nav-link.active {
  color: var(--primary-600);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  background: var(--primary-600);
}

/* Ultra-Luxury Hero Section */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 var(--space-xl);
  overflow: hidden;
  background: 
    /* Primary gradient */
    radial-gradient(ellipse 1400px 900px at 30% 0%, 
      rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 1000px 700px at 70% 100%, 
      rgba(37, 99, 235, 0.08) 0%, transparent 50%),
    /* Mesh overlay */
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(248, 250, 252, 0.95) 50%,
      rgba(241, 245, 249, 0.98) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Floating orbs */
    radial-gradient(circle 200px at 15% 20%, 
      rgba(59, 130, 246, 0.06) 0%, transparent 60%),
    radial-gradient(circle 150px at 85% 30%, 
      rgba(96, 165, 250, 0.08) 0%, transparent 60%),
    radial-gradient(circle 180px at 75% 80%, 
      rgba(37, 99, 235, 0.05) 0%, transparent 60%),
    radial-gradient(circle 120px at 25% 85%, 
      rgba(147, 197, 253, 0.07) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  will-change: auto; /* No animation, no will-change needed */
  /* Animation removed for better scroll performance */
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Subtle mesh pattern */
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 1px,
      rgba(59, 130, 246, 0.005) 1px,
      rgba(59, 130, 246, 0.005) 2px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 1px,
      rgba(37, 99, 235, 0.005) 1px,
      rgba(37, 99, 235, 0.005) 2px
    );
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  will-change: auto; /* No animation, no will-change needed */
  /* Animation removed for better scroll performance */
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-title {
  font-size: clamp(var(--text-4xl), 6vw, 4.5rem);
  font-weight: var(--font-black);
  line-height: var(--leading-tight);
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  letter-spacing: -0.04em;
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.05);
  animation: ultra-title-entrance 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
  position: relative;
}

@keyframes ultra-title-entrance {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    filter: blur(10px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(20px) scale(0.95);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.gradient-text {
  background: 
    linear-gradient(135deg, 
      var(--primary-600) 0%, 
      var(--primary-500) 25%, 
      var(--primary-400) 50%, 
      var(--primary-500) 75%, 
      var(--primary-600) 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: ultra-gradient-flow 6s ease-in-out infinite;
}

@keyframes ultra-gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
}

.gradient-text::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: 
    linear-gradient(135deg, 
      rgba(59, 130, 246, 0.8) 0%, 
      rgba(96, 165, 250, 0.6) 50%, 
      rgba(147, 197, 253, 0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: ultra-text-shimmer 3s ease-in-out infinite 1s;
}

@keyframes ultra-text-shimmer {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.02); }
}

.gradient-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.6), 
    transparent);
  animation: ultra-text-shine 4s ease-in-out infinite;
}

@keyframes ultra-text-shine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.hero-description {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 580px;
  font-weight: var(--font-medium);
  letter-spacing: -0.01em;
  animation: ultra-description-entrance 1.8s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
  position: relative;
}

@keyframes ultra-description-entrance {
  0% {
    opacity: 0;
    transform: translateY(40px) translateX(-20px);
    filter: blur(8px);
  }
  60% {
    opacity: 0.8;
    transform: translateY(10px) translateX(-5px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0);
    filter: blur(0px);
  }
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-md);
  animation: ultra-buttons-entrance 2s cubic-bezier(0.4, 0, 0.2, 1) 1.5s both;
}

@keyframes ultra-buttons-entrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  70% {
    opacity: 0.9;
    transform: translateY(5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-backdrop);
}

/* Button shine effect removed for better performance */

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}

.btn-primary:hover {
  transform: translate3d(0, -2px, 0); /* GPU acceleration */
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-600);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translate3d(0, -2px, 0); /* GPU acceleration */
  box-shadow: var(--shadow-lg);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.security-icon {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-2xl);
  background: 
    var(--gradient-primary),
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.2) 0%, 
      transparent 50%,
      rgba(59, 130, 246, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-luxury);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border-strong);
  animation: 
    ultra-security-float 8s ease-in-out infinite,
    ultra-security-entrance 2s cubic-bezier(0.4, 0, 0.2, 1) 1.8s both;
  will-change: transform;
  transform: translateZ(0); /* GPU acceleration */
}

@keyframes ultra-security-float {
  0%, 100% { 
    transform: translateY(0px) rotateY(0deg) rotateX(0deg); 
  }
  25% { 
    transform: translateY(-15px) rotateY(2deg) rotateX(1deg); 
  }
  50% { 
    transform: translateY(-25px) rotateY(4deg) rotateX(2deg); 
  }
  75% { 
    transform: translateY(-15px) rotateY(2deg) rotateX(1deg); 
  }
}

@keyframes ultra-security-entrance {
  0% {
    opacity: 0;
    transform: translateX(100px) scale(0.5) rotateY(45deg);
    filter: blur(20px);
  }
  60% {
    opacity: 0.8;
    transform: translateX(20px) scale(0.9) rotateY(10deg);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg);
    filter: blur(0px);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg);   }
}

.security-icon:hover {
  transform: translateY(-12px) rotateY(8deg) rotateX(3deg) scale(1.05);
  box-shadow: 
    var(--shadow-luxury),
    0 0 80px rgba(59, 130, 246, 0.4),
    inset 0 0 60px rgba(255, 255, 255, 0.1);
  background: 
    linear-gradient(135deg, 
      var(--primary-500) 0%, 
      var(--primary-400) 50%, 
      var(--primary-500) 100%),
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.3) 0%, 
      transparent 50%,
      rgba(59, 130, 246, 0.2) 100%);
}

.security-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.2) 90deg,
    transparent 180deg,
    rgba(255, 255, 255, 0.2) 270deg,
    transparent 360deg
  );
  animation: rotate 8s linear infinite;
  z-index: -1;
}

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

.security-icon i {
  font-size: 70px;
  color: white;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { 
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  }
  50% { 
    filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.3));
  }
}

/* Services Section */
.services {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, 
    var(--gray-50) 0%, 
    rgba(59, 130, 246, 0.02) 50%, 
    var(--gray-100) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 800px 400px at 50% 50%, 
      rgba(59, 130, 246, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--font-black);
  text-align: center;
  color: var(--gray-900);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.03em;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  opacity: 0;
  filter: blur(20px);
  transition: var(--transition-slow);
  z-index: -1;
}

.section-title:hover::before {
  opacity: 0.1;
  filter: blur(30px);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

/* Ultra-Premium Service Cards */
.service-card {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(248, 250, 252, 0.90) 100%),
    var(--glass-tint);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  will-change: transform;
  transform: translateZ(0); /* GPU acceleration */
}

/* Service card entrance animations removed for better performance */

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

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

.service-card:hover {
  transform: translate3d(0, -8px, 0); /* GPU acceleration */
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-icon {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-xl);
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.9) 0%, 
      rgba(248, 250, 252, 0.8) 100%),
    radial-gradient(circle at center, 
      rgba(59, 130, 246, 0.08) 0%, 
      transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
  will-change: transform;
  transform: translateZ(0); /* GPU acceleration */
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  border-color: rgba(59, 130, 246, 0.3);
  transform: scale(1.05);
}

/* Service icon before effect removed for better performance */

.service-icon i {
  font-size: var(--text-2xl);
  color: var(--primary-600);
  transition: var(--transition-normal);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon i {
  color: white;
}

.service-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  line-height: var(--leading-tight);
  transition: var(--transition-fast);
}

.service-card:hover h3 {
  color: var(--primary-600);
}

.service-card p {
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

/* Ultra-Premium Service Button */
.service-btn {
  background: 
    var(--gradient-primary),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  color: white;
  border: 1px solid var(--glass-border-strong);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-xl);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  will-change: transform;
  transform: translateZ(0); /* GPU acceleration */
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: ultra-btn-ambient 3s ease-in-out infinite;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  user-select: none;
}

@keyframes ultra-btn-ambient {
  0%, 100% { 
    box-shadow: var(--shadow-floating);
    filter: brightness(100%);
  }
  50% { 
    box-shadow: 
      var(--shadow-floating),
      0 0 30px rgba(59, 130, 246, 0.2);
    filter: brightness(105%);
  }
}

/* Service button shine effect removed for better performance */

/* Service button after effect removed for better performance */

.service-btn:hover {
  transform: translate3d(0, -2px, 0); /* GPU acceleration */
  box-shadow: var(--shadow-lg);
}

/* WhatsApp Button Specific Styling */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-color: rgba(37, 211, 102, 0.3);
  color: white !important;
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.whatsapp-btn:active {
  transform: translateY(0) scale(0.98);
}

/* About Section */
.about {
  padding: var(--space-4xl) 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-text p {
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--gray-500);
  font-weight: var(--font-medium);
  margin-top: var(--space-xs);
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-icon {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  transition: var(--transition-slow);
}

.about-icon:hover {
  transform: translateY(-4px) rotateY(5deg);
}

.about-icon i {
  font-size: 80px;
  color: white;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Contact Section */
.contact {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, 
    var(--gray-50) 0%, 
    rgba(59, 130, 246, 0.02) 50%, 
    var(--gray-100) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  margin-top: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  will-change: transform;
  transform: translateZ(0); /* GPU acceleration */
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-item i {
  font-size: var(--text-2xl);
  color: var(--primary-600);
  margin-top: var(--space-xs);
}

.contact-item h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.contact-item p {
  color: var(--gray-600);
  line-height: var(--leading-normal);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  will-change: transform;
  transform: translateZ(0); /* GPU acceleration */
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
  color: var(--gray-900);
  font-family: var(--font-family);
  font-size: var(--text-base);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

.checkbox-group label a {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: var(--font-medium);
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.captcha {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.captcha span {
  font-weight: var(--font-semibold);
  color: var(--primary-600);
  min-width: 80px;
}

.captcha input {
  border: none;
  background: transparent;
  color: var(--gray-900);
  font-family: var(--font-family);
  padding: var(--space-xs);
  width: 80px;
  font-size: var(--text-base);
}

.captcha button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: var(--font-semibold);
  transition: var(--transition-fast);
  font-size: var(--text-sm);
}

.captcha button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--space-md);
}

.footer-logo i {
  font-size: var(--text-2xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section h3 {
  color: white;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section li {
  color: var(--gray-400);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xs);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-700);
  color: var(--gray-500);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: var(--z-modal);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  margin: 5% auto;
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.close {
  color: var(--gray-500);
  float: right;
  font-size: var(--text-2xl);
  font-weight: bold;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  cursor: pointer;
  transition: var(--transition-fast);
}

.close:hover {
  color: var(--gray-900);
}

.modal-content h2 {
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  font-weight: var(--font-bold);
}

.modal-content h3 {
  color: var(--primary-600);
  margin: var(--space-lg) 0 var(--space-md);
  font-weight: var(--font-semibold);
}

.modal-content p {
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Mobile: Remove backdrop-filter for better scroll performance */
  .navbar,
  .service-card,
  .service-icon,
  .service-btn,
  .contact-form,
  .contact-item,
  .security-icon {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  /* Mobile: Optimize backgrounds */
  .navbar {
    background: rgba(255, 255, 255, 0.98) !important;
  }
  
  .service-card,
  .contact-form,
  .contact-item {
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    padding-top: 120px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .security-icon {
    width: 200px;
    height: 200px;
  }
  
  .security-icon i {
    font-size: 80px;
  }
  
  .about-icon {
    width: 150px;
    height: 150px;
  }
  
  .about-icon i {
    font-size: 60px;
  }
  
  .stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: var(--space-lg);
  }
  
  .contact-form {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .nav-container {
    padding: 0 var(--space-sm);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
}

/* Smooth Scrolling Enhancement - Optimized for Performance */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Account for fixed navbar */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Performance: Contain layout and paint */
.service-card,
.service-icon,
.navbar,
.hero,
.about,
.contact {
  contain: layout style paint;
}

/* Optimize scroll performance with GPU acceleration */
.hero,
.services,
.about,
.contact {
  transform: translateZ(0);
  will-change: scroll-position;
}

/* Reduce repaints during scroll */
.navbar.scrolled {
  will-change: transform, background;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --glass-backdrop: none;
    --shadow-premium: var(--shadow-xl);
  }
  
  .service-card,
  .contact-form,
  .contact-item {
    background: white;
    border: 2px solid var(--gray-300);
  }
}