/* ═══════════════════════════════════════════════════════════
   VECTOR GRID — Master Stylesheet
   vectorgrid.app
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Share+Tech+Mono&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --bg:            #000000;
  --bg-deep:       #010805;
  --bg-panel:      #040c08;
  --bg-panel-alt:  #020a06;
  --neon-cyan:     #00FFCC;
  --neon-cyan-dim: #00AA88;
  --neon-green:    #00CC44;
  --neon-green-dim:#1A4A1A;
  --neon-amber:    #FF8800;
  --neon-yellow:   #FFCC00;
  --neon-red:      #FF3C3C;
  --neon-red-warn: #FF4400;
  --text-primary:  #00CC88;
  --text-bright:   #00FFCC;
  --text-mid:      #008855;
  --text-dim:      #224433;
  --text-white:    #CCFFE8;
  --border:        #003322;
  --border-bright: #005533;
  --border-cyan:   #004433;
  --glow-cyan:     0 0 8px #00FFCC55, 0 0 20px #00FFCC22;
  --glow-green:    0 0 8px #00CC4455, 0 0 20px #00CC4422;
  --glow-amber:    0 0 8px #FF880055, 0 0 20px #FF880022;
  --font-hud:      'Orbitron', monospace;
  --font-body:     'Rajdhani', sans-serif;
  --font-mono:     'Share Tech Mono', monospace;
  --nav-height:    64px;
  --max-width:     1400px;
  --section-pad:   120px 40px;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--neon-cyan); text-decoration: none; transition: color 0.2s, text-shadow 0.2s; }
a:hover { color: #fff; text-shadow: var(--glow-cyan); }

img { max-width: 100%; display: block; }

::selection { background: #00FFCC33; color: #fff; }

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #010805; }
::-webkit-scrollbar-thumb { background: #004433; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00FFCC44; }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-hud);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: var(--text-bright);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.12em; }

.text-mono { font-family: var(--font-mono); }
.text-hud  { font-family: var(--font-hud); }
.text-cyan { color: var(--neon-cyan); }
.text-green { color: var(--neon-green); }
.text-amber { color: var(--neon-amber); }
.text-dim   { color: var(--text-mid); }

.label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  padding: 4px 12px;
  margin-bottom: 24px;
  opacity: 0.8;
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  border-bottom-color: var(--border-bright);
  background: rgba(0,4,3,0.95);
}

.nav-logo {
  font-family: var(--font-hud);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: var(--glow-cyan);
}

.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: rgba(0,255,204,0.08);
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 6px 14px;
  border: 1px solid transparent;
  transition: all 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
  border-color: var(--border-cyan);
  text-shadow: var(--glow-cyan);
  background: rgba(0,255,204,0.05);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--neon-cyan);
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  background: #fff;
  color: var(--bg);
  text-shadow: none;
  box-shadow: var(--glow-cyan);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-cyan);
  transition: all 0.3s;
}

/* ─── Mobile Nav ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(0,4,3,0.98);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-bright);
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.3s;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-cta { display: none; }
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--neon-cyan);
  opacity: 0.7;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 0 30px rgba(0,255,204,0.4), 0 0 80px rgba(0,255,204,0.15);
  margin-bottom: 16px;
  line-height: 1.05;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  letter-spacing: 0.2em;
  color: var(--text-mid);
  margin-bottom: 48px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  pointer-events: all;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  animation: scrollpulse 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
}

@keyframes scrollpulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.9; transform: translateX(-50%) translateY(6px); }
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg);
  border-color: var(--neon-cyan);
  font-weight: 700;
}
.btn-primary:hover {
  background: #fff;
  color: var(--bg);
  box-shadow: 0 0 20px rgba(0,255,204,0.5);
  text-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}
.btn-secondary:hover {
  background: rgba(0,255,204,0.08);
  box-shadow: 0 0 16px rgba(0,255,204,0.2);
  text-shadow: var(--glow-cyan);
  color: var(--neon-cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: var(--border-bright);
}
.btn-ghost:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  background: rgba(0,255,204,0.04);
}

.btn-amber {
  background: transparent;
  color: var(--neon-amber);
  border-color: var(--neon-amber);
}
.btn-amber:hover {
  background: rgba(255,136,0,0.1);
  box-shadow: 0 0 16px rgba(255,136,0,0.3);
  color: var(--neon-amber);
}

.btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Section Base ───────────────────────────────────────── */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 640px;
  font-family: var(--font-body);
}

/* ─── Grid Overlay Background ────────────────────────────── */
.grid-bg {
  position: relative;
}
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,80,40,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,80,40,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.grid-bg > * { position: relative; z-index: 1; }

/* ─── Scanline Overlay ───────────────────────────────────── */
.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ─── HUD Frame ──────────────────────────────────────────── */
.hud-frame {
  position: relative;
  padding: 2px;
}

.hud-frame::before, .hud-frame::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--neon-cyan);
  border-style: solid;
  opacity: 0.6;
}
.hud-frame::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.hud-frame::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

/* ─── Panel / Card ───────────────────────────────────────── */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.panel:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 20px rgba(0,100,60,0.15);
}

.panel-cyan {
  border-color: var(--border-cyan);
}

.panel-tag {
  position: absolute;
  top: -1px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  background: var(--neon-cyan);
  color: var(--bg);
  padding: 2px 8px;
}

/* ─── Feature Grid ───────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--neon-cyan);
  transition: height 0.4s;
}

.feature-card:hover { border-color: var(--border-bright); }
.feature-card:hover::before { height: 100%; }

.feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--neon-cyan);
}

.feature-card h4 {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.feature-card p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
}

/* ─── Stat Bar ───────────────────────────────────────────── */
.stat-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.stat-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-mid);
  text-transform: uppercase;
}

.stat-bar-track {
  height: 3px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--neon-cyan);
  width: 0;
  transition: width 1.2s ease-out;
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* ─── Watch Showcase ──────────────────────────────────────── */
.watch-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-img {
  border-radius: 50%;
  border: 2px solid var(--border-cyan);
  box-shadow: 0 0 30px rgba(0,255,204,0.1), 0 0 80px rgba(0,255,204,0.05);
  max-width: 320px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: box-shadow 0.4s;
}
.watch-img:hover {
  box-shadow: 0 0 50px rgba(0,255,204,0.2), 0 0 120px rgba(0,255,204,0.08);
}

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
  margin: 0;
}

.divider-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0;
}
.divider-section::before, .divider-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider-section span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(0,255,204,0.03);
  border: 1px solid var(--border-bright);
  color: var(--text-bright);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0,255,204,0.15);
  background: rgba(0,255,204,0.05);
}

.form-select option {
  background: #020d08;
  color: var(--text-bright);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

/* ─── Two-column layout ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse { direction: ltr; }
}

/* ─── Image Gallery ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  filter: saturate(0.7) brightness(0.8);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.gallery-item:hover::after {
  border-color: var(--neon-cyan);
  box-shadow: inset 0 0 20px rgba(0,255,204,0.1);
}

/* ─── Lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border: 1px solid var(--border-bright);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-mid);
  cursor: pointer;
  letter-spacing: 0.2em;
  padding: 8px 16px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.lightbox-close:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); }

/* ─── Video Modal ────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-placeholder {
  border: 1px solid var(--border-bright);
  background: var(--bg-panel);
  width: min(800px, 90vw);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.video-placeholder .play-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--neon-cyan);
}

.video-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  text-transform: uppercase;
}

.modal-close {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  cursor: pointer;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  background: none;
}
.modal-close:hover { color: var(--neon-cyan); border-color: var(--neon-cyan); }

/* ─── Grid Network (The Grid page) ───────────────────────── */
.grid-network {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.node-ring {
  width: 70px;
  height: 70px;
  border: 2px solid var(--neon-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s;
}

.node-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(0,255,204,0.3);
  border-radius: 50%;
}

.grid-node:hover .node-ring {
  box-shadow: 0 0 20px rgba(0,255,204,0.4);
  background: rgba(0,255,204,0.08);
}

.node-ring.locked {
  border-color: var(--border-bright);
  opacity: 0.4;
}

.node-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-align: center;
  max-width: 80px;
}

/* ─── Status indicators ──────────────────────────────────── */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
.status-dot.active   { background: var(--neon-green); box-shadow: 0 0 6px var(--neon-green); animation: blink 2s ease-in-out infinite; }
.status-dot.pending  { background: var(--neon-amber); box-shadow: 0 0 6px var(--neon-amber); }
.status-dot.locked   { background: var(--text-dim); }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
  background: var(--bg-deep);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.7;
  font-family: var(--font-mono);
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--neon-cyan); text-shadow: none; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  :root { --section-pad: 80px 20px; }
  .nav { padding: 0 16px; }
  .footer { padding: 40px 20px; }
}

/* ─── Page Hero (non-home) ───────────────────────────────── */
.page-hero {
  padding: 160px 40px 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,80,40,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,80,40,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  font-family: var(--font-mono);
}

/* ─── Intercept flashing warning ──────────────────────────── */
@keyframes flashamber {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}
.flash-amber { animation: flashamber 1.4s ease-in-out infinite; }

/* ─── Utility ────────────────────────────────────────────── */
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 16px; }
.flex-gap { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── Notification bar ───────────────────────────────────── */
.notify-bar {
  background: rgba(255,136,0,0.08);
  border-bottom: 1px solid rgba(255,136,0,0.3);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--neon-amber);
  text-transform: uppercase;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s;
}
.notify-bar.show { transform: translateY(0); }

/* ─── Promo card wide ────────────────────────────────────── */
.promo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.promo-card img {
  width: 100%;
  display: block;
  filter: brightness(0.75);
  transition: filter 0.4s, transform 0.4s;
}
.promo-card:hover img {
  filter: brightness(0.9);
  transform: scale(1.02);
}
.promo-card:hover { border-color: var(--neon-cyan); }

/* ─── Spec table ─────────────────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 10px 16px;
  letter-spacing: 0.08em;
}
.spec-table td:first-child { color: var(--text-mid); width: 40%; }
.spec-table td:last-child { color: var(--text-bright); }

/* ─── Interceptor page specifics ─────────────────────────── */
.interceptor-logo {
  max-width: 480px;
  width: 100%;
  filter: drop-shadow(0 0 20px rgba(0,255,204,0.2));
}

/* ─── Technology diagram ─────────────────────────────────── */
.tech-diagram {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
}
.tech-diagram img {
  width: 100%;
  filter: brightness(0.9) saturate(1.1);
}
.tech-diagram::before {
  content: 'CLASSIFIED — TILT INTERACTION PROTOCOL';
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--neon-amber);
  opacity: 0.7;
  z-index: 2;
}

/* ═══ REFINEMENTS v2 ═══════════════════════════════════════ */

/* ─── Tighter vertical rhythm ────────────────────────────── */
:root {
  --section-pad: 96px 40px;
}
@media (max-width: 560px) {
  :root { --section-pad: 64px 20px; }
}

/* ─── Hero v2: split layout ──────────────────────────────── */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1300px;
  padding: 0 60px;
  pointer-events: none;
}

.hero-text { pointer-events: none; }

.hero-watch {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-watch-img {
  width: min(320px, 90%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(0,255,204,0.4);
  box-shadow:
    0 0 40px rgba(0,255,204,0.15),
    0 0 100px rgba(0,255,204,0.07),
    0 0 200px rgba(0,255,204,0.04);
  animation: watchglow 4s ease-in-out infinite;
}

@keyframes watchglow {
  0%, 100% { box-shadow: 0 0 40px rgba(0,255,204,0.15), 0 0 100px rgba(0,255,204,0.07); }
  50%       { box-shadow: 0 0 60px rgba(0,255,204,0.25), 0 0 150px rgba(0,255,204,0.12); }
}

.hero-watch-ring {
  position: absolute;
  width: calc(min(320px, 90%) + 40px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0,255,204,0.15);
  animation: ringpulse 3s ease-in-out infinite;
}

.hero-watch-ring-2 {
  position: absolute;
  width: calc(min(320px, 90%) + 80px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(0,255,204,0.06);
  animation: ringpulse 3s ease-in-out infinite 1s;
}

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

.hero-title-v2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow:
    0 0 20px rgba(0,255,204,0.5),
    0 0 60px rgba(0,255,204,0.2),
    0 0 120px rgba(0,255,204,0.1);
  line-height: 1.0;
  margin-bottom: 20px;
}

.hero-subtitle-v2 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--text-mid);
  text-transform: uppercase;
  margin-bottom: 12px;
  border-left: 2px solid var(--neon-cyan);
  padding-left: 12px;
}

.hero-stat-line {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 36px;
  text-transform: uppercase;
}

.hero-stat-line span { color: var(--neon-cyan); }

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle-v2 { border-left: none; padding-left: 0; }
  .hero-watch { order: -1; }
  .hero-watch-img { width: min(220px, 70vw); }
}

/* ─── Stronger divider with label ────────────────────────── */
.divider-hud {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright) 20%, var(--border-bright) 80%, transparent);
  margin: 0;
}

.divider-hud::before {
  content: attr(data-label);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── HUD panel with full corner brackets ─────────────────── */
.hud-panel {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hud-panel::before, .hud-panel::after,
.hud-panel .hud-br, .hud-panel .hud-bl {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--neon-cyan);
  border-style: solid;
  opacity: 0.5;
}
.hud-panel::before { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
.hud-panel::after  { top: 4px; right: 4px; border-width: 1px 1px 0 0; }

/* ─── System label / classified tag ──────────────────────── */
.sys-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.sys-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--neon-cyan);
  clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ─── Classified stamp ───────────────────────────────────── */
.classified-stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,100,0,0.5);
  border: 1px solid rgba(255,100,0,0.25);
  padding: 2px 10px;
  transform: rotate(-1deg);
  margin-bottom: 16px;
}

/* ─── Feature card v2 — stronger Grid identity ────────────── */
.feature-card-v2 {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}
.feature-card-v2::before {
  content: attr(data-index);
  position: absolute;
  top: 12px; right: 16px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}
.feature-card-v2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.feature-card-v2:hover { border-color: var(--border-bright); }
.feature-card-v2:hover::after { transform: scaleX(1); }
.feature-card-v2 h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 10px;
}
.feature-card-v2 p { color: var(--text-mid); font-size:0.95rem; }

/* ─── Beta access — Grid framing ─────────────────────────── */
.access-form-header {
  background: rgba(0,255,204,0.04);
  border: 1px solid var(--border-cyan);
  border-bottom: none;
  padding: 16px 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.access-form-header .status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neon-green);
}
.access-form-body {
  border: 1px solid var(--border-cyan);
  padding: 32px;
  background: var(--bg-panel);
}

/* ─── Section: reduce top/bottom slightly ────────────────── */
.section-tight { padding: 72px 40px; }
@media (max-width:560px) { .section-tight { padding: 48px 20px; } }

/* ─── Nav logo image ─────────────────────────────────────── */
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0,255,100,0.4));
  transition: filter 0.3s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 12px rgba(0,255,100,0.7)) brightness(1.15);
}
.footer-logo-img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.7;
  filter: drop-shadow(0 0 4px rgba(0,255,100,0.3));
  transition: opacity 0.3s, filter 0.3s;
  margin-bottom: 12px;
}
.footer-logo-img:hover { opacity: 1; }

/* ─── Video HUD Frame ────────────────────────────────────── */
.video-hud-frame {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 30px rgba(0,255,204,0.15), inset 0 0 20px rgba(0,255,204,0.03);
  background: #000;
  position: relative;
}
.video-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(0,255,204,0.25);
  background: rgba(0,255,204,0.04);
}
.video-hud-header .panel-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.video-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3c3c;
  box-shadow: 0 0 8px #ff3c3c;
  animation: recblink 1.4s ease-in-out infinite;
}
@keyframes recblink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
.demo-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  background: #000;
  outline: none;
  object-fit: contain;
}
.video-hud-footer {
  padding: 7px 14px;
  border-top: 1px solid rgba(0,255,204,0.15);
  background: rgba(0,255,204,0.02);
}
.video-hud-footer .sys-label {
  font-size: 0.65rem;
  color: rgba(0,255,204,0.45);
  letter-spacing: 0.1em;
}

/* ─── Formspree States ───────────────────────────────────── */
.fs-success {
  border: 1px solid var(--neon-cyan);
  background: rgba(0,255,204,0.05);
  padding: 32px 24px;
  margin-bottom: 24px;
  text-align: center;
}
.fs-success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.fs-success-icon {
  font-size: 1.4rem;
  color: var(--neon-cyan);
  letter-spacing: 4px;
  margin-bottom: 8px;
  animation: recblink 1.4s ease-in-out 3;
}
.fs-success p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-mid);
  margin: 0;
}
.fs-error-global {
  border: 1px solid #ff3c3c;
  background: rgba(255,60,60,0.06);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ff6060;
  letter-spacing: 0.05em;
}
.fs-field-error {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #ff6060;
  margin-top: 4px;
  letter-spacing: 0.05em;
  min-height: 1em;
}
[aria-invalid="true"].form-input,
[aria-invalid="true"].form-select,
[aria-invalid="true"].form-textarea {
  border-color: #ff3c3c;
  box-shadow: 0 0 0 1px rgba(255,60,60,0.3);
}
[data-fs-submit-btn]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
