/* ==========================================================================
   Bowtie RISK - Promotional & Marketing Website Stylesheet
   Modern, Responsive (Mobile + Desktop), SEO-optimized & Brand-aligned
   ========================================================================== */

:root {
  --brand-red: #e00000;
  --brand-red-hover: #b80000;
  --brand-red-light: rgba(224, 0, 0, 0.1);
  --brand-dark: #090d16;
  --brand-navy: #0f172a;
  --brand-surface: #1e293b;
  --brand-surface-hover: #334155;
  --brand-border: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --color-threat: #2563eb;
  --color-barrier: #334155;
  --color-topevent: #f97316;
  --color-hazard: #eab308;
  --color-outcome: #dc2626;
  --color-escalation: #eab308;
  --color-mitigation: #64748b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.3);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.45);
  --shadow-glow-red: 0 0 25px rgba(224, 0, 0, 0.35);
  --shadow-glow-blue: 0 0 30px rgba(37, 99, 235, 0.25);
  --container-max: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--brand-dark);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  vertical-align: middle;
}

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

/* --------------------------------------------------------------------------
   Header & Navigation Bar
   -------------------------------------------------------------------------- */
.promo-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.mobile-only-nav-item {
  display: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(224, 0, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224, 0, 0, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  padding: 7px;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 130px;
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 16%, rgba(224, 0, 0, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 80% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
              var(--brand-dark);
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(224, 0, 0, 0.1);
  border: 1px solid rgba(224, 0, 0, 0.3);
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  max-width: 100%;
  text-align: center;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--brand-red);
  box-shadow: 0 0 10px var(--brand-red);
  animation: pulse 2s infinite;
}

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

.hero-content {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}

.trust-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   AUTHENTIC BOWTIE RISK SYSTEM PREVIEW REPLICA (Matches static/index.html)
   ========================================================================== */
.app-Replica-window {
  margin-top: 44px;
  background: #0b1329;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  overflow: hidden;
  text-align: left;
}

/* 1. Replica Top App Header (#0b1329) */
.replica-app-header {
  background: #0b1329;
  height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #1e293b;
}

.replica-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.replica-brand svg {
  display: block;
  height: 24px;
  width: auto;
}

.replica-save-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.replica-save-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.replica-nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.replica-btn-group {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.replica-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.replica-zoom-text {
  font-size: 11px;
  font-family: var(--font-mono);
  color: #e2e8f0;
  padding: 0 8px;
}

.replica-sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid #60a5fa;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.replica-sim-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
}

.replica-sim-btn.sim-running {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-color: #fca5a5;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.6);
}

.replica-sim-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

.replica-sim-btn.sim-running .replica-sim-dot {
  background: #fef08a;
  animation: pulse 1s infinite;
}

.replica-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.replica-collab-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px 7px;
}

.replica-pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 2px;
}

.replica-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0b1329;
}

/* 2. Replica Chrome-Style Document Tabs Bar (#0f172a) */
.replica-tabs-bar {
  background: #0f172a;
  height: 36px;
  padding: 4px 10px 0 10px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  border-bottom: 1px solid #cbd5e1;
  overflow-x: auto;
  scrollbar-width: none;
}
.replica-tabs-bar::-webkit-scrollbar {
  display: none;
}

.replica-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.replica-tab.active {
  background: #f1f5f9;
  color: #0f172a;
}

.replica-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f97316;
}

.replica-tab-close {
  font-size: 13px;
  color: #64748b;
  margin-left: 4px;
}

.replica-tab-add {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

/* 3. Replica Light Dot-Grid Canvas (#f1f5f9) */
.replica-canvas-viewport {
  position: relative;
  background-color: #f1f5f9;
  background-image: radial-gradient(#cbd5e1 1.25px, transparent 1.25px);
  background-size: 20px 20px;
  height: 440px;
  overflow: hidden;
}

/* Floating Pill Menu inside Canvas */
.replica-floating-pill {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 16px);
  overflow-x: auto;
  scrollbar-width: none;
}
.replica-floating-pill::-webkit-scrollbar {
  display: none;
}

.replica-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tool-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* Scrollable Stage Wrapper for Mobile & Desktop */
.replica-stage-scroll {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-top: 38px;
}

.replica-stage {
  position: relative;
  width: 1050px;
  height: 390px;
  margin: 0 auto;
}

.replica-connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 1050px;
  height: 390px;
  pointer-events: none;
  z-index: 1;
}

.replica-wire {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 2.2px;
  stroke-linecap: round;
}

.replica-wire.wire-sim-active {
  stroke: #ef4444;
  stroke-width: 3px;
  stroke-dasharray: 6 4;
}

.replica-wire.wire-sim-contained {
  stroke: #10b981;
  stroke-width: 3px;
}

/* Real Bowtie Node Cards on Canvas */
.replica-node {
  position: absolute;
  z-index: 2;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.09);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, outline 0.15s ease;
}

.replica-node:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
}

.replica-node.active-node {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
  z-index: 10;
}

.replica-node.sim-glow-threat {
  outline: 3px solid #ef4444;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.45);
}

.replica-node.sim-glow-hold {
  outline: 3px solid #10b981;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
}

.r-node-header {
  padding: 4px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.r-node-btns {
  display: inline-flex;
  gap: 2px;
}

.r-node-btns span {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.r-node-body {
  flex: 1;
  padding: 6px 7px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.28;
  color: #0f172a;
  background: #ffffff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  display: flex;
  align-items: center;
}

/* Specific Real System Node Styles */
.r-node-hazard {
  border: 2px solid #eab308;
  text-align: center;
}
.r-node-hazard .r-node-header {
  background: #fefce8;
  color: #854d0e;
  border-bottom: 1px solid #fef08a;
  justify-content: center;
  font-size: 10px;
}
.r-node-hazard .r-node-body {
  justify-content: center;
  text-align: center;
  font-weight: 600;
}

.r-node-top-event {
  border: 3px solid #f97316;
  border-radius: 12px;
  text-align: center;
}
.r-node-top-event .r-node-header {
  background: #fff7ed;
  color: #c2410c;
  justify-content: center;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}
.r-node-top-event .r-node-body {
  justify-content: center;
  text-align: center;
  font-weight: 600;
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}

.r-pin-left, .r-pin-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f97316;
}
.r-pin-left { left: -6px; }
.r-pin-right { right: -6px; }

.r-node-threat {
  border: 2px solid #2563eb;
}
.r-node-threat .r-node-header {
  background: #2563eb;
}

.r-node-barrier {
  border: 1.5px solid #cbd5e1;
}
.r-node-barrier .r-node-header {
  background: #334155;
}

.r-node-escalation {
  border: 2px solid #eab308;
}
.r-node-escalation .r-node-header {
  background: #eab308;
  color: #451a03;
}
.r-node-escalation .r-node-btns span {
  background: rgba(0, 0, 0, 0.18);
}

.r-node-mitigation {
  border: 1.5px solid #94a3b8;
}
.r-node-mitigation .r-node-header {
  background: #64748b;
}

.r-node-outcome {
  border: 2px solid #dc2626;
}
.r-node-outcome .r-node-header {
  background: #dc2626;
}

/* Floating Simulation Alert Badges on Nodes */
.r-sim-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  z-index: 30;
}
.badge-sim-threat {
  background: #dc2626;
}
.badge-sim-hold {
  background: #059669;
}

/* Bottom-Left Canvas HUD */
.replica-canvas-hud {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 15;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  padding: 5px 9px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.replica-canvas-hud .hud-k {
  color: #94a3b8;
}

.replica-hud-auto {
  margin-top: 2px;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 8.5px;
  font-weight: 700;
  background: #2563eb;
  color: #ffffff;
  text-align: center;
}

/* 4. Live Inspector Bar at Bottom of App Window */
.replica-inspector-bar {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

.replica-insp-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.replica-insp-badge {
  background: #2563eb;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.replica-insp-title {
  color: #f8fafc;
  font-weight: 600;
}

.replica-insp-meta {
  color: #94a3b8;
  font-size: 12px;
}

.replica-insp-cta {
  color: #60a5fa;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.replica-insp-cta:hover {
  text-decoration: underline;
}

.mobile-canvas-hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Sections General
   -------------------------------------------------------------------------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: #0d1322;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-label {
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(224, 0, 0, 0.1);
  color: #ff4d4d;
}

.feature-icon-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #60a5fa;
}

.feature-icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.feature-icon-green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Methodology Explainer Section
   -------------------------------------------------------------------------- */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.method-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Situation Runner Spotlight
   -------------------------------------------------------------------------- */
.spotlight-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.spotlight-content h3 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.spotlight-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.spotlight-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.spotlight-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #e2e8f0;
}

.spotlight-bullets svg {
  color: #10b981;
  margin-top: 3px;
  flex-shrink: 0;
}

.spotlight-visual {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow-red);
}

.sim-hud {
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.sim-status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
  font-size: 12px;
}

.sim-progress-track {
  height: 8px;
  background: #334155;
  border-radius: 999px;
  overflow: hidden;
}

.sim-progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 999px;
}

.sim-barrier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  background: #0f172a;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
}

.badge-failed {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
}

.badge-active {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
}

.badge-standby {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Industry Grid
   -------------------------------------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s ease;
}

.industry-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.industry-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.industry-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #311010 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 56px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow-red);
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 28px auto;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.promo-footer {
  background: #060911;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px 0;
  margin-top: auto;
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

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

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

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

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE OPTIMIZATION)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-brand svg {
    height: 30px;
  }

  .nav-signin-btn {
    display: none;
  }

  .nav-launch-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0d1322;
    padding: 20px 18px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  }

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

  .nav-links li a {
    display: block;
    padding: 6px 0;
    font-size: 16px;
  }

  .mobile-only-nav-item {
    display: block;
    margin-top: 6px;
  }

  .hero-section {
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .hero-badge {
    font-size: 11.5px;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 15.5px;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 340px;
    margin: 0 auto 28px auto;
  }

  .hero-ctas .btn-lg {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 11px;
  }

  .trust-item {
    padding: 6px 8px;
    justify-content: flex-start;
    text-align: left;
    border-radius: 8px;
  }

  .hide-mobile {
    display: none !important;
  }

  /* App Replica Window Mobile Polish */
  .app-Replica-window {
    margin-top: 28px;
    border-radius: 12px;
  }

  .replica-app-header {
    height: 44px;
    padding: 0 10px;
  }

  .replica-save-status span:last-child {
    display: none;
  }

  .replica-canvas-viewport {
    height: 410px;
  }

  .replica-floating-pill {
    top: 8px;
    padding: 3px 6px;
    gap: 4px;
  }

  .replica-tool-btn {
    font-size: 10px;
    padding: 3px 6px;
  }

  .replica-inspector-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc {
    font-size: 15.5px;
  }

  .features-grid,
  .method-steps,
  .industries-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card,
  .industry-card,
  .method-step {
    padding: 22px 20px;
  }

  .spotlight-content h3 {
    font-size: 25px;
  }

  .spotlight-visual {
    padding: 16px;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .cta-banner h2 {
    font-size: 26px;
  }

  .cta-banner p {
    font-size: 15.5px;
  }

  .cta-banner-buttons {
    flex-direction: column;
  }

  .cta-banner-buttons .btn-lg {
    width: 100%;
  }

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

@media (max-width: 420px) {
  .hero-trust-bar {
    grid-template-columns: 1fr;
  }
  .replica-btn-group {
    display: none;
  }
}
