/* ═══════════════════════════════════════════════════════════════
   GASA WORKSHOP — COMPONENTS
   All UI component styles. References theme + base tokens.
═══════════════════════════════════════════════════════════════ */

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: var(--space-900);
  box-shadow: var(--glow-cyan);
}
.btn--primary:hover {
  box-shadow: 0 0 28px var(--cyan-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--cyan);
  border-color: var(--line-bright);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.btn--alert {
  background: linear-gradient(135deg, var(--alert), #d11a3d);
  color: #fff;
  box-shadow: var(--glow-alert);
}

.btn--green {
  background: linear-gradient(135deg, var(--green), #1fc77d);
  color: var(--space-900);
  box-shadow: var(--glow-green);
}
.btn--green:hover { box-shadow: 0 0 28px var(--green-glow); }

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn--lg {
  font-size: 1.12rem;
  padding: 1.05rem 2rem;
}

/* ── HUD corner brackets (reusable on panels/cards) ───────────── */
.hud {
  position: relative;
}
.hud::before,
.hud::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--cyan);
  opacity: 0.7;
  pointer-events: none;
}
.hud::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.hud::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(7, 9, 20, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--text);
  text-decoration: none;
}
.brand .brand-mark {
  color: var(--cyan);
  filter: drop-shadow(0 0 6px var(--cyan-glow));
}
.brand small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  display: block;
  margin-top: 2px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero h1 {
  margin-bottom: var(--space-lg);
}
.hero h1 .glitch {
  color: var(--cyan);
  text-shadow: 0 0 22px var(--cyan-glow);
  position: relative;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: var(--space-xl);
}
.hero-sub s { color: var(--text-muted); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* ── Countdown HUD ────────────────────────────────────────────── */
.countdown-hud {
  margin: 0;
}
.cd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}
.cd-eyebrow i { color: var(--cyan); }
.cd-cells {
  display: inline-flex;
  align-items: stretch;
  gap: 0.5rem;
}
.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: 0.6rem 0.4rem 0.45rem;
  background: linear-gradient(180deg, rgba(45, 226, 255, 0.08), rgba(8, 12, 24, 0.6));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 0 16px var(--cyan-glow);
  font-variant-numeric: tabular-nums;
}
.cd-lab {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.cd-sep {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--line-bright);
  padding-bottom: 0.9rem;
}
.countdown-hud.is-live .cd-num {
  color: var(--green);
  text-shadow: 0 0 16px var(--green-glow);
}

/* Mission meta chips */
.mission-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  background: rgba(45, 226, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}
.chip i {
  color: var(--cyan);
}
.chip--free {
  color: var(--green);
  border-color: rgba(59, 240, 160, 0.4);
  background: rgba(59, 240, 160, 0.07);
  font-weight: 600;
}
.chip--free i { color: var(--green); }

/* ── Sponsor lockup (hero) ────────────────────────────────────── */
.hero-backer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.hero-backer-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-backer-link {
  display: inline-flex;
  line-height: 0;
}
.hero-backer-logo {
  height: 30px;
  width: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 12px rgba(45, 226, 255, 0.18));
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.hero-backer-link:hover .hero-backer-logo {
  opacity: 1;
  filter: drop-shadow(0 0 16px rgba(45, 226, 255, 0.35));
}

/* ── Hero HUD / radar console ─────────────────────────────────── */
.console {
  background:
    linear-gradient(180deg, rgba(20, 30, 56, 0.6), rgba(8, 12, 24, 0.85));
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-panel);
}
.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}
.console-dots {
  display: flex;
  gap: 6px;
}
.console-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-bright);
}
.console-dots span:nth-child(1) { background: var(--alert); }
.console-dots span:nth-child(2) { background: var(--amber); }
.console-dots span:nth-child(3) { background: var(--green); }

.radar {
  position: relative;
  aspect-ratio: 1;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(45, 226, 255, 0.08), transparent 70%);
  border: 1px solid var(--line-bright);
  overflow: hidden;
}
.radar::before {
  /* concentric rings + crosshair */
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle, transparent 0 38px, rgba(45, 226, 255, 0.1) 38px 39px),
    linear-gradient(rgba(45, 226, 255, 0.12), rgba(45, 226, 255, 0.12)) center / 1px 100% no-repeat,
    linear-gradient(rgba(45, 226, 255, 0.12), rgba(45, 226, 255, 0.12)) center / 100% 1px no-repeat;
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* Hard bright line at the leading edge (local 0deg/top), fading on the
     trailing side. JS rotates this clockwise so the line leads, tail follows. */
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 250deg,
    rgba(45, 226, 255, 0.03) 250deg,
    rgba(45, 226, 255, 0.30) 358deg,
    rgba(45, 226, 255, 0.6) 360deg
  );
  transform: rotate(0deg);
}
.blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08; /* dim until the sweep line passes (set live by JS) */
  pointer-events: none;
  will-change: opacity, transform;
}
.blip--red { background: var(--alert); box-shadow: 0 0 10px var(--alert-glow); }
.blip--orange { background: var(--orange); box-shadow: 0 0 10px var(--orange-glow); }

.console-readout {
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.9;
  color: var(--text-muted);
}
.console-readout b { color: var(--alert); font-weight: 600; }
.console-readout .ok { color: var(--green); }

/* ── Radar as a video trigger ─────────────────────────────────── */
.radar-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.radar-trigger .radar {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.radar-trigger:hover .radar {
  transform: scale(1.02);
  box-shadow: 0 0 32px -6px var(--cyan-glow);
}
.radar-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--alert);
  border: 2px solid #ff6b87;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 0 26px var(--alert-glow);
  animation: play-throb 1.6s ease-in-out infinite;
}
.radar-play::before,
.radar-play::after {
  /* dual expanding red pulse rings */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--alert);
  animation: pulse-ring 2.2s ease-out infinite;
}
.radar-play::after { animation-delay: 1.1s; }
.radar-play i { margin-left: 4px; } /* optical centering of play glyph */

/* "PLAY ME" prompt — fades in/out on a 6s cycle to draw the eye */
.radar-prompt {
  position: absolute;
  left: 50%;
  top: calc(50% + 64px);
  transform: translateX(-50%);
  padding-left: 0.3em; /* offset trailing letter-spacing so it stays centered */
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 14px var(--alert-glow), 0 0 6px rgba(2, 4, 10, 0.8);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  animation: play-me 6s ease-in-out infinite;
}
@keyframes play-me {
  0%, 100% { opacity: 0; }
  16.66% { opacity: 1; } /* 1s fade in */
  33.33% { opacity: 1; } /* hold 1s on screen */
  50% { opacity: 0; }    /* 1s fade out, then 3s off */
}
.radar-trigger:hover .radar-play {
  background: #ff506f;
  box-shadow: 0 0 36px var(--alert-glow);
}
.radar-cta {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff8aa1;
  text-shadow: 0 0 12px var(--alert-glow);
  white-space: nowrap;
}

@keyframes play-throb {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

/* ── Video lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.82);
  backdrop-filter: blur(6px);
}
.lightbox-frame {
  position: relative;
  width: min(960px, 100%);
  background: var(--space-800);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-panel);
  animation: rise 0.25s ease both;
}
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--space-700);
  border: 1px solid var(--line-bright);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { border-color: var(--cyan); color: var(--cyan); }
.lightbox-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #04060e;
}
.lightbox-video iframe,
.lightbox-video .wistia_embed,
.lightbox-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Make Kajabi/Wistia responsive wrappers fill the 16:9 lightbox frame */
.lightbox-video .wistia_responsive_padding {
  position: absolute !important;
  inset: 0 !important;
  padding: 0 !important;
  height: 100% !important;
}
.lightbox-video .wistia_responsive_wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.lightbox-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(45, 226, 255, 0.1), transparent 60%);
}
.lightbox-placeholder i { font-size: 3.5rem; color: var(--cyan); }
.lightbox-placeholder p { margin: 0; color: var(--text-soft); font-weight: 600; }
.lightbox-placeholder span { font-family: var(--font-mono); font-size: 0.75rem; }

/* ── Status dot (blinking) ────────────────────────────────────── */
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--alert);
  box-shadow: 0 0 10px var(--alert-glow);
  animation: blink 1.4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   THREAT / SYSTEM STATUS
═══════════════════════════════════════════════════════════════ */
.threat {
  background:
    linear-gradient(180deg, rgba(255, 45, 85, 0.06), transparent 40%);
}
.status-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--alert);
  border: 1px solid var(--alert);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.95rem;
  background: rgba(255, 45, 85, 0.07);
  margin-bottom: var(--space-lg);
}

/* Intercepted transmissions — named hacks */
.transmissions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.transmission {
  background: var(--space-700);
  border: 1px solid var(--line);
  border-left: 3px solid var(--alert);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}
.transmission .tx-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--alert);
  margin-bottom: 0.3rem;
}
.transmission .tx-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.transmission .tx-victims {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--space-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--amber);
  text-shadow: 0 0 18px var(--amber-glow);
  line-height: 1;
}
.stat .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   "WON'T SAVE YOU" — INSUFFICIENT SHIELDS
═══════════════════════════════════════════════════════════════ */
.shields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}
.shield {
  position: relative;
  background: var(--space-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}
.shield i {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.shield .shield-name {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.shield .stamp {
  display: inline-block;
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  transform: rotate(-4deg);
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════
   ATTACK VECTORS
═══════════════════════════════════════════════════════════════ */
.vectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
.vector {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 45, 85, 0.04), transparent 30%),
    var(--space-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.vector:hover {
  border-color: var(--alert);
  transform: translateY(-4px);
}
.vector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}
.vector-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 45, 85, 0.25);
  line-height: 1;
}
.vector-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--alert);
  border: 1px solid var(--alert);
  border-radius: 3px;
  padding: 0.2rem 0.55rem;
}
.vector h3 {
  margin-bottom: var(--space-sm);
  color: var(--text);
}
.vector p {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.vector .vector-code {
  display: inline-block;
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════════
   DEFENSE PROTOCOLS — TERMINAL CONSOLE
═══════════════════════════════════════════════════════════════ */
.terminal {
  background: #060a14;
  border: 1px solid var(--green-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 40px -10px var(--green-glow), var(--shadow-panel);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem var(--space-lg);
  background: rgba(59, 240, 160, 0.06);
  border-bottom: 1px solid rgba(59, 240, 160, 0.18);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.terminal-bar .tdots {
  display: flex;
  gap: 6px;
  margin-right: 0.5rem;
}
.terminal-bar .tdots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-bright);
}
.terminal-body {
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.85;
}
.tline {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.2rem 0;
}
.tline .prompt {
  color: var(--green);
  user-select: none;
}
.tline .cmd {
  color: var(--text);
}
.tline .comment {
  color: var(--text-faint);
}
.tline.is-deny .cmd { color: var(--alert); }
.tline.is-deny .prompt { color: var(--alert); }
.terminal-cursor {
  display: inline-block;
  width: 9px;
  height: 1.05em;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}

/* ═══════════════════════════════════════════════════════════════
   MISSION OBJECTIVES
═══════════════════════════════════════════════════════════════ */
.objectives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.obj-panel {
  background: var(--space-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.obj-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cyan);
  margin-bottom: var(--space-lg);
}
.obj-panel h3 i { color: var(--cyan); }
.obj-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.obj-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.9rem;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--line);
  font-size: 0.97rem;
}
.obj-list li:last-child { border-bottom: none; }
.obj-list li::before {
  content: "\f00c"; /* fa-check */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--green);
  font-size: 0.85rem;
}

/* Bonus loadout row */
.loadout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
}
.loadout-item {
  background: var(--space-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}
.loadout-item i {
  font-size: 1.6rem;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}
.loadout-item .lo-name {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.loadout-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.4rem 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   CHAINGUARD ACTIONS (sponsor product demo)
═══════════════════════════════════════════════════════════════ */
.cg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.cg-card {
  background: var(--space-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cg-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}
.cg-card i {
  display: block;
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}
.cg-card h3 {
  font-size: 1.08rem;
  margin-bottom: var(--space-xs);
}
.cg-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Sponsor logo row ─────────────────────────────────────────── */
.cg-logo-row {
  display: flex;
  justify-content: center;
  margin-top: calc(var(--space-2xl) / 2);
}
.cg-logo {
  height: 34px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.cg-logo-row a:hover .cg-logo {
  opacity: 1;
  filter: drop-shadow(0 0 12px var(--cyan-glow));
}

/* ═══════════════════════════════════════════════════════════════
   MISSION COMMANDER (INSTRUCTOR)
═══════════════════════════════════════════════════════════════ */
.commander {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  background: var(--space-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}
.commander-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1300 / 941;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-bright);
}
.commander-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.commander h2 { margin-bottom: var(--space-sm); }
.commander-creds {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.cred {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.84rem;
  color: var(--text-soft);
  background: var(--space-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}
.cred i { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════
   ENLIST FORM
═══════════════════════════════════════════════════════════════ */
.enlist {
  position: relative;
}
.enlist-card {
  max-width: 620px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(45, 226, 255, 0.07), transparent 40%),
    var(--space-700);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-panel);
}
.enlist-card h2 {
  margin-bottom: var(--space-sm);
}
.enlist-card .lead {
  margin-bottom: var(--space-xl);
}
/* Targets both the mockup form (.signup-form) and the Kajabi {% form %} output */
.signup-form,
.enlist-card form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}
.field label,
.enlist-card form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.field input,
.enlist-card form input[type="text"],
.enlist-card form input[type="email"],
.enlist-card form .cg-input {
  width: 100%;
  background: var(--space-900);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder,
.enlist-card form .cg-input::placeholder { color: var(--text-faint); }
.field input:focus,
.enlist-card form input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
/* Kajabi injects hidden inputs + Parsley error <ul>s into the form. Collapse the
   empty ones (kills the big gap above the first field) and style real errors. */
.enlist-card form .parsley-errors-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  color: var(--alert);
  font-size: 0.8rem;
}
.enlist-card form .parsley-errors-list:empty {
  display: none;
  margin: 0;
}
.enlist-backer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}
.enlist-backer span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.enlist-backer a { display: inline-flex; line-height: 0; }
.enlist-backer-logo {
  height: 26px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.enlist-backer a:hover .enlist-backer-logo {
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--cyan-glow));
}

.enlist-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════════════════════════════ */
.faq {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--space-700);
  margin-bottom: var(--space-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-lg);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f067"; /* fa plus */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--cyan);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "\f068"; /* fa minus */
}
.faq-item .faq-body {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ═══════════════════════════════════════════════════════════════
   CONFIRMATION HERO
═══════════════════════════════════════════════════════════════ */
.confirm-hero {
  padding: calc(var(--space-3xl) * 1.4) 0 var(--space-3xl);
}
.confirm-hero-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.confirm-hero-inner .eyebrow {
  justify-content: center;
}
.confirm-hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
}
.confirm-sub {
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  margin-bottom: var(--space-2xl);
}

/* ── Countdown HUD — big variant ──────────────────────────────── */
.countdown-hud--big .cd-cell {
  min-width: 108px;
  padding: 1.1rem 0.8rem 0.8rem;
  border-radius: var(--radius-lg);
}
.countdown-hud--big .cd-num {
  font-size: 3.6rem;
  text-shadow: 0 0 26px var(--cyan-glow);
}
.countdown-hud--big .cd-lab {
  font-size: 0.8rem;
  margin-top: 0.6rem;
}
.countdown-hud--big .cd-sep {
  font-size: 2.6rem;
  padding-bottom: 1.4rem;
}
.countdown-hud--big .cd-cells {
  gap: 0.9rem;
}

.confirm-defender {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: var(--space-2xl) auto 0;
  filter: drop-shadow(0 0 34px rgba(45, 226, 255, 0.22));
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-2xl) 0;
  text-align: center;
}
.footer .brand {
  justify-content: center;
  margin-bottom: var(--space-md);
}
.footer p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — single breakpoint
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero { padding-top: calc(var(--space-3xl) / 2); }
  .hero-grid { grid-template-columns: 1fr; }
  .vectors { grid-template-columns: 1fr; }
  .objectives { grid-template-columns: 1fr; }
  .commander { grid-template-columns: 1fr; gap: var(--space-lg); padding: var(--space-xl); }
  .transmissions { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .cg-grid { grid-template-columns: 1fr 1fr; }
  .loadout { grid-template-columns: 1fr; }
  .nav-meta { display: none; }
  .nav .container { gap: var(--space-sm); }
  .brand { font-size: 0.95rem; letter-spacing: 0.08em; line-height: 1.15; min-width: 0; }
  .brand span { white-space: normal; overflow-wrap: anywhere; }
  .nav-right { flex-shrink: 0; }
  .section { padding: var(--space-2xl) 0; }
  .cd-cell { min-width: 0; flex: 1; }
  .cd-num { font-size: 1.5rem; }
  .cd-sep { font-size: 1.1rem; padding-bottom: 0.8rem; }
  .cd-cells { display: flex; }
  .countdown-hud--big .cd-cell { min-width: 0; flex: 1; padding: 0.8rem 0.5rem 0.6rem; }
  .countdown-hud--big .cd-num { font-size: 2.1rem; }
  .countdown-hud--big .cd-sep { font-size: 1.4rem; padding-bottom: 1rem; }

  /* Center hero + commander copy on mobile */
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-backer { justify-content: center; }
  .commander-copy { text-align: center; }
  .commander-creds { justify-content: center; }
}

@media (max-width: 512px) {
  .cg-grid { grid-template-columns: 1fr; }
}
