/* ==========================================================================
   PROCYONLABS — PRODUCTION STYLESHEET
   Aesthetic: Midnight Command Center + Live Search Demand + Precision Targeting
   ========================================================================== */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* --- ROOT DESIGN TOKENS --- */
:root {
  /* Color Palette - Midnight Obsidian & Electric Telemetry */
  --bg-base: #05070c;
  --bg-deep: #030407;
  --bg-surface: #090e17;
  --bg-surface-elevated: #0f1726;
  --bg-glass: rgba(9, 14, 23, 0.72);
  --bg-glass-card: rgba(13, 20, 33, 0.65);
  --bg-glass-card-hover: rgba(18, 28, 46, 0.85);

  /* Primary Accent: Ice Cyan */
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.25);
  --accent-cyan-dim: rgba(0, 240, 255, 0.12);
  --accent-cyan-border: rgba(0, 240, 255, 0.28);

  /* Secondary Accent: Electric Indigo / Blue */
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-blue-glow: rgba(59, 130, 246, 0.22);
  --accent-blue-dim: rgba(59, 130, 246, 0.1);

  /* Functional Status Accents */
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-emerald-dim: rgba(16, 185, 129, 0.12);
  --accent-amber: #f59e0b;

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  --text-cyan: #38bdf8;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 240, 255, 0.35);

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

  /* Layout & Geometry */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.18s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;

  /* Shadows */
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --shadow-glow-cyan: 0 0 28px -4px rgba(0, 240, 255, 0.3);
  --shadow-glow-blue: 0 0 35px -6px rgba(59, 130, 246, 0.35);
  --shadow-card: 0 12px 40px -10px rgba(0, 0, 0, 0.7);
}

/* --- CSS RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --- AMBIENT BACKGROUND & NOISE TEXTURE --- */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.grid-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  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%);
}

.ambient-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.ambient-glow-orb.orb-1 {
  top: -10vw;
  left: 50%;
  transform: translateX(-50%);
  width: 55vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(59, 130, 246, 0.06) 60%, transparent 80%);
}

.ambient-glow-orb.orb-2 {
  top: 45vh;
  left: -15vw;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

.ambient-glow-orb.orb-3 {
  bottom: 10vh;
  right: -10vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.09) 0%, transparent 70%);
}

/* --- SITE WRAPPER --- */
.site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* --- NAVIGATION HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.site-header.is-scrolled {
  padding: 0.65rem 0;
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Wordmark */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  position: relative;
  user-select: none;
}

.brand-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(59, 130, 246, 0.05));
  border: 1px solid var(--accent-cyan-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px -2px rgba(0, 240, 255, 0.25);
}

.brand-icon-box svg {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
}

.brand-name span {
  color: var(--accent-cyan);
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-cyan);
  transition: width var(--duration-fast) ease;
  box-shadow: 0 0 6px var(--accent-cyan);
}

.nav-link:hover::after {
  width: 100%;
}

/* Status Pill in Nav */
.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseBeacon 2.2s infinite ease-in-out;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) ease;
}

.mobile-menu-toggle:hover {
  border-color: var(--accent-cyan-border);
  background: var(--accent-cyan-dim);
}

.mobile-menu-toggle svg {
  width: 20px;
  height: 20px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: rgba(7, 10, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-glass);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: right var(--duration-normal) var(--ease-out);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.is-open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.drawer-link:hover {
  color: var(--accent-cyan);
}

.drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) ease;
}

.drawer-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* --- BUTTONS & CTA SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #030712;
  box-shadow: var(--shadow-glow-cyan);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.5), 0 4px 15px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #38bdf8 0%, #00f0ff 100%);
}

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

.btn-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(26, 38, 64, 0.9);
  border-color: var(--accent-cyan-border);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast) ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* --- SECTION FOUNDATION --- */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  position: relative;
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Eyebrow Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Headlines */
.headline-hero {
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.headline-hero span.highlight {
  background: linear-gradient(135deg, #ffffff 40%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.headline-section {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.subheadline {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 400;
}

/* --- HERO SECTION --- */
.hero-section {
  padding-top: clamp(7.5rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
  margin-bottom: 2.5rem;
}

/* Micro-signal */
.hero-micro-signal {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.micro-signal-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.market-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.market-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--duration-fast) ease;
}

.market-pill:hover {
  border-color: var(--accent-cyan-border);
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
}

.market-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

/* --- HERO LIVE TELEMETRY VISUAL --- */
.hero-telemetry-panel {
  position: relative;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-telemetry-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.telemetry-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.telemetry-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-weight: 600;
}

/* Telemetry Flow Line */
.telemetry-flow-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.flow-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.5rem;
  text-align: center;
  position: relative;
}

.flow-step.active {
  border-color: var(--accent-cyan-border);
  background: rgba(0, 240, 255, 0.06);
}

.flow-step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-cyan);
  font-weight: 700;
  display: block;
  margin-bottom: 0.15rem;
}

.flow-step-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

/* Live Search Intent Feed */
.live-feed-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
  position: relative;
}

.feed-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
}

.feed-card.just-arrived {
  animation: feedSlideIn 0.4s var(--ease-out);
  border-color: var(--accent-cyan-border);
}

.feed-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.feed-query-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feed-query-text::before {
  content: '🔍';
  font-size: 0.75rem;
  opacity: 0.7;
}

.feed-urgency-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-emergency {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-sameday {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-urgent {
  background: rgba(0, 240, 255, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.feed-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.feed-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.feed-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}

.feed-status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

/* --- SECTION 2: THE PROBLEM --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.problem-contrast-box {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contrast-item {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.contrast-item.waste {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.15);
}

.contrast-item.waste .contrast-tag {
  color: #f87171;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.contrast-item.capture {
  background: rgba(0, 240, 255, 0.05);
  border-color: var(--accent-cyan-border);
}

.contrast-item.capture .contrast-tag {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.contrast-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.contrast-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Search Query Cards in Problem */
.problem-queries {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.query-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--duration-fast) ease;
}

.query-card:hover {
  border-color: var(--accent-cyan-border);
  background: rgba(20, 30, 52, 0.75);
  transform: translateX(4px);
}

.query-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.query-term {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
}

.query-intent-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.query-action-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
}

/* --- SECTION 3: WHAT PROCYONLABS DOES --- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.path-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan-border);
  background: var(--bg-glass-card-hover);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.7), var(--shadow-glow-cyan);
}

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

.path-step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.path-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.path-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- SECTION 4: EMERGENCY SERVICE CATEGORIES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan-border);
  background: var(--bg-glass-card-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.service-urgency-tag {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-urgency-tag::before {
  content: '⚡';
  font-size: 0.75rem;
}

/* Service Banner Footnote */
.services-footnote-card {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(9, 14, 23, 0.9) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footnote-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footnote-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.footnote-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

/* --- SECTION 5: GLOBAL INTENT & MARKETS --- */
.markets-container {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.market-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.market-tab-btn {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.market-tab-btn:hover {
  background: rgba(20, 30, 52, 0.6);
  border-color: rgba(0, 240, 255, 0.2);
}

.market-tab-btn.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

.market-region-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.market-tab-btn.active .market-region-name {
  color: var(--accent-cyan);
}

.market-status-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.market-region-detail {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Geospatial Map Visualizer */
.geospatial-visualizer {
  position: relative;
  background: #060910;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.geo-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.geo-map-canvas-wrap {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-grid-svg {
  width: 100%;
  height: 100%;
}

.geo-node {
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.geo-node circle.pulse {
  animation: geoPulse 2.5s infinite ease-out;
}

.geo-node.active circle.core {
  fill: #00f0ff;
  filter: drop-shadow(0 0 8px #00f0ff);
}

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

/* --- SECTION 6: WHY PROCYONLABS (VALUE PILLARS) --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan-border);
  background: var(--bg-glass-card-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

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

/* --- SECTION 7: THE PROCYONLABS DIFFERENCE (COMMAND DASHBOARD FLOW) --- */
.difference-panel {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.difference-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.dashboard-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  margin: 3rem 0;
}

.pipeline-node {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  transition: all var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.pipeline-node:hover {
  border-color: var(--accent-cyan-border);
  transform: translateY(-2px);
  background: rgba(22, 33, 56, 0.9);
}

.pipeline-node.node-final {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}

.pipeline-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.node-final .pipeline-tag {
  color: var(--accent-emerald);
}

.pipeline-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
}

.pipeline-connector {
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 14px;
  height: 2px;
  background: var(--accent-cyan);
  z-index: 5;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.pipeline-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--accent-cyan);
}

.comparison-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.split-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.split-card.traditional {
  background: rgba(239, 68, 68, 0.03);
  border: 1px solid rgba(239, 68, 68, 0.12);
}

.split-card.procyon {
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid var(--accent-cyan-border);
}

.split-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.split-card.traditional .split-label { color: #f87171; }
.split-card.procyon .split-label { color: var(--accent-cyan); }

.split-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.split-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- SECTION 8: PROCESS (4 STAGES) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan-border);
  background: var(--bg-glass-card-hover);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.7);
}

.process-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

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

/* --- SECTION 9: FAQ ACCORDION --- */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-fast) ease;
}

.faq-item:hover {
  border-color: var(--border-glass);
}

.faq-item.is-active {
  border-color: var(--accent-cyan-border);
  background: rgba(14, 22, 36, 0.8);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.faq-item.is-active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan-border);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1rem;
}

/* --- FINAL CTA & CONTACT SECTION --- */
.cta-section {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.cta-box {
  background: linear-gradient(135deg, rgba(14, 23, 38, 0.95) 0%, rgba(6, 9, 15, 0.98) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), var(--shadow-glow-cyan);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f0ff, #3b82f6, transparent);
}

.cta-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.cta-subheadline {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Direct Contact Channel Hub */
.direct-channels-hub {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.channels-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.channel-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--duration-fast) ease;
}

.channel-card:hover {
  border-color: var(--accent-cyan-border);
  background: rgba(20, 30, 52, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-card.whatsapp .channel-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.channel-card.email .channel-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.channel-card.instagram .channel-icon {
  background: rgba(225, 48, 108, 0.15);
  color: #f472b6;
}

.channel-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.channel-action {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

/* --- AUDIT MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), var(--shadow-glow-cyan);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) ease;
}

.modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-cyan-border);
}

.modal-header {
  margin-bottom: 1.75rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select {
  background: rgba(5, 7, 12, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: all var(--duration-fast) ease;
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-select option {
  background-color: #0c101a;
  color: #fff;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Modal Submission Success State */
.form-success-state {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.success-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

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

.footer-system-clock {
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes pulseBeacon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

@keyframes feedSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes geoPulse {
  0% { r: 4; opacity: 0.8; }
  50% { r: 14; opacity: 0; }
  100% { r: 4; opacity: 0; }
}

/* --- SCROLL REVEAL UTILITIES --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- ACCESSIBILITY & PREFERS-REDUCED-MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ambient-canvas, .ambient-glow-orb {
    display: none !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- RESPONSIVE MEDIA BREAKPOINTS --- */

/* Desktop Large (>1200px) */
@media (min-width: 1201px) {
  /* Default styles apply cleanly */
}

/* Laptops & Tablets Landscape (<=1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .path-grid, .services-grid, .pillars-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-pipeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .pipeline-connector {
    display: none;
  }

  .markets-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets Portrait (<=768px) */
@media (max-width: 768px) {
  .nav-links, .nav-status-pill {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .comparison-split {
    grid-template-columns: 1fr;
  }

  .channels-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-pipeline {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices (<=580px) */
@media (max-width: 580px) {
  :root {
    --container-pad: 1.25rem;
  }

  .headline-hero {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .path-grid, .services-grid, .pillars-grid, .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box {
    padding: 2rem 1.25rem;
  }

  .services-footnote-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
