/* ==========================================================================
   AZAM AI LABS — Public Website Master Stylesheet
   Theme: Aerospace Tactical / Cybernetic Obsidian / High-Velocity Telemetry
   ========================================================================== */

:root {
  --bg-deep: #05080d;
  --bg-canvas: #070c14;
  --bg-card: #0c1420;
  --bg-card-hover: #121c2b;
  --bg-strip: #0a111a;
  
  --border-dim: #182436;
  --border-focus: #2d4260;
  --border-accent: #38bdf8;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);
  --green-dim: rgba(16, 185, 129, 0.12);

  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);
  --cyan-dim: rgba(56, 189, 248, 0.12);

  --yellow: #f59e0b;
  --yellow-glow: rgba(245, 158, 11, 0.25);
  --yellow-dim: rgba(245, 158, 11, 0.12);

  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.3);
  --red-dim: rgba(239, 68, 68, 0.12);

  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.25);
  --purple-dim: rgba(168, 85, 247, 0.12);

  --gold: #eab308;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.08), transparent 70%),
    radial-gradient(circle at 100% 40%, rgba(16, 185, 129, 0.04), transparent 50%);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #fff;
}

.text-green { color: var(--green) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-red { color: var(--red) !important; }
.text-purple { color: var(--purple) !important; }
.text-gold { color: var(--gold) !important; }

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #031e13;
  border-color: #34d399;
  box-shadow: 0 0 15px var(--green-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.35);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
  transform: translateY(-1px);
}

.btn-cyan {
  background: #38bdf8;
  color: #042436;
  border-color: #7dd3fc;
  font-weight: 700;
}

.btn-cyan:hover {
  background: #7dd3fc;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-dim);
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.35);
}

.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.1);
  color: #fff;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 6px 12px;
}

.btn-xs {
  font-size: 0.72rem;
  padding: 5px 10px;
}

.btn-speak {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.btn-speak:hover {
  background: #38bdf8;
  color: #031522;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   Tactical Top Header
   ========================================================================== */
.tactical-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 8, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dim);
  padding: 10px 0;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-avatar-frame {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #0b131e;
  border: 1px solid var(--border-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.brand-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-fallback-glyph {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.status-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.status-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
}

/* Nav */
.tactical-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-code {
  color: var(--cyan);
  font-size: 0.7rem;
  margin-right: 4px;
}

.nav-highlight {
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ctrl-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dim);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: var(--border-focus);
}

.ctrl-accent {
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.3);
}

.ctrl-accent:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 85px 20px 60px;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(16, 185, 129, 0.05) 45%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-pill);
  color: var(--cyan);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.title-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #10b981 50%, #facc15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 34px;
  font-weight: 400;
}

.hero-lead strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.telemetry-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 22px;
  background: var(--bg-strip);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  margin-top: 15px;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.strip-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.strip-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.strip-divider {
  width: 1px;
  height: 24px;
  background: var(--border-dim);
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.division-section {
  padding: 80px 20px;
  border-top: 1px solid var(--border-dim);
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 40px;
  max-width: 820px;
}

.division-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   Division 01: Emergency Medical HUD Sandbox
   ========================================================================== */
.hud-sandbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.sandbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #080d14;
  border-bottom: 1px solid var(--border-dim);
}

.sandbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.pulse-red {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.sandbox-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}

.sandbox-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.sandbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--border-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  color: #fff;
  border-color: var(--border-focus);
}

.pill-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.4);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Bed Grid */
.hud-bed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 20px;
  background: var(--bg-canvas);
}

.bed-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-fast);
}

.bed-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.card-critical {
  border-left: 3px solid var(--red);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, var(--bg-card) 100%);
}

.card-stable {
  border-left: 3px solid var(--green);
}

.bed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bed-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
}

.triage-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.badge-esi1 {
  background: rgba(239, 68, 68, 0.2);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.badge-esi2 {
  background: rgba(245, 158, 11, 0.2);
  color: var(--yellow);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.badge-esi3 {
  background: rgba(234, 179, 8, 0.15);
  color: var(--gold);
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.badge-esi4 {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.patient-info {
  display: flex;
  flex-direction: column;
}

.pt-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.pt-dx {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.vitals-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #090e16;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid #141f2d;
}

.vital-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vital-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
}

.vital-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.vital-val small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
}

.vital-flag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vital-alert .vital-val, .vital-alert .vital-flag {
  color: var(--red);
}

.vital-warn .vital-val, .vital-warn .vital-flag {
  color: var(--yellow);
}

.vital-ok .vital-val, .vital-ok .vital-flag {
  color: var(--green);
}

.bed-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.sandbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #080d14;
  border-top: 1px solid var(--border-dim);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 680px;
}

/* ==========================================================================
   Division 02: Quantum Realm & Compounding Ladder
   ========================================================================== */
.trading-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.trading-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  font-size: 1.3rem;
}

.card-title {
  font-size: 1.25rem;
}

.card-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ladder-simulator {
  background: var(--bg-strip);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.slider-control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.custom-slider {
  width: 100%;
  accent-color: var(--yellow);
  height: 8px;
  border-radius: 4px;
  background: var(--border-dim);
  cursor: pointer;
}

.slider-steps {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}

.ladder-stats-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ladder-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-box {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.05);
}

.stat-name {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.discipline-rule {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #cbd5e1;
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid var(--yellow);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.engine-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.engine-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
}

.engine-bullet {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  background: #090e16;
  border: 1px solid var(--border-focus);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.engine-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.engine-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.audit-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #080d14;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.audit-label {
  color: var(--green);
  font-weight: 700;
}

.audit-val {
  color: var(--text-muted);
}

/* ==========================================================================
   Division 03: Workstation OS Matrix
   ========================================================================== */
.workstation-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.ws-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
}

.ws-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

.ws-port {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
}

.ws-title {
  font-size: 1.15rem;
}

.ws-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.ws-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ws-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  color: var(--text-dim);
}

/* ==========================================================================
   Division 04: Studio & Games
   ========================================================================== */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.studio-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.studio-card h3 {
  font-size: 1.3rem;
}

.studio-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.studio-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-dim);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

/* ==========================================================================
   Manifesto: The 4 Laws
   ========================================================================== */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.law-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.law-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
}

.law-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(239, 68, 68, 0.4);
}

.law-card h3 {
  font-size: 1.15rem;
}

.law-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Pricing & Access (Stripe Ready)
   ========================================================================== */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.card-featured {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.12);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #031c12;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.tier-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.tier-price {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
}

.price-sub {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dim);
}

.tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  min-height: 40px;
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 6px;
  margin-bottom: 12px;
  flex-grow: 1;
}

/* ==========================================================================
   Founder's Note
   ========================================================================== */
.founder-section {
  padding: 60px 20px 80px;
}

.founder-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0b131e 0%, #06090e 100%);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.founder-avatar-frame {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.founder-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-text h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.founder-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.founder-signature {
  display: flex;
  flex-direction: column;
}

.sig-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.sig-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tactical-footer {
  border-top: 1px solid var(--border-dim);
  background: #04060a;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

.footer-blurb {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 12px;
  max-width: 360px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #101722;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* Toast Notifications */
.toast-notify {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0c1420;
  border: 1px solid var(--cyan);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
  z-index: 2000;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: modal-enter 0.2s ease-out;
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #080d14;
  border-bottom: 1px solid var(--border-dim);
}

.modal-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stripe-badge-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dim);
}

.checkout-box {
  background: var(--bg-strip);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
}

.checkout-amount-row strong {
  font-size: 1.4rem;
  font-family: var(--font-mono);
}

.checkout-notice {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .trading-grid {
    grid-template-columns: 1fr;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tactical-nav {
    display: none; /* Mobile nav simplified */
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .founder-card {
    flex-direction: column;
    text-align: center;
  }
  .footer-links-group {
    grid-template-columns: 1fr;
  }
  .hud-bed-grid {
    grid-template-columns: 1fr;
  }
}
