/* ============================================================
   COREDIRECTIVE — Design System
   Directed Signal: restraint = intelligence
   ============================================================ */

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

/* === VARIABLES === */
:root {
  --void: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --mid: #333333;
  --light: #888888;
  --lighter: #AAAAAA;
  --white: #F0F0F0;
  --cyan: #00D4FF;
  --gold: #FFB800;
  --red: #FF3366;
  --purple: #BF5AF2;

  /* CoreDirective Blue */
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-dim: rgba(59,130,246,0.15);
  --accent-glow: rgba(59,130,246,0.4);

  /* Layout */
  --max-w: 1100px;
  --nav-h: 70px;
  --radius: 4px;
}

/* === BASE === */
html { scroll-behavior: smooth; }
body {
  background: var(--void);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; }

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; }
.section-border { border-bottom: 1px solid var(--mid); }

/* === PAGE LOAD FADE === */
.page-enter { animation: fadeUp 0.5s ease-out; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(4px);
}
.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--mid);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 2px;
  text-decoration: none !important;
  text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none !important;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,1);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none !important;
  padding: 10px 0;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: var(--nav-h);
}
.hero-content { position: relative; z-index: 2; }

/* Matrix canvas */
#matrix-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.06;
  pointer-events: none;
}

/* CRT scanlines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59,130,246,0.012) 2px, rgba(59,130,246,0.012) 4px);
  pointer-events: none;
  z-index: 1;
}

/* Radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-dim) 0%, transparent 70%);
  z-index: 0;
}

.hero-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.hero h1 .accent { color: var(--accent); }
.hero .tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(14px, 2.5vw, 20px);
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.hero .sub-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero .intro {
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--light);
  font-size: 16px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.pulse {
  display: inline-block;
  color: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Page hero (shorter, for sub-pages) */
.page-hero {
  min-height: 50vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
}

/* ============================================================
   TYPING CURSOR
   ============================================================ */
.typing-cursor::after {
  content: '\2588';
  color: var(--accent);
  animation: blink 0.7s step-end infinite;
  margin-left: 2px;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ============================================================
   GLITCH HOVER
   ============================================================ */
.glitch-hover { position: relative; display: inline-block; }
.glitch-hover:hover { animation: glitch 0.3s ease-in-out; }
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); text-shadow: 2px 0 var(--red), -2px 0 var(--cyan); }
  40% { transform: translate(3px, -2px); text-shadow: -2px 0 var(--red), 2px 0 var(--cyan); }
  60% { transform: translate(-2px, 1px); text-shadow: 1px 0 var(--red), -1px 0 var(--cyan); }
  80% { transform: translate(2px, -1px); }
  100% { transform: translate(0); text-shadow: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--accent);
  color: var(--void);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-dim);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--void);
  box-shadow: 0 0 15px var(--accent-dim);
}
.btn-ghost {
  background: transparent;
  color: var(--light);
  border-color: var(--mid);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   HUD FRAME (tactical corner brackets)
   ============================================================ */
.hud {
  position: relative;
  background: var(--dark);
  border: 1px solid var(--mid);
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hud:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}
.hud::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 20px; height: 20px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transition: width 0.3s ease, height 0.3s ease;
}
.hud::after {
  content: '';
  position: absolute;
  top: -1px; right: -1px;
  width: 20px; height: 20px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transition: width 0.3s ease, height 0.3s ease;
}
.hud .corner-bl {
  position: absolute;
  bottom: -1px; left: -1px;
  width: 20px; height: 20px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transition: width 0.3s ease, height 0.3s ease;
}
.hud .corner-br {
  position: absolute;
  bottom: -1px; right: -1px;
  width: 20px; height: 20px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transition: width 0.3s ease, height 0.3s ease;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--light);
  font-size: 16px;
  max-width: 600px;
  line-height: 1.7;
}

/* ============================================================
   GRID
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.stat { text-align: center; }
.stat .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}
.stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--dark);
  border: 1px solid var(--mid);
  padding: 32px;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--accent-dim), inset 0 1px 0 var(--accent-dim);
}
.card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.card-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--white);
}
.card-text {
  color: var(--light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.card-price-sub {
  font-size: 12px;
  color: var(--light);
  margin-bottom: 16px;
}

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */
.schedule-row {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--mid);
  gap: 24px;
}
.schedule-row:last-child { border-bottom: none; }
.schedule-day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  min-width: 120px;
}
.schedule-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold);
  min-width: 80px;
}
.schedule-show {
  font-weight: 600;
  color: var(--white);
}
.schedule-desc {
  color: var(--light);
  font-size: 14px;
  margin-left: auto;
}

/* ============================================================
   PLATFORM LINKS
   ============================================================ */
.platform-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--dark);
  border: 1px solid var(--mid);
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none !important;
}
.platform-link:hover {
  border-color: var(--accent);
  background: var(--dark2);
}
.platform-link .platform-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.platform-link .platform-handle {
  font-size: 13px;
  color: var(--light);
}
.platform-link .platform-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* ============================================================
   CERT BADGES
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cert-badge {
  background: var(--dark);
  border: 1px solid var(--mid);
  padding: 24px;
  transition: border-color 0.6s, box-shadow 0.6s;
  text-decoration: none !important;
  color: inherit;
  display: block;
}
.cert-badge:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-dim);
}
.cert-status {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
  margin-bottom: 12px;
}
.cert-verified {
  color: var(--accent);
  border-color: var(--accent);
}
.cert-progress-badge {
  color: var(--gold);
  border-color: var(--gold);
}
.cert-in-progress {
  border-color: rgba(255, 184, 0, 0.3);
}
.cert-in-progress:hover {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.15);
}
.cert-badge .cert-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.cert-badge .cert-detail {
  font-size: 12px;
  color: var(--light);
  margin-bottom: 2px;
}
.cert-badge .cert-note {
  font-size: 11px;
  color: var(--accent);
  margin-top: 12px;
}
.cert-badge .cert-id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--mid);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ============================================================
   FEATURES LIST
   ============================================================ */
.feature-list { list-style: none; }
.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(51,51,51,0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--lighter);
  font-size: 15px;
}
.feature-list li::before {
  content: '>';
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 700;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--void) 0%, var(--dark) 50%, var(--void) 100%);
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--mid);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--accent); }
.footer-tagline {
  font-size: 13px;
  color: var(--light);
  margin-bottom: 16px;
  line-height: 1.6;
}
.footer-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--light);
  transition: color 0.2s;
  padding: 8px 0;
  display: inline-block;
}
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--mid);
}
.footer-legal {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--light);
  letter-spacing: 1px;
}
.footer-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--light);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats { gap: 32px; }
  .schedule-desc { display: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero h1 { letter-spacing: 1px; font-size: clamp(28px, 7vw, 80px); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats { flex-direction: column; gap: 24px; }
  .schedule-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hud { padding: 24px; }
  .card { padding: 24px; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ENHANCED ANIMATIONS & EFFECTS
   ============================================================ */

/* HUD scan line effect (added via JS on hover) */
.scan-line-effect {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  top: 0;
  animation: scanDown 1s ease-out forwards;
  pointer-events: none;
  z-index: 10;
}
@keyframes scanDown {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.3; }
  100% { top: 100%; opacity: 0; }
}

/* Corner bracket grow on hover */
.hud:hover::before, .hud:hover::after { width: 28px; height: 28px; }
.hud:hover .corner-bl, .hud:hover .corner-br { width: 28px; height: 28px; }

/* Platform icons (inline SVG) */
.platform-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--accent);
  transition: fill 0.2s;
}
.platform-link:hover .platform-icon { fill: var(--accent-light); }
.platform-link:hover .platform-arrow { transform: translateX(4px); }

/* ============================================================
   COUNTDOWN TIMER
   ============================================================ */
.countdown {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.countdown-unit { text-align: center; min-width: 60px; }
.countdown-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.countdown-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}
.countdown-show {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 1px;
}
.countdown-live {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--red);
  text-align: center;
  letter-spacing: 2px;
  animation: liveFlash 1.5s ease-in-out infinite;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1s infinite;
}
@keyframes liveFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ============================================================
   TERMINAL
   ============================================================ */
.terminal {
  background: #0C0C0C;
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  margin: 40px auto 0;
}
.terminal-header {
  background: var(--dark);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--mid);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #FF5F57; }
.terminal-dot.gold { background: #FEBC2E; }
.terminal-dot.green { background: #28C840; }
.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--light);
  margin-left: 8px;
  letter-spacing: 1px;
}
.terminal-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 2;
  min-height: 180px;
}
.terminal-line {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.terminal-line.visible {
  opacity: 1;
  transform: translateX(0);
}
.terminal-prompt { color: var(--accent); }
.terminal-command { color: var(--white); }
.terminal-output { color: var(--light); padding-left: 16px; }
.terminal-link {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.terminal-link:hover { color: var(--accent-light); text-decoration: underline; }

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--mid);
  padding: 12px 24px;
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .sticky-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--light);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sticky-cta .btn {
  padding: 10px 20px;
  font-size: 11px;
}

/* ============================================================
   BUNDLE OFFER
   ============================================================ */
.bundle-card {
  background: linear-gradient(135deg, var(--dark) 0%, rgba(59,130,246,0.06) 100%);
  border: 1px solid var(--accent);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}
.bundle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.bundle-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.bundle-save {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bundle-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.bundle-desc {
  font-size: 14px;
  color: var(--light);
  margin-bottom: 20px;
}
.bundle-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.bundle-original {
  font-size: 14px;
  color: var(--light);
  text-decoration: line-through;
  margin-bottom: 24px;
}

/* ============================================================
   FLOATING PARTICLES
   ============================================================ */
.particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: floatUp var(--dur, 8s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: var(--max-opacity, 0.3); }
  90% { opacity: var(--max-opacity, 0.3); }
  100% { transform: translateY(-100vh) translateX(var(--drift, 20px)); opacity: 0; }
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  mix-blend-mode: screen;
}

/* ============================================================
   NAV GLOW LINE
   ============================================================ */
.nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(100px, 25vw, 220px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  opacity: 0.08;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE (enhanced elements)
   ============================================================ */
@media (max-width: 600px) {
  .countdown { gap: 12px; }
  .countdown-num { font-size: 24px; }
  .countdown-unit { min-width: 48px; }
  .terminal-body { font-size: 11px; padding: 12px; }
  .sticky-cta { padding: 8px 12px; gap: 8px; }
  .sticky-cta .btn { padding: 8px 14px; font-size: 10px; min-height: 44px; display: flex; align-items: center; }
  .sticky-cta .sticky-label { display: none; }
  .bundle-price { font-size: 32px; }
  .bundle-card { padding: 24px; }
  .cursor-glow { display: none; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark);
  border: 1px solid var(--mid);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300ff88' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
}
.form-group select option {
  background: var(--dark);
  color: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light);
  opacity: 0.6;
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ============================================================
   TIER BADGE
   ============================================================ */
.tier-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid var(--mid);
  color: var(--light);
  margin-top: 12px;
}

/* ============================================================
   BOOT SEQUENCE OVERLAY
   ============================================================ */
.boot-overlay {
  position: fixed;
  inset: 0;
  background: var(--void);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
  animation: boot-fallback 0.5s 3s forwards;
}
@keyframes boot-fallback {
  to { opacity: 0; pointer-events: none; }
}
.boot-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Status line */
.status-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--light);
}

/* === ACCESSIBILITY === */

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--void);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

/* Visible focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .stagger-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .page-enter {
    animation: none;
  }
  .particle, .cursor-glow {
    display: none !important;
  }
  .boot-overlay {
    display: none !important;
  }
}
