/* OmniFlag Editorial Black & White Design System
   Conforming to the SwasthyaVaani Luxury Editorial Standard (Screenshots 7-12),
   the AntiGravity Awwwards Blueprint, and AI Design Skills (Elaya Design).
   Strictly zero emojis. Premium typography, high contrast, and spacious layout.
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  /* Editorial Palette: Pure Black, Crisp White, & Nuanced Grays */
  --bg-dark: #000000;
  --bg-dark-surface: #09090B;
  --bg-dark-elevated: #121215;
  --bg-light: #FFFFFF;
  --bg-light-surface: #F4F4F5;
  --bg-light-elevated: #E4E4E7;
  
  --text-dark-primary: #FFFFFF;
  --text-dark-secondary: #A1A1AA;
  --text-dark-muted: #71717A;
  
  --text-light-primary: #09090B;
  --text-light-secondary: #52525B;
  --text-light-muted: #A1A1AA;
  
  --border-dark-subtle: rgba(255, 255, 255, 0.12);
  --border-dark-strong: rgba(255, 255, 255, 0.24);
  --border-light-subtle: rgba(0, 0, 0, 0.08);
  --border-light-strong: rgba(0, 0, 0, 0.18);
  
  /* Accent Telemetry Indicators */
  --accent-emerald: #10B981;
  --accent-crimson: #EF4444;
  --accent-cyan: #06B6D4;
  --accent-purple: #8B5CF6;
  
  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'Space Mono', monospace;
  
  /* Spacing Tokens */
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;
  
  /* Nested Radius */
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-inner: 12px;
  --radius-sm: 8px;
  
  /* Motion */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-base: 400ms;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p, span, li {
  text-wrap: pretty;
  hyphens: none;
}

/* =========================================================================
   TOP NAVIGATION BAR (OmniFlag High-Tech Cyber-Glass Navigation)
   ========================================================================= */
.top-nav-wrapper {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: calc(100% - 32px);
  max-width: 1360px;
  pointer-events: none;
}

.top-nav {
  pointer-events: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.8);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.brand-section {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #18181B;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.brand-logo-badge svg,
.brand-logo-badge .lucide-icon {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
}

.brand-text h1 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.brand-text span {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 10px;
  font-weight: 500;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  display: block;
}

.nav-view-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  padding: 4px;
  gap: 2px;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  color: #9CA3AF;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  text-decoration: none;
  white-space: nowrap;
}

.nav-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-tab.active {
  background: #FFFFFF !important;
  color: #000000 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  font-weight: 600 !important;
}

.nav-tab.active .lucide-icon,
.nav-tab.active svg {
  color: #000000 !important;
  stroke: #000000 !important;
}

.nav-tab .lucide-icon,
.nav-tab svg {
  width: 14px;
  height: 14px;
  color: inherit;
}

.nav-status-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  border-radius: 9999px;
  padding: 7px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #F4F4F5;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 7px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.lucide-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 960px) {
  .top-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }
  
  .nav-view-switcher {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }
  .nav-view-switcher::-webkit-scrollbar {
    display: none;
  }
  
  .nav-status-cluster {
    justify-content: flex-end;
  }
}

.btn-pill-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-editorial);
}

.btn-pill-white:hover {
  background: #F4F4F5;
  color: #000000;
  transform: translateY(-1px);
}

.btn-pill-secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid var(--border-dark-subtle);
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-editorial);
}

.btn-pill-secondary-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-dark-strong);
  color: #FFFFFF;
}

.btn-pill-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-editorial);
}

.btn-pill-secondary-light:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Section Themes */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-dark-primary);
  padding: var(--space-96) 24px;
  position: relative;
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-light-primary);
  padding: var(--space-96) 24px;
  position: relative;
}

.editorial-container {
  max-width: 1140px;
  margin: 0 auto;
}

.editorial-container-narrow {
  max-width: 860px;
  margin: 0 auto;
}

/* Category Overline Labels */
.category-label-dark {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 20px;
}

.category-label-light {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  margin-bottom: 20px;
}

/* Hero Section */
.hero-editorial {
  padding-top: 140px;
  padding-bottom: 72px;
  text-align: center;
}

.hero-editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FFFFFF;
  margin-bottom: 28px;
}

.pulse-dot-white {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px #FFFFFF;
  animation: pulseDot 2s infinite;
}

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

.hero-editorial-title {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #FFFFFF;
  max-width: 920px;
  margin: 0 auto 24px auto;
}

.hero-editorial-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px auto;
}

.hero-cta-cluster {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* 3-Column Micro-Metadata Row */
.hero-metadata-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.hero-metadata-item .meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 6px;
}

.hero-metadata-item .meta-value {
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
}

/* 3D Kinetic Device Model Card */
.device-model-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark-subtle);
  border-radius: var(--radius-card);
  padding: 16px 20px 24px 20px;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.75);
}

.device-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark-subtle);
  margin-bottom: 16px;
}

.device-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.device-dots {
  display: flex;
  gap: 5px;
}

.device-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.device-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dark-secondary);
  letter-spacing: 0.05em;
}

.device-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dark-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device-canvas-box {
  width: 100%;
  height: 280px;
  position: relative;
  cursor: grab;
}

.device-canvas-box:active {
  cursor: grabbing;
}

/* The Reality Section */
.reality-header-block {
  margin-bottom: 48px;
}

.reality-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #000000;
  max-width: 780px;
  margin-bottom: 28px;
}

.reality-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  color: var(--text-light-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.reality-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light-subtle);
}

.reality-metric-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 6px;
}

.reality-metric-item p {
  font-size: 13px;
  color: var(--text-light-secondary);
  line-height: 1.5;
}

/* =========================================================================
   SWASTHYAVAANI LUXURY EDITORIAL TRACKS & IMPACT MODEL (Screenshots 3 & 4)
   ========================================================================= */

/* SwasthyaVaani 2-Column Section Header */
.swasthya-header-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.swasthya-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-top: 8px;
}

.swasthya-section-desc {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  color: var(--text-dark-secondary);
  line-height: 1.7;
}

/* SwasthyaVaani Clean Divided Rows List (Screenshot 3) */
.swasthya-rows-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 16px;
}

.swasthya-row {
  display: grid;
  grid-template-columns: 320px 1fr 240px;
  align-items: center;
  gap: 32px;
  padding: 34px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease-editorial);
  cursor: pointer;
}

.swasthya-row:hover {
  background: rgba(255, 255, 255, 0.025);
  padding-left: 20px;
  padding-right: 12px;
}

.swasthya-row-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 6px;
  display: block;
}

.swasthya-row-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.swasthya-col-desc {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

.swasthya-col-graphic {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.prize-pill-clean {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.swasthya-arrow {
  font-size: 18px;
  color: var(--text-dark-muted);
  transition: transform 0.2s, color 0.2s;
}

.swasthya-row:hover .swasthya-arrow {
  transform: translateX(5px);
  color: #FFFFFF;
}

/* Vector Graphics for Screenshot 3 Rows */
.swasthya-audio-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.swasthya-audio-wave span {
  width: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  animation: swasthyaWave 1.4s ease-in-out infinite alternate;
}

.swasthya-audio-wave span:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.swasthya-audio-wave span:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.swasthya-audio-wave span:nth-child(3) { height: 22px; animation-delay: 0.5s; }
.swasthya-audio-wave span:nth-child(4) { height: 12px; animation-delay: 0.2s; }
.swasthya-audio-wave span:nth-child(5) { height: 6px; animation-delay: 0.4s; }

@keyframes swasthyaWave {
  0% { transform: scaleY(0.4); opacity: 0.5; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

.swasthya-reticle-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swasthya-reticle-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
}

.swasthya-lines-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
}

.swasthya-lines-icon span {
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}

.swasthya-lines-icon span:nth-child(1) { width: 24px; }
.swasthya-lines-icon span:nth-child(2) { width: 16px; }
.swasthya-lines-icon span:nth-child(3) { width: 20px; }

.swasthya-code-icon {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* SwasthyaVaani 2-Column Impact Model (Screenshot 4) */
.swasthya-impact-section {
  background: #FFFFFF;
  color: #000000;
  padding: 110px 0;
}

.swasthya-impact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: start;
}

.swasthya-model-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 16px;
  display: block;
}

.swasthya-model-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #000000;
  margin-bottom: 22px;
}

.swasthya-model-desc {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.swasthya-slider-block {
  max-width: 480px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 22px 24px;
}

.swasthya-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.swasthya-slider-label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

.swasthya-slider-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}

.swasthya-slider {
  width: 100%;
  height: 6px;
  background: #E5E7EB;
  border-radius: 9999px;
  outline: none;
  -webkit-appearance: none;
  margin: 10px 0;
  cursor: pointer;
}

.swasthya-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.15s;
}

.swasthya-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.swasthya-slider-hint {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 6px;
  display: block;
}

.swasthya-stats-stack {
  display: flex;
  flex-direction: column;
}

.swasthya-stat-box {
  padding: 28px 0;
  border-bottom: 1px solid #E5E7EB;
}

.swasthya-stat-box:first-child {
  padding-top: 0;
}

.swasthya-huge-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(42px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #000000;
  line-height: 1;
}

.swasthya-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  margin-top: 8px;
}

/* Call to Action */
.cta-editorial-section {
  text-align: center;
  padding: 120px 24px;
}

.cta-editorial-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-editorial-sub {
  font-size: 17px;
  color: var(--text-dark-secondary);
  max-width: 540px;
  margin: 0 auto 36px auto;
}

/* Footer */
.editorial-footer {
  background: #000000;
  border-top: 1px solid var(--border-dark-subtle);
  padding: 64px 24px 40px 24px;
  color: var(--text-dark-secondary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col h4 {
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand-col p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark-muted);
  margin-bottom: 16px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 13px;
  color: var(--text-dark-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: #FFFFFF;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: var(--text-dark-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-founders {
  display: flex;
  gap: 16px;
}

.footer-founders span strong {
  color: #FFFFFF;
}

/* Studio Pages Layouts */
.studio-page-header {
  padding-top: 130px;
  padding-bottom: 48px;
  text-align: center;
}

.studio-page-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.studio-page-sub {
  font-size: 16px;
  color: var(--text-dark-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.studio-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-bottom: 56px;
}

.studio-card-dark {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
}

.studio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.studio-card-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
}

/* Lively Graph Canvas Containers */
.lively-chart-box {
  width: 100%;
  min-height: 260px;
  position: relative;
  border-radius: var(--radius-inner);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  overflow: hidden;
}

/* 3D Motion Canvas Box */
.motion-3d-box {
  width: 100%;
  height: 320px;
  position: relative;
  border-radius: var(--radius-inner);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: grab;
}

.motion-3d-box:active {
  cursor: grabbing;
}

.motion-hud {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* Responsive Rules */
@media (max-width: 960px) {
  .editorial-nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }
  
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 6px;
  }
  
  .hero-metadata-grid,
  .reality-columns,
  .reality-metrics-row,
  .deployment-grid,
  .studio-content-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .track-row-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =========================================================================
   MAXIMIZED FULLSCREEN IMMERSIVE MODE (Persistent Across Page Navigations)
   ========================================================================= */
html.is-maximized body,
body.is-maximized,
:fullscreen body,
:-webkit-full-screen body {
  width: 100vw;
  min-height: 100vh;
}

html.is-maximized .editorial-container,
body.is-maximized .editorial-container,
:fullscreen .editorial-container,
:-webkit-full-screen .editorial-container {
  max-width: min(94vw, 1680px) !important;
  transition: max-width 0.3s ease;
}

html.is-maximized .top-nav-wrapper,
body.is-maximized .top-nav-wrapper,
:fullscreen .top-nav-wrapper,
:-webkit-full-screen .top-nav-wrapper {
  max-width: min(94vw, 1680px) !important;
}

html.is-maximized .device-model-card,
body.is-maximized .device-model-card,
:fullscreen .device-model-card,
:-webkit-full-screen .device-model-card {
  max-width: 100% !important;
}

html.is-maximized .device-canvas-box,
body.is-maximized .device-canvas-box,
:fullscreen .device-canvas-box,
:-webkit-full-screen .device-canvas-box {
  height: 420px !important;
}

html.is-maximized .motion-3d-box,
body.is-maximized .motion-3d-box,
:fullscreen .motion-3d-box,
:-webkit-full-screen .motion-3d-box {
  height: 460px !important;
}

