/* ==============================================================================
   OMNI ROVIS — EXECUTIVE MEDICAL LIGHT THEME DESIGN SYSTEM
   Modern, Clean, High-Contrast Light Theme for Silicon Valley Startup Presentation
   ============================================================================== */

:root {
  /* Color Palette */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-slate: #f1f5f9;
  --bg-slate-hover: #e2e8f0;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #3b82f6;
  
  /* Brand Accents */
  --blue-primary: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  
  --emerald-primary: #059669;
  --emerald-hover: #047857;
  --emerald-light: #dcfce7;
  --emerald-border: #86efac;
  
  --amber-primary: #d97706;
  --amber-light: #fef3c7;
  --amber-border: #fde68a;
  
  --rose-primary: #e11d48;
  --rose-light: #ffe4e6;
  --rose-border: #fecdd3;
  
  --purple-primary: #7c3aed;
  --purple-light: #f3e8ff;
  --purple-border: #d8b4fe;
  
  --sky-primary: #0284c7;
  --teal-primary: #0d9488;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-glow-blue: 0 0 20px rgba(37, 99, 235, 0.15);
  --shadow-glow-emerald: 0 0 20px rgba(5, 150, 105, 0.15);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

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

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

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 88px;
  padding-bottom: 88px;
  border-bottom: 1px solid var(--border-color);
}

.section.bg-slate {
  background-color: var(--bg-slate);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker-index {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--blue-primary);
}

.kicker-sep {
  color: #cbd5e1;
  font-weight: 400;
}

.kicker-title {
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mt-32 {
  margin-top: 32px;
}

/* Color Classes */
.text-emerald { color: var(--emerald-primary); }
.text-blue { color: var(--blue-primary); }
.text-purple { color: var(--purple-primary); }
.text-amber { color: var(--amber-primary); }
.text-red { color: var(--rose-primary); }
.text-sky { color: var(--sky-primary); }
.text-teal { color: var(--teal-primary); }
.text-rose { color: var(--rose-primary); }

.bg-emerald-light { background-color: var(--emerald-light); }
.bg-blue-light { background-color: var(--blue-light); }
.bg-purple-light { background-color: var(--purple-light); }
.bg-amber-light { background-color: var(--amber-light); }
.bg-red-light { background-color: var(--rose-light); }

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--blue-primary), var(--emerald-primary));
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background-color: var(--slate-hover);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--blue-primary);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--blue-primary);
  color: #ffffff;
  border-color: var(--blue-primary);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-slate);
  border-color: var(--text-light);
}

.btn-lg {
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 96px 0;
  background: radial-gradient(circle at 50% 15%, #ffffff 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 16px;
  border-radius: 6px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.kicker-code {
  color: var(--blue-primary);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.kicker-sep {
  color: #cbd5e1;
}

.kicker-text {
  letter-spacing: 0.05em;
  color: #334155;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto 36px auto;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Metrics Strip */
.hero-metrics-strip {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 16px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 64px;
}

.metric-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
}

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

.metric-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-color);
}

/* Hero Cockpit Showcase Window Frame */
.cockpit-showcase-frame {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  text-align: left;
}

.showcase-header {
  background-color: var(--bg-slate);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.red { background-color: #f87171; }
.dot.yellow { background-color: #fbbf24; }
.dot.green { background-color: #34d399; }

.showcase-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.status-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.status-chip.live {
  background-color: var(--emerald-light);
  color: var(--emerald-primary);
  border: 1px solid var(--emerald-border);
}

.showcase-image-wrapper {
  background-color: #0b0f17;
  padding: 8px;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  transform: translateY(-2px);
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-tech-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.card-stat {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* Tech Cascade Section */
.tech-cascade-container {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.subsection-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.cascade-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cascade-layer-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.layer-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.layer-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  min-height: 48px;
}

.layer-model {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-primary);
  background-color: var(--blue-light);
  padding: 3px 6px;
  border-radius: 4px;
  margin-bottom: 12px;
  display: inline-block;
  align-self: flex-start;
}

.layer-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  flex-grow: 1;
  margin-bottom: 14px;
}

.layer-confidence {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

/* Math Equation Box */
.math-box {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
}

.math-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.math-equation {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: #f8fafc;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.math-explanation {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Case Studies */
.case-study-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  margin-bottom: 32px;
  align-items: center;
}

.case-study-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.report-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.report-id {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--blue-primary);
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
}

.report-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.case-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.case-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background-color: var(--bg-slate);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.case-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-bullets li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
  padding-left: 20px;
}

.case-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald-primary);
  font-weight: 800;
}

.case-study-visual {
  background-color: #0b0f17;
  border: 2px solid #334155;
  border-radius: var(--radius-lg);
  padding: 8px;
  text-align: center;
}

.case-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.img-caption {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* Dosimetry Comparison Table */
.table-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
}

.comparison-table th {
  background-color: var(--bg-slate);
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table .highlight-col {
  background-color: rgba(37, 99, 235, 0.03);
  font-weight: 600;
}

.comparison-table th.highlight-col {
  background-color: var(--blue-light);
  color: var(--blue-primary);
}

.stat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.stat-card-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Architecture Box */
.arch-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.arch-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 14px;
}

.arch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
}

.arch-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-weight: bold;
}

/* Footer */
.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding-top: 64px;
  padding-bottom: 40px;
}

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

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

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Brand Image Icon */
.brand-img-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  display: block;
}

/* Comprehensive Mobile & Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .cards-grid.three-col,
  .cascade-grid,
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .case-study-card,
  .case-study-card.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0;
  }
  .nav-container {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-link {
    white-space: nowrap;
    font-size: 0.84rem;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .hero-section {
    padding: 48px 0 64px 0;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .hero-metrics-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    width: 100%;
  }
  .metric-divider {
    display: none;
  }
  .metric-pill {
    padding: 8px 4px;
  }
  .metric-val {
    font-size: 1.35rem;
  }
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .tech-cascade-container {
    padding: 24px;
  }
  .math-box {
    padding: 24px 20px;
  }
  .math-equation {
    font-size: 0.95rem;
  }
  .case-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table {
    min-width: 620px;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .brand-name {
    font-size: 1rem;
  }
  .brand-badge {
    display: none;
  }
  .hero-metrics-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .case-study-card {
    padding: 18px;
  }
  .feature-card {
    padding: 20px;
  }
}

