/* ============================================================
   AEGISX — Ultra-Premium Design System v2.0
   Neurotex Labs | 2026
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --bg-deep: #030711;
  --bg-primary: #080d1c;
  --bg-elevated: #0c1225;
  --bg-surface: #111830;

  /* Accent colors */
  --cyan: #00e5ff;
  --cyan-muted: #00b8d4;
  --cyan-glow: rgba(0, 229, 255, 0.12);
  --cyan-intense: rgba(0, 229, 255, 0.25);
  --purple: #8b5cf6;
  --purple-deep: #6d28d9;
  --purple-glow: rgba(139, 92, 246, 0.12);
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.12);
  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.12);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.12);
  --blue: #3b82f6;

  /* Gradient stops */
  --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #f43f5e 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #00e5ff 100%);
  --gradient-surface: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(0, 229, 255, 0.08) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.06) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, rgba(16, 185, 129, 0.04) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, rgba(244, 63, 94, 0.03) 0px, transparent 50%);

  /* Text */
  --text-primary: #f0f4ff;
  --text-secondary: #94a3c4;
  --text-muted: #5b6a8a;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.08);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 100px;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.6);
  --shadow-cyan: 0 0 60px rgba(0, 229, 255, 0.1), 0 0 20px rgba(0, 229, 255, 0.05);
  --shadow-purple: 0 0 60px rgba(139, 92, 246, 0.1), 0 0 20px rgba(139, 92, 246, 0.05);
  --shadow-glow: 0 0 80px rgba(0, 229, 255, 0.08);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated mesh gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(16, 185, 129, 0.025) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: mesh-drift 20s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Subtle dot grid pattern */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content sits above background */
header, main, section, footer, .footer, .hero-wrapper {
  position: relative;
  z-index: 1;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  border-radius: 3px;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.15));
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.15rem;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(0, 229, 255, 0.2);
  color: var(--text-primary);
}

/* ---------- Badge / Tag ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.15);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(0, 229, 255, 0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(0, 229, 255, 0.3); }
  50% { opacity: 0.4; transform: scale(0.7); box-shadow: 0 0 4px var(--cyan); }
}

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

/* ---------- Header / Navbar ---------- */
header {
  position: sticky;
  top: 0;
  padding: 0 var(--space-2xl);
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(3, 7, 17, 0.6);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  z-index: 100;
  transition: all 0.4s var(--ease-out);
}

header.scrolled {
  background: rgba(3, 7, 17, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), 0 1px 0 rgba(0, 229, 255, 0.05);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
  cursor: pointer;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.2));
  transition: filter 0.3s var(--ease-out);
}

.logo:hover {
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

nav a {
  position: relative;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: all 0.35s var(--ease-out);
  letter-spacing: 0.02em;
  overflow: hidden;
}

nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

nav a.active {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  font-weight: 500;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: all 0.4s var(--ease-out);
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 50%;
}

/* ---------- Hero / Section Layout ---------- */
.section {
  padding: var(--space-3xl) var(--space-2xl);
  max-width: 1280px;
  margin: 0 auto;
}

.section-hero {
  padding: 140px var(--space-2xl) var(--space-3xl);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

/* Decorative hero orb */
.section-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, rgba(139, 92, 246, 0.04) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: hero-orb 10s ease-in-out infinite alternate;
  transform: translateY(-50%);
}

@keyframes hero-orb {
  0% { transform: translateY(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateY(-50%) scale(1.1); opacity: 1; }
  100% { transform: translateY(-50%) scale(0.95); opacity: 0.7; }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-top: var(--space-lg);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header p {
  margin: var(--space-sm) auto 0;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* ---------- Glass Cards ---------- */
.glass {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) calc(var(--space-xl) + 4px);
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Top shine line */
.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 30%, rgba(0, 229, 255, 0.12) 50%, rgba(255,255,255,0.1) 70%, transparent 100%);
}

/* Corner glow accent */
.glass::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
  opacity: 0;
}

.glass:hover {
  border-color: rgba(0, 229, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-md), var(--shadow-cyan);
  transform: translateY(-4px);
}

.glass:hover::after {
  opacity: 1;
}

/* Centered glass variant */
.glass-centered {
  text-align: center;
}

.glass-centered p {
  margin: var(--space-md) auto 0;
  text-align: center;
}

/* ---------- Feature Cards ---------- */
.card {
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Animated top gradient line */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

/* Hover gradient overlay */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.02) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-cyan), 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon.cyan {
  background: var(--cyan-glow);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.card-icon.purple {
  background: var(--purple-glow);
  color: var(--purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.08);
}

.card-icon.emerald {
  background: var(--emerald-glow);
  color: var(--emerald);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
}

.card-icon.rose {
  background: var(--rose-glow);
  color: var(--rose);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.08);
}

.card-icon.amber {
  background: var(--amber-glow);
  color: var(--amber);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.08);
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.card h3 {
  transition: text-shadow 0.4s var(--ease-out);
}

.card:hover h3 {
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* ---------- Grid System ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* ---------- Status Indicators ---------- */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.status-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.status-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.status-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.status-value {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  font-weight: 600;
}

.status-value.active {
  color: var(--emerald);
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.status-value.scanning {
  color: var(--cyan);
  animation: scan-pulse 2s ease-in-out infinite;
}

.status-value.warning {
  color: var(--amber);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

@keyframes scan-pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
  50% { opacity: 0.5; text-shadow: 0 0 8px rgba(0, 229, 255, 0.1); }
}

/* Progress bar */
.progress-container {
  margin-top: var(--space-sm);
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--gradient-primary);
  transition: width 1.8s var(--ease-out);
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
  border-radius: 4px;
  animation: progress-shine 2s ease-in-out infinite;
}

@keyframes progress-shine {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--gradient-primary);
  color: #050810;
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.2), 0 0 0 1px rgba(0, 229, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.35), 0 0 0 1px rgba(0, 229, 255, 0.2);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 29px;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(0, 229, 255, 0.2);
  color: var(--text-primary);
  background: rgba(0, 229, 255, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.08);
}

/* Legacy .btn without modifier */
.btn:not(.btn-primary):not(.btn-secondary) {
  background: var(--gradient-primary);
  color: #050810;
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.2);
}

.btn:not(.btn-primary):not(.btn-secondary):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.35);
}

/* ---------- Stat Counters ---------- */
.stats-row {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--space-2xl) / 2);
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.06), transparent);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.15));
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
  letter-spacing: 0.04em;
}

/* ---------- Tech List ---------- */
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  list-style: none;
}

.tech-list li {
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
}

.tech-list li:hover {
  border-color: rgba(0, 229, 255, 0.15);
  background: rgba(0, 229, 255, 0.05);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ---------- Dividers ---------- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--glass-border) 50%, transparent 100%);
  margin: var(--space-xl) 0;
}

/* ---------- Forms ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

input, textarea, select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08), 0 0 20px rgba(0, 229, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2394a3c4' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
  cursor: pointer;
}

select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: var(--space-xl) var(--space-2xl);
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: var(--space-3xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

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

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out);
}

.footer-links a:hover::after {
  width: 100%;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.9s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.06s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }

/* ---------- Floating Orbs (decorative) ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.orb-cyan {
  width: 400px;
  height: 400px;
  background: rgba(0, 229, 255, 0.05);
}

.orb-purple {
  width: 350px;
  height: 350px;
  background: rgba(139, 92, 246, 0.05);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 10px) scale(0.95); }
}

/* ---------- Glow Line (decorative separator) ---------- */
.glow-line {
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  margin: var(--space-lg) 0;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
  position: relative;
}

.glow-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  filter: blur(6px);
  opacity: 0.5;
}

.glow-line-center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--purple), transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
  transition: transform 0.3s var(--ease-out);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) + 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4), 0 0 24px rgba(0, 229, 255, 0.15);
  transition: all 0.3s var(--ease-out);
}

.timeline-item:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.6), 0 0 30px rgba(0, 229, 255, 0.25);
}

.timeline-item h3 {
  margin-bottom: var(--space-xs);
}

/* ---------- Hero Visual Element ---------- */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.08);
  animation: ring-rotate 20s linear infinite;
}

.hero-ring:nth-child(1) {
  inset: 0;
  border-color: rgba(0, 229, 255, 0.06);
}

.hero-ring:nth-child(2) {
  inset: 40px;
  border-color: rgba(139, 92, 246, 0.08);
  animation-direction: reverse;
  animation-duration: 15s;
}

.hero-ring:nth-child(3) {
  inset: 80px;
  border-color: rgba(0, 229, 255, 0.1);
  animation-duration: 25s;
}

.hero-ring-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-ring:nth-child(2) .hero-ring-dot {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

.hero-core {
  position: absolute;
  inset: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: core-pulse 4s ease-in-out infinite;
}

.hero-core-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

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

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

/* ---------- Floating Particles System ---------- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ---------- Feature Icons (SVG replacements) ---------- */
.icon-shield,
.icon-brain,
.icon-globe,
.icon-bolt,
.icon-target,
.icon-chart,
.icon-dna,
.icon-robot,
.icon-satellite,
.icon-clock {
  width: 28px;
  height: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero-visual {
    width: 300px;
    height: 300px;
    right: -20px;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {

  /* Header mobile */
  header {
    padding: 0 var(--space-lg);
    height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px var(--space-xl) var(--space-xl);
    background: rgba(3, 7, 17, 0.98);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    transition: right 0.4s var(--ease-out);
    gap: var(--space-xs);
    z-index: 105;
  }

  nav.open {
    right: 0;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }

  nav a {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  /* Sections */
  .section, .section-hero {
    padding: var(--space-2xl) var(--space-lg);
  }

  .section-hero {
    padding-top: 80px;
    align-items: center;
    text-align: center;
  }

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

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

  .hero-visual {
    display: none;
  }

  /* Typography */
  h1 { text-align: center; }
  h2 { text-align: center; }

  .section-header p {
    text-align: center;
  }

  /* Grids */
  .grid, .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

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

  /* Stats */
  .stats-row {
    gap: var(--space-xl);
    justify-content: center;
  }

  .stat-item {
    align-items: center;
  }

  .stat-item::after {
    display: none;
  }

  /* Buttons */
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 160px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  /* Glass */
  .glass {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .section, .section-hero {
    padding: var(--space-xl) var(--space-md);
  }

  .section-hero {
    padding-top: 60px;
  }

  header {
    padding: 0 var(--space-md);
  }

  .stats-row {
    gap: var(--space-lg);
  }

  .stat-number {
    font-size: 1.8rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ---------- Loading State ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-ring {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(0, 229, 255, 0.1);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--space-md);
}

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

.loader-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  opacity: 0.8;
}

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

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-primary);
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}