/* ArgusSOC Dashboard - Stylesheet */

:root {
  --bg-primary: #0a0a0f;
  --bg-card: #12121a;
  --border: #1e1e2e;
  --accent-red: #e63946;
  --accent-gold: #f4a261;
  --green-ok: #2a9d8f;
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ===== TOP NAV ===== */
.nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-shrink: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.6));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.ok {
  color: var(--green-ok);
  border-color: var(--green-ok);
}

.status-badge.warning {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.status-badge.error {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.refresh-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.2s;
}

.refresh-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.refresh-btn.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== MAIN CONTENT ===== */
.content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===== AGENT STATUS CARDS ===== */
.agent-status-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.agent-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(244, 162, 97, 0.1);
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.agent-status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.agent-status-dot.ok {
  background: var(--green-ok);
  transition: box-shadow 0.3s ease;
}

.agent-status-dot.ok.active {
  animation: agent-pulse 2s ease-in-out infinite;
}

@keyframes agent-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(42, 157, 143, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(42, 157, 143, 0);
  }
}

.agent-status-dot.error {
  background: var(--accent-red);
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.8);
}

.agent-status-dot.unknown {
  background: #666;
}

.agent-name {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agent-error-badge {
  margin-left: auto;
  background: var(--accent-red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}

.agent-last-run {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.agent-last-action {
  font-size: 0.75rem;
  color: #666;
  font-style: italic;
  margin-bottom: 0.5rem;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-run-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.agent-run-btn:hover {
  background: var(--accent-red);
  color: var(--bg-primary);
}

.agent-run-btn:active {
  transform: scale(0.95);
}

.agent-card {
  position: relative;
}

.agent-summary {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  max-height: 2.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== METRICS ROW ===== */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.metric-value.flash {
  animation: metric-flash 0.3s ease;
}

@keyframes metric-flash {
  0% {
    transform: scale(1);
    text-shadow: 0 0 10px var(--accent-gold);
  }
  50% {
    transform: scale(1.2);
    text-shadow: 0 0 20px var(--accent-gold);
  }
  100% {
    transform: scale(1);
    text-shadow: none;
  }
}

.metric-detail {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.severity-breakdown {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.severity-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.severity-badge {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.severity-badge.critical {
  background: var(--accent-red);
}

.severity-badge.high {
  background: #ff8c42;
}

.severity-badge.medium {
  background: var(--accent-gold);
}

.severity-badge.low {
  background: #4a90e2;
}

.severity-badge.info {
  background: #999;
}

/* ===== TABS ===== */
.tabs-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.tabs-header {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.tab-btn.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.tab-btn:hover {
  color: var(--accent-gold);
}

.tabs-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tab-panel {
  display: none;
  flex: 1;
  overflow-y: auto;
}

.tab-panel.active {
  display: flex;
  flex-direction: column;
}

/* ===== TABLE STYLING ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table thead {
  background: var(--bg-primary);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

.table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.table tbody tr {
  cursor: pointer;
  transition: background 0.2s;
}

.table tbody tr:hover {
  background: var(--bg-card);
}

.table tbody tr.expanded {
  background: var(--bg-card);
}

.severity-badge-cell {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.severity-badge-cell.critical {
  background: rgba(230, 57, 70, 0.2);
  color: var(--accent-red);
}

.severity-badge-cell.high {
  background: rgba(255, 140, 66, 0.2);
  color: #ff8c42;
}

.severity-badge-cell.medium {
  background: rgba(244, 162, 97, 0.2);
  color: var(--accent-gold);
}

.severity-badge-cell.low {
  background: rgba(74, 144, 226, 0.2);
  color: #4a90e2;
}

.severity-badge-cell.info {
  background: rgba(136, 136, 170, 0.2);
  color: #aaa;
}

.status-badge-cell {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.status-badge-cell.open {
  background: rgba(230, 57, 70, 0.2);
  color: var(--accent-red);
}

.status-badge-cell.in_progress {
  background: rgba(244, 162, 97, 0.2);
  color: var(--accent-gold);
}

.status-badge-cell.completed {
  background: rgba(42, 157, 143, 0.2);
  color: var(--green-ok);
}

.status-badge-cell.pending {
  background: rgba(244, 162, 97, 0.2);
  color: var(--accent-gold);
}

.status-badge-cell.blocked {
  background: rgba(230, 57, 70, 0.2);
  color: var(--accent-red);
}

.icon-checkmark {
  color: var(--green-ok);
}

.icon-clock {
  color: var(--accent-gold);
}

/* ===== EXPANDED ROW ===== */
.expanded-detail {
  display: none;
}

.expanded-detail.show {
  display: table-row;
}

.detail-content {
  padding: 1.5rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.detail-section {
  margin-bottom: 1rem;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.detail-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.mitre-link {
  color: var(--accent-gold);
  text-decoration: none;
  cursor: pointer;
}

.mitre-link:hover {
  text-decoration: underline;
}

/* ===== EVENT FEED ===== */
.event-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-gold);
  padding: 1rem;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 150px 150px 120px 1fr;
  gap: 1rem;
  align-items: center;
}

.event-ts {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: "Courier New", monospace;
}

.event-agent {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.event-type {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  background: var(--border);
  border-radius: 3px;
  color: var(--text-secondary);
  text-transform: uppercase;
  width: fit-content;
}

.event-detail {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ===== FLOATING WIDGETS ===== */
.floating-widget {
  position: fixed;
  z-index: 1000;
  font-size: 1.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.floating-widget:hover {
  background: var(--accent-gold);
  transform: scale(1.1);
}

.floating-widget.chat-btn {
  bottom: 100px;
  right: 20px;
}

.floating-widget.voice-btn {
  bottom: 20px;
  left: 20px;
}

/* ===== CHAT PANEL ===== */
.chat-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  height: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: none;
  flex-direction: column;
  z-index: 1001;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.chat-panel.open {
  display: flex;
}

.chat-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-title {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.chat-close:hover {
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-message.system {
  color: var(--text-secondary);
}

.chat-message.system::before {
  content: "▸";
  color: var(--accent-gold);
  font-weight: bold;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.user .msg-content {
  background: var(--accent-gold);
  color: var(--bg-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  max-width: 80%;
}

.chat-message.assistant .msg-content {
  background: var(--border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  max-width: 80%;
}

.chat-offline {
  padding: 1rem;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--accent-red);
  font-size: 0.85rem;
  text-align: center;
  border-radius: 4px;
  margin: 0.5rem;
}

.chat-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: inherit;
}

.chat-input::placeholder {
  color: var(--text-secondary);
}

.chat-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.chat-send {
  background: var(--accent-gold);
  border: none;
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.chat-send:hover {
  background: #f5b373;
}

.chat-send:active {
  transform: scale(0.95);
}

/* ===== VOICE POPUP ===== */
.voice-popup {
  position: fixed;
  bottom: 80px;
  left: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  display: none;
  z-index: 999;
  min-width: 200px;
}

.voice-popup.show {
  display: block;
}

.voice-popup-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--accent-gold);
}

.voice-popup-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.voice-popup-link {
  display: block;
  padding: 0.5rem 0.75rem;
  background: var(--accent-gold);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.voice-popup-link:hover {
  background: #f5b373;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  animation: toast-slide-in 0.3s ease;
}

@keyframes toast-slide-in {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-20px);
    opacity: 0;
  }
}

.toast.hide {
  animation: toast-slide-out 0.3s ease;
}

.toast.success {
  border-color: var(--green-ok);
  border-left-color: var(--green-ok);
}

.toast.error {
  border-color: var(--accent-red);
  border-left-color: var(--accent-red);
}

/* ===== EVENT TICKER ===== */
.event-ticker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  height: 120px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.event-ticker-title {
  position: absolute;
  top: -20px;
  left: 1rem;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--bg-primary);
  padding: 0 0.25rem;
}

.event-ticker-feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  overflow-y: auto;
}

.ticker-event {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  animation: ticker-fade-in 0.3s ease;
  padding: 0.25rem 0;
}

@keyframes ticker-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ticker-timestamp {
  color: var(--accent-gold);
  font-weight: 600;
  min-width: 70px;
}

.ticker-agent {
  min-width: 80px;
  font-weight: 600;
}

.ticker-agent.THREAT_INTEL {
  color: var(--accent-gold);
}

.ticker-agent.RED_TEAM {
  color: var(--accent-red);
}

.ticker-agent.DETECTION_ENG {
  color: #4a90e2;
}

.ticker-agent.BLUE_TEAM {
  color: var(--green-ok);
}

.ticker-agent.PURPLE_TEAM {
  color: #b88ce8;
}

.ticker-description {
  flex: 1;
  color: var(--text-primary);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1600px) {
  .agent-status-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1280px) {
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .event-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ── Voice orb: override to bottom-center ───────────────────────────────── */
#sha-voice-fab {
  right: 50% !important;
  transform: translateX(50%) !important;
  bottom: 28px !important;
}
#sha-voice-fab:hover {
  transform: translateX(50%) scale(1.08) !important;
}
#sha-voice-bubble {
  right: 50% !important;
  transform: translateX(50%) !important;
  bottom: 102px !important;
}
#sha-voice-panel {
  right: 50% !important;
  transform: translateX(50%) !important;
  bottom: 104px !important;
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, #0d0d14 0%, #12121a 50%, #0a0a0f 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 260px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-image-wrap {
  flex-shrink: 0;
  position: relative;
}

.hero-image {
  width: 130px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 30px rgba(230,57,70,0.5)) drop-shadow(0 0 60px rgba(244,162,97,0.2));
  animation: argus-glow 4s ease-in-out infinite;
}

@keyframes argus-glow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(230,57,70,0.5)) drop-shadow(0 0 60px rgba(244,162,97,0.2)); }
  50%       { filter: drop-shadow(0 0 45px rgba(230,57,70,0.8)) drop-shadow(0 0 80px rgba(244,162,97,0.35)); }
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--text-primary);
  line-height: 1;
}

.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent-red);
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.25rem;
  flex-wrap: nowrap;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.pipeline-stage {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pipeline-stage::before {
  content: '●';
  color: var(--accent-gold);
  opacity: 0.5;
}

.pipeline-stage:first-child::before {
  opacity: 1;
}

.pipeline-arrow {
  width: 20px;
  height: 2px;
  background: var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pipeline-arrow::after {
  content: '▶';
  font-size: 0.6rem;
  color: var(--accent-gold);
  animation: pipeline-flow 3s ease-in-out infinite;
}

@keyframes pipeline-flow {
  0% {
    transform: translateX(-15px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(15px);
    opacity: 0;
  }
}

.hero-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
