/* ==========================================================================
   AZARUS CLOUD - EPURE & SOVEREIGN MINIMAL CYBER ART DIRECTION
   Aesthetic: Ultra-Clean, Zero Glow, Razor-Sharp Obsidian & Cyber Orange
   Typography: Sovereign Ari Bold (Local)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ==========================================================================
   LOCAL SOVEREIGN TYPOGRAPHY : ARI BOLD & ARI
   ========================================================================== */
@font-face {
  font-family: 'Ari Bold';
  src: url('../assets/fonts/ari-w9500-bold.ttf') format('truetype'),
       local('Ari-W9500 Bold'),
       local('Ari-W9500-Bold'),
       local('Ari Bold');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ari Bold';
  src: url('../assets/fonts/ari-w9500-bold.ttf') format('truetype'),
       local('Ari-W9500 Bold'),
       local('Ari-W9500-Bold'),
       local('Ari Bold');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ari';
  src: url('../assets/fonts/ari-w9500-bold.ttf') format('truetype'),
       local('Ari-W9500 Bold'),
       local('Ari Bold');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ari';
  src: url('../assets/fonts/ari-w9500.ttf') format('truetype'),
       local('Ari-W9500'),
       local('Ari');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ari-W9500';
  src: url('../assets/fonts/ari-w9500-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ari-W9500';
  src: url('../assets/fonts/ari-w9500.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-deep: #07080b;
  --bg-surface: #0c0e14;
  --bg-card: #0f1219;
  --bg-card-hover: #141822;
  --bg-input: #080a0e;

  --orange-core: #dc2626;
  --red-core: #dc2626;
  --orange-bright: #ef4444;
  --red-bright: #ef4444;
  --orange-light: #f87171;
  --red-light: #f87171;
  --orange-dim: rgba(220, 38, 38, 0.08);
  --red-dim: rgba(220, 38, 38, 0.08);

  --text-white: #ffffff;
  --text-primary: #ededed;
  --text-secondary: #9499a6;
  --text-dim: #525766;

  --border-muted: #1c212e;
  --border-hover: #2b3244;
  --border-active: #dc2626;

  --status-green: #10b981;
  --status-red: #ef4444;

  --font-main: 'Ari Bold', 'Ari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Ari Bold', 'Ari', 'JetBrains Mono', monospace;
  --font-pixel: 'Ari Bold', 'Ari', sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Zero Scanlines / Clean Sharp Dark Background */
body::before {
  display: none;
}

/* Minimalist Clean Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1c212e;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange-core);
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.font-pixel {
  font-family: var(--font-pixel);
  letter-spacing: 0.02em;
}

.text-orange,
.text-red {
  color: var(--red-bright);
}

.text-glow {
  color: var(--red-bright);
}

.text-green {
  color: var(--status-green);
}

.text-dim {
  color: var(--text-dim);
}

.text-muted {
  color: var(--text-secondary);
}

/* ==========================================================================
   TOP STATUS BAR
   ========================================================================== */
.top-status-bar {
  background: #050608;
  border-bottom: 1px solid var(--border-muted);
  font-size: 0.76rem;
  padding: 0.4rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
}

.top-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--status-green);
  border-radius: 50%;
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 12px;
  z-index: 1000;
  padding: 0 1.25rem;
  background: transparent;
  pointer-events: none;
}

.navbar-slot {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 50px;
  height: 50px;
  background: url('../assets/navbar-bar.png') no-repeat center / 100% 100%,
              linear-gradient(
                90deg,
                #640803 0%,
                #820e05 5%,
                #730e06 10%,
                #650c06 15%,
                #560903 20%,
                #3f0801 30%,
                #2f0801 40%,
                #270901 50%,
                #290803 60%,
                #350802 70%,
                #480902 80%,
                #530a04 85%,
                #5c0702 90%,
                #620901 95%,
                #8b0f07 100%
              );
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85), 0 0 1px 1px rgba(220, 38, 38, 0.25);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Ari Bold', var(--font-main);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #ef4444;
  border-radius: 9999px;
  line-height: 1;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dc2626;
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.18s ease;
  display: inline-block;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(220, 38, 38, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4rem 0 3.5rem 0;
  position: relative;
  text-align: center;
}

.ascii-banner-container {
  overflow-x: auto;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
}

.ascii-art-logo {
  font-family: 'JetBrains Mono', 'Courier New', monospace !important;
  font-size: clamp(0.42rem, 1.1vw, 0.95rem);
  line-height: 1.15;
  color: var(--orange-core);
  white-space: pre;
  user-select: none;
}

.hero-tagline {
  font-family: var(--font-main);
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.hero-description {
  max-width: 780px;
  margin: 0 auto 2.2rem auto;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   UNIFIED TELEMETRY STRIP (REPLACING DISCONNECTED STAT BOXES)
   ========================================================================== */
.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #08090d;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin: 2.5rem 0 1.5rem 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.telemetry-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.25) 15%,
    #dc2626 45%,
    #ef4444 65%,
    rgba(220, 38, 38, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: left 0.3s ease, right 0.3s ease;
}

.telemetry-strip:hover {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 1px rgba(220, 38, 38, 0.3);
}

.telemetry-strip:hover::before {
  left: 3%;
  right: 3%;
}

.telemetry-cell {
  padding: 1.25rem 1.4rem;
  border-right: 1px solid rgba(220, 38, 38, 0.12);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.telemetry-cell:last-child {
  border-right: none;
}

.telemetry-cell:hover {
  background: rgba(255, 255, 255, 0.02);
}

.telemetry-val {
  font-family: 'Ari Bold', var(--font-main);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.telemetry-val .accent-orange {
  color: var(--orange-bright);
}

.telemetry-val .unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 2px;
}

.telemetry-lbl {
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a91a0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}

.telemetry-pill-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 700;
}

.telemetry-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

/* ==========================================================================
   EPURE CARDS & GRIDS (SIGNATURE BUTTON BORDER AESTHETIC)
   ========================================================================== */
.pixel-card {
  background: #08090d;
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 14px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pixel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.25) 15%,
    #dc2626 45%,
    #ef4444 65%,
    rgba(220, 38, 38, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: left 0.3s ease, right 0.3s ease;
}

.pixel-card:hover {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 1px rgba(220, 38, 38, 0.3);
}

.pixel-card:hover::before {
  left: 4%;
  right: 4%;
}

.pixel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  padding-bottom: 0.6rem;
}

.pixel-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.pixel-card-tag {
  font-family: var(--font-main);
  font-size: 0.7rem;
  color: var(--orange-core);
  font-weight: 700;
}

/* Featured Card */
.pixel-card.featured,
.pricing-card.featured {
  border: 1.5px solid var(--orange-bright);
  background: #0d1017;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 1px rgba(220, 38, 38, 0.4);
}

.pixel-card.featured::before {
  left: 4%;
  right: 4%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.5) 10%,
    #f87171 45%,
    #ef4444 65%,
    rgba(220, 38, 38, 0.5) 90%,
    transparent 100%
  );
}

/* ==========================================================================
   SECTION HEADERS & MODERN EYEBROWS
   ========================================================================== */
.section-header {
  margin-bottom: 2.2rem;
  position: relative;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-bright);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 9999px;
  padding: 3px 12px;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.section-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin: 0.65rem auto 0 auto;
  max-width: 680px;
  line-height: 1.6;
}

/* ==========================================================================
   SOVEREIGN SECURITY CONSOLE (REPLACING FAKE TERMINAL CLICHES)
   ========================================================================== */
.console-window {
  background: #08090d;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 14px;
  overflow: hidden;
  margin: 2.2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.console-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.25) 15%,
    #dc2626 45%,
    #ef4444 65%,
    rgba(220, 38, 38, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 10;
  transition: left 0.3s ease, right 0.3s ease;
}

.console-window:hover {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.6), 0 0 1px rgba(220, 38, 38, 0.3);
}

.console-window:hover::before {
  left: 3%;
  right: 3%;
}

.console-titlebar {
  background: #0d0f15;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.console-target-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #c9d1d9;
}

.console-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 9999px;
}

.console-scenarios {
  background: #0a0c11;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.scenario-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: var(--text-secondary);
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scenario-pill:hover {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.5);
  color: #ffffff;
}

.scenario-pill.active {
  background: rgba(220, 38, 38, 0.15);
  border-color: var(--orange-bright);
  color: var(--orange-bright);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.15);
}

.scenario-pill-tag {
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #8a91a0;
}

.scenario-pill.active .scenario-pill-tag {
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
}

/* Console Editor / Buffer */
.console-buffer {
  padding: 1.15rem 1.25rem;
  background: #06070a;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.console-buffer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.74rem;
  color: #8a91a0;
  font-family: 'JetBrains Mono', monospace;
}

.console-textarea {
  width: 100%;
  background: #090b10;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 10px;
  color: #f1f2f5;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  padding: 0.85rem;
  resize: vertical;
  outline: none;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.console-textarea:focus {
  border-color: var(--orange-bright);
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.15);
}

/* Console Action Bar */
.console-action-bar {
  padding: 0.75rem 1.25rem;
  background: #0a0c12;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.console-meta {
  font-size: 0.78rem;
  color: #8a91a0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Console Output Pane */
.console-output-pane {
  padding: 1.25rem;
  background: #050608;
  min-height: 240px;
  max-height: 480px;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ==========================================================================
   ANALYTIC BENCHMARK SCORECARD (REPLACING FAKE ASCII PROGRESS BARS)
   ========================================================================== */
.benchmark-card {
  background: #08090d;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 14px;
  overflow: hidden;
  margin: 2rem 0;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.benchmark-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.25) 15%,
    #dc2626 45%,
    #ef4444 65%,
    rgba(220, 38, 38, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: left 0.3s ease, right 0.3s ease;
}

.benchmark-card:hover {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 1px rgba(220, 38, 38, 0.3);
}

.benchmark-card:hover::before {
  left: 3%;
  right: 3%;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.benchmark-table th {
  background: #0d0f15;
  color: #8a91a0;
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  font-weight: 700;
}

.benchmark-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: #d1d5db;
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.benchmark-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.gauge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gauge-track {
  width: 130px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #dc2626, #ef4444);
  border-radius: 9999px;
}

.gauge-fill.green {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.status-badge.sota {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--orange-bright);
}

.status-badge.verified {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.status-badge.certified {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* ==========================================================================
   3-STAGE SOVEREIGN PIPELINE (REPLACING GENERIC 3 TEXT CARDS)
   ========================================================================== */
.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
  position: relative;
}

.pipeline-card {
  background: #08090d;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pipeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.25) 15%,
    #dc2626 45%,
    #ef4444 65%,
    rgba(220, 38, 38, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: left 0.3s ease, right 0.3s ease;
}

.pipeline-card:hover {
  border-color: rgba(220, 38, 38, 0.7);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 1px rgba(220, 38, 38, 0.4);
}

.pipeline-card:hover::before {
  left: 4%;
  right: 4%;
}

.pipeline-step-badge {
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange-bright);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.85rem;
}

.pipeline-title {
  font-family: 'Ari Bold', var(--font-main);
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pipeline-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pipeline-specs {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pipeline-specs li {
  font-size: 0.8rem;
  color: #c9d1d9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pipeline-specs li::before {
  content: "✓";
  color: var(--orange-bright);
  font-weight: 700;
}

/* ==========================================================================
   DEVELOPER CONSOLE & TABS (REPLACING COMMENT-HEAVY BASH DUMP)
   ========================================================================== */
.cli-console {
  background: #08090d;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 14px;
  overflow: hidden;
  margin: 2.2rem 0;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cli-console::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.25) 15%,
    #dc2626 45%,
    #ef4444 65%,
    rgba(220, 38, 38, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: left 0.3s ease, right 0.3s ease;
}

.cli-console:hover {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), 0 0 1px rgba(220, 38, 38, 0.3);
}

.cli-console:hover::before {
  left: 3%;
  right: 3%;
}

.cli-tabs {
  background: #0d0f15;
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 0.85rem;
  overflow-x: auto;
}

.cli-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #8a91a0;
  font-family: 'Ari Bold', var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.cli-tab:hover {
  color: #ffffff;
}

.cli-tab.active {
  color: var(--orange-bright);
  border-bottom-color: var(--orange-bright);
}

.cli-pane {
  display: none;
  padding: 1.25rem 1.5rem;
  background: #06070a;
}

.cli-pane.active {
  display: block;
}

.cli-pane pre {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #e6edf3;
  white-space: pre-wrap;
}

.cli-pane .comment {
  color: #6e7681;
}

.cli-pane .cmd {
  color: var(--orange-bright);
}

.cli-pane .str {
  color: #7ee787;
}

/* ==========================================================================
   PRICING MATRIX
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 2.2rem 0;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange-bright);
  margin: 0.85rem 0;
  font-family: var(--font-main);
}

.pricing-list {
  list-style: none;
  margin: 1.25rem 0;
}

.pricing-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #161a24;
  color: var(--text-secondary);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-list li::before {
  content: "✓";
  color: var(--orange-bright);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2rem 0;
}

.faq-item {
  background: #08090d;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.25) 20%,
    #dc2626 50%,
    #ef4444 70%,
    rgba(220, 38, 38, 0.25) 85%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, left 0.3s ease, right 0.3s ease;
}

.faq-item:hover,
.faq-item.open {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.faq-item:hover::before,
.faq-item.open::before {
  opacity: 1;
  left: 8%;
  right: 8%;
}

.faq-header {
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--text-white);
  user-select: none;
  font-size: 0.95rem;
}

.faq-icon {
  color: var(--orange-core);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(90deg);
}

.faq-body {
  padding: 0 1.25rem 1.15rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

/* ==========================================================================
   PRE-FOOTER CTA & FOOTER
   ========================================================================== */
.prefooter-section {
  padding: 4.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border-muted);
  background: var(--bg-surface);
}

.site-footer {
  border-top: 1px solid var(--border-muted);
  padding: 3.5rem 0 2rem 0;
  background: #050608;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--orange-bright);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .pipeline-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 0.75rem;
  }
  .navbar-slot {
    padding: 0 12px;
    height: 48px;
    min-height: 48px;
  }
  .nav-links {
    display: none;
  }
  .telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-cell:nth-child(2) {
    border-right: none;
  }
  .telemetry-cell:nth-child(1),
  .telemetry-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .benchmark-card {
    overflow-x: auto;
  }
  .benchmark-table {
    min-width: 620px;
  }
  .button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 0.5rem;
  }
  .navbar-slot {
    padding: 0 10px;
    gap: 6px;
    height: 44px;
    min-height: 44px;
  }
  .brand-name {
    font-size: 0.95rem;
  }
  .logo-badge {
    display: none;
  }
  .button.button-nav {
    min-width: 38px;
    height: 34px;
    padding: 0 8px;
  }
  .button.button-nav .state p {
    display: none;
  }
  .button.button-nav .state {
    padding-left: 0;
  }
  .button.button-nav .state .icon {
    position: static;
  }
  .telemetry-strip {
    grid-template-columns: 1fr;
  }
  .telemetry-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .telemetry-cell:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   UIVERSE.IO SIGNATURE KINETIC BUTTON (by 00Kubi)
   Refined Epure Direction : Zero Glow, Crisp Conic Border, Static Geometry
   ========================================================================== */

.button {
  --primary: #dc2626;
  --neutral-1: #ffffff;
  --neutral-2: #f4f5f7;
  --radius: 14px;

  cursor: pointer;
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 220px;
  padding: 0 24px;
  height: 64px;
  font-family: 'Ari Bold', var(--font-main);
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-sizing: border-box;
  color: #0b0d12;
  user-select: none;
  background: transparent;
  transform: none;
}

.button:hover {
  transform: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.button:active {
  transform: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.3)) border-box;
  z-index: 0;
  transition: all 0.2s ease;
  transform: none;
}

.button:hover::after {
  transform: none;
}

.button::before {
  content: "";
  inset: 5px 5px 5px 5px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 20px;
  z-index: 2;
  pointer-events: none;
}

/* Secondary Obsidian Stealth Variant */
.button.button-secondary {
  --primary: #dc2626;
  --neutral-1: #141722;
  --neutral-2: #0b0d13;
  color: #ffffff;
  box-shadow: none;
}

.button.button-secondary:after {
  border: 1px solid rgba(220, 38, 38, 0.35);
  background:
    linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(220, 38, 38, 0.4), rgba(220, 38, 38, 0.1)) border-box;
}

.button.button-secondary:hover:after {
  border-color: rgba(220, 38, 38, 0.7);
}

.button.button-secondary .state--sent svg {
  stroke: var(--primary);
}

/* Outline with Spinning Laser Beam (Crisp, No Fuzzy Glow) */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  inset: -1.5px;
  pointer-events: none;
}

.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 180deg,
    transparent 65%,
    var(--primary) 88%,
    transparent 100%
  );
  animation: spin 2.2s linear infinite;
  animation-play-state: paused;
  opacity: 0.85;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.button:hover .outline {
  opacity: 1;
}

.button:hover .outline::before {
  animation-play-state: running;
}

/* States & Typography */
.state {
  padding-left: 28px;
  z-index: 3;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.state p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}

.state p span {
  display: inline-block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}

.state p span.space {
  width: 5px;
  min-width: 5px;
}

.button:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}

.button:focus p span,
.button.is-active p span,
.button.is-loading p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}

@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(3px);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
    color: var(--primary);
  }
  40% {
    opacity: 1;
    transform: translateY(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(16px);
    color: var(--primary);
  }
}

/* Icon & Paper Plane */
.state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.15);
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.state .icon svg {
  overflow: visible;
}

.state--default .icon svg {
  animation: land 0.5s ease forwards;
  color: var(--primary);
}

.button:hover .state--default .icon {
  transform: rotate(45deg) scale(1.15);
}

.button:focus .state--default svg,
.button.is-active .state--default svg,
.button.is-loading .state--default svg {
  animation: takeOff 0.8s linear forwards;
}

.button:focus .state--default .icon,
.button.is-active .state--default .icon,
.button.is-loading .state--default .icon {
  transform: rotate(0) scale(1.15);
}

@keyframes takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(80px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(180px) rotate(45deg) scale(0);
  }
}

@keyframes land {
  0% {
    transform: translateX(-50px) translateY(20px) rotate(-40deg) scale(1.6);
    opacity: 0;
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, var(--primary));
}

.button:focus .state--default .icon:before,
.button.is-active .state--default .icon:before,
.button.is-loading .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}

@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* Sent State */
.state--sent {
  display: none;
}

.state--sent svg {
  transform: scale(1.15);
  margin-right: 8px;
  color: var(--primary);
}

.button:focus .state--default,
.button.is-active .state--default,
.button.is-loading .state--default {
  position: absolute;
  pointer-events: none;
}

.button:focus .state--sent,
.button.is-active .state--sent,
.button.is-loading .state--sent {
  display: flex;
}

.button:focus .state--sent span,
.button.is-active .state--sent span,
.button.is-loading .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}

.button:focus .state--sent .icon svg,
.button.is-active .state--sent .icon svg,
.button.is-loading .state--sent .icon svg {
  opacity: 0;
  animation: appear 1s ease forwards 0.7s;
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(3) rotate(-30deg);
    color: var(--primary);
  }
  40% {
    opacity: 1;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   SIZE MODIFIERS
   ========================================================================== */

/* Navbar Button */
.button.button-nav {
  min-width: 125px;
  height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
  --radius: 10px;
}

.button.button-nav::before {
  inset: 4px 3px 3px 3px;
  border-radius: 14px;
}

.button.button-nav .state {
  padding-left: 20px;
}

.button.button-nav .state .icon {
  transform: scale(0.9);
}

.button.button-nav:hover .state--default .icon {
  transform: rotate(45deg) scale(0.9);
}

.button.button-nav:focus .state--default .icon,
.button.button-nav.is-active .state--default .icon {
  transform: rotate(0) scale(0.9);
}

/* Terminal Run Button */
.button.button-terminal {
  min-width: 155px;
  height: 46px;
  padding: 0 18px;
  font-size: 14px;
  --radius: 12px;
}

.button.button-terminal::before {
  inset: 4px 4px 4px 4px;
  border-radius: 16px;
}

.button.button-terminal .state {
  padding-left: 22px;
}

.button.button-terminal .state .icon {
  transform: scale(1);
}

.button.button-terminal:hover .state--default .icon {
  transform: rotate(45deg) scale(1);
}

.button.button-terminal:focus .state--default .icon,
.button.button-terminal.is-active .state--default .icon {
  transform: rotate(0) scale(1);
}

/* Mini Copy Button */
.button.button-mini {
  min-width: 80px;
  height: 32px;
  padding: 0 12px;
  font-size: 11.5px;
  --radius: 8px;
}

.button.button-mini::before {
  inset: 3px 2px 2px 2px;
  border-radius: 10px;
}

.button.button-mini .state {
  padding-left: 16px;
}

.button.button-mini .state .icon {
  transform: scale(0.75);
}

.button.button-mini:hover .state--default .icon {
  transform: rotate(45deg) scale(0.75);
}

.button.button-mini:focus .state--default .icon,
.button.button-mini.is-active .state--default .icon {
  transform: rotate(0) scale(0.75);
}

/* Pricing Card Buttons */
.button.button-card {
  width: 100%;
  max-width: 240px;
  height: 48px;
  padding: 0 18px;
  font-size: 14.5px;
  margin: 1.5rem auto 0;
  display: inline-flex;
}
