/* ==========================================================================
   SERVIDOR DE PRODUCCIÓN - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Modern Cyber-Ops / Tactical Obsidian / Radiant Amber & Crimson
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Color Palette */
  --bg-main: #06080d;
  --bg-card: rgba(14, 19, 31, 0.72);
  --bg-card-hover: rgba(20, 27, 45, 0.85);
  --bg-surface: rgba(255, 255, 255, 0.03);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.4);
  --border-danger: rgba(239, 68, 68, 0.5);
  
  --amber-primary: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.25);
  --amber-light: #fbbf24;
  
  --crimson-accent: #ef4444;
  --crimson-glow: rgba(239, 68, 68, 0.28);
  
  --cyan-accent: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.25);
  
  --emerald-accent: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-card: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  --shadow-glow-amber: 0 0 35px -5px rgba(245, 158, 11, 0.35);
  --shadow-glow-danger: 0 0 35px -5px rgba(239, 68, 68, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme variations */
body[data-theme="tactical-crimson"] {
  --amber-primary: #f43f5e;
  --amber-glow: rgba(244, 63, 94, 0.3);
  --amber-light: #fb7185;
  --border-glow: rgba(244, 63, 94, 0.5);
}

body[data-theme="cyber-blue"] {
  --amber-primary: #38bdf8;
  --amber-glow: rgba(56, 189, 248, 0.3);
  --amber-light: #7dd3fc;
  --border-glow: rgba(56, 189, 248, 0.5);
}

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

html, body {
  min-height: 100%;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Animated Background Elements */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.ambient-aura {
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse at center, var(--amber-glow) 0%, rgba(239, 68, 68, 0.12) 45%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  animation: pulseAura 8s ease-in-out infinite alternate;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  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;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  z-index: 1;
  pointer-events: none;
}

/* Main Layout */
.app-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Header & Top Bar */
.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(14, 19, 31, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.15));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
}

.brand-pulse {
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid var(--amber-primary);
  opacity: 0.4;
  animation: radarPing 3s infinite cubic-bezier(0, 0, 0.2, 1);
}

.brand-text h1 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-text p {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.status-cluster {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pill-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fca5a5;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--crimson-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--crimson-accent);
  animation: pulseBlink 1.4s ease-in-out infinite;
}

.clock-display {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  border-color: var(--amber-primary);
  background: rgba(245, 158, 11, 0.1);
}

/* ==========================================================================
   HERO / BANNER DE ADVERTENCIA CRÍTICA
   ========================================================================== */
.hero-alert-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(24, 17, 10, 0.85) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 2px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-glow-amber), var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Caution Tape Striped Border at Top & Bottom */
.caution-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber-primary),
    var(--amber-primary) 12px,
    #000000 12px,
    #000000 24px
  );
  box-shadow: 0 0 12px var(--amber-glow);
}
.caution-ribbon.top { top: 0; }
.caution-ribbon.bottom { bottom: 0; }

.hero-shield-icon {
  margin: 0 auto 1.5rem auto;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.2));
  border: 2px solid var(--amber-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
  box-shadow: 0 0 35px var(--amber-glow);
  animation: floatShield 4s ease-in-out infinite alternate;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid var(--amber-primary);
  color: var(--amber-light);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-main-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 30%, #e2e8f0 70%, var(--amber-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Distinctive "SOLO COPIAR NO UTILIZAR" Badge */
.highlight-warning-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.18), rgba(245, 158, 11, 0.18));
  border: 2px dashed rgba(239, 68, 68, 0.7);
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-glow-danger);
  position: relative;
}

.highlight-warning-text {
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffedd5;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.highlight-warning-text span.accent {
  color: #f87171;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.highlight-warning-sub {
  font-size: 0.88rem;
  color: #fed7aa;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-description {
  max-width: 680px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-decoration: none;
}

.btn-primary-copy {
  background: linear-gradient(135deg, var(--amber-primary), #d97706);
  color: #000000;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
  font-weight: 700;
}

.btn-primary-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, var(--amber-light), #f59e0b);
}

.btn-primary-copy:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

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

/* ==========================================================================
   TELEMETRY / KPI METRICS
   ========================================================================== */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.telemetry-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

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

.telemetry-title {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.telemetry-icon {
  color: var(--amber-light);
}

.telemetry-value {
  font-size: 1.55rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.telemetry-meta {
  font-size: 0.74rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.telemetry-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.2rem;
}

.telemetry-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber-primary), var(--emerald-accent));
  transition: width 1s ease-in-out;
}

/* ==========================================================================
   CODE & DATA COPY WORKSTATION
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.copy-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.25rem;
}

.copy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.copy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--amber-primary);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.copy-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.copy-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px var(--amber-primary);
}

.copy-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.copy-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.copy-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.copy-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.code-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #38bdf8;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  user-select: all;
  border-left: 3px solid var(--cyan-accent);
}

.copy-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.copy-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.btn-card-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
}

.btn-card-copy:hover {
  background: var(--amber-primary);
  color: #000;
  border-color: var(--amber-primary);
  box-shadow: 0 0 14px var(--amber-glow);
}

.btn-card-copy.copied {
  background: var(--emerald-accent) !important;
  color: #ffffff !important;
  border-color: var(--emerald-accent) !important;
  box-shadow: 0 0 14px var(--emerald-glow) !important;
}

/* ==========================================================================
   DIRECTIVAS Y POLÍTICAS (PROHIBIDO VS PERMITIDO)
   ========================================================================== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.rule-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rule-box.danger {
  border-color: rgba(239, 68, 68, 0.35);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 40%);
}

.rule-box.allowed {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, var(--bg-card) 40%);
}

.rule-box-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.rule-box-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rule-box.danger h3 { color: #f87171; }
.rule-box.allowed h3 { color: #34d399; }

.rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.rule-item svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.rule-item strong {
  color: var(--text-main);
}

/* ==========================================================================
   SIMULADOR DE AUDITORÍA / TERMINAL INTERACTIVA
   ========================================================================== */
.terminal-window {
  background: #090c14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.7rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.terminal-body {
  padding: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.8;
  color: #94a3b8;
  max-height: 220px;
  overflow-y: auto;
}

.log-entry {
  display: flex;
  gap: 0.8rem;
}

.log-time { color: var(--text-dim); }
.log-warn { color: var(--amber-light); font-weight: 700; }
.log-danger { color: #f87171; font-weight: 700; }
.log-success { color: #34d399; }
.log-cyan { color: #38bdf8; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-hash {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  background: var(--bg-surface);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--emerald-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--emerald-glow);
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  transform: translateY(20px);
  opacity: 0;
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.toast.hiding {
  animation: slideToastOut 0.3s ease-in forwards;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulseAura {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.08); opacity: 1; }
}

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

@keyframes radarPing {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes floatShield {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

@keyframes slideToastIn {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideToastOut {
  to { transform: translateY(20px); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
  .app-container {
    padding: 1rem 1rem 3rem 1rem;
    gap: 1.75rem;
  }
  
  .top-navbar {
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
  }
  
  .status-cluster {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .hero-alert-banner {
    padding: 2rem 1.25rem;
  }
  
  .highlight-warning-box {
    padding: 0.85rem 1.2rem;
  }
  
  .copy-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

