/* ==============================================================================
   GeoCell Platform Design System
   Resilience as a Deployment (RaD) | Multi-Vendor GeoCells | Cloud FinOps
   ============================================================================== */

:root {
  /* Dynamic Mix Theme: Balanced Slate & Zinc (Not too dark, not too light) */
  --bg-primary: #0f172a;
  --bg-secondary: #172033;
  --bg-surface: #1e293b;
  --bg-surface-elevated: #243248;
  --bg-surface-hover: #2d3d56;
  --bg-glass: rgba(23, 32, 51, 0.88);
  --border-color: #334155;
  --border-glow: rgba(6, 182, 212, 0.45);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --accent-cyan: #06b6d4;
  --accent-blue: #38bdf8;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-indigo: #818cf8;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

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

/* Background subtle glow */
.ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle at 50% 10%, rgba(6, 182, 212, 0.15) 0%, rgba(59, 130, 246, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #38bdf8;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 12, 20, 0.85);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-logo .brand-by {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-left: -0.4rem;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: #ffffff;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0891b2, #1d4ed8);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--text-main);
  color: #ffffff;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.85rem;
  color: var(--accent-emerald);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-footnote {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

.hero-vendors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.vendor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.vendor-chip:hover {
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.vendor-chip.workload {
  border-style: dashed;
}

/* Live GeoCell Card */
.mesh-card-wrapper {
  margin: 3.5rem 0 5rem;
}

.mesh-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.mesh-card-header {
  padding: 1.25rem 1.75rem;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.mesh-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mesh-id {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.mesh-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.mesh-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.mesh-live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  margin-right: 0.3rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.mesh-table-container {
  overflow-x: auto;
}

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

.mesh-table th {
  padding: 0.85rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  background: rgba(8, 12, 20, 0.5);
  border-bottom: 1px solid var(--border-color);
}

.mesh-table td {
  padding: 1rem 1.75rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.mesh-table tr:last-child td {
  border-bottom: none;
}

.mesh-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.vendor-name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.vendor-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}

.traffic-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.traffic-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  flex: 1;
  overflow: hidden;
  max-width: 100px;
}

.traffic-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #10b981);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.mesh-drill-banner {
  padding: 0.85rem 1.75rem;
  background: rgba(6, 182, 212, 0.06);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Sections Common */
.section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 3rem;
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.problem-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.4);
}

.problem-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-rose);
  margin-bottom: 1rem;
}

.problem-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Process Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
}

.step-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

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

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

/* Toolbench */
.toolbench-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  margin-top: 2rem;
}

.toolbench-tabs {
  display: flex;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.toolbench-tab {
  padding: 1.1rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.toolbench-tab:hover {
  color: #ffffff;
}

.toolbench-tab.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
}

.tool-panel {
  display: none;
  padding: 2.5rem;
}

.tool-panel.active {
  display: block;
}

.tool-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .tool-split {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-sublabel {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 400;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.range-slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

/* Tool Result Card */
.tool-result-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-header-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.result-hero-num {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
}

.result-hero-num.highlight-cyan {
  color: var(--accent-cyan);
}

.result-hero-num.highlight-amber {
  color: var(--accent-amber);
}

.result-hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.result-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-item-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.stat-item-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.tool-assumptions {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Companion Products */
.companion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.companion-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.companion-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.companion-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.companion-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.companion-list {
  list-style: none;
  margin-bottom: 2rem;
}

.companion-list li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.5rem;
}

.companion-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 700;
}

/* CTA Banner */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .tool-panel {
    padding: 1.5rem;
  }
  .toolbench-tab {
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
  }
}
/* Resiliency Test Report Custom Styles */
.resiliency-hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .resiliency-hero-grid {
    grid-template-columns: 1fr;
  }
}

.resiliency-score-card {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(15, 23, 42, 0.95), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resiliency-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .resiliency-meta-grid {
    grid-template-columns: 1fr;
  }
}

.resiliency-meta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.resiliency-drills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.resiliency-drill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s, transform 0.2s;
}

.resiliency-drill-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.resiliency-terminal {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-top: 1.5rem;
}

.resiliency-terminal-header {
  padding: 0.75rem 1.25rem;
  background: #1e293b;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.resiliency-terminal-body {
  padding: 1.25rem;
  max-height: 220px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.55;
  background: #0d1527;
}

/* ==============================================================================
   Developer-first landing page
   ============================================================================== */

/* Nav: one line at 900px+, hamburger below */
.nav-wrapper {
  gap: 1.5rem;
}

.nav-menu-wrap {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 12, 20, 0.97);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu-wrap.open {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
  }
  .nav-menu .nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  .nav-actions {
    margin-left: auto;
  }
}

/* Buttons */
.btn-lg {
  font-size: 1.02rem;
  padding: 0.85rem 1.6rem;
}

.btn-block {
  width: 100%;
}

.link-secondary {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-blue);
}

.link-secondary:hover {
  color: #ffffff;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Hero: copy left, terminal right */
.hero-section {
  text-align: left;
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-grid .hero-subtitle {
  margin: 0 0 2rem;
}

.hero-grid .hero-ctas {
  justify-content: flex-start;
  margin-bottom: 0.75rem;
  gap: 1.25rem;
}

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-grid .btn-lg {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Terminal block */
.terminal {
  background: #0d1527;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  min-width: 0;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid var(--border-color);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.terminal-title {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.terminal-body {
  margin: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-main);
  overflow-x: auto;
}

.t-comment {
  color: var(--text-dim);
}

.t-prompt {
  color: var(--accent-emerald);
  user-select: none;
}

/* Section helpers */
.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-head .section-subtitle {
  margin-bottom: 0;
}

.section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Step code snippets */
.code-snippet {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: #0d1527;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-blue);
  overflow-x: auto;
}

/* Savings calculator */
.calc-explainer {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grows with your team */
.path-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.path-step {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.path-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-cyan);
  font-weight: 700;
  z-index: 1;
}

.path-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  margin-bottom: 0.85rem;
}

.path-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.path-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 899px) {
  .path-grid {
    grid-template-columns: 1fr 1fr;
  }
  .path-step::after {
    display: none;
  }
}

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

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.price-card-featured {
  border-color: rgba(6, 182, 212, 0.55);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, var(--bg-surface) 100%);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
}

.price-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.price-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0 0.25rem;
}

.price-amount span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dim);
}

.price-tagline {
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 1.25rem;
  min-height: 2.5em;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-features li {
  position: relative;
  padding-left: 1.2rem;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: 700;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-cyan);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* Final CTA */
.cta-box .hero-ctas {
  gap: 1.5rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-links {
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

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

.footer-links a:hover {
  color: #ffffff;
}

.footer-links-muted,
.footer-legal {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==============================================================================
   GeoCell cost calculator (#cost-calculator)
   ============================================================================== */
.cc-status {
  margin-bottom: 1rem;
}

.cc-status a {
  color: var(--accent-blue);
}

.cc-stale {
  color: #fbbf24;
}

.cc-loading .cc-body,
.cc-unavailable .cc-body {
  opacity: 0.4;
  pointer-events: none;
}

.cc-cells {
  border: none;
  margin-bottom: 1.25rem;
}

.cc-cell-head,
.cc-cell {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 0.4rem;
}

.cc-cell-head {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.cc-cell {
  margin-bottom: 0.4rem;
}

.cc-cell .form-control {
  padding: 0.5rem 0.55rem;
  font-size: 0.85rem;
  min-width: 0;
}

.cc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0 1rem;
}

.cc-errors {
  color: #fb7185;
  font-size: 0.85rem;
}

.cc-notes {
  list-style: none;
  font-size: 0.8rem;
  color: #fcd34d;
  margin: 0.5rem 0;
}

.cc-growth {
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.cc-h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.cc-table td {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  vertical-align: top;
}

.cc-sku {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.cc-aws-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.cc-diff {
  color: var(--accent-emerald);
}

.cc-how {
  margin-top: 2rem;
}

.cc-how summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cc-how p {
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .cc-cell-head {
    display: none;
  }
  .cc-cell {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
  }
}

/* Skip link: hidden until focused with the keyboard */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: 0.6rem 1rem; border-radius: 8px; background: #1A6BE0; color: #fff; font-weight: 600; }
.skip-link:focus { top: 0.75rem; }
main:focus { outline: none; }
