/* ============================================================
   CFD Simulations Inc. — Grid Simulation Design System
   Colors: #0A1628 #0F1F3A #162544 #E2E8F0 #94A3B8 #64748B
   Accents: #06B6D4 #14B8A6 #3B82F6 #F59E0B
   Border: #1E3A5F
   ============================================================ */

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

:root {
  --bg: #0A1628;
  --bg-alt: #0F1F3A;
  --bg-card: #162544;
  --text: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --cyan: #06B6D4;
  --teal: #14B8A6;
  --blue: #3B82F6;
  --amber: #F59E0B;
  --border: #1E3A5F;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover, a:focus-visible {
  color: var(--teal);
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 1px 20px rgba(6, 182, 212, 0.05);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo span {
  color: var(--cyan);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  background: var(--cyan) !important;
  color: var(--bg) !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform 0.2s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--teal) !important;
  transform: translateY(-1px);
  color: var(--bg) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(6, 182, 212, 0.04) 39px,
      rgba(6, 182, 212, 0.04) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(6, 182, 212, 0.04) 39px,
      rgba(6, 182, 212, 0.04) 40px
    );
  pointer-events: none;
  z-index: 0;
}

.hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, var(--bg) 85%);
}

/* Flow lines */
.hero-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

/* Simulation viewport frame */
.hero-viewport {
  display: inline-block;
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 56px 64px;
  position: relative;
  background: rgba(15, 31, 58, 0.4);
  backdrop-filter: blur(4px);
}

.hero-viewport::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--cyan);
  opacity: 0.6;
}

.hero-viewport::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--cyan);
  opacity: 0.6;
}

.hero-viewport h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-viewport h1 .glow {
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(6, 182, 212, 0.4), 0 0 80px rgba(6, 182, 212, 0.2);
}

.hero-viewport .tagline {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s ease, box-shadow var(--transition);
  font-family: var(--font-sans);
  text-decoration: none;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.3);
  color: var(--bg);
}

.cta-btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cta-btn-secondary:hover,
.cta-btn-secondary:focus-visible {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: none;
}

/* Corner decorations */
.hero-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.corner {
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0.5;
}

.corner-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.corner-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; border-radius: 0 6px 0 0; }
.corner-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; border-radius: 0 0 0 6px; }
.corner-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }

/* Status indicator */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--teal); }
  50% { opacity: 0.4; box-shadow: 0 0 12px var(--teal); }
}

/* --- SERVICES --- */
.services {
  padding: 100px 0;
  background: var(--bg-alt);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 14px;
  border-top: 3px solid var(--cyan);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.1);
}

.service-viz {
  height: 160px;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.service-viz::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.service-info {
  padding: 24px;
}

.service-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.service-info p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- ABOUT --- */
.about {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-screen {
  position: relative;
}

.simulation-monitor {
  background: var(--bg-card);
  border-radius: 16px;
  border: 2px solid var(--border);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.monitor-bezel {
  background: #050D1A;
  border-radius: 10px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.monitor-bezel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(6, 182, 212, 0.06) 19px,
      rgba(6, 182, 212, 0.06) 20px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 19px,
      rgba(6, 182, 212, 0.06) 19px,
      rgba(6, 182, 212, 0.06) 20px
    );
}

.monitor-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

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

.monitor-dot:nth-child(1) { background: #FF5F57; }
.monitor-dot:nth-child(2) { background: #FFBD2E; }
.monitor-dot:nth-child(3) { background: #28C840; }

.monitor-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.data-readout {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.data-readout .cyan { color: var(--cyan); }
.data-readout .teal { color: var(--teal); }
.data-readout .amber { color: var(--amber); }
.data-readout .dim { color: var(--text-muted); }

.about-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- METRICS --- */
.metrics {
  padding: 80px 0;
  background: var(--bg-alt);
  position: relative;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.metric-widget {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.metric-widget:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--cyan);
  opacity: 0.3;
}

.metric-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.metric-icon.cyan { background: rgba(6, 182, 212, 0.12); color: var(--cyan); }
.metric-icon.teal { background: rgba(20, 184, 166, 0.12); color: var(--teal); }
.metric-icon.blue { background: rgba(59, 130, 246, 0.12); color: var(--blue); }

.metric-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- PROCESS --- */
.process {
  padding: 100px 0;
  position: relative;
}

.process-pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 20px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step-node:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.08);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-node h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.step-node p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Pipeline connector arrows */
.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-top: 56px;
  color: var(--cyan);
  opacity: 0.5;
  flex-shrink: 0;
  animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.process-arrow svg {
  width: 32px;
  height: 16px;
}

/* --- EXPERTISE --- */
.expertise {
  padding: 100px 0;
  background: var(--bg-alt);
  position: relative;
}

.expertise-graph {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.expertise-tag {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 50px;
  position: relative;
  transition: all var(--transition);
  white-space: nowrap;
}

.expertise-tag:hover {
  background: rgba(6, 182, 212, 0.1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
  transform: translateY(-2px);
}

/* Connecting lines — SVG overlay */
.expertise-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.expertise-lines line {
  stroke: var(--border);
  stroke-width: 1;
  opacity: 0.5;
}

/* --- CTA SECTION --- */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(20, 184, 166, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Control panel feel */
.cta-panel {
  max-width: 650px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.4;
}

.cta-panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-panel p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  color: var(--bg);
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-gradient:hover,
.cta-gradient:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.35);
  color: var(--bg);
}

/* Indicator lights row */
.cta-indicators {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.cta-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.indicator-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.indicator-light.green { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.indicator-light.blue  { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.indicator-light.cyan  { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.indicator-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- FOOTER --- */
.footer {
  background: #080E1A;
  padding: 72px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

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

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

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

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* --- PRIVACY / TERMS PAGES --- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
}

.legal-sidebar h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-toc {
  list-style: none;
  border-left: 2px solid var(--border);
  padding-left: 0;
}

.legal-toc li {
  margin-bottom: 0;
}

.legal-toc a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-bottom: 32px;
}

.legal-content section {
  margin-bottom: 36px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  padding-top: 8px;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 1rem;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 24px;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--text);
}

.legal-content address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
  }

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-card);
    padding: 100px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hero-viewport {
    padding: 40px 24px;
  }

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

  .services-grid .service-card:last-child {
    max-width: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-widget:nth-child(2)::after {
    display: none;
  }

  .process-pipeline {
    flex-direction: column;
    gap: 0;
  }

  .process-arrow {
    transform: rotate(90deg);
    margin-top: 8px;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 480px) {
  .metrics-row {
    grid-template-columns: 1fr;
  }

  .metric-widget::after {
    display: none !important;
  }

  .cta-panel {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- UTILITY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
