/**
 * KTS GLOBAL - DIGITAL SOVEREIGNTY INFRASTRUCTURE
 * Premium Dark Design System - AEGIS-V14-QUANTUM-WEAVER-PHASE-2D + KQAS 3.0 Persona Support
 * Intelligence-Agency Aesthetic + Executive Polish + 18-Persona Adaptive Colors
 * 
 * KQAS 3.0 Persona Variables (injected by Cloudflare Worker):
 * - --persona-primary: Main brand color
 * - --persona-secondary: Secondary accents
 * - --persona-accent: Highlight color
 * - --persona-bg: Background tint
 * - --persona-text: Text color
 * 
 * Default Color Palette (General Public):
 * - Deep Navy/Charcoal: #0A0E27, #1A1D2E
 * - Secondary Gradient: #0F1629 → #1C2541
 * - White Text: #FFFFFF
 * - Secondary Text: #94A3B8, #CBD5E1
 * - Accents: Cyan/Electric Blue #00D9FF, #0EA5E9
 * - Alerts: #FF3B3B, #FF6B35
 * - Premium: #FFD700, #FCD34D
 * - Success: #10B981, #34D399
 * 
 * Typography:
 * - H1: 72-96px, ALL CAPS, Bold 800-900
 * - H2: 48-64px
 * - H3: 32-40px
 * - H4: 24-28px
 * - Body: 16-18px
 * - Monospace: 14-16px
 * - Metric Display: 64-120px
 */

/* ============================================
   0. KQAS 3.0 PERSONA VARIABLES (DEFAULTS)
   ============================================ */

:root {
  /* Default colors (overridden by worker for each persona) */
  --persona-primary: #3498DB;
  --persona-secondary: #5DADE2;
  --persona-accent: #1ABC9C;
  --persona-bg: #FFFFFF;
  --persona-text: #2C3E50;
  
  /* Legacy colors (kept for backward compatibility) */
  --color-primary: #00D9FF;
  --color-secondary: #0EA5E9;
  --color-accent: #FFD700;
  --color-bg-dark: #0A0E27;
  --color-bg-medium: #0F1629;
  --color-bg-light: #1C2541;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;
  --color-success: #10B981;
  --color-warning: #FCD34D;
  --color-error: #FF3B3B;
}

/* ============================================
   1. CSS RESET & BASE STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #0A0E27 0%, #0F1629 50%, #1C2541 100%);
  background-attachment: fixed;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

/* ============================================
   2. TYPOGRAPHY SYSTEM
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
}

h3 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  font-weight: 700;
}

h4 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  font-weight: 700;
}

h5 {
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.4;
  font-weight: 600;
}

p {
  font-size: 18px;
  line-height: 1.8;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.text-secondary {
  color: #94A3B8;
}

.text-primary {
  color: #00D9FF;
}

.text-premium {
  color: #FFD700;
}

.text-success {
  color: #10B981;
}

.text-alert {
  color: #FF3B3B;
}

/* Monospace for data/technical */
.mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ============================================
   3. CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #0A0E27;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00D9FF 0%, #0EA5E9 100%);
  border-radius: 6px;
  border: 2px solid #0A0E27;
}

::-webkit-scrollbar-thumb:hover {
  background: #00D9FF;
}

/* ============================================
   4. HEADER / NAVIGATION - INTELLIGENCE HQ
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 14, 39, 0.98);
  box-shadow: 0 4px 30px rgba(0, 217, 255, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: #00D9FF;
}

.nav-logo span {
  color: #00D9FF;
}

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

.nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00D9FF;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00D9FF;
}

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

.nav-links a.active {
  color: #00D9FF;
}

/* Status Badge in Nav */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #10B981;
}

.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* CTA Buttons in Nav */
.nav-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #00D9FF 0%, #0EA5E9 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 217, 255, 0.5);
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #00D9FF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 2px solid #00D9FF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #00D9FF;
  color: #0A0E27;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
}

/* ============================================
   5. LAYOUT SYSTEM - 12-COLUMN GRID
   ============================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00D9FF;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   6. CARD COMPONENTS
   ============================================ */

.card {
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.8) 0%, rgba(26, 29, 46, 0.6) 100%);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 8px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00D9FF, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #00D9FF;
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

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

/* Metric Card */
.metric-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.9) 0%, rgba(26, 29, 46, 0.7) 100%);
  border: 2px solid rgba(0, 217, 255, 0.3);
  padding: 3rem 2rem;
}

.metric-value {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  color: #00D9FF;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
}

.metric-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #94A3B8;
  font-weight: 600;
}

.metric-card .premium {
  color: #FFD700;
}

/* Comparison Card */
.comparison-card {
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.95) 0%, rgba(26, 29, 46, 0.8) 100%);
  border: 2px solid rgba(0, 217, 255, 0.4);
  padding: 2rem;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(203, 213, 225, 0.1);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-label {
  font-size: 14px;
  font-weight: 600;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-values {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.comparison-value {
  text-align: center;
}

.comparison-value-number {
  font-size: 32px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.25rem;
}

.comparison-value-number.kts {
  color: #00D9FF;
}

.comparison-value-number.competitor {
  color: #94A3B8;
}

.comparison-value-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94A3B8;
}

/* ============================================
   7. HERO SECTION - COMMAND CENTER
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 2rem 80px;
  background: radial-gradient(ellipse at top, rgba(0, 217, 255, 0.05) 0%, transparent 70%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFD700;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease;
}

.hero-label::before {
  content: '🏆';
  font-size: 18px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: 24px;
  color: #94A3B8;
  margin-bottom: 3rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Hero Metrics Grid */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  animation: fadeInUp 1s ease 0.8s both;
}

/* ============================================
   8. STATUS INDICATORS & BADGES
   ============================================ */

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #10B981;
}

.status-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-indicator.active {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10B981;
  color: #10B981;
}

.status-indicator.active::before {
  background: #10B981;
}

.status-indicator.confidential {
  background: rgba(255, 59, 59, 0.1);
  border-color: #FF3B3B;
  color: #FF3B3B;
}

.status-indicator.confidential::before {
  background: #FF3B3B;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(252, 211, 77, 0.1) 100%);
  border: 1px solid #FFD700;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFD700;
}

.badge-patent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid #00D9FF;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00D9FF;
}

.badge-patent::before {
  content: '⚛';
  font-size: 14px;
}

/* ============================================
   9. DATA VISUALIZATION COMPONENTS
   ============================================ */

.data-viz-container {
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.95) 0%, rgba(26, 29, 46, 0.8) 100%);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: 12px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.data-viz-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00D9FF, transparent);
}

/* Comparison Bar */
.comparison-bar-container {
  margin: 2rem 0;
}

.comparison-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: #CBD5E1;
}

.comparison-bar {
  position: relative;
  height: 40px;
  background: rgba(26, 29, 46, 0.6);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00D9FF 0%, #0EA5E9 100%);
  border-radius: 8px;
  transition: width 1s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 1rem;
}

.comparison-bar-value {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
}

/* Network Diagram Placeholder */
.network-diagram {
  position: relative;
  width: 100%;
  height: 400px;
  background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.3) 0%, rgba(14, 165, 233, 0.2) 100%);
  border: 2px solid #00D9FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  animation: float 3s ease-in-out infinite;
}

.network-node.center {
  width: 120px;
  height: 120px;
  font-size: 48px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.4) 0%, rgba(14, 165, 233, 0.3) 100%);
  border-width: 3px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   10. TERMINAL / DASHBOARD AESTHETICS
   ============================================ */

.terminal {
  background: rgba(10, 14, 39, 0.95);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 14px;
  color: #00D9FF;
  position: relative;
}

.terminal::before {
  content: '> SYSTEM ACTIVE';
  display: block;
  color: #10B981;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.terminal-line {
  margin: 0.5rem 0;
  color: #CBD5E1;
}

.terminal-line::before {
  content: '$ ';
  color: #00D9FF;
}

.terminal-output {
  color: #94A3B8;
  padding-left: 1.5rem;
}

/* ============================================
   11. FOOTER
   ============================================ */

footer {
  background: linear-gradient(180deg, #0A0E27 0%, #0F1629 100%);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding: 80px 0 40px;
  margin-top: 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00D9FF;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00D9FF;
}

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

.footer-bottom p {
  font-size: 13px;
  color: #94A3B8;
  margin: 0;
}

.footer-confidential {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 59, 59, 0.1);
  border: 1px solid #FF3B3B;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF3B3B;
}

/* ============================================
   12. ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease both;
}

.fade-in-down {
  animation: fadeInDown 0.8s ease both;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease both;
}

.slide-in-right {
  animation: slideInRight 0.8s ease both;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   13. RESPONSIVE DESIGN
   ============================================ */

/* Tablet: 768px - 1199px */
@media (max-width: 1199px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 80px 0;
  }
  
  h1 {
    font-size: clamp(40px, 6vw, 72px);
  }
  
  h2 {
    font-size: clamp(32px, 5vw, 48px);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .comparison-values {
    gap: 2rem;
  }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  body {
    font-size: 16px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
  
  h2 {
    font-size: clamp(28px, 6vw, 36px);
  }
  
  h3 {
    font-size: clamp(24px, 5vw, 28px);
  }
  
  p {
    font-size: 16px;
  }
  
  .hero {
    min-height: 80vh;
    padding: 100px 1rem 60px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .metric-card {
    padding: 2rem 1.5rem;
  }
  
  .metric-value {
    font-size: clamp(36px, 10vw, 64px);
  }
  
  .comparison-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .comparison-values {
    width: 100%;
    justify-content: space-around;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .network-diagram {
    height: 300px;
  }
  
  .network-node {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .network-node.center {
    width: 90px;
    height: 90px;
    font-size: 36px;
  }
}

/* Touch targets for mobile */
@media (max-width: 767px) {
  a, button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================
   14. UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.hidden { display: none; }

/* ============================================
   15. ACCESSIBILITY
   ============================================ */

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

:focus-visible {
  outline: 2px solid #00D9FF;
  outline-offset: 4px;
}

/* ============================================
   16. PRINT STYLES
   ============================================ */

@media print {
  body {
    background: white;
    color: black;
  }
  
  nav,
  footer,
  .btn-primary,
  .btn-secondary {
    display: none;
  }
}
