/* ============================================
   FeaturesNow - World-Class AI & BI Stylesheet
   ============================================
   Design Philosophy: Deep Tech Luxury | 2024-2025 Trends
   Colors: Deep Space + Electric Violet + Cyber Blue + Neon Green
   Features: Glassmorphism | 3D Effects | Modern Animations
   ============================================ */

/* ============================================
   CSS Custom Properties - New Design System
   ============================================ */
:root {
  /* Modern Color Palette - Light & Airy Theme */
  --color-light-bg: #FFFFFF;
  --color-light-bg-secondary: #F8FAFC;
  --color-light-bg-tertiary: #F1F5F9;

  --color-electric-violet: #8B5CF6;
  --color-electric-violet-light: #A78BFA;
  --color-electric-violet-dark: #7C3AED;

  --color-cyber-blue: #06B6D4;
  --color-cyber-blue-light: #22D3EE;
  --color-cyber-blue-dark: #0891B2;

  --color-neon-green: #10B981;
  --color-neon-green-light: #34D399;
  --color-neon-green-dark: #059669;

  /* Neutral Palette */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;

  /* Gradient System - Modern Mesh Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-electric-violet) 0%, var(--color-cyber-blue) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-cyber-blue) 0%, var(--color-neon-green) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-electric-violet) 100%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
                   radial-gradient(ellipse at bottom, rgba(6, 182, 212, 0.08) 0%, transparent 60%),
                   linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  --gradient-mesh: radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                   radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                   radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

  /* Holographic/Iridescent Gradients */
  --gradient-holographic: linear-gradient(45deg,
    var(--color-electric-violet) 0%,
    var(--color-cyber-blue) 25%,
    var(--color-neon-green) 50%,
    var(--color-cyber-blue) 75%,
    var(--color-electric-violet) 100%);

  /* Spacing Scale - 8px base */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 6rem;     /* 96px */
  --space-16: 8rem;     /* 128px */
  --space-20: 10rem;    /* 160px */
  --space-24: 12rem;    /* 192px */

  /* Typography System - Perfect Fourth Scale (1.333) */
  --font-family-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1.125rem;  /* 18px - increased for better readability */
  --font-size-lg: 1.25rem;     /* 20px */
  --font-size-xl: 1.5rem;      /* 24px */
  --font-size-2xl: 1.875rem;   /* 30px */
  --font-size-3xl: 2.5rem;     /* 40px */
  --font-size-4xl: 3.375rem;   /* 54px */
  --font-size-5xl: 4.5rem;     /* 72px */
  --font-size-6xl: 6rem;       /* 96px */

  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Shadows & Effects - Enhanced with Color */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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-3xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3);

  /* Colored Glow Shadows */
  --shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.4), 0 0 80px rgba(139, 92, 246, 0.2);
  --shadow-glow-blue: 0 0 40px rgba(6, 182, 212, 0.4), 0 0 80px rgba(6, 182, 212, 0.2);
  --shadow-glow-green: 0 0 40px rgba(16, 185, 129, 0.4), 0 0 80px rgba(16, 185, 129, 0.2);
  --shadow-glow-mix: 0 0 60px rgba(139, 92, 246, 0.3), 0 0 100px rgba(6, 182, 212, 0.2);

  /* Border Radius - Refined Scale */
  --radius-sm: 0.5rem;     /* 8px */
  --radius-md: 0.75rem;    /* 12px */
  --radius-lg: 1rem;       /* 16px */
  --radius-xl: 1.25rem;    /* 20px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-3xl: 2rem;      /* 32px */
  --radius-full: 9999px;

  /* Transitions - Custom Easing */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-bg-light: rgba(255, 255, 255, 0.9);
  --glass-bg-dark: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(139, 92, 246, 0.15);
  --glass-blur: 20px;

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 1000;
  --z-tooltip: 1100;
  --z-toast: 9999;

  /* Container */
  --container-max-width: 1400px;
  --container-padding: var(--space-6);
}

/* ============================================
   Web Fonts Import
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   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-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-gray-800);
  background-color: #FFFFFF;
  overflow-x: hidden;
  position: relative;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Focus Styles
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--color-electric-violet);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================
   Utility Classes - Glassmorphism & Modern Effects
   ============================================ */

/* Glassmorphism Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xl);
}

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

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

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

.gradient-text-holographic {
  background: var(--gradient-holographic);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: holographicShift 3s linear infinite;
}

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

/* Glow Effects */
.glow-violet {
  box-shadow: var(--shadow-glow-violet);
}

.glow-blue {
  box-shadow: var(--shadow-glow-blue);
}

.glow-green {
  box-shadow: var(--shadow-glow-green);
}

/* 3D Transform Utilities */
.transform-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

.hover-tilt {
  transition: transform var(--transition-base);
}

.hover-tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

/* Animated Underline */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.animated-underline:hover::after {
  transform: scaleX(1);
}

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

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: var(--shadow-glow-violet);
  }
  50% {
    box-shadow: var(--shadow-glow-blue);
  }
}

.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* GPU Acceleration Hints */
.gpu-accelerated {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-gray-900);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, var(--font-size-6xl));
  font-weight: var(--font-weight-extrabold);
}

h2 {
  font-size: clamp(2rem, 4vw, var(--font-size-4xl));
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: clamp(1.5rem, 3vw, var(--font-size-3xl));
  font-weight: var(--font-weight-bold);
}

h4 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

h6 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

p {
  margin-bottom: var(--space-5);
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-600);
}

/* Text Utilities */
.text-balance {
  text-wrap: balance;
}

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

/* ============================================
   Buttons - Modern Design with Advanced Effects
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Ripple Effect on Click */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Primary Button - Gradient with Glow */
.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-lg), var(--shadow-glow-violet);
  position: relative;
  z-index: 1;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
  filter: blur(20px);
}

.btn--primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-2xl), var(--shadow-glow-violet);
}

.btn--primary:hover::after {
  opacity: 0.8;
}

.btn--primary:active {
  transform: translateY(-2px) scale(0.98);
}

/* Secondary Button - Glass Morphism */
.btn--secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--color-electric-violet);
  border-color: var(--color-electric-violet);
  box-shadow: var(--shadow-lg);
}

.btn--secondary:hover {
  background: var(--color-electric-violet);
  color: var(--color-white);
  border-color: var(--color-electric-violet);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(139, 92, 246, 0.4);
}

.btn--secondary:active {
  transform: translateY(-2px);
}

/* Outline Button */
.btn--outline {
  background: transparent;
  color: var(--color-electric-violet);
  border-color: var(--color-electric-violet);
}

.btn--outline:hover {
  background: var(--color-electric-violet);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

/* Large Button */
.btn--large {
  padding: var(--space-5) var(--space-8);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-2xl);
}

/* Button with Icon */
.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Glow Animation */
.btn--glow {
  animation: btnPulseGlow 3s ease-in-out infinite;
}

@keyframes btnPulseGlow {
  0%, 100% {
    box-shadow: var(--shadow-lg), var(--shadow-glow-violet);
  }
  50% {
    box-shadow: var(--shadow-2xl), var(--shadow-glow-blue);
  }
}

/* Full Width */
.btn--full {
  width: 100%;
}

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

.btn--loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: var(--radius-full);
  animation: btnSpin 0.6s linear infinite;
}

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

/* ============================================
   Header / Navigation - Modern Glassmorphism
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.08);
  border-bottom-color: rgba(139, 92, 246, 0.2);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  gap: var(--space-6);
}

.header__logo img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
  transition: all var(--transition-base);
}

.header__logo:hover img {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.nav__toggle:hover {
  background: var(--glass-bg-light);
  border-color: var(--color-electric-violet);
}

.nav__toggle-icon,
.nav__toggle-icon::before,
.nav__toggle-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav__toggle-icon::before,
.nav__toggle-icon::after {
  content: '';
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav__link {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-600);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-primary);
  transition: transform var(--transition-base);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.nav__link:hover,
.nav__link:focus {
  color: var(--color-electric-violet);
  background: rgba(139, 92, 246, 0.05);
}

.nav__link:hover::before,
.nav__link:focus::before {
  transform: translateX(-50%) scaleX(1);
}

/* ============================================
   Hero Section - Immersive 3D Data Universe
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #FFFFFF 100%);
  overflow: hidden;
  padding: var(--space-20) 0 var(--space-16);
}

/* 3D Background Container */
.hero__3d-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Animated Mesh Gradient Overlay */
.hero__mesh-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  opacity: 0.3;
  z-index: 2;
  animation: meshPulse 8s ease-in-out infinite;
}

@keyframes meshPulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

/* Floating Data Cards */
.hero__floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  padding: var(--space-4);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  animation: float 6s ease-in-out infinite;
}

.floating-card--1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card--2 {
  top: 70%;
  right: 12%;
  animation-delay: 2s;
}

.floating-card--3 {
  top: 45%;
  right: 8%;
  animation-delay: 4s;
}

.floating-card__glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient-primary);
  opacity: 0.2;
  filter: blur(30px);
  border-radius: inherit;
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
}

.data-badge {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-1);
}

.data-label {
  font-size: var(--font-size-xs);
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

/* Holographic HUD Elements */
.hero__hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hud-element {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid var(--color-electric-violet);
  opacity: 0.3;
}

.hud-element--tl {
  top: var(--space-12);
  left: var(--space-12);
  border-right: none;
  border-bottom: none;
  border-top-left-radius: var(--radius-lg);
}

.hud-element--tr {
  top: var(--space-12);
  right: var(--space-12);
  border-left: none;
  border-bottom: none;
  border-top-right-radius: var(--radius-lg);
}

.hud-element--bl {
  bottom: var(--space-12);
  left: var(--space-12);
  border-right: none;
  border-top: none;
  border-bottom-left-radius: var(--radius-lg);
}

.hud-element--br {
  bottom: var(--space-12);
  right: var(--space-12);
  border-left: none;
  border-top: none;
  border-bottom-right-radius: var(--radius-lg);
}

/* Hero Container */
.hero__container {
  position: relative;
  z-index: 10;
}

.hero__content {
  max-width: 1000px;
  margin: 0 auto;
}

/* Hero Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-sm);
  color: var(--color-electric-violet-dark);
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-neon-green);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

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

/* Hero Title */
.hero__title {
  font-size: clamp(2.5rem, 6vw, var(--font-size-5xl));
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
  color: var(--color-gray-900);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
}

/* Hero Subtitle */
.hero__subtitle {
  font-size: clamp(1rem, 2vw, var(--font-size-lg));
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-600);
  margin-bottom: var(--space-10);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Stats Grid */
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-10);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow-violet);
  background: var(--glass-bg-light);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  transition: transform var(--transition-base);
}

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

.stat-card__value {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.stat-card__label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

/* Hero Actions */
.hero__actions {
  display: flex;
  gap: var(--space-5);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* Modern Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: bounce 2s infinite;
}

.scroll-indicator__mouse {
  width: 28px;
  height: 45px;
  border: 2px solid var(--color-electric-violet);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: var(--space-2);
  box-shadow: var(--shadow-glow-violet);
}

.scroll-indicator__wheel {
  width: 4px;
  height: 8px;
  background: var(--color-electric-violet);
  border-radius: var(--radius-full);
  animation: scrollWheel 2s infinite;
}

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

.scroll-indicator__text {
  font-size: var(--font-size-xs);
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

/* ============================================
   Section
   ============================================ */
.section {
  padding: var(--space-16) 0;
  background: var(--color-white);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section__label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-electric-violet);
  margin-bottom: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
}

.section__title {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-4);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__description {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   Services Section - Modern Bento Grid
   ============================================ */
.services {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

/* Bento Grid - Asymmetric Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Large Featured Card (takes up 2 rows, 6 columns) */
.bento-card--large {
  grid-column: span 6;
  grid-row: span 2;
}

/* Regular Cards (span 6 columns each, stack to fill grid) */
.bento-card:not(.bento-card--large) {
  grid-column: span 6;
}

/* Make the 4th card span full width */
.bento-card:nth-child(4) {
  grid-column: span 12;
}

/* Bento Card Styles */
.bento-card {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

/* Glow Effect Behind Card */
.bento-card__glow {
  position: absolute;
  inset: -40px;
  background: var(--gradient-primary);
  opacity: 0;
  filter: blur(60px);
  transition: opacity var(--transition-base);
  z-index: -1;
}

.bento-card:hover .bento-card__glow {
  opacity: 0.4;
}

/* Number Badge */
.bento-card__badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow-violet);
}

/* Icon Wrapper */
.bento-card__icon-wrapper {
  margin-bottom: var(--space-5);
}

.bento-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  color: var(--color-white);
  transition: transform var(--transition-base);
}

.bento-card__icon--secondary {
  background: var(--gradient-secondary);
}

.bento-card__icon--accent {
  background: var(--gradient-accent);
}

.bento-card__icon--green {
  background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-cyber-blue) 100%);
}

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

/* Content */
.bento-card__content {
  position: relative;
  z-index: 2;
}

.bento-card__title {
  font-size: var(--font-size-2xl);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
  line-height: var(--line-height-tight);
}

.bento-card__description {
  font-size: var(--font-size-base);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

/* Tags */
.bento-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  padding: var(--space-2) var(--space-3);
  background: rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--color-electric-violet-dark);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.tag:hover {
  background: var(--color-electric-violet);
  color: var(--color-white);
  transform: translateY(-2px);
  border-color: var(--color-electric-violet);
}

/* Background Visuals */
.bento-card__visual {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 60%;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

/* AI Grid Animation */
.ai-grid {
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, var(--color-electric-violet) 0px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, var(--color-electric-violet) 0px, transparent 1px, transparent 20px);
  animation: gridSlide 20s linear infinite;
}

@keyframes gridSlide {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

/* Pulse Rings Animation */
.pulse-rings {
  width: 100%;
  height: 100%;
  position: relative;
}

.pulse-rings::before,
.pulse-rings::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  border: 2px solid var(--color-cyber-blue);
  border-radius: var(--radius-full);
  transform: translate(-50%, -50%);
  animation: pulseExpand 3s ease-out infinite;
}

.pulse-rings::after {
  animation-delay: 1.5s;
}

@keyframes pulseExpand {
  0% {
    width: 50px;
    height: 50px;
    opacity: 1;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* Neural Network Animation */
.neural-network {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, var(--color-neon-green) 2px, transparent 2px);
  background-size: 30px 30px;
  animation: neuralPulse 4s ease-in-out infinite;
}

@keyframes neuralPulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Data Stream Animation */
.data-stream {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: var(--space-4);
}

.data-stream::before,
.data-stream::after {
  content: '';
  width: 100%;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
  animation: streamFlow 2s ease-in-out infinite;
}

.data-stream::after {
  animation-delay: 1s;
}

@keyframes streamFlow {
  0%, 100% {
    opacity: 0.3;
    transform: translateX(-20px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   Solutions Section
   ============================================ */
.solutions {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

.solutions__bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

/* Solution Card */
.solution-card {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.solution-card:hover {
  transform: translateY(-8px);
}

.solution-card__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-electric-violet) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-slow);
  pointer-events: none;
  filter: blur(40px);
}

.solution-card:hover .solution-card__glow {
  opacity: 0.3;
}

.solution-card__number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.solution-card:hover .solution-card__number {
  color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.1) rotate(360deg);
}

/* Icon Wrapper */
.solution-card__icon-wrapper {
  position: relative;
  z-index: 1;
}

.solution-card__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  color: white;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.solution-card__icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.solution-card:hover .solution-card__icon::before {
  opacity: 1;
}

.gradient-bg-violet {
  background: linear-gradient(135deg, var(--color-electric-violet), #6D28D9);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.gradient-bg-blue {
  background: linear-gradient(135deg, var(--color-cyber-blue), #0891B2);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.3);
}

.gradient-bg-green {
  background: linear-gradient(135deg, var(--color-neon-green), #059669);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.solution-card:hover .solution-card__icon {
  transform: scale(1.05) translateY(-4px);
}

/* Card Content */
.solution-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.solution-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin: 0;
  transition: color var(--transition-base);
}

.solution-card:hover .solution-card__title {
  background: var(--gradient-holographic);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solution-card__description {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-600);
  margin: 0;
}

/* Features List */
.solution-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.feature-item svg {
  stroke: var(--color-electric-violet);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.solution-card:hover .feature-item svg {
  stroke: var(--color-neon-green);
  transform: scale(1.2);
}

.solution-card:hover .feature-item {
  color: var(--color-gray-900);
}

/* Tech Badges */
.solution-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tech-badge {
  padding: var(--space-2) var(--space-4);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-electric-violet-dark);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tech-badge:hover {
  background: var(--color-electric-violet);
  border-color: var(--color-electric-violet);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Visual Elements */
.solution-card__visual {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  opacity: 0.15;
  pointer-events: none;
  transition: opacity var(--transition-slow);
  overflow: hidden;
}

.solution-card:hover .solution-card__visual {
  opacity: 0.25;
}

/* BI Chart Animation */
.bi-chart {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, var(--color-electric-violet) 2px, transparent 2px),
    linear-gradient(to bottom, var(--color-electric-violet) 2px, transparent 2px);
  background-size: 30px 30px;
  background-position: 0 0;
  position: relative;
}

.bi-chart::before,
.bi-chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 20px;
  background: var(--color-electric-violet);
  animation: chartGrow 2s ease-in-out infinite alternate;
}

.bi-chart::before {
  left: 30px;
  height: 60%;
  animation-delay: 0s;
}

.bi-chart::after {
  left: 60px;
  height: 80%;
  animation-delay: 0.3s;
}

@keyframes chartGrow {
  0% { opacity: 0.5; transform: scaleY(0.8); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* ML Network Animation */
.ml-network {
  width: 100%;
  height: 100%;
  position: relative;
}

.ml-network::before,
.ml-network::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-cyber-blue);
  border-radius: 50%;
  box-shadow:
    0 0 30px rgba(6, 182, 212, 0.6),
    40px 30px 0 0px var(--color-cyber-blue),
    -30px 50px 0 0px var(--color-electric-violet),
    50px 70px 0 0px var(--color-neon-green),
    80px 10px 0 0px var(--color-cyber-blue);
  animation: networkPulse 3s ease-in-out infinite;
}

.ml-network::after {
  animation-delay: 1.5s;
  top: 40px;
  left: 60px;
}

@keyframes networkPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Data Flow Animation */
.data-flow {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.data-flow::before,
.data-flow::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg,
    transparent,
    rgba(16, 185, 129, 0.4),
    var(--color-neon-green),
    rgba(16, 185, 129, 0.4),
    transparent);
  border-radius: 2px;
  animation: dataStream 3s linear infinite;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.data-flow::before {
  top: 30%;
  animation-delay: 0s;
}

.data-flow::after {
  top: 60%;
  animation-delay: 1.5s;
  background: linear-gradient(90deg,
    transparent,
    rgba(6, 182, 212, 0.4),
    var(--color-cyber-blue),
    rgba(6, 182, 212, 0.4),
    transparent);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

@keyframes dataStream {
  0% { transform: translateX(-100%); opacity: 0.3; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0.3; }
}

/* Responsive */
@media (max-width: 768px) {
  .solutions__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .solution-card {
    padding: var(--space-6);
  }

  .solution-card__icon {
    width: 64px;
    height: 64px;
  }

  .solution-card__visual {
    width: 150px;
    height: 150px;
  }
}

/* ============================================
   Insights/Approach Section
   ============================================ */
.insights {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
}

.insights__bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

/* Timeline Container */
.insights__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

/* Timeline Vertical Line */
.timeline__line {
  position: absolute;
  left: 40px;
  top: 80px;
  bottom: 80px;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--color-electric-violet) 10%,
    var(--color-cyber-blue) 50%,
    var(--color-neon-green) 90%,
    transparent 100%
  );
  opacity: 0.5;
}

/* Timeline Item */
.timeline-item {
  position: relative;
  padding: var(--space-8);
  padding-left: 120px;
  margin-bottom: var(--space-8);
  border-radius: var(--radius-3xl);
  transition: all var(--transition-base);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-item__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-electric-violet) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-slow);
  pointer-events: none;
  filter: blur(60px);
}

.timeline-item:hover .timeline-item__glow {
  opacity: 0.2;
}

/* Timeline Connector */
.timeline-item__connector {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.connector-dot {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  transition: all var(--transition-base);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timeline-item:hover .connector-dot {
  transform: scale(1.3);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
}

.connector-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-electric-violet);
  border-radius: 50%;
  animation: timelinePulse 2s ease-out infinite;
  opacity: 0.6;
}

@keyframes timelinePulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Timeline Icon */
.timeline-item__icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  color: white;
  transition: all var(--transition-base);
  z-index: 10;
}

.timeline-item:hover .timeline-item__icon {
  transform: translateY(-50%) scale(1.1) rotate(-5deg);
}

/* Content */
.timeline-item__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.timeline-item__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.timeline-item__number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-item__number {
  color: rgba(255, 255, 255, 0.15);
}

.timeline-item__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin: 0;
  transition: all var(--transition-base);
}

.timeline-item:hover .timeline-item__title {
  background: var(--gradient-holographic);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-item__description {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-600);
  margin: 0;
}

/* Features */
.timeline-item__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.timeline-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.timeline-feature svg {
  stroke: var(--color-electric-violet);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-feature {
  color: var(--color-gray-900);
}

.timeline-item:hover .timeline-feature svg {
  stroke: var(--color-neon-green);
  transform: scale(1.2);
}

/* Alternate Icon Colors */
.timeline-item:nth-child(1) .timeline-item__icon {
  background: linear-gradient(135deg, var(--color-electric-violet), #6D28D9);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.timeline-item:nth-child(2) .timeline-item__icon {
  background: linear-gradient(135deg, var(--color-cyber-blue), #0891B2);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.4);
}

.timeline-item:nth-child(3) .timeline-item__icon {
  background: linear-gradient(135deg, var(--color-neon-green), #059669);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .timeline__line {
    left: 20px;
  }

  .timeline-item {
    padding: var(--space-6);
    padding-left: 80px;
  }

  .timeline-item__connector {
    left: 20px;
  }

  .timeline-item__icon {
    width: 60px;
    height: 60px;
  }

  .timeline-item__icon svg {
    width: 24px;
    height: 24px;
  }

  .timeline-item__number {
    font-size: var(--font-size-3xl);
  }

  .timeline-item__title {
    font-size: var(--font-size-xl);
  }
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
}

.contact__bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.10) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-8);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Contact Info Card */
.contact__info {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__info-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-electric-violet) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-slow);
  pointer-events: none;
  filter: blur(60px);
}

.contact__info:hover .contact__info-glow {
  opacity: 0.15;
}

.contact__info-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin: 0;
}

.contact__info-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  margin: 0;
  margin-top: -var(--space-3);
}

/* Contact Details */
.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact__detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  background: rgba(139, 92, 246, 0.03);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all var(--transition-base);
}

.contact__detail:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateX(8px);
}

.contact__icon-wrapper {
  flex-shrink: 0;
}

.contact__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  color: white;
  transition: all var(--transition-base);
}

.contact__detail:hover .contact__icon {
  transform: scale(1.1) rotate(5deg);
}

.contact__detail-content {
  flex: 1;
}

.contact__detail-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
}

.contact__detail-text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  margin: 0;
  line-height: var(--line-height-relaxed);
}

.contact__detail-text a {
  color: var(--color-cyber-blue);
  transition: color var(--transition-fast);
}

.contact__detail-text a:hover {
  color: var(--color-neon-green);
}

/* Decorative Circles */
.contact__decoration {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: circleFloat 8s ease-in-out infinite;
}

.decoration-circle--1 {
  width: 40px;
  height: 40px;
  border-color: var(--color-electric-violet);
  opacity: 0.3;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.decoration-circle--2 {
  width: 60px;
  height: 60px;
  border-color: var(--color-cyber-blue);
  opacity: 0.25;
  top: 20px;
  left: 30px;
  animation-delay: 1s;
}

.decoration-circle--3 {
  width: 80px;
  height: 80px;
  border-color: var(--color-neon-green);
  opacity: 0.2;
  top: 40px;
  left: 40px;
  animation-delay: 2s;
}

@keyframes circleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Contact Form */
.contact__form {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__form-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-cyber-blue) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition-slow);
  pointer-events: none;
  filter: blur(80px);
}

.contact__form:hover .contact__form-glow {
  opacity: 0.12;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-gray-900);
}

.required {
  color: var(--color-electric-violet);
}

.form__input-wrapper {
  position: relative;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-4);
  font-family: inherit;
  font-size: var(--font-size-base);
  color: var(--color-gray-900);
  background: #FFFFFF;
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-gray-400);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--color-electric-violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form__input:focus + .form__input-border,
.form__textarea:focus + .form__input-border {
  opacity: 1;
}

.form__input-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  border: 2px solid transparent;
  background: linear-gradient(90deg, var(--color-electric-violet), var(--color-cyber-blue), var(--color-neon-green));
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  animation: borderFlow 3s linear infinite;
}

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

.form__input.error,
.form__textarea.error {
  border-color: #DC2626;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__error {
  display: block;
  font-size: var(--font-size-xs);
  color: #EF4444;
  margin-top: var(--space-1);
  min-height: 20px;
}

/* Submit Button Enhancement */
.contact__form .btn {
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.btn__icon {
  transition: transform var(--transition-base);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 968px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .contact__info,
  .contact__form {
    padding: var(--space-6);
  }

  .contact__decoration {
    display: none;
  }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  color: var(--color-gray-900);
  padding: var(--space-12) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-10);
}

.footer__logo {
  margin-bottom: var(--space-3);
  filter: none;
}

.footer__tagline {
  font-size: var(--font-size-base);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

.footer__links-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-gray-900);
}

.footer__links nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__link {
  font-size: var(--font-size-base);
  color: var(--color-gray-600);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer__link:hover {
  color: var(--color-cyber-blue);
  transform: translateX(4px);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-xl);
  color: var(--color-electric-violet);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer__social-link:hover {
  background: var(--gradient-primary);
  border-color: var(--color-electric-violet);
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.footer__bottom {
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  padding-top: var(--space-6);
  text-align: center;
}

.footer__copyright {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin-bottom: 0;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 48px rgba(139, 92, 246, 0.5);
  border-color: var(--color-electric-violet);
}

.back-to-top:active {
  transform: translateY(-4px) scale(1);
}

/* ============================================
   Toast Notification
   ============================================ */
.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-gray-900);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 12px 48px rgba(139, 92, 246, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 9999;
  max-width: 500px;
  text-align: center;
  font-weight: 500;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.95), rgba(16, 185, 129, 0.95));
  border-color: var(--color-neon-green);
  box-shadow: 0 12px 48px rgba(16, 185, 129, 0.3);
}

.toast.error {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(239, 68, 68, 0.95));
  border-color: #EF4444;
  box-shadow: 0 12px 48px rgba(239, 68, 68, 0.3);
}

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

/* Tablets */
@media (max-width: 1024px) {
  :root {
    --font-size-7xl: 3.5rem;
    --font-size-6xl: 2.75rem;
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 1.875rem;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .footer__social {
    justify-content: center;
  }

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-2);
    --space-16: 5rem;
    --space-12: 4rem;
  }

  .header__container {
    position: relative;
  }

  .nav__toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .nav.active {
    max-height: 400px;
  }

  .nav__menu {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-2);
    gap: 0;
  }

  .nav__item {
    border-bottom: 1px solid var(--color-gray-100);
  }

  .nav__link {
    display: block;
    padding: var(--space-3);
  }

  .header__cta {
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-3);
  }

  .hero {
    min-height: auto;
    padding: var(--space-12) 0 var(--space-10);
  }

  .hero__logo-text {
    font-size: var(--font-size-3xl);
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .services__showcase {
    gap: var(--space-6);
  }

  .service-item {
    grid-template-columns: 1fr;
    padding: var(--space-5);
    gap: var(--space-4);
  }

  .service-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-item__number {
    order: 1;
    width: 60px;
    height: 60px;
    font-size: var(--font-size-3xl);
    margin: 0 auto;
  }

  .service-item__content {
    order: 2;
    text-align: center;
  }

  .service-item__header {
    flex-direction: column;
    text-align: center;
  }

  .service-item__visual {
    order: 3;
    margin: 0 auto;
  }

  .service-item:nth-child(even) .service-item__number,
  .service-item:nth-child(even) .service-item__content,
  .service-item:nth-child(even) .service-item__visual {
    order: inherit;
  }

  .service-item:hover {
    transform: translateY(-4px) !important;
  }

  .service-item__tags {
    justify-content: center;
  }

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

  .solution-card__tech {
    justify-content: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --font-size-6xl: 2.25rem;
    --font-size-5xl: 1.875rem;
    --font-size-4xl: 1.5rem;
  }

  .scroll-indicator {
    display: none;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .service-card,
  .solution-card,
  .insight-step {
    border-width: 2px;
  }
}
