/* ================================================
   SECTION 1: PRELOADER STYLES
   ================================================ */
/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --black: #050505;
  --black-rich: #0a0a0a;
  --black-panel: #0c0c0e;
  --white: #f0ece4;
  --white-bright: #f0ece4;
  --white-pure: #ffffff;
  --red-brand: #ff0000;
  --red-deep: #cc0000;
  --red-glow: rgba(255, 0, 0, 0.4);
  --gray-dark: #1a1a1a;
  --gray-mid: #2a2a2a;
  --gray-muted: #444;
  --gray-light: #888;
  --gray-text: #666;
  --line-color: rgba(232, 228, 220, 0.12);
  --line-hover: rgba(232, 228, 220, 0.3);
  --line-active: rgba(255, 0, 0, 0.5);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Syne', 'Helvetica Neue', sans-serif;
  --font-ui: 'Rajdhani', 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.loaded, html.loaded body {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-heading);
}
a { text-decoration: none; color: inherit; }

/* ============================================
   PRELOADER — FULLSCREEN OVERLAY
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  will-change: transform, opacity;
  overflow: hidden;
}

/* Noise texture overlay */
#preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Subtle radial vignette */
#preloader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   CORNER MARKERS — PREMIUM FRAME DETAIL
   ============================================ */
.corner-mark {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 5;
  opacity: 0;
}
.corner-mark::before,
.corner-mark::after {
  content: '';
  position: absolute;
  background: rgba(240, 236, 228, 0.15);
}
.corner-mark.tl { top: 40px; left: 40px; }
.corner-mark.tr { top: 40px; right: 40px; }
.corner-mark.bl { bottom: 40px; left: 40px; }
.corner-mark.br { bottom: 40px; right: 40px; }

.corner-mark.tl::before, .corner-mark.br::before { width: 1px; height: 100%; top: 0; left: 0; }
.corner-mark.tl::after,  .corner-mark.br::after  { width: 100%; height: 1px; top: 0; left: 0; }
.corner-mark.tr::before, .corner-mark.bl::before { width: 1px; height: 100%; top: 0; right: 0; }
.corner-mark.tr::after,  .corner-mark.bl::after  { width: 100%; height: 1px; bottom: 0; left: 0; }
.corner-mark.br::before { bottom: 0; top: auto; right: 0; left: auto; }
.corner-mark.br::after  { bottom: 0; top: auto; }

/* ============================================
   PRELOADER CONTENT WRAPPER
   ============================================ */
.preloader-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

/* ============================================
   LOGO CONTAINER
   ============================================ */
.logo-container {
  width: 100px;
  height: 100px;
  margin-bottom: 40px;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.logo-container svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   BRAND NAME — PRIMARY TEXT
   ============================================ */
.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  overflow: hidden;
  will-change: transform, opacity;
  white-space: nowrap;
  visibility: hidden;
}
.brand-name .char {
  display: inline-block;
  will-change: transform, opacity, filter;
}

/* ============================================
   TAGLINE — SECONDARY TEXT
   ============================================ */
.tagline {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 19px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  margin-top: 20px;
  opacity: 0;
  will-change: transform, opacity;
  white-space: nowrap;
  text-align: center;
}

/* ============================================
   DIVIDER LINE
   ============================================ */
.divider-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-brand), transparent);
  margin: 28px 0 8px;
  will-change: width;
}

/* ============================================
   LOADING BAR (BOTTOM)
   ============================================ */
.loading-bar-wrap {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
}
.loading-bar-track {
  width: 100%;
  height: 1px;
  background: var(--gray-mid);
  overflow: hidden;
  border-radius: 1px;
}
.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--red-brand);
  border-radius: 1px;
  will-change: width;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
}
.loading-percent {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gray-muted);
}

/* ============================================
   RED ACCENT GLOW — AMBIENT LIGHT
   ============================================ */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.04) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  will-change: opacity, transform;
}

/* ============================================
   MAIN CONTENT (BEHIND PRELOADER)
   ============================================ */
#main-content {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}
.main-placeholder {
  text-align: center;
}
.main-placeholder h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.main-placeholder p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gray-muted);
  text-transform: uppercase;
}

/* ============================================
   RESPONSIVE — ALL DEVICE SIZES
   ============================================ */

/* Large Desktop (1440px+) */
@media (min-width: 1441px) {
  .brand-name { font-size: 88px; }
  .logo-container { width: 110px; height: 110px; margin-bottom: 44px; }
}

/* Standard Desktop (1024px - 1440px) — default styles apply */

/* Small Laptop / Tablet Landscape (768px - 1024px) */
@media (max-width: 1024px) {
  .logo-container { width: 88px; height: 88px; margin-bottom: 36px; }
  .brand-name { font-size: 5.5vw; }
  .tagline { font-size: clamp(13px, 1.8vw, 18px); }
  .loading-bar-wrap { width: 180px; }
}

/* Tablet Portrait (600px - 768px) */
@media (max-width: 768px) {
  .corner-mark { width: 24px; height: 24px; }
  .corner-mark.tl { top: 24px; left: 24px; }
  .corner-mark.tr { top: 24px; right: 24px; }
  .corner-mark.bl { bottom: 24px; left: 24px; }
  .corner-mark.br { bottom: 24px; right: 24px; }
  .logo-container { width: 68px; height: 68px; margin-bottom: 24px; }
  .brand-name { font-size: 6.5vw; letter-spacing: -0.02em; }
  .divider-line { margin: 20px 0 6px; }
  .tagline {
    font-size: clamp(11px, 2.2vw, 16px);
    white-space: normal;
    max-width: 90vw;
    text-align: center;
    line-height: 1.5;
  }
  .loading-bar-wrap { width: 150px; bottom: 36px; }
}

/* Mobile Landscape / Large Phone (480px - 600px) */
@media (max-width: 600px) {
  .logo-container { width: 56px; height: 56px; margin-bottom: 20px; }
  .brand-name { font-size: 6.8vw; }
  .tagline { font-size: clamp(10px, 2.8vw, 14px); padding: 0 20px; }
  .loading-bar-wrap { width: 130px; bottom: 32px; }
  .corner-mark { display: none; }
}

/* Small Phone (below 480px) */
@media (max-width: 480px) {
  .logo-container { width: 48px; height: 48px; margin-bottom: 16px; }
  .brand-name { font-size: 7vw; letter-spacing: -0.01em; }
  .divider-line { margin: 14px 0 4px; }
  .tagline {
    font-size: 11px;
    letter-spacing: 0.02em;
    padding: 0 16px;
    line-height: 1.5;
  }
  .loading-bar-wrap { width: 120px; bottom: 28px; }
  .loading-percent { font-size: 9px; letter-spacing: 3px; }
}

/* Very Small Phone (below 360px) */
@media (max-width: 360px) {
  .logo-container { width: 40px; height: 40px; margin-bottom: 14px; }
  .brand-name { font-size: 7vw; letter-spacing: -0.01em; }
  .tagline { font-size: 10px; padding: 0 12px; }
  .loading-bar-wrap { width: 100px; bottom: 24px; }
}

/* Landscape phones — reduce vertical spacing */
@media (max-height: 500px) {
  .logo-container { width: 44px; height: 44px; margin-bottom: 12px; }
  .brand-name { font-size: 5vw; }
  .divider-line { margin: 10px 0 4px; }
  .tagline { font-size: 11px; }
  .loading-bar-wrap { bottom: 16px; }
  .corner-mark { display: none; }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  .loading-bar-wrap { bottom: 40px; }
}

/* ================================================
   SECTION 2: HEADER STYLES (exact copy)
   ================================================ */
/* ============================================
   CSS VARIABLES
   ============================================ */
/* Header-specific variables (merged — no duplicate :root) */
/* --black-panel, --white-bright, --red-glow, --line-* are header additions */
/* --font-ui is header nav font */

/* ============================================
   HEADER CONTAINER
   ============================================ */
.sci-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  opacity: 0;
  will-change: opacity;
}
.sci-header-inner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================
   BACKGROUND PANEL
   ============================================ */
.header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,0.95) 0%, rgba(8,8,10,0.8) 100%);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid rgba(232, 228, 220, 0.06);
  z-index: 0;
}
.header-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,0,0,0.2) 20%, rgba(255,0,0,0.35) 50%, rgba(255,0,0,0.2) 80%, transparent 95%);
}
.header-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,0,0,0.12) 20%, rgba(255,0,0,0.2) 50%, rgba(255,0,0,0.12) 80%, transparent 95%);
}

/* ============================================
   SVG LINE SYSTEM — THE TECH INTERFACE
   ============================================ */
.header-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.header-line-main {
  stroke: var(--line-color);
  stroke-width: 0.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-line-glow {
  stroke: var(--red-brand);
  stroke-width: 0.6;
  fill: none;
  stroke-linecap: round;
  opacity: 0;
  filter: drop-shadow(0 0 3px var(--red-glow));
}
.header-node {
  fill: var(--line-color);
}
.header-node-glow {
  fill: var(--red-brand);
  opacity: 0;
  filter: drop-shadow(0 0 4px var(--red-glow));
}
.header-line-accent {
  stroke: var(--red-brand);
  stroke-width: 2;
  fill: none;
  opacity: 0;
  filter: drop-shadow(0 0 2px var(--red-glow));
}

/* ============================================
   LOGO
   ============================================ */
.header-logo {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  will-change: transform, opacity;
}
.header-logo svg {
  width: 36px;
  height: 36px;
}
.header-logo-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-logo-name span {
  color: var(--red-brand);
}

/* ============================================
   CENTER NAV ITEMS
   ============================================ */
.header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}
.nav-item {
  position: relative;
  padding: 0 36px;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.nav-item-text {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-text);
  transition: color 0.4s ease, text-shadow 0.4s ease;
  white-space: nowrap;
}

/* Active underline bar */
.nav-item-bar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--red-brand);
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 6px var(--red-glow);
}

/* Hover effects */
.nav-item:hover .nav-item-text {
  color: var(--white-bright);
  text-shadow: 0 0 20px rgba(232, 228, 220, 0.15);
}
.nav-item:hover .nav-item-bar {
  opacity: 1;
  width: 24px;
}
.nav-item.active .nav-item-text {
  color: var(--white-bright);
}
.nav-item.active .nav-item-bar {
  opacity: 1;
  width: 28px;
}

/* Bracket decorators on hover */
.nav-item::before,
.nav-item::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 16px;
  color: rgba(255, 0, 0, 0);
  transition: color 0.4s ease;
  pointer-events: none;
}
.nav-item::before {
  content: '[';
  left: 10px;
}
.nav-item::after {
  content: ']';
  right: 10px;
}
.nav-item:hover::before,
.nav-item:hover::after {
  color: rgba(255, 0, 0, 0.3);
}

/* ============================================
   CTA BUTTON
   ============================================ */
.header-cta {
  position: relative;
  z-index: 5;
  opacity: 0;
  will-change: transform, opacity;
}
.cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  background: transparent;
  border: 1px solid var(--line-color);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.4s ease;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 0, 0, 0.06);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta-btn:hover::before {
  transform: scaleX(1);
}
.cta-btn:hover {
  border-color: var(--red-brand);
  color: var(--white-bright);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.1), inset 0 0 20px rgba(255, 0, 0, 0.03);
}
.cta-btn-text {
  position: relative;
  z-index: 2;
}
/* Corner accent on button */
.cta-corner {
  position: absolute;
  width: 6px;
  height: 6px;
}
.cta-corner::before,
.cta-corner::after {
  content: '';
  position: absolute;
  background: var(--red-brand);
  transition: opacity 0.4s ease;
  opacity: 0.3;
}
.cta-corner.tr { top: -1px; right: -1px; }
.cta-corner.tr::before { width: 6px; height: 1px; top: 0; right: 0; }
.cta-corner.tr::after  { width: 1px; height: 6px; top: 0; right: 0; }
.cta-corner.bl { bottom: -1px; left: -1px; }
.cta-corner.bl::before { width: 6px; height: 1px; bottom: 0; left: 0; }
.cta-corner.bl::after  { width: 1px; height: 6px; bottom: 0; left: 0; }
.cta-btn:hover .cta-corner::before,
.cta-btn:hover .cta-corner::after {
  opacity: 1;
}

/* ============================================
   MOBILE HAMBURGER — SCI-FI BRACKET STYLE
   ============================================ */
.mobile-toggle {
  display: none;
  position: relative;
  z-index: 10005;
  width: 52px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-toggle-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Left bracket */
.mobile-toggle-bracket {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 24px;
  transform: translateY(-50%);
}
.mobile-toggle-bracket.left {
  left: 0;
  border-left: 1.5px solid rgba(240, 236, 228, 0.25);
  border-top: 1.5px solid rgba(240, 236, 228, 0.25);
  border-bottom: 1.5px solid rgba(240, 236, 228, 0.25);
  transition: border-color 0.3s ease;
}
.mobile-toggle-bracket.right {
  right: 0;
  border-right: 1.5px solid rgba(240, 236, 228, 0.25);
  border-top: 1.5px solid rgba(240, 236, 228, 0.25);
  border-bottom: 1.5px solid rgba(240, 236, 228, 0.25);
  transition: border-color 0.3s ease;
}
.mobile-toggle:active .mobile-toggle-bracket {
  border-color: var(--red-brand);
}
/* Center lines */
.mobile-toggle-lines {
  width: 20px;
  height: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
.mobile-toggle-line {
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transform-origin: center;
  will-change: transform, opacity;
}
.mobile-toggle-line:nth-child(2) {
  width: 12px;
  margin-left: auto;
}
/* Red node dot */
.mobile-toggle-node {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-brand);
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.4);
}
/* Top accent line */
.mobile-toggle-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 1px;
  background: rgba(255, 0, 0, 0.3);
}

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10003;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-bg {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 0;
}
.mobile-menu-noise {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu logo — always fully visible */
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 1;
}
.mobile-menu-logo svg {
  width: 32px;
  height: 32px;
}
.mobile-menu-logo-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
}
.mobile-menu-logo-text span {
  color: var(--red-brand);
}

/* Mobile header bar */
.mobile-menu-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

/* Close button — sci-fi bracket styled */
.mobile-close-btn {
  position: relative;
  width: 52px;
  height: 44px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}
.mobile-close-btn::before,
.mobile-close-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 24px;
  transform: translateY(-50%);
}
.mobile-close-btn::before {
  left: 0;
  border-left: 1.5px solid rgba(240, 236, 228, 0.25);
  border-top: 1.5px solid rgba(240, 236, 228, 0.25);
  border-bottom: 1.5px solid rgba(240, 236, 228, 0.25);
  transition: border-color 0.3s;
}
.mobile-close-btn::after {
  right: 0;
  border-right: 1.5px solid rgba(240, 236, 228, 0.25);
  border-top: 1.5px solid rgba(240, 236, 228, 0.25);
  border-bottom: 1.5px solid rgba(240, 236, 228, 0.25);
  transition: border-color 0.3s;
}
.mobile-close-btn:active {
  color: var(--red-brand);
}
.mobile-close-btn:active::before,
.mobile-close-btn:active::after {
  border-color: var(--red-brand);
}

/* Decorative line under header */
.mobile-menu-lines {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 4px;
  display: block;
}

/* Mobile nav — sci-fi tech-line integrated into each item */
.mobile-menu-nav {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}
.mn-red-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,0.25), transparent);
  opacity: 0;
}
.mn-red-top { margin-bottom: 8px; }
.mn-red-bottom { margin-top: 8px; }

/* Each nav item row */
.mn-item {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  text-decoration: none;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  border-bottom: 1px solid rgba(240, 236, 228, 0.03);
}
.mn-item:first-of-type {
  border-top: 1px solid rgba(240, 236, 228, 0.03);
}

/* Branch lines + node system — left side of each item */
.mn-branch-wrap {
  position: relative;
  width: 48px;
  height: 40px;
  flex-shrink: 0;
  margin-right: 16px;
}
/* Vertical line segment */
.mn-vert-line {
  position: absolute;
  left: 8px;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(240, 236, 228, 0.08);
  transform: scaleY(0);
  transform-origin: top;
}
/* Horizontal branch from vertical to node */
.mn-horiz-line {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 24px;
  height: 1px;
  background: rgba(240, 236, 228, 0.1);
  transform: scaleX(0);
  transform-origin: left;
}
/* Node dot */
.mn-node {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-brand);
  opacity: 0;
  scale: 0;
}
.mn-node-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.3);
  filter: blur(4px);
  opacity: 0;
}

/* Text wrapper */
.mn-text-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mn-item-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.mn-item.active .mn-item-text {
  color: var(--white-bright);
}
.mn-item:active .mn-item-text {
  color: var(--red-brand);
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.15);
}

/* Brackets */
.mn-item-bracket {
  font-family: var(--font-mono);
  font-size: 18px;
  color: rgba(255, 0, 0, 0);
  transition: color 0.3s ease;
}
.mn-item:active .mn-item-bracket {
  color: rgba(255, 0, 0, 0.4);
}
.mn-item.active .mn-item-bracket {
  color: rgba(255, 0, 0, 0.25);
}

/* Red accent bar under text */
.mn-accent-bar {
  position: absolute;
  bottom: 10px;
  left: 88px;
  width: 28px;
  height: 2px;
  background: var(--red-brand);
  border-radius: 1px;
  opacity: 0;
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.4);
}
.mn-item.active .mn-accent-bar {
  opacity: 1;
}

/* Mobile CTA */
.mobile-menu-cta {
  position: relative;
  z-index: 5;
  padding: 8px 24px 24px;
  opacity: 0;
  transform: translateY(20px);
}

/* Mobile footer */
.mobile-menu-footer {
  position: relative;
  z-index: 5;
  padding: 0 24px 32px;
  margin-top: auto;
  opacity: 0;
}
.mmf-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,0.15), transparent);
  margin-bottom: 16px;
}
.mmf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mmf-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gray-muted);
}
.mmf-socials {
  display: flex;
  gap: 20px;
}
.mmf-socials a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gray-muted);
  text-decoration: none;
  transition: color 0.3s;
  padding: 8px 0;
}
.mmf-socials a:active {
  color: var(--white);
}

/* ============================================
   PAGE CONTENT (demo)
   ============================================ */
.page-content {
  padding: 160px 48px 80px;
  max-width: 900px;
}
.page-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-content h1 span { color: var(--red-brand); }
.page-content p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.8;
  letter-spacing: 0.5px;
}
.page-spacer {
  height: 200vh;
}

/* ============================================
   RESPONSIVE — ALL DEVICE SIZES
   ============================================ */

/* Large Desktop (1440px+) */
@media (min-width: 1441px) {
  .sci-header-inner { padding: 0 80px; height: 86px; }
  .nav-item { padding: 0 48px; }
  .nav-item-text { font-size: 15px; letter-spacing: 5px; }
  .header-logo-name { font-size: 20px; letter-spacing: 5px; }
  .header-logo svg { width: 44px; height: 44px; }
  .cta-btn { padding: 14px 36px; font-size: 13px; letter-spacing: 5px; }
}

/* Standard Desktop (1024px - 1440px) — default styles */

/* Medium Desktop (1024px - 1280px) */
@media (max-width: 1280px) {
  .sci-header-inner { padding: 0 36px; }
  .nav-item { padding: 0 28px; }
  .nav-item-text { font-size: 13px; letter-spacing: 3px; }
  .header-logo-name { font-size: 15px; letter-spacing: 3px; }
  .cta-btn { padding: 10px 22px; font-size: 12px; letter-spacing: 3px; }
}

/* Small Desktop / Large Tablet Landscape (960px - 1024px) */
@media (max-width: 1024px) {
  .sci-header-inner { padding: 0 28px; }
  .nav-item { padding: 0 20px; }
  .nav-item-text { font-size: 12px; letter-spacing: 3px; }
  .header-logo-name { font-size: 14px; letter-spacing: 2px; }
  .header-logo svg { width: 32px; height: 32px; }
  .cta-btn { padding: 10px 18px; font-size: 11px; letter-spacing: 2px; }
}

/* MOBILE BREAKPOINT — Tablet and below (below 960px) */
@media (max-width: 960px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .header-lines-svg { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .sci-header-inner { padding: 0 28px; height: 70px; }
  .header-logo-name { font-size: 17px; letter-spacing: 3px; }
  .header-logo svg { width: 38px; height: 38px; }
  .header-logo { gap: 12px; }
  .mn-item-text { font-size: 30px; }
  .mn-item { padding: 16px 0; }
}

/* Tablet Portrait (600px - 768px) */
@media (max-width: 768px) {
  .sci-header-inner { padding: 0 24px; height: 64px; }
  .header-logo-name { font-size: 15px; letter-spacing: 3px; }
  .header-logo svg { width: 34px; height: 34px; }
  .header-logo { gap: 10px; }
  .mn-item-text { font-size: 28px; }
  .mn-item { padding: 14px 0; }
  .mobile-toggle { width: 48px; height: 40px; }
  .mobile-menu-header { padding: 14px 20px; }
  .mobile-menu-nav { padding: 0; } .mobile-nav-items { padding: 20px; }
  .mobile-menu-cta { padding: 8px 20px 20px; }
  .mobile-menu-footer { padding: 0 20px 28px; }
  .page-content { padding: 120px 24px 60px; }
}

/* Mobile Landscape / Large Phone (480px - 600px) */
@media (max-width: 600px) {
  .sci-header-inner { padding: 0 20px; height: 60px; }
  .header-logo-name { font-size: 14px; letter-spacing: 2px; }
  .header-logo svg { width: 30px; height: 30px; }
  .header-logo { gap: 8px; }
  .mn-item-text { font-size: 26px; letter-spacing: 2px; }
  .mn-item-bracket { font-size: 10px; }
  .mn-item { padding: 14px 0; }
  .mobile-toggle { width: 46px; height: 38px; }
  .mobile-toggle-lines { width: 18px; height: 10px; }
  .mobile-close-btn { width: 48px; height: 40px; }
  .page-content { padding: 100px 20px 40px; }
}

/* Small Phone (below 480px) */
@media (max-width: 480px) {
  .sci-header-inner { padding: 0 16px; height: 56px; }
  .header-logo-name { font-size: 13px; letter-spacing: 2px; }
  .header-logo svg { width: 28px; height: 28px; }
  .header-logo { gap: 8px; }
  .mn-item-text { font-size: 24px; letter-spacing: 2px; }
  .mn-item-bracket { font-size: 9px; min-width: 24px; }
  .mn-item { padding: 12px 0; }
  .mobile-toggle { width: 44px; height: 36px; }
  .mobile-close-btn { width: 44px; height: 36px; }
  .mobile-menu-header { padding: 12px 16px; }
  .mobile-menu-nav { padding: 0; }
  .mobile-menu-cta { padding: 8px 16px 16px; }
  .mobile-menu-footer { padding: 0 16px 24px; }
  .page-content h1 { font-size: clamp(28px, 8vw, 48px); }
}

/* Very Small Phone (below 360px) */
@media (max-width: 360px) {
  .sci-header-inner { padding: 0 12px; height: 52px; }
  .header-logo-name { font-size: 12px; letter-spacing: 1.5px; }
  .header-logo svg { width: 24px; height: 24px; }
  .mn-item-text { font-size: 22px; letter-spacing: 1.5px; }
  .mn-item-bracket { display: none; }
  .mn-item { padding: 10px 0; }
}

/* Landscape phones — compact height */
@media (max-height: 500px) and (max-width: 960px) {
  .sci-header-inner { height: 48px; }
  .mn-item-text { font-size: 22px; }
  .mn-item { padding: 8px 0; }
  .mobile-menu-nav { padding: 0; }
  .mobile-menu-cta { padding: 4px 20px 12px; }
  .mobile-menu-footer { padding: 0 20px 16px; }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  .nav-item { padding: 0 36px; }
  .nav-item-text { font-size: 14px; }
  .cta-btn { padding: 12px 28px; min-height: 44px; }
  .mobile-toggle { min-width: 44px; min-height: 44px; }
  .mn-item { min-height: 52px; }
  .mobile-close-btn { min-width: 44px; min-height: 44px; }
}

/* ================================================
   SECTION 3: HERO CANVAS
   ================================================ */
#heroCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
}

/* ================================================
   HERO TEXT OVERLAY
   ================================================ */
.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  padding: 115px 0 60px;
}
.hero-top {
  text-align: left;
  width: 100%;
  padding: 0 48px;
}
.hero-tag {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255, 0, 0, 1);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
}
.hero-tag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 1);
  box-shadow: 0 0 14px rgba(255, 0, 0, 0.6);
  animation: heroTagPulse 2s ease-in-out infinite;
}
@keyframes heroTagPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
}
.hero-tagline em {
  font-style: normal;
  color: var(--red-brand);
}
.hero-bottom {
  text-align: center;
  padding: 0 40px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  opacity: 0;
  pointer-events: all;
}
.hero-cta-primary {
  padding: 15px 38px;
  background: var(--red-brand);
  color: #000;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.3s;
}
.hero-cta-primary:hover {
  background: #fff;
  color: #000;
}
.hero-cta-secondary {
  padding: 15px 38px;
  background: transparent;
  border: 1px solid rgba(240, 236, 228, 0.1);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.3s;
}
.hero-cta-secondary:hover {
  border-color: var(--red-brand);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.08);
}

/* HERO RESPONSIVE — Large Desktop */
@media (min-width: 1441px) {
  .hero-tagline { font-size: 48px; }
  .hero-tag { font-size: 48px; }
  .hero-overlay { padding: 150px 0 60px; }
}

/* HERO RESPONSIVE — Medium Desktop */
@media (max-width: 1280px) {
  .hero-tagline { font-size: clamp(20px, 3vw, 40px); }
}

/* HERO RESPONSIVE — Small Desktop */
@media (max-width: 1024px) {
  .hero-overlay { padding: 150px 0 50px; }
  .hero-top { padding: 0 36px; }
  .hero-tagline { font-size: clamp(18px, 2.8vw, 34px); }
  .hero-cta-primary, .hero-cta-secondary { padding: 13px 30px; font-size: 12px; letter-spacing: 3px; }
}

/* HERO RESPONSIVE — Tablet */
@media (max-width: 768px) {
  .hero-overlay { padding: 130px 0 40px; }
  .hero-top { padding: 0 24px; }
  .hero-tagline { font-size: clamp(16px, 3.5vw, 28px); }
  .hero-tag { font-size: clamp(16px, 3.5vw, 28px); }
  .hero-bottom { padding: 0 24px; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-cta-primary, .hero-cta-secondary { width: 100%; text-align: center; padding: 14px 24px; justify-content: center; }
}

/* HERO RESPONSIVE — Large Phone */
@media (max-width: 600px) {
  .hero-overlay { padding: 110px 0 30px; }
  .hero-top { padding: 0 20px; }
  .hero-tagline { font-size: clamp(14px, 4vw, 24px); }
  .hero-cta-primary, .hero-cta-secondary { font-size: 11px; letter-spacing: 3px; padding: 13px 20px; }
}

/* HERO RESPONSIVE — Small Phone */
@media (max-width: 480px) {
  .hero-overlay { padding: 100px 0 24px; }
  .hero-top { padding: 0 16px; }
  .hero-tagline { font-size: clamp(14px, 4.5vw, 22px); }
  .hero-tag { font-size: clamp(14px, 4.5vw, 22px); }
  .hero-cta-primary, .hero-cta-secondary { font-size: 10px; letter-spacing: 2px; padding: 12px 16px; }
}

/* HERO RESPONSIVE — Tiny Phone */
@media (max-width: 360px) {
  .hero-tagline { font-size: clamp(13px, 5vw, 18px); }
  .hero-tag { font-size: clamp(13px, 5vw, 18px); }
}

/* HERO RESPONSIVE — Landscape Phone */
@media (max-height: 500px) {
  .hero-overlay { padding: 80px 0 20px; }
  .hero-tagline { font-size: clamp(14px, 2.5vw, 22px); }
  .hero-ctas { flex-direction: row; }
  .hero-cta-primary, .hero-cta-secondary { width: auto; padding: 10px 20px; font-size: 10px; }
}

/* HERO — Touch devices */
@media (hover: none) and (pointer: coarse) {
  .hero-cta-primary, .hero-cta-secondary { min-height: 48px; }
}

/* ================================================
   SCROLL CONTENT WRAPPER (scrolls over fixed hero)
   ================================================ */
.scroll-content {
  position: relative;
  z-index: 6;
  pointer-events: none;
}
.scroll-content > * {
  pointer-events: all;
}
.hero-spacer {
  height: 100vh;
  pointer-events: none;
}

/* ================================================
   SECTION 2: STATS — "OUR TRIUMPH"
   ================================================ */
.stats-section {
  position: relative;
  background: var(--black);
  padding: 120px 0 140px;
  overflow: hidden;
}
/* Subtle top border glow */
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,0.15), transparent);
}
/* Noise texture */
.stats-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Section Tag */
.stats-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 5px;
  color: rgba(255, 0, 0, 0.4);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.stats-tag-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 0, 0, 0.2);
}

/* Section Heading */
.stats-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.05;
}
.stats-heading em {
  font-style: normal;
  color: var(--red-brand);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

/* Single Stat Card */
.stat-card {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}
/* Vertical divider between cards */
.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(240,236,228,0.06), transparent);
}

/* Stat Number */
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-number .stat-value {
  display: inline;
}
.stat-number .stat-suffix {
  color: var(--red-brand);
  font-size: 0.65em;
  font-weight: 700;
  margin-left: 2px;
}
.stat-number .stat-prefix {
  color: var(--red-brand);
  font-size: 0.65em;
  font-weight: 700;
  margin-right: 2px;
}

/* Stat Label */
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240, 236, 228, 0.3);
  line-height: 1.5;
  margin-top: 12px;
}

/* Red accent dot under number */
.stat-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-brand);
  margin: 14px auto 0;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

/* ================================================
   STATS RESPONSIVE
   ================================================ */
@media (min-width: 1441px) {
  .stats-section { padding: 140px 0 160px; }
  .stats-inner { max-width: 1400px; }
  .stats-heading { font-size: 72px; margin-bottom: 100px; }
  .stat-number { font-size: 64px; }
  .stat-label { font-size: 11px; letter-spacing: 4px; }
}

@media (max-width: 1024px) {
  .stats-section { padding: 100px 0 120px; }
  .stats-inner { padding: 0 40px; }
  .stats-heading { font-size: clamp(32px, 4.5vw, 56px); margin-bottom: 60px; }
  .stat-card { padding: 30px 15px; }
  .stat-number { font-size: clamp(30px, 3.5vw, 48px); }
  .stat-label { font-size: 9px; letter-spacing: 2px; }
}

@media (max-width: 768px) {
  .stats-section { padding: 80px 0 100px; }
  .stats-inner { padding: 0 28px; }
  .stats-heading { font-size: clamp(28px, 6vw, 44px); margin-bottom: 50px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .stat-card:nth-child(3)::after { display: none; }
  .stat-card { padding: 24px 12px; }
  .stat-number { font-size: clamp(28px, 5vw, 40px); }
}

@media (max-width: 600px) {
  .stats-section { padding: 60px 0 80px; }
  .stats-inner { padding: 0 20px; }
  .stats-heading { font-size: clamp(26px, 7vw, 38px); margin-bottom: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .stat-card:nth-child(2)::after, .stat-card:nth-child(4)::after { display: none; }
  .stat-label { font-size: 9px; letter-spacing: 2px; }
}

@media (max-width: 480px) {
  .stats-section { padding: 50px 0 60px; }
  .stats-inner { padding: 0 16px; }
  .stats-heading { font-size: clamp(24px, 8vw, 34px); margin-bottom: 32px; }
  .stat-number { font-size: clamp(26px, 7vw, 36px); }
  .stat-card { padding: 20px 8px; }
}

@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; gap: 8px; }
  .stat-card::after { display: none !important; }
  .stat-card { padding: 16px 8px; }
  .stats-heading { font-size: clamp(22px, 9vw, 30px); }
}
/* ================================================
   SECTION 3: STRATEGY SHOWCASE — HUD TERMINAL CARDS
   ================================================ */
.strategy-section {
  position: relative;
  background: var(--black);
  padding: 120px 0 140px;
  overflow: hidden;
}
.strategy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,0.12), transparent);
}
.strategy-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}
.strat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 5px;
  color: rgba(255,0,0,0.4);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.strat-tag-line { width: 40px; height: 1px; background: rgba(255,0,0,0.2); }
.strat-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  margin-bottom: 80px;
  line-height: 1.05;
}
.strat-heading em { font-style: normal; color: var(--red-brand); }

/* Grid */
.strat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============ HUD TERMINAL CARD ============ */
.hud-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.008) 50%, rgba(8,8,12,0.85) 100%);
  border: 1px solid rgba(240,236,228,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1), border-color 0.4s ease, box-shadow 0.5s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
/* Holographic shimmer overlay */
.hud-card > .hud-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 40%, rgba(255,255,255,0.02) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.4s;
}
.hud-card:hover > .hud-shimmer { opacity: 1; }
/* Corner brackets */
.hud-card::before, .hud-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 3;
  transition: border-color 0.4s ease;
}
.hud-card::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(240,236,228,0.08);
  border-left: 1px solid rgba(240,236,228,0.08);
}
.hud-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid rgba(240,236,228,0.08);
  border-right: 1px solid rgba(240,236,228,0.08);
}
.hud-card:hover::before, .hud-card:hover::after {
  border-color: var(--red-brand);
}
.hud-card:hover {
  border-color: rgba(255,0,0,0.12);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 30px rgba(255,0,0,0.04),
    inset 0 0 30px rgba(255,0,0,0.02),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
/* Extra corner brackets (bottom-left, top-right) */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 3;
}
.hud-corner.tr { top: -1px; right: -1px; border-top: 1px solid rgba(240,236,228,0.08); border-right: 1px solid rgba(240,236,228,0.08); transition: border-color 0.4s; }
.hud-corner.bl { bottom: -1px; left: -1px; border-bottom: 1px solid rgba(240,236,228,0.08); border-left: 1px solid rgba(240,236,228,0.08); transition: border-color 0.4s; }
.hud-card:hover .hud-corner { border-color: var(--red-brand); }

/* Scan line animation */
.hud-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,0.15), transparent);
  opacity: 0;
  z-index: 2;
  animation: hudScan 4s linear infinite;
  animation-play-state: paused;
}
.hud-card:hover .hud-scan { opacity: 1; animation-play-state: running; }
@keyframes hudScan {
  0% { top: 0; }
  100% { top: 100%; }
}

/* Terminal Header Bar */
.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(240,236,228,0.03);
  background: rgba(240,236,228,0.01);
}
.hud-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hud-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}
.hud-dot.live { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.hud-id {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,236,228,0.2);
}
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hud-status {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(34,197,94,0.5);
  padding: 2px 8px;
  border: 1px solid rgba(34,197,94,0.1);
  border-radius: 2px;
}

/* Signal Canvas */
.hud-signal {
  width: 100%;
  height: 80px;
  display: block;
  border-bottom: 1px solid rgba(240,236,228,0.02);
}

/* Card Body */
.hud-body {
  padding: 18px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hud-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 8px;
}
.hud-desc {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(240,236,228,0.22);
  letter-spacing: 0.5px;
  line-height: 1.7;
  margin-bottom: 16px;
  min-height: 30px;
}

/* Metrics row */
.hud-metrics {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(240,236,228,0.03);
}
.hud-met {
  flex: 1;
  text-align: center;
}
.hud-met-val {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.hud-met-val.pos { color: #22c55e; }
.hud-met-lbl {
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,236,228,0.15);
  margin-top: 4px;
}

/* CTA Button */
.hud-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  margin-top: auto;
  background: transparent;
  border: 1px solid rgba(240,236,228,0.04);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240,236,228,0.3);
  transition: all 0.4s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.hud-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,0,0,0.05);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hud-cta:hover::before { transform: scaleX(1); }
.hud-cta:hover {
  border-color: var(--red-brand);
  color: var(--white);
  box-shadow: 0 0 12px rgba(255,0,0,0.08);
}
.hud-cta span { position: relative; z-index: 2; }

/* Blinking cursor in card */
.hud-cursor {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: var(--red-brand);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  opacity: 0.5;
}
@keyframes blink { 0%,100%{opacity:0.5} 50%{opacity:0} }

/* ============ STRATEGY RESPONSIVE ============ */
@media (min-width: 1441px) {
  .strategy-section { padding: 140px 0 160px; }
  .strategy-inner { max-width: 1500px; }
  .strat-heading { font-size: 72px; margin-bottom: 100px; }
  .hud-name { font-size: 18px; }
  .hud-signal { height: 100px; }
  .strat-cards { gap: 24px; }
}
@media (max-width: 1024px) {
  .strategy-section { padding: 100px 0 120px; }
  .strategy-inner { padding: 0 36px; }
  .strat-cards { gap: 16px; }
  .hud-body { padding: 14px 14px 12px; }
  .hud-name { font-size: 14px; }
  .hud-signal { height: 70px; }
  .strat-heading { margin-bottom: 60px; }
}
@media (max-width: 768px) {
  .strategy-section { padding: 80px 0 100px; }
  .strategy-inner { padding: 0 24px; }
  .strat-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .strat-heading { margin-bottom: 50px; }
  .hud-desc { min-height: auto; }
}
@media (max-width: 600px) {
  .strategy-section { padding: 60px 0 80px; }
  .strategy-inner { padding: 0 16px; }
  .strat-cards { grid-template-columns: 1fr; gap: 12px; }
  .hud-signal { height: 60px; }
}
@media (max-width: 480px) {
  .strategy-section { padding: 50px 0 60px; }
  .strat-heading { margin-bottom: 32px; font-size: clamp(24px, 8vw, 34px); }
  .hud-body { padding: 12px 12px 10px; }
  .hud-name { font-size: 14px; }
}
