/**
 * KRAKEN ENTERPRISE DESIGN SYSTEM v5.0
 * Aesthetic: DEEP OCEAN × CYBER INFRASTRUCTURE × DISCORD
 * Master design tokens, typography, glassmorphism, Discord components, and animations.
 */

:root {
  /* Abyss Color Palette */
  --bg-abyss-950: #020408;
  --bg-abyss-900: #04070d;
  --bg-abyss-850: #060b13;
  --bg-abyss-800: #08101a;
  --bg-abyss-750: #0c1524;
  --bg-abyss-700: #101c2e;
  --bg-abyss-600: #16263d;

  /* Glass Panels & Surfaces */
  --glass-surface: rgba(8, 16, 26, 0.75);
  --glass-surface-elevated: rgba(12, 21, 36, 0.85);
  --glass-surface-card: rgba(16, 28, 46, 0.65);
  --glass-input: rgba(4, 8, 14, 0.7);
  --glass-border: rgba(0, 240, 255, 0.12);
  --glass-border-hover: rgba(0, 240, 255, 0.35);
  --glass-border-glow: rgba(0, 240, 255, 0.6);

  /* Bioluminescent Accents */
  --cyan-biolum: #00f0ff;
  --cyan-dim: #00b4cc;
  --cyan-glow: rgba(0, 240, 255, 0.25);
  --cyan-glow-intense: rgba(0, 240, 255, 0.45);
  --blue-electric: #0066ff;
  --blue-deep: #0044cc;
  --violet-abyss: #7000ff;
  --violet-glow: rgba(112, 0, 255, 0.2);

  /* Semantic Telemetry Colors */
  --status-emerald: #00e676;
  --status-emerald-bg: rgba(0, 230, 118, 0.12);
  --status-amber: #ffab00;
  --status-amber-bg: rgba(255, 171, 0, 0.12);
  --status-crimson: #ff1744;
  --status-crimson-bg: rgba(255, 23, 68, 0.15);
  --status-crimson-border: rgba(255, 23, 68, 0.4);
  --discord-brand: #5865f2;
  --discord-brand-hover: #4752c4;

  /* Typography Colors */
  --text-pure: #ffffff;
  --text-main: #e2e8f0;
  --text-muted: #8b9bb4;
  --text-dim: #556987;
  --text-cyan: #00f0ff;

  /* Typography Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  /* Elevation Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-cyan: 0 0 30px rgba(0, 240, 255, 0.15);
  --shadow-cyan-lg: 0 0 50px rgba(0, 240, 255, 0.25);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-abyss-950);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 240, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 40%, rgba(112, 0, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(0, 102, 255, 0.08), transparent 70%),
    linear-gradient(to bottom, #020408, #04070d 40%, #060b13 70%, #020408 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Subtle Technical Grid Backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  user-select: none;
}

code, pre {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Typography & Display Styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-pure);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.heading-massive {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.heading-lg {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.heading-md {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-biolum) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-abyss {
  background: linear-gradient(135deg, var(--cyan-biolum) 0%, #3b82f6 50%, var(--violet-abyss) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-mono {
  font-family: var(--font-mono);
}

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

.text-cyan {
  color: var(--cyan-biolum);
}

/* ==========================================================================
   Containers & Grids
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.container-wide {
  max-width: 1540px;
}

.container-narrow {
  max-width: 980px;
}

.section-spacing {
  padding-top: clamp(60px, 9vw, 120px);
  padding-bottom: clamp(60px, 9vw, 120px);
  position: relative;
}

/* ==========================================================================
   Glass Panels & Card Surfaces
   ========================================================================== */
.glass-panel {
  background: var(--glass-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: border-color var(--trans-normal), box-shadow var(--trans-normal), transform var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
}

.glass-panel-elevated {
  background: var(--glass-surface-elevated);
  border: 1px solid rgba(0, 240, 255, 0.18);
}

/* Technical Corner Accents */
.tech-corners::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--cyan-biolum);
  border-right: 2px solid var(--cyan-biolum);
  opacity: 0.7;
  pointer-events: none;
}

/* Section Header Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-biolum);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 14px var(--cyan-biolum); }
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: all var(--trans-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00d2ff, #0066ff);
  color: #020408;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #33dcff, #1a75ff);
  box-shadow: 0 6px 28px rgba(0, 210, 255, 0.55);
  transform: translateY(-2px);
  color: #000;
}

.btn-glass {
  background: rgba(16, 28, 46, 0.6);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(22, 38, 62, 0.85);
  border-color: var(--cyan-biolum);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.15);
}

.btn-discord {
  background: var(--discord-brand);
  color: #fff;
}

.btn-discord:hover {
  background: var(--discord-brand-hover);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Navigation Bar (Sticky & Mobile Responsive)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  transition: all var(--trans-normal);
}

.site-header.scrolled {
  background: rgba(2, 4, 8, 0.92);
  border-bottom-color: rgba(0, 240, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.nav-brand-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
}

.nav-badge {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan-biolum);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--trans-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-pure);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan-biolum);
  box-shadow: 0 0 8px var(--cyan-biolum);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--status-emerald);
}

.status-dot-emerald {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-emerald);
  box-shadow: 0 0 8px var(--status-emerald);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
  padding: 8px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  inset-inline: 0;
  bottom: 0;
  background: rgba(2, 4, 8, 0.96);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 28px 24px;
  overflow-y: auto;
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Discord Native UI Components
   ========================================================================== */
.discord-ui-container {
  background: #313338;
  border-radius: 8px;
  padding: 16px;
  font-family: 'gg sans', 'Noto Sans', sans-serif, -apple-system;
  color: #dbdee1;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.discord-message {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.discord-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.discord-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.discord-username {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.discord-bot-badge {
  background: #5865f2;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.3;
  text-transform: uppercase;
}

.discord-timestamp {
  font-size: 0.75rem;
  color: #949ba4;
}

.discord-embed {
  background: #2b2d31;
  border-radius: 4px;
  border-left: 4px solid var(--cyan-biolum);
  padding: 14px 16px;
  margin-top: 6px;
  max-width: 520px;
}

.discord-embed-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.discord-embed-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #dbdee1;
}

.discord-embed-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.discord-embed-field-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f2f3f5;
  margin-bottom: 2px;
}

.discord-embed-field-val {
  font-size: 0.82rem;
  color: #dbdee1;
}

.discord-embed-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.72rem;
  color: #949ba4;
}

.discord-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #dbdee1;
  user-select: none;
}

.discord-role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ==========================================================================
   Telemetry Stat Pills & Grid Metrics
   ========================================================================== */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.metric-card {
  padding: 24px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--text-pure);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan-biolum);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Interactive Hero Dashboard Preview Widget
   ========================================================================== */
.hero-dashboard-preview {
  background: rgba(6, 11, 19, 0.88);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 240, 255, 0.18);
  backdrop-filter: blur(24px);
  overflow: hidden;
  position: relative;
}

.hero-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(3, 6, 11, 0.95);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.hero-dashboard-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 24px;
  background: rgba(8, 14, 24, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-tab-btn {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  transition: all var(--trans-fast);
}

.hero-tab-btn.active, .hero-tab-btn:hover {
  color: #fff;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.hero-dashboard-body {
  padding: 24px;
  min-height: 380px;
}

/* ==========================================================================
   Attack & Threat Containment Simulator
   ========================================================================== */
.threat-simulator-wrap {
  border: 1px solid rgba(255, 23, 68, 0.25);
  background: rgba(14, 8, 16, 0.7);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.threat-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  position: relative;
}

.threat-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 20px;
  width: 2px;
  background: rgba(255, 23, 68, 0.3);
}

.threat-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  z-index: 1;
  opacity: 0.35;
  transition: opacity var(--trans-normal), transform var(--trans-normal);
}

.threat-step.active {
  opacity: 1;
  transform: translateX(4px);
}

.threat-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-abyss-900);
  border: 2px solid var(--status-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--status-crimson);
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(255, 23, 68, 0.3);
}

.threat-step.contained .threat-node {
  border-color: var(--status-emerald);
  color: var(--status-emerald);
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.3);
}

.threat-content {
  background: rgba(20, 10, 20, 0.75);
  border: 1px solid rgba(255, 23, 68, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  flex: 1;
}

/* ==========================================================================
   Global Search Palette (Ctrl + K)
   ========================================================================== */
.palette-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-fast);
}

.palette-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.palette-modal {
  width: 100%;
  max-width: 640px;
  background: var(--bg-abyss-850);
  border: 1px solid var(--glass-border-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 240, 255, 0.25);
  overflow: hidden;
}

.palette-input-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--glass-border);
}

.palette-input {
  width: 100%;
  font-size: 1.1rem;
  color: #fff;
}

.palette-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
}

.palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--trans-fast);
}

.palette-item:hover, .palette-item.active {
  background: rgba(0, 240, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   Toast Notification Drawer
   ========================================================================== */
.toast-drawer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 440px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(10, 18, 30, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  animation: slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
}

.toast.toast-success { border-left: 4px solid var(--status-emerald); }
.toast.toast-warning { border-left: 4px solid var(--status-amber); }
.toast.toast-error { border-left: 4px solid var(--status-crimson); }
.toast.toast-info { border-left: 4px solid var(--cyan-biolum); }

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: rgba(2, 4, 8, 0.95);
  border-top: 1px solid rgba(0, 240, 255, 0.12);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-biolum);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--trans-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
