/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - CINEMATIC DARK TECH
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;700;900&family=JetBrains+Mono:wght@300;400;500;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #020612;
  --bg-secondary: #060c1d;
  --bg-dark-accent: #0a1128;
  --bg-glass: rgba(4, 10, 24, 0.7);
  --bg-glass-hover: rgba(8, 18, 40, 0.85);
  
  --accent-cyan: #00f0ff;
  --accent-cyan-dim: #009cb5;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-cyan-glow-intense: rgba(0, 240, 255, 0.6);
  
  --accent-gold: #e2e8f0;
  --accent-gold-dim: #94a3b8;
  --accent-gold-glow: rgba(226, 232, 240, 0.25);
  --accent-gold-glow-intense: rgba(226, 232, 240, 0.5);

  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-highlight: rgba(255, 255, 255, 0.12);

  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #4b5563;
  --text-dark: #1f2937;

  /* Fonts */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', "SF Mono", "Fira Code", monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1400px;
}

/* ==========================================================================
   BASE RESET & RESET-OVERWRITES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(226, 232, 240, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(8, 22, 54, 0.95) 0%, rgba(2, 6, 18, 0.98) 100%);
  z-index: -2;
}

/* Cybernetic Grid Overlay */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.007) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
}

.cyber-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, var(--bg-primary) 85%);
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.text-link-gold {
  color: var(--accent-gold);
  font-weight: 600;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.text-link-gold:hover {
  color: #fff;
  border-bottom: 1px solid var(--accent-gold);
  text-shadow: 0 0 10px var(--accent-gold-glow-intense);
}

.text-link-cyan {
  color: var(--accent-cyan);
  font-weight: 600;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.text-link-cyan:hover {
  color: #fff;
  border-bottom: 1px solid var(--accent-cyan);
  text-shadow: 0 0 10px var(--accent-cyan-glow-intense);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan-dim);
}

/* ==========================================================================
   REUSABLE UTILITIES & EFFECTS
   ========================================================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: all var(--transition-smooth);
}

.glass-panel:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-highlight);
}

.glow-cyan-hover:hover {
  box-shadow: 0 0 30px var(--accent-cyan-glow);
  border-color: rgba(0, 240, 255, 0.4);
}

.glow-gold-hover:hover {
  box-shadow: 0 0 30px var(--accent-gold-glow);
  border-color: rgba(226, 232, 240, 0.4);
}

.text-gradient-cyan {
  color: var(--accent-cyan);
  background: none;
  -webkit-text-fill-color: initial;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-header-mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 100;
  transition: all var(--transition-smooth);
}

header.scrolled {
  height: 65px;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-weight: 300;
  color: var(--text-secondary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.lens-link:hover::after {
  background: var(--accent-gold);
}

.system-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-cyan 2s infinite;
}

@keyframes pulse-cyan {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px var(--accent-cyan-glow-intense); }
  50% { transform: scale(1.3); opacity: 0.5; box-shadow: 0 0 15px var(--accent-cyan); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px var(--accent-cyan-glow-intense); }
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  margin-top: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  font-weight: 200;
  color: var(--text-secondary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 800px;
}

.hero-subtitle span.cyan {
  color: var(--accent-cyan);
  font-weight: 500;
  text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.hero-subtitle span.gold {
  color: var(--accent-gold);
  font-weight: 500;
  text-shadow: 0 0 10px var(--accent-gold-glow);
}

.hero-description {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 3.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.btn-cyan {
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid var(--accent-cyan-dim);
  color: #fff;
  box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.1);
}

.btn-cyan:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 
    0 0 25px var(--accent-cyan-glow-intense),
    inset 0 0 0 rgba(0, 240, 255, 0);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-gold {
  background: rgba(226, 232, 240, 0.07);
  border: 1px solid var(--accent-gold-dim);
  color: #fff;
  box-shadow: inset 0 0 12px rgba(226, 232, 240, 0.1);
}

.btn-gold:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: 
    0 0 25px var(--accent-gold-glow-intense),
    inset 0 0 0 rgba(226, 232, 240, 0);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  cursor: pointer;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  margin-top: 0.5rem;
  animation: scroll-line 2s infinite alternate;
}

@keyframes scroll-line {
  0% { height: 20px; }
  100% { height: 50px; }
}

/* ==========================================================================
   THE SPLIT (THE LENS vs THE CODE)
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.split-panel {
  padding: 8% 10% 8% 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.panel-lens {
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  background: radial-gradient(circle at 0% 50%, rgba(226, 232, 240, 0.02) 0%, transparent 60%);
}

.panel-code {
  background: radial-gradient(circle at 100% 50%, rgba(0, 240, 255, 0.02) 0%, transparent 60%);
}

/* Panel Headers */
.panel-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.panel-lens .panel-icon-wrap {
  background: rgba(226, 232, 240, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.2);
  color: var(--accent-gold);
}

.panel-code .panel-icon-wrap {
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
}

.panel-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.panel-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list li svg {
  margin-top: 3px;
  flex-shrink: 0;
}

.panel-lens .feature-list li svg {
  color: var(--accent-gold);
}

.panel-code .feature-list li svg {
  color: var(--accent-cyan);
}

/* --- THE LENS VISUAL: MOCK VIDEO PLAYER --- */
.lens-player-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.lens-player-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.lens-player-mockup:hover img {
  transform: scale(1.05);
}

.lens-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  transition: background var(--transition-smooth);
}

.lens-player-mockup:hover .lens-player-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.player-live-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(226, 232, 240, 0.15);
  border: 1px solid var(--accent-gold-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.player-live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  animation: pulse-gold 1.5s infinite;
}

@keyframes pulse-gold {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.player-btn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(226, 232, 240, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.lens-player-mockup:hover .player-btn-center {
  background: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: 0 0 30px var(--accent-gold-glow-intense);
  transform: translate(-50%, -50%) scale(1.08);
}

.player-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.player-title-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.player-timeline {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.player-timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 65%;
  background: var(--accent-gold);
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.lens-player-mockup:hover .player-timeline-fill {
  width: 85%;
}

/* --- THE CODE VISUAL: INTERACTIVE CONSOLE --- */
.code-console-mockup {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #06070a;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.console-header {
  height: 40px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #252830;
}

.console-dots span.dot-red { background: #ef4444; }
.console-dots span.dot-yellow { background: #f59e0b; }
.console-dots span.dot-green { background: #10b981; }

.console-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.console-body {
  padding: 1.2rem;
  min-height: 220px;
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  scrollbar-width: thin;
}

.console-line {
  line-height: 1.5;
  white-space: pre-wrap;
}

.console-line.input {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.console-line.input::before {
  content: '>';
  color: var(--accent-cyan);
  font-weight: 700;
}

.console-line.success {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px var(--accent-cyan-glow);
}

.console-line.warning {
  color: var(--accent-gold);
}

.console-line.dim {
  color: var(--text-muted);
}

/* GIS Coordinates Widget */
.gis-widget {
  margin-top: 1rem;
  border-top: 1px solid var(--border-glass);
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: rgba(0, 240, 255, 0.01);
}

.gis-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gis-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.gis-val {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 0 5px var(--accent-cyan-glow);
}

/* ==========================================================================
   THE SYNERGY PANEL (NARRATIVE + INFRASTRUCTURE)
   ========================================================================== */
.synergy {
  padding: 10% 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.synergy::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.02) 0%, rgba(226, 232, 240, 0.02) 50%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.synergy-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 5rem;
  align-items: center;
}

.synergy-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.synergy-header h2 {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.synergy-header h2 span {
  font-weight: 300;
  color: var(--text-secondary);
}

.synergy-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

.synergy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.synergy-card {
  padding: 2.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}

.synergy-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 0 0 12px 12px;
}

.card-cyan::after {
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.card-gold::after {
  background: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold);
}

.synergy-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.synergy-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT PORTAL
   ========================================================================== */
.contact-section {
  padding: 10% 2rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-header {
  margin-bottom: 4rem;
}

.contact-header h2 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

/* System Console Styled Form */
.system-form {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
}

.form-header {
  height: 45px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.form-header::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.form-body {
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-label span.cyan { color: var(--accent-cyan); }
.form-label span.gold { color: var(--accent-gold); }

.form-input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  color: #fff;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.form-submit-wrap {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  min-height: 24px;
}

.form-status.processing {
  color: var(--accent-cyan);
}

.form-status.success {
  color: #10b981;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.form-status.error {
  color: #ef4444;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.copyright a {
  color: var(--text-secondary);
  border-bottom: 1px solid transparent;
}

.copyright a:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .panel-lens {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: radial-gradient(circle at 50% 0%, rgba(226, 232, 240, 0.02) 0%, transparent 60%);
  }

  .panel-code {
    background: radial-gradient(circle at 50% 100%, rgba(0, 240, 255, 0.02) 0%, transparent 60%);
  }

  .synergy-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none; /* Mobile menu logic can be added */
  }

  .system-status {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .form-body {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-submit-wrap {
    grid-column: span 1;
  }
}

/* ==========================================================================
   VIDEO EMBED MODAL
   ========================================================================== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.video-modal-container {
  position: relative;
  width: 90%;
  max-width: 960px;
  background: #000;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--accent-gold-glow);
  border: 1px solid rgba(226, 232, 240, 0.2);
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

.video-modal.active .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.video-modal-close:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow-intense);
}

.video-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 14px;
  overflow: hidden;
}

.video-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

