@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --color-primary: #0052CC;
  --color-primary-dark: #003d99;
  --color-primary-light: #1a6aff;
  --color-accent: #00D4FF;
  --color-accent-dark: #00b8e6;
  --color-accent-light: #33ddff;
  --color-dark: #0A1428;
  --color-dark-lighter: #152238;
  --color-dark-lightest: #1e3a5f;
  
  /* Neutral Palette */
  --color-white: #FFFFFF;
  --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;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  --gradient-dark: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-lighter) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 20, 40, 0.95) 0%, rgba(0, 82, 204, 0.85) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-accent-subtle: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 82, 204, 0.1) 100%);
  
  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-6xl: 12rem;
  
  /* Typography Scale */
  --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;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(10, 20, 40, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 20, 40, 0.1), 0 2px 4px -2px rgba(10, 20, 40, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(10, 20, 40, 0.1), 0 4px 6px -4px rgba(10, 20, 40, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(10, 20, 40, 0.1), 0 8px 10px -6px rgba(10, 20, 40, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(10, 20, 40, 0.25);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
  --shadow-glow-primary: 0 0 40px rgba(0, 82, 204, 0.4);
  --shadow-card: 0 4px 24px rgba(10, 20, 40, 0.08);
  --shadow-card-hover: 0 12px 48px rgba(10, 20, 40, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  
  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-lg);
}

/* ==========================================
   BASE RESET & GLOBALS
   ========================================== */

*,
*::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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

ul,
ol {
  list-style: none;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: var(--tracking-tighter);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

/* ==========================================
   LAYOUT & CONTAINER
   ========================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1400px;
}

.section {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.section-sm {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.section-lg {
  padding-top: var(--space-6xl);
  padding-bottom: var(--space-6xl);
}

/* ==========================================
   NAVIGATION - GLASSMORPHISM
   ========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.navbar.scrolled::before {
  opacity: 1;
}

.navbar.scrolled {
  padding: var(--space-sm) 0;
}

.navbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: var(--tracking-tight);
}

.navbar-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-lg);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-700);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.navbar-link:hover {
  color: var(--color-primary);
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-link.active {
  color: var(--color-primary);
}

.navbar-link.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(80px + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-background img,
.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: var(--text-7xl);
  font-weight: 900;
  color: var(--color-white);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
  margin-bottom: var(--space-xl);
}

.hero-title-accent {
  display: block;
  background: linear-gradient(135deg, var(--color-accent) 0%, #66e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: var(--leading-none);
  margin-bottom: var(--space-2xs);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Hero Variants */
.hero-centered {
  text-align: center;
}

.hero-centered .hero-content {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-description {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .hero-actions {
  justify-content: center;
}

.hero-centered .hero-stats {
  justify-content: center;
}

/* Hero Geometric Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -200px;
  right: -200px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  bottom: -100px;
  left: -100px;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(0, 82, 204, 0.5);
}

/* Secondary/Outline Button */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(0, 82, 204, 0.3);
}

/* White Outline (for dark backgrounds) */
.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--color-gray-700);
}

.btn-ghost:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

/* White Ghost (for dark backgrounds) */
.btn-ghost-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-xl {
  padding: var(--space-xl) var(--space-3xl);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

/* Icon Button */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-lg);
}

.btn-icon.btn-sm {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
}

.btn-icon.btn-lg {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
}

/* Button with Icon */
.btn svg,
.btn i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-lg svg,
.btn-lg i {
  width: 20px;
  height: 20px;
}

/* ==========================================
   CARDS
   ========================================== */

.card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent-subtle);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  background: var(--gradient-primary);
  color: var(--color-white);
  transform: scale(1.05);
}

.card-icon svg,
.card-icon i {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.card-description {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: var(--space-sm);
}

.card-link svg {
  width: 16px;
  height: 16px;
}

/* Featured Card */
.card-featured {
  background: var(--gradient-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.card-featured .card-title {
  color: var(--color-white);
}

.card-featured .card-description {
  color: rgba(255, 255, 255, 0.7);
}

.card-featured .card-link {
  color: var(--color-accent);
}

.card-featured:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

/* Glass Card */
.card-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-glass .card-title {
  color: var(--color-white);
}

.card-glass .card-description {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   FEATURE/SERVICE GRID
   ========================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.features-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.features-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Alternating Feature Layout */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.feature-row:nth-child(even) .feature-content {
  order: 2;
}

.feature-row:nth-child(even) .feature-media {
  order: 1;
}

.feature-content {
  max-width: 520px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.feature-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.feature-description {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-base);
  color: var(--color-gray-700);
}

.feature-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-media {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.feature-media img {
  width: 100%;
  height: auto;
}

.feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.1;
  mix-blend-mode: overlay;
}

/* ==========================================
   STATS SECTION
   ========================================== */

.stats-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.3;
  top: -300px;
  right: -200px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
}

.stat