/* ==========================================================================
   AutoBots & VAXUR Haute Couture Visual Architecture
   Purity Dark Mode (#050505) • True Frosted Glassmorphism
   Zero Geometric Flying Shards • Destruction of Pills (No rounded-full)
   Technical Monospace Telemetry • Volumetric Ambient Glow Pools
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=JetBrains+Mono:wght@300;400;500;700&family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700&display=swap');

:root {
  --font-serif: "Cormorant Garamond", "PP Editorial New", "Didot", "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Pure Abyss Void */
  --bg-pure: #000000;
  --bg-deep: #050505;

  /* True Frosted Glass Specifications (Tailwind equivalent: bg-white/[0.02] backdrop-blur-3xl border border-white/[0.05]) */
  --glass-frosted-bg: rgba(255, 255, 255, 0.02);
  --glass-frosted-border: rgba(255, 255, 255, 0.05);
  --glass-frosted-hover: rgba(255, 255, 255, 0.035);

  /* Technical Light & Radiation (Cyber Cyan Theme) */
  --emerald-lead: #00c8e0;
  --emerald-glow: #00f0ff;
  --emerald-dim: rgba(0, 240, 255, 0.2);
  --emerald-subtle: rgba(0, 240, 255, 0.1);

  /* High-Contrast Technical Palette */
  --text-pure: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-dimmed: rgba(255, 255, 255, 0.35);
  --text-ghost: rgba(255, 255, 255, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.05);

  /* Easing curves */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  background-color: var(--bg-pure);
  color-scheme: dark;
  scroll-behavior: auto; /* Governed by Lenis */
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-pure);
  color: var(--text-pure);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Reactive Kryptonite Network Canvas */
#kryptoniteCanvas {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

/* Ambient Diffused Light Blobs (Pure Refraction Without Sharp Geometry) */
.ambient-glow-blob {
  position: fixed;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
}

.blob-top,
.halo-orb-top {
  position: fixed;
  top: -150px;
  left: 20%;
  width: 550px;
  height: 550px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}

.blob-middle {
  position: fixed;
  top: 40%;
  right: 12%;
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.06) 0%, transparent 70%);
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}

.blob-bottom,
.halo-orb-bottom {
  position: fixed;
  bottom: -150px;
  left: 30%;
  width: 650px;
  height: 650px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  filter: blur(160px);
  pointer-events: none;
  z-index: 0;
}

/* Film Grain / Analog Noise Texture */
.noise-overlay,
.noise-veil {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Atmospheric Fog */
.ambient-fog {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.04) 0%, transparent 60%);
}

/* ==========================================================================
   Top Navigation: Destruction of Pills & Bubbles
   Sharp, Architectural, High-Contrast Typography
   ========================================================================== */

.header-plane,
.nav-architecture {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 !important;
}

@media (max-width: 768px) {
  .header-plane,
  .nav-architecture {
    padding: 16px 24px;
  }
}

/* Nav Crystal Reset: No Oval Bubble Pill */
.nav-crystal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.nav-brand-group,
.brand-anchor {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-pure);
}

.brand-vector,
.brand-logo-svg {
  width: 20px;
  height: 20px;
  color: var(--emerald-glow);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

.vaxur-nav-logo {
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.vaxur-card-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-plane:hover .vaxur-card-icon {
  transform: scale(1.08);
}

.brand-title,
.brand-title-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-pure);
}

/* Technical Slanted / Mono Telemetry */
.telemetry-micro,
.telemetry-tag,
.telemetry-state {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dimmed);
}

.telemetry-micro-active,
.telemetry-state.ready {
  color: var(--emerald-glow);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* Top Nav Links Cluster: ZERO PILLS, Pure Technical Typography with // */
.nav-links-hub,
.nav-links-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-anchor-link,
.nav-item-link {
  font-family: var(--font-mono);
  font-size: 0.75rem; /* text-xs */
  letter-spacing: 0.1em; /* tracking-widest */
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); /* text-white/50 */
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms ease;
  box-shadow: none !important;
}

.nav-anchor-link:hover,
.nav-item-link:hover {
  color: #ffffff; /* hover:text-white */
  background: transparent !important;
}

.nav-anchor-link svg,
.nav-item-link svg {
  transition: transform 250ms var(--ease-expo), color 200ms ease;
  color: rgba(255, 255, 255, 0.5);
}

.nav-anchor-link:hover svg,
.nav-item-link:hover svg {
  color: #ffffff;
  transform: translate3d(2px, -2px, 0);
}

.nav-divider-slash {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-ghost);
  user-select: none;
}

/* ==========================================================================
   Viewport Architecture
   ========================================================================== */

.viewport-wrap,
.architectural-viewport {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 48px 140px 48px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .viewport-wrap,
  .architectural-viewport {
    padding: 36px 24px 90px 24px;
  }
}

/* Editorial Hero Stage */
.hero-stage,
.hero-editorial {
  margin-bottom: 72px;
}

.editorial-telemetry,
.telemetry-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald-glow);
}

.telemetry-pulse-dot {
  width: 5px;
  height: 5px;
  background: var(--emerald-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-glow);
}

.hero-stage h1,
.split-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 24px;
  color: #ffffff;
}

.split-line {
  display: block;
  overflow: hidden;
}

.split-word {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 1.1s var(--ease-expo), opacity 0.7s ease;
  will-change: transform, opacity;
}

.split-word.revealed {
  transform: translateY(0);
  opacity: 1;
}

.split-word-accent {
  font-style: italic;
  background: linear-gradient(135deg, #ffffff 40%, var(--emerald-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stage p,
.editorial-sub {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 660px;
}

.hero-stage p code,
.editorial-sub code {
  color: var(--emerald-glow);
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: rgba(0, 240, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
}

.hero-quick-bar,
.hero-actions-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Horizontal Hairline Tension Separator */
.tension-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(0, 240, 255, 0.25) 75%, transparent);
  margin: 48px 0;
  border: none;
}

/* ==========================================================================
   Timeline / Step Indicators: ZERO PILLS (01 // 02 // 03)
   ========================================================================== */

.timeline-strip,
.timeline-tension-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

@media (max-width: 1060px) {
  .timeline-strip,
  .timeline-tension-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .timeline-strip,
  .timeline-tension-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.timeline-step,
.step-tension-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 20px 0;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: border-color 300ms ease;
}

.timeline-step.active,
.step-tension-block.active {
  border-bottom-color: rgba(0, 240, 255, 0.7);
}

.timeline-step.completed,
.step-tension-block.completed {
  border-bottom-color: var(--emerald-glow);
  box-shadow: 0 4px 20px -2px rgba(0, 240, 255, 0.15) !important;
}

.step-index-row,
.timeline-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.step-number,
.timeline-icon-wrap {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--text-dimmed);
}

.timeline-step.active .timeline-icon-wrap,
.step-tension-block.active .step-number {
  color: var(--emerald-glow);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.timeline-step.completed .timeline-icon-wrap,
.step-tension-block.completed .step-number {
  color: var(--emerald-glow);
}

.step-label,
.timeline-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-pure);
}

.step-state-meta,
.timeline-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dimmed);
  text-transform: uppercase;
}

.step-tension-block.completed .step-state-meta,
.timeline-step.completed .timeline-status {
  color: var(--emerald-glow);
}

/* ==========================================================================
   True Frosted Glassmorphism Panels (bg-white/[0.02] backdrop-blur-3xl)
   ========================================================================== */

.stage-grid,
.spatial-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}

.spatial-three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

@media (max-width: 1160px) {
  .spatial-three-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 960px) {
  .stage-grid,
  .spatial-two-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.floating-plane,
.spatial-stage {
  background: var(--glass-frosted-bg) !important;
  backdrop-filter: blur(40px) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  border: 1px solid var(--glass-frosted-border) !important;
  border-radius: 8px !important;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75);
  transition: border-color 300ms ease, transform 300ms var(--ease-expo);
}

.floating-plane:hover,
.spatial-stage:hover {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.plane-header,
.stage-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.plane-title-text,
.stage-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-pure);
}

.plane-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

/* Void Code Textarea Surface */
.void-textarea,
.void-editor-surface {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  padding: 20px;
  width: 100%;
  height: 240px;
  color: #e6fff0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  resize: vertical;
  transition: all 250ms ease;
}

.void-textarea:focus,
.void-editor-surface:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.4) !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.12);
}

.void-textarea::placeholder,
.void-editor-surface::placeholder {
  color: var(--text-ghost);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Void Single Line Input Surface */
.void-input-surface {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  padding: 10px 14px;
  width: 100%;
  color: #e6fff0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  transition: all 250ms ease;
}

.void-input-surface:focus {
  outline: none;
  border-color: rgba(0, 240, 255, 0.4) !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.12);
}

.void-input-surface::placeholder {
  color: var(--text-ghost);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Void File Drop Surface */
.void-drop-surface {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px dashed rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px !important;
  padding: 44px 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 250ms ease;
}

.void-drop-surface:hover {
  border-color: rgba(0, 240, 255, 0.4) !important;
  background: rgba(0, 240, 255, 0.02) !important;
}

.void-drop-surface.dragover {
  border-color: var(--emerald-glow) !important;
  background: rgba(0, 240, 255, 0.05) !important;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
}

.drop-icon-vector {
  width: 36px;
  height: 36px;
  color: var(--text-dimmed);
  margin-bottom: 16px;
  transition: transform 300ms var(--ease-expo), color 250ms ease;
}

.void-drop-surface:hover .drop-icon-vector {
  color: var(--emerald-glow);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

.drop-lead-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.drop-sub-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dimmed);
  text-transform: uppercase;
}

.void-drop-surface input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-verified-status {
  display: none;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 240, 255, 0.25);
  width: 100%;
}

.file-verified-status.visible {
  display: block;
}

.file-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.file-spec-name {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-pure);
}

.file-spec-size {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--emerald-glow);
}

/* Matrix Key Badges */
.telemetry-matrix,
.matrix-chips-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.matrix-chip,
.matrix-key-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 3px !important;
  color: var(--text-dimmed);
  transition: all 200ms ease;
}

.matrix-chip.found,
.matrix-key-tag.found {
  color: var(--emerald-glow);
  border-color: rgba(0, 240, 255, 0.35) !important;
  background: rgba(0, 240, 255, 0.06) !important;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

/* ==========================================================================
   Action Triggers: Destruction of Pills & Bubbles
   Sharp, Technical, High-Contrast Typography
   ========================================================================== */

.ghost-trigger,
.magnetic-action-trigger,
.magnetic-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
  will-change: transform;
}

.ghost-trigger:hover,
.magnetic-action-trigger:hover,
.magnetic-btn-ghost:hover {
  color: #ffffff;
}

.ghost-trigger svg,
.magnetic-action-trigger svg,
.magnetic-btn-ghost svg {
  transition: transform 250ms var(--ease-expo), color 200ms ease;
  color: var(--text-dimmed);
}

.ghost-trigger:hover svg,
.magnetic-action-trigger:hover svg,
.magnetic-btn-ghost:hover svg {
  transform: translate3d(2px, -2px, 0);
  color: var(--emerald-glow);
}

/* Primary Action Button: Sharp, Technical Accent */
.magnetic-action-primary,
.magnetic-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 240, 255, 0.12) !important;
  border: 1px solid rgba(0, 240, 255, 0.35) !important;
  border-radius: 4px !important;
  padding: 14px 28px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.magnetic-action-primary:hover:not(:disabled),
.magnetic-btn-primary:hover:not(:disabled) {
  background: rgba(0, 240, 255, 0.2) !important;
  border-color: var(--emerald-glow) !important;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
}

.magnetic-action-primary:disabled,
.magnetic-action-primary[disabled],
.magnetic-btn-primary:disabled,
.magnetic-btn-primary[disabled] {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   Monolith Result Stage & Console Preview
   ========================================================================== */

.monolith-stage,
.monolith-result-stage {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.monolith-header,
.result-stage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.monolith-title-group h2,
.result-title-meta h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 14px;
}

.monolith-title-group p,
.result-title-meta p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
  font-weight: 300;
}

.monolith-controls,
.result-actions-cluster {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Terminal Console */
.monolith-console,
.monolith-terminal-frame {
  background: var(--glass-frosted-bg) !important;
  backdrop-filter: blur(40px) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  border: 1px solid var(--glass-frosted-border) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.console-bar,
.terminal-telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-subtle);
}

.console-id,
.terminal-title-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--emerald-glow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-body,
.terminal-content-code {
  margin: 0;
  padding: 28px 24px;
  color: #e6fff0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.75;
  white-space: pre;
  overflow-x: auto;
  max-height: 480px;
}

/* Lock Veil Overlay */
.lock-shield,
.lock-veil-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  background: var(--glass-frosted-bg) !important;
  backdrop-filter: blur(32px) !important;
  -webkit-backdrop-filter: blur(32px) !important;
  border: 1px solid var(--glass-frosted-border) !important;
  border-radius: 8px !important;
}

.lock-vector-orb,
.lock-vector-icon {
  width: 28px;
  height: 28px;
  color: var(--text-dimmed);
  margin-bottom: 16px;
}

.lock-shield-title,
.lock-title-head {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-pure);
  margin-bottom: 6px;
}

.lock-shield-desc,
.lock-desc-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 480px;
  font-weight: 300;
  line-height: 1.6;
}

/* ==========================================================================
   Hub Index Stage (index.html)
   ========================================================================== */

.hub-planes-grid,
.hub-tension-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.hub-plane,
.hub-editorial-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
  background: var(--glass-frosted-bg) !important;
  backdrop-filter: blur(40px) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  border: 1px solid var(--glass-frosted-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: all 300ms ease;
}

.hub-plane:hover,
.hub-editorial-card:hover {
  border-color: rgba(0, 240, 255, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.08);
}

.hub-vector-gem,
.hub-gem-vector {
  width: 26px;
  height: 26px;
  color: var(--emerald-glow);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.hub-title-head,
.hub-editorial-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 10px;
}

.hub-desc-text,
.hub-editorial-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

.hub-foot-strip,
.hub-action-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-pure);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--emerald-glow);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 250ms var(--ease-expo), opacity 250ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-error {
  border-left-color: #f43f5e;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-pure);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-glow);
}

/* ==========================================================================
   Master Hub (index.html) - Green Kryptonite Theme Overrides
   ========================================================================== */
body.hub-green-theme {
  --emerald-lead: #10b981;
  --emerald-glow: #00ff87;
  --emerald-dim: rgba(0, 255, 135, 0.2);
  --emerald-subtle: rgba(16, 185, 129, 0.1);
}

body.hub-green-theme .blob-top,
body.hub-green-theme .halo-orb-top {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.10) 0%, transparent 70%) !important;
}

body.hub-green-theme .blob-middle {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, transparent 70%) !important;
}

body.hub-green-theme .blob-bottom,
body.hub-green-theme .halo-orb-bottom {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07) 0%, transparent 70%) !important;
}

body.hub-green-theme .ambient-fog {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.05) 0%, transparent 60%) !important;
}

body.hub-green-theme .brand-vector,
body.hub-green-theme .brand-logo-svg {
  color: #00ff87 !important;
  filter: drop-shadow(0 0 8px rgba(0, 255, 135, 0.6)) !important;
}

body.hub-green-theme .telemetry-micro-active,
body.hub-green-theme .telemetry-state.ready {
  color: #00ff87 !important;
  text-shadow: 0 0 10px rgba(0, 255, 135, 0.4) !important;
}

body.hub-green-theme .tension-line {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(16, 185, 129, 0.28) 75%, transparent) !important;
}

body.hub-green-theme .split-word-accent {
  background: linear-gradient(135deg, #ffffff 40%, #00ff87 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

