/* ═══════════════════════════════════════════════════════════════════════════
   ImpressionCore Genesis Web Platform — Master Cyber-Noir Design System
   Design DNA: Noir Sophistication + DC Heroism + Mickey Warmth + Glassmorphism
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@400;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Surface Foundations */
  --bg-deep-space: #04060a;
  --bg-noir-black: #080c14;
  --bg-noir-charcoal: #0e1420;
  --bg-noir-surface: #141c2b;
  --bg-glass-card: rgba(14, 22, 36, 0.75);
  --bg-glass-card-hover: rgba(22, 34, 54, 0.90);
  --bg-glass-inset: rgba(6, 10, 18, 0.65);
  
  /* Glass Borders & Accents */
  --border-glass: rgba(0, 240, 255, 0.16);
  --border-glass-bright: rgba(0, 240, 255, 0.55);
  --border-glass-gold: rgba(255, 215, 0, 0.40);
  --border-glass-subtle: rgba(255, 255, 255, 0.08);

  /* Brand Chromatic Tokens */
  --accent-cyan: #00f0ff;
  --accent-cyan-dim: #0891b2;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-hero-blue: #1e3a8a;
  --accent-noble-indigo: #4338ca;
  --accent-gold: #ffd700;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-ruby: #ef4444;
  --accent-purple: #8b5cf6;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-cyan: #38bdf8;
  --text-gold: #fbbf24;

  /* Fonts */
  --font-display: 'Outfit', 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Shadows & Atmospheric Lighting */
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.48);
  --shadow-glass-lg: 0 16px 48px 0 rgba(0, 0, 0, 0.65);
  --shadow-neon-cyan: 0 0 24px rgba(0, 240, 255, 0.28);
  --shadow-neon-gold: 0 0 24px rgba(255, 215, 0, 0.25);
  --shadow-neon-emerald: 0 0 20px rgba(16, 185, 129, 0.25);
  
  /* Filters */
  --blur-glass: blur(16px);
  --blur-glass-heavy: blur(24px);

  /* Layout Consts */
  --container-max: 1380px;
  --header-height: 80px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Reset & Global Baseline
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-deep-space);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-deep-space);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(30, 58, 138, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Cyber Grid Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Typography System
   ═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 12px var(--accent-cyan);
}

code, pre {
  font-family: var(--font-mono);
}

.ic-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ic-gold-text {
  background: linear-gradient(135deg, #fff7cc 0%, var(--accent-gold) 60%, var(--accent-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Global Layout Containers
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.ic-section {
  padding: 6.5rem 0;
  position: relative;
}

.ic-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem auto;
}

.ic-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.12);
}

.ic-section-tag.gold {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--border-glass-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.12);
}

.ic-section-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   World-Class Floating Navigation Header & Mega-Menu System
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(4, 6, 12, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 1000;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ic-header.scrolled {
  height: 66px;
  background: rgba(3, 5, 10, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 0 1px rgba(0, 240, 255, 0.2);
  border-bottom-color: rgba(0, 240, 255, 0.22);
}

/* Subtle Glowing Rim Highlight along top border */
.ic-header-glow-rim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.45) 30%, rgba(59, 130, 246, 0.55) 70%, transparent 100%);
  pointer-events: none;
}

.ic-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* ── Brand Logo & Version Hub ── */
.ic-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
}

.ic-logo-prism {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ic-prism-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.45));
}

.ic-brand-logo:hover .ic-logo-prism {
  transform: scale(1.08) rotate(4deg);
}

.ic-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ic-brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.ic-brand-title span {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ic-brand-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #38bdf8;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  width: fit-content;
}

/* ── Central Floating Navigation Island ── */
.ic-nav-island {
  display: flex;
  align-items: center;
  background: rgba(10, 16, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.3rem 0.45rem;
  position: relative;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Magnetic Sliding Pill Highlight */
.ic-nav-slider {
  position: absolute;
  top: 0.3rem;
  left: 0;
  height: calc(100% - 0.6rem);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.ic-nav-item {
  position: relative;
}

/* Invisible Hover Bridge to prevent dropdown collapse */
.ic-nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 20px;
  pointer-events: auto;
}

.ic-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.ic-nav-link:hover, 
.ic-nav-link.active,
.ic-nav-item:hover .ic-nav-link,
.ic-nav-item.open .ic-nav-link {
  color: #ffffff;
}

.ic-chevron {
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s;
}

.ic-nav-item:hover .ic-chevron,
.ic-nav-item.open .ic-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

/* ── Mega-Menu Flyout Dropdowns ── */
.ic-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 390px;
  background: rgba(8, 12, 22, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass-bright);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 240, 255, 0.15);
  padding: 1rem;
  z-index: 1010;
}

.ic-nav-item:hover .ic-dropdown-menu,
.ic-nav-item:focus-within .ic-dropdown-menu,
.ic-nav-item.open .ic-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ic-dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ic-menu-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.ic-menu-card:hover {
  background: rgba(0, 240, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.22);
  transform: translateX(4px);
}

.ic-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ic-card-icon.cyan {
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.ic-card-icon.indigo {
  background: rgba(67, 56, 202, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.ic-card-icon.gold {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.ic-card-icon.emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ic-card-text {
  flex: 1;
}

.ic-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.ic-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ic-tag-pill.gold {
  background: rgba(255, 215, 0, 0.15);
  color: var(--accent-gold);
}

.ic-tag-pill.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.ic-tag-pill.indigo {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.ic-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ic-dropdown-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ic-footer-link {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
}

.ic-footer-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--accent-cyan);
}

/* ── Header Actions Matrix ── */
.ic-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Hardware Telemetry Capsule & Diagnostic Popover */
.ic-telemetry-hud-wrap {
  position: relative;
}

.ic-telemetry-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 10, 18, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a7f3d0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ic-telemetry-capsule:hover,
.ic-telemetry-hud-wrap.open .ic-telemetry-capsule {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
  background: rgba(10, 20, 32, 0.95);
  color: #ffffff;
}

.ic-pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

.ic-telemetry-label {
  font-weight: 600;
  color: #ffffff;
}

.ic-telemetry-val {
  color: #34d399;
}

.ic-telemetry-sub {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.ic-telemetry-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  background: rgba(8, 12, 22, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.85), 0 0 24px rgba(16, 185, 129, 0.18);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1015;
}

.ic-telemetry-hud-wrap:hover .ic-telemetry-popover,
.ic-telemetry-hud-wrap.open .ic-telemetry-popover {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.ic-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ic-hud-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.ic-hud-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ic-hud-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ic-hud-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.text-emerald { color: #34d399; }
.text-cyan { color: var(--accent-cyan); }
.text-gold { color: var(--accent-gold); }

.ic-hud-meter {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.2rem 0 0.45rem 0;
}

.ic-hud-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #00f0ff 100%);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.ic-hud-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.ic-hud-footer a {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: none;
}

/* ── Global Search Shortcut Pill ── */
.ic-search-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 22, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ic-search-shortcut:hover {
  border-color: var(--accent-cyan);
  color: #ffffff;
  background: rgba(20, 32, 52, 0.9);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.18);
}

.ic-kbd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

/* ── Shimmering Studio CTA Button ── */
.ic-btn-studio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
  border: 1px solid rgba(0, 240, 255, 0.55);
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.25);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.ic-btn-studio::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.ic-btn-studio:hover::before {
  left: 100%;
}

.ic-btn-studio:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  border-color: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.ic-btn-arrow {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ic-btn-studio:hover .ic-btn-arrow {
  transform: translate(2px, -2px);
}

/* ── Mobile Hamburger & Morph ── */
.ic-mobile-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 3px;
  z-index: 1020;
  flex-shrink: 0;
}

.ic-ham-bar {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ic-mobile-hamburger.open .ic-ham-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--accent-cyan);
}

.ic-mobile-hamburger.open .ic-ham-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.ic-mobile-hamburger.open .ic-ham-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--accent-cyan);
}

/* ── Fullscreen Mobile Cyber Drawer ── */
.ic-mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(4, 7, 14, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  padding: 2rem 1.5rem 4rem 1.5rem;
}

.ic-mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ic-drawer-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ic-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ic-drawer-heading {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}

.ic-drawer-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(14, 22, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ic-drawer-link:hover,
.ic-drawer-link.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.ic-drawer-actions {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Button System
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.ic-btn-primary {
  background: linear-gradient(135deg, var(--accent-hero-blue) 0%, #172554 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.22);
}

.ic-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, var(--accent-hero-blue) 100%);
  border-color: #ffffff;
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.ic-btn-secondary {
  background: var(--bg-glass-card);
  border-color: var(--border-glass);
  color: var(--text-primary);
  backdrop-filter: var(--blur-glass);
}

.ic-btn-secondary:hover {
  background: var(--bg-glass-card-hover);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: var(--shadow-neon-cyan);
  transform: translateY(-2px);
}

.ic-btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-amber) 100%);
  color: #0b0f19;
  box-shadow: var(--shadow-neon-gold);
}

.ic-btn-gold:hover {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 28px rgba(255, 215, 0, 0.50);
  transform: translateY(-2px);
}

.ic-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Glassmorphism Cards & Bento Grids
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-card {
  background: var(--bg-glass-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow-glass);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

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

.ic-card:hover {
  background: var(--bg-glass-card-hover);
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-glass-lg), var(--shadow-neon-cyan);
  transform: translateY(-4px);
}

.ic-card-gold {
  border-color: var(--border-glass-gold);
}

.ic-card-gold::before {
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.ic-card-gold:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glass-lg), var(--shadow-neon-gold);
}

/* Grid Layouts */
.ic-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.ic-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ic-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   High-Fidelity Illustration Figure Containers
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-figure-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-noir-surface);
  box-shadow: var(--shadow-glass);
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ic-figure-frame:hover {
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-neon-cyan), var(--shadow-glass-lg);
  transform: translateY(-3px);
}

.ic-figure-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ic-figure-frame:hover img {
  transform: scale(1.02);
}

.ic-figure-caption {
  padding: 0.9rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-cyan);
  background: rgba(8, 12, 20, 0.92);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ic-figure-tag {
  background: rgba(0, 240, 255, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Interactive Hero Elements
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.ic-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.ic-hero-content {
  position: relative;
  z-index: 2;
}

.ic-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.25);
  border: 1px solid var(--border-glass-bright);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-neon-cyan);
}

.ic-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.25rem 0;
  flex-wrap: wrap;
}

.ic-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass-subtle);
  margin-top: 2.5rem;
}

.ic-stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.ic-stat-item h4 span {
  color: var(--accent-cyan);
}

.ic-stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   3D Canvas & Neural Orrery Container
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-orrery-canvas-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  background: radial-gradient(circle at center, rgba(14, 22, 36, 0.9) 0%, rgba(4, 6, 10, 0.98) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-neon-cyan), var(--shadow-glass-lg);
}

.ic-orrery-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ic-orrery-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  pointer-events: none;
}

.ic-orrery-overlay span {
  color: var(--accent-cyan);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Data Tables & Matrix Styling
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass-card);
  margin: 2rem 0;
}

.ic-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.ic-table th {
  background: rgba(14, 20, 32, 0.95);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 1.15rem 1.4rem;
  border-bottom: 2px solid var(--border-glass);
  white-space: nowrap;
}

.ic-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border-glass-subtle);
  color: var(--text-secondary);
}

.ic-table tr:hover td {
  background: rgba(0, 240, 255, 0.04);
  color: #ffffff;
}

.ic-table td strong {
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Global Footer
   ═══════════════════════════════════════════════════════════════════════════ */

.ic-footer {
  background: var(--bg-noir-black);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

.ic-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.ic-footer-brand p {
  margin-top: 1rem;
  max-width: 380px;
  font-size: 0.95rem;
}

.ic-footer-col h5 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

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

.ic-footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 0.2s;
}

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

.ic-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive Breakpoints
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1140px) {
  .ic-nav-island {
    display: none;
  }
  .ic-mobile-hamburger {
    display: flex;
  }
  .ic-search-shortcut {
    display: none;
  }
}

@media (max-width: 1080px) {
  .ic-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ic-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ic-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ic-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ic-btn-studio {
    display: none;
  }
  .ic-grid-2, .ic-grid-3, .ic-grid-4 {
    grid-template-columns: 1fr;
  }
  .ic-footer-grid {
    grid-template-columns: 1fr;
  }
  .ic-hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .ic-brand-badge {
    display: none;
  }
  .ic-telemetry-capsule {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  .ic-telemetry-val {
    display: none;
  }
  .ic-container {
    padding: 0 1rem;
  }
}

@media (max-width: 380px) {
  .ic-brand-title {
    font-size: 1.12rem;
  }
  .ic-telemetry-label {
    display: none;
  }
}
