/* ==========================================================================
   ZOTH STUDIO — 𝕏 AUDIENCE SHOWCASE & SOVEREIGN BUILDER LAUNCHPAD
   Aesthetic: Sovereign Cyber Obsidian, Hermetic Gold (#fbbf24), Cyan (#00f0ff), Violet (#a855f7)
   ========================================================================== */

:root {
  --bg-primary: #040508;
  --bg-secondary: #0a0d14;
  --bg-tertiary: #101522;
  --bg-card: rgba(13, 18, 28, 0.75);
  --bg-card-hover: rgba(22, 30, 48, 0.85);
  --bg-glass: rgba(10, 14, 23, 0.8);
  
  --gold-primary: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.4);
  --gold-dim: rgba(251, 191, 36, 0.15);
  
  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --cyan-dim: rgba(0, 240, 255, 0.12);
  
  --violet-primary: #a855f7;
  --violet-glow: rgba(168, 85, 247, 0.35);
  
  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  
  --rose-primary: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #fde68a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(251, 191, 36, 0.3);
  --border-cyan: rgba(0, 240, 255, 0.3);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --font-display: 'Cinzel', 'Outfit', var(--font-sans);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(251, 191, 36, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 191, 36, 0.5);
}

/* Background Canvas & Grid Overlay */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
}

.scanline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
}

/* Content Wrapper */
.site-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-top: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 1px rgba(251, 191, 36, 0.2);
  transition: var(--transition-smooth);
}

.site-nav:hover {
  border-color: var(--border-accent);
}

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

.brand-icon-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 12px var(--gold-glow);
}

.brand-pulse {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gold-primary);
  opacity: 0.3;
  animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  background: var(--gold-dim);
  color: var(--gold-primary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 8px var(--emerald-primary);
  display: inline-block;
  animation: blink-soft 2s infinite;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-link.active {
  color: var(--gold-primary);
  background: var(--gold-dim);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.btn-icon:hover {
  color: var(--gold-primary);
  border-color: var(--border-accent);
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.btn-icon.active {
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
  background: var(--cyan-dim);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold-primary) 0%, #f59e0b 100%);
  color: #040508;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
  color: #000;
}

/* ==========================================================================
   HERO SECTION (Cinematic Sovereign Poster)
   ========================================================================== */
.hero-section {
  padding: 60px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
  animation: glow-pulse 3s infinite alternate;
}

.pill-highlight {
  background: var(--gold-primary);
  color: #040508;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.7rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 1050px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.gradient-gold {
  background: linear-gradient(135deg, #ffffff 20%, #fde68a 50%, #fbbf24 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.3);
}

.gradient-cyan {
  background: linear-gradient(135deg, #ffffff 20%, #a5f3fc 50%, #00f0ff 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.7;
}

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

/* 1-Liner Action Bar */
.hero-action-box {
  width: 100%;
  max-width: 720px;
  background: rgba(10, 14, 23, 0.95);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(251, 191, 36, 0.2);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.command-snippet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #a5f3fc;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 8px;
}

.terminal-prompt-symbol {
  color: var(--gold-primary);
  font-weight: 800;
  user-select: none;
}

.btn-copy-main {
  background: var(--gold-primary);
  color: #040508;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px var(--gold-glow);
}

.btn-copy-main:hover {
  background: #fde68a;
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.5);
}

/* Secondary CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #040508;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 25px var(--cyan-glow);
  transition: var(--transition-smooth);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.6);
  color: #000;
}

.btn-secondary-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
}

.btn-secondary-dark:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Telemetry HUD Ticker Strip */
.telemetry-ticker-bar {
  width: 100%;
  max-width: 1200px;
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.telemetry-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 2px solid var(--border-subtle);
  padding-left: 14px;
}

.telemetry-metric:first-child {
  border-left-color: var(--emerald-primary);
}
.telemetry-metric:nth-child(2) {
  border-left-color: var(--cyan-primary);
}
.telemetry-metric:nth-child(3) {
  border-left-color: var(--gold-primary);
}
.telemetry-metric:nth-child(4) {
  border-left-color: var(--violet-primary);
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.showcase-section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-kicker::before,
.section-kicker::after {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gold-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}

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

/* ==========================================================================
   INTERACTIVE FEATURE 1: 𝕏 TRANSMISSIONS & VIRAL MEGATHREADS
   ========================================================================== */
.transmissions-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
  background: var(--gold-dim);
  color: var(--gold-primary);
  border-color: var(--border-accent);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.transmissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

/* 𝕏 Post Card */
.x-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.x-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.x-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(251, 191, 36, 0.15);
}

.x-card:hover::before {
  opacity: 1;
}

.x-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.x-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.x-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.x-author-names {
  display: flex;
  flex-direction: column;
}

.x-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.x-verified-badge {
  color: var(--cyan-primary);
  font-size: 0.9rem;
}

.x-author-handle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.x-logo-badge {
  color: var(--text-secondary);
  font-size: 1.2rem;
  opacity: 0.7;
}

.x-post-content {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 18px;
  flex-grow: 1;
}

.x-post-content strong {
  color: var(--gold-primary);
}

.x-tag {
  color: var(--cyan-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.x-tag:hover {
  text-decoration: underline;
}

/* Post Media Container */
.x-post-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
  background: #000;
  position: relative;
  cursor: pointer;
}

.x-media-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.x-post-media:hover .x-media-img {
  transform: scale(1.03);
}

.x-media-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* X Metrics Strip */
.x-metrics-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.x-metric-item {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.x-metric-item:hover {
  color: var(--cyan-primary);
}

/* X Action Buttons */
.x-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.btn-x-action {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-x-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-x-action.primary {
  background: var(--gold-dim);
  color: var(--gold-primary);
  border-color: var(--border-accent);
}

.btn-x-action.primary:hover {
  background: var(--gold-primary);
  color: #040508;
  box-shadow: 0 0 15px var(--gold-glow);
}

/* ==========================================================================
   INTERACTIVE FEATURE 2: BUILD IN 60s LIVE TERMINAL SIMULATOR
   ========================================================================== */
.terminal-deck-wrapper {
  background: #060910;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(251, 191, 36, 0.2);
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background: #090e18;
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title-center {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.term-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 4px;
  font-weight: 700;
}

/* Prompt Presets Toolbar */
.terminal-preset-bar {
  background: #0b111e;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}

.preset-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-preset {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-preset:hover {
  background: var(--gold-dim);
  color: var(--gold-primary);
  border-color: var(--border-accent);
}

.btn-preset.active {
  background: var(--gold-primary);
  color: #040508;
  font-weight: 700;
  border-color: var(--gold-primary);
}

/* Terminal Body Split */
.terminal-body-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 480px;
}

@media (max-width: 960px) {
  .terminal-body-split {
    grid-template-columns: 1fr;
  }
}

.terminal-console-pane {
  background: #04060a;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #f1f5f9;
  overflow-y: auto;
  max-height: 520px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.console-output {
  line-height: 1.6;
  word-break: break-word;
}

.term-line {
  margin-bottom: 4px;
}
.term-line.cyan { color: var(--cyan-primary); }
.term-line.gold { color: var(--gold-primary); }
.term-line.green { color: var(--emerald-primary); }
.term-line.purple { color: var(--violet-primary); }
.term-line.dim { color: var(--text-muted); }
.term-line.bold { font-weight: 700; }

.term-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.term-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #00f0ff;
}

.btn-term-run {
  background: var(--cyan-primary);
  color: #040508;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--cyan-glow);
  transition: var(--transition-fast);
}

.btn-term-run:hover {
  background: #a5f3fc;
  transform: translateY(-1px);
}

/* Terminal Preview Pane */
.terminal-preview-pane {
  background: #090e18;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.preview-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-viewport-mock {
  flex: 1;
  background: #04060a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.preview-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 16px;
}

.mock-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--gold-dim);
  color: var(--gold-primary);
  padding: 2px 6px;
  border-radius: 4px;
}

.preview-mock-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-code-block {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #93c5fd;
  line-height: 1.5;
  overflow-x: auto;
}

/* ==========================================================================
   INTERACTIVE FEATURE 3: THE 21-AGENT PANTHEON MATRIX
   ========================================================================== */
.pantheon-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pantheon-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.pantheon-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.pantheon-tab.active {
  background: var(--cyan-dim);
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.pantheon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.agent-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-primary);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--cyan-glow);
}

.agent-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.agent-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
}

.agent-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: #0a0d14;
}

.agent-status-ring {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald-primary);
  border: 2px solid #040508;
  box-shadow: 0 0 6px var(--emerald-primary);
}

.agent-identity {
  display: flex;
  flex-direction: column;
}

.agent-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

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

.agent-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.agent-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tool-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.agent-model-pill {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Agent Dossier Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #090e18;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px var(--gold-glow);
  padding: 32px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

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

/* ==========================================================================
   INTERACTIVE FEATURE 4: SOVEREIGN MATH & ROI CALCULATOR
   ========================================================================== */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
  .calculator-card {
    grid-template-columns: 1fr;
  }
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.slider-val-display {
  color: var(--gold-primary);
  font-weight: 700;
}

.calc-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #1e293b;
  outline: none;
}

.calc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-glow);
}

.calc-results-pane {
  background: #060910;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-hero-stat {
  margin-bottom: 20px;
}

.results-hero-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.results-hero-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--emerald-primary);
  text-shadow: 0 0 20px var(--emerald-glow);
  margin-top: 4px;
}

.results-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.sub-stat-box {
  display: flex;
  flex-direction: column;
}

.sub-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sub-stat-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

/* ==========================================================================
   INTERACTIVE FEATURE 5: MEDIA & HD VIDEO SHOWCASE
   ========================================================================== */
.media-showcase-container {
  background: #090e18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.media-tab-strip {
  display: flex;
  background: #060910;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.media-tab-btn {
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.media-tab-btn.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
  background: var(--gold-dim);
}

.media-tab-content {
  padding: 24px;
}

.media-frame-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
}

.media-frame-video,
.media-frame-img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   FINAL CONVERSION LAUNCHPAD (CTA)
   ========================================================================== */
.launchpad-card {
  background: linear-gradient(180deg, rgba(13, 18, 28, 0.95) 0%, rgba(6, 9, 16, 0.98) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(251, 191, 36, 0.2);
}

.launchpad-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.launchpad-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.launchpad-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
}

.launchpad-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 40px;
  text-align: left;
}

.step-card {
  background: #060910;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-primary);
  background: var(--gold-dim);
  border: 1px solid var(--border-accent);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.step-heading {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 6px;
}

.step-snippet {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #93c5fd;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

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

@keyframes glow-pulse {
  0% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.1); }
  100% { box-shadow: 0 0 25px rgba(251, 191, 36, 0.35); }
}

/* Notification Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gold-primary);
  color: #040508;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-bounce);
  pointer-events: none;
}

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

/* Responsive Rules */
@media (max-width: 768px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .hero-action-box {
    flex-direction: column;
    align-items: stretch;
  }
  .command-snippet {
    justify-content: center;
  }
  .btn-copy-main {
    justify-content: center;
  }
  .transmissions-grid {
    grid-template-columns: 1fr;
  }
}
