/* ==========================================================================
   ONE AID — PROTOTIPO DE LANDING PAGE B2C (ADVANCED 3D & GSAP EDITION)
   Principles: Poco texto, mensajes directos, iconos, viñetas, tabla comparativa.
   Animations: Three.js 3D Hologram, 3D Tilt Glare, Ahorro Calculator, Onboarding Modal.
   Design Intelligence: UI/UX Pro Max
   ========================================================================== */

:root {
  --bg-clean: #FFFFFF;
  --bg-paper: #F8FAFC;
  --bg-card: #FFFFFF;

  --navy-950: #061024;
  --navy-900: #0B1B3D;
  --navy-800: #142B58;
  --navy-700: #1E4185;

  --mint: #00E5B3;
  --mint-deep: #008766;
  --mint-light: #52FCD7;
  --mint-dim: rgba(0, 229, 179, 0.12);
  --mint-glow: rgba(0, 229, 179, 0.4);
  --mint-table: #F0FDF9;

  --cyan: #0284C7;
  --cyan-deep: #0369A1;
  --cyan-dim: rgba(2, 132, 199, 0.1);
  --cyan-glow: rgba(2, 132, 199, 0.35);

  --text-primary: #0B1B3D;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-subtle: rgba(11, 27, 61, 0.08);

  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 4px 15px rgba(11, 27, 61, 0.05);
  --shadow-md: 0 10px 30px -8px rgba(11, 27, 61, 0.08);
  --shadow-lg: 0 20px 45px -12px rgba(11, 27, 61, 0.12);
  --shadow-glow-mint: 0 0 25px rgba(0, 229, 179, 0.3);
}

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

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

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

svg {
  display: inline-block;
  vertical-align: middle;
}

/* Custom Cursor */
.custom-cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--mint);
  border-radius: 50%;
  position: fixed;
  top: -6px;
  left: -6px;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 0 14px var(--mint-glow), 0 0 28px rgba(0, 229, 179, 0.5);
  transition: opacity 0.2s, transform 0.05s ease-out;
  opacity: 0.75;
}

/* Top Scroll Progress Bar with Mint Glow */
.proto-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #00E5B3, #0284C7);
  box-shadow: 0 0 12px rgba(0, 229, 179, 0.8);
  z-index: 999999;
  transition: width 0.08s ease-out;
}

/* Floating Parallax Badges */
.floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(11, 27, 61, 0.1);
  box-shadow: 0 10px 25px rgba(11, 27, 61, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-900);
  z-index: 10;
  will-change: transform;
}

.badge-top-left {
  top: 1.25rem;
  left: 1.25rem;
}

.badge-bottom-right {
  bottom: 1.25rem;
  right: 1.25rem;
}

.live-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
}

.pill-chip-icon {
  font-size: 0.95rem;
}

/* Scroll-Driven ECG Heartbeat Line */
.scroll-ecg-container {
  width: 100%;
  max-width: 1160px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1.5rem;
  overflow: hidden;
}

.scroll-ecg-svg {
  width: 100%;
  height: 48px;
  opacity: 0.85;
}

#scroll-ecg-path {
  transition: stroke-dashoffset 0.1s linear;
}

.doc-photo-frame {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

/* Ambient Floating Glow Mesh */
.proto-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  will-change: transform;
}

.orb-top-mint {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 229, 179, 0.28) 0%, rgba(0, 196, 154, 0.12) 50%, transparent 70%);
  top: -120px;
  left: -100px;
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-bottom-cyan {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, rgba(0, 229, 179, 0.16) 50%, transparent 70%);
  bottom: 10%;
  right: -100px;
  animation: floatOrb2 22s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, 45px) scale(1.1); }
  100% { transform: translate(-35px, 80px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -60px) scale(1.15); }
  100% { transform: translate(45px, 60px) scale(0.92); }
}

/* Containers & Typography */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.proto-section {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.bg-paper {
  background-color: var(--bg-paper);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

/* Top Announcement Banner */
.top-banner {
  background: var(--navy-900);
  color: #FFFFFF;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.banner-badge {
  background: var(--mint);
  color: var(--navy-950);
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Navbar */
.proto-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  padding: 0.9rem 0;
}

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

.brand-col {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-icon-chip {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--mint-dim);
  border: 1px solid rgba(0, 196, 154, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-deep);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}

.brand-tag-sm {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--mint-deep);
  font-weight: 700;
  display: block;
}

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

.menu-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.menu-link:hover {
  color: var(--navy-900);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--mint-deep);
  color: #FFFFFF;
  padding: 0.65rem 1.35rem;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(0, 135, 102, 0.25);
}

.btn-primary:hover {
  background: #007054;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 135, 102, 0.35);
}

.btn-hero-main {
  background: var(--navy-900);
  color: #FFFFFF;
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
  box-shadow: 0 10px 25px rgba(11, 27, 61, 0.22);
}

.btn-hero-main:hover {
  background: var(--navy-800);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(11, 27, 61, 0.3);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--navy-900);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

.btn-outline:hover {
  background: #F1F5F9;
}

/* HERO SECTION (Split Grid + 3D Hologram) */
.hero-proto {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 4rem;
}

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

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mint-dim);
  border: 1px solid rgba(0, 229, 179, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mint-deep);
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy-900);
  margin-bottom: 1.25rem;
}

.text-mint-accent {
  color: var(--mint-deep);
}

.hero-bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 2.25rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-dim);
  color: var(--mint-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.bullet-item strong {
  color: var(--navy-900);
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-trust-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-pulse-sm {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--mint);
  animation: livePing 1.8s ease-in-out infinite;
}

@keyframes livePing {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* HERO RIGHT: 3D VIEWPORT CONTAINER */
.hero-visual-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

/* Viewport Switcher Tabs (3D vs Real) */
.hero-view-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.switcher-pills {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-paper);
  padding: 0.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.tab-pill-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.tab-pill-btn.active {
  background: #FFFFFF;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.three-canvas-frame {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  background: radial-gradient(circle at center, #F0FDF9 0%, #F8FAFC 85%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.three-canvas-frame:active {
  cursor: grabbing;
}

.three-interactive-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(11, 27, 61, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-900);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.doc-photo-frame {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.doc-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consult-mini-card {
  background: var(--bg-paper);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  border: 1px solid var(--border-subtle);
}

.consult-info h4 {
  font-size: 0.95rem;
  color: var(--navy-900);
}

.consult-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.prescription-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mint-deep);
  background: #FFFFFF;
  border: 1px solid rgba(0, 196, 154, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.hidden {
  display: none !important;
}

/* 3D TILT CARDS ON HOVER */
.tilt-card {
  transition: transform 0.15s ease-out, box-shadow 0.25s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.tilt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, 0.4) 0%,
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* SECTION HEADINGS */
.section-heading-center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-eyebrow-proto {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mint-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  color: var(--navy-900);
}

/* CASOS FRECUENTES (GRID + 3D TILT) */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.case-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.case-card:hover {
  border-color: rgba(0, 229, 179, 0.5);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 229, 179, 0.12);
}

.case-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--mint-dim);
  border: 1px solid rgba(0, 196, 154, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-deep);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-icon-box {
  background: var(--mint-deep);
  color: #FFFFFF;
  border-color: var(--mint-deep);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 135, 102, 0.28);
}

.case-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--navy-900);
}

.case-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* INTERACTIVE SAVINGS CALCULATOR (Dynamic Widget) */
.calculator-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-top: 3.5rem;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.calc-title-box h3 {
  font-size: 1.25rem;
  color: var(--navy-900);
}

.calc-slider-box {
  margin: 1.5rem 0 2rem;
}

.calc-slider-box label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 10px var(--mint-glow);
  cursor: pointer;
  border: 2px solid #FFFFFF;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 1rem;
  background: var(--bg-paper);
  padding: 1.25rem;
  border-radius: 14px;
  align-items: center;
}

.calc-res-item {
  display: flex;
  flex-direction: column;
}

.calc-res-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-mono);
}

.calc-res-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-900);
}

.calc-res-highlight {
  background: var(--mint-table);
  border: 1px solid rgba(0, 196, 154, 0.4);
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.calc-res-highlight .calc-res-val {
  color: var(--mint-deep);
  font-size: 1.7rem;
}

/* TABLA COMPARATIVA SIMPLE (Requirement Core) */
.table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.comparison-table th {
  background: #F8FAFC;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-900);
}

.col-feature {
  width: 28%;
}

.col-oneaid {
  width: 28%;
  background: var(--mint-table) !important;
  color: var(--navy-900);
  font-weight: 700;
  border-left: 2px solid var(--mint-deep);
  border-right: 2px solid var(--mint-deep);
}

.col-insurance {
  width: 22%;
  color: var(--text-muted);
}

.col-hospital {
  width: 22%;
  color: var(--text-muted);
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.tag-winner {
  background: var(--mint-deep);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.check-yes {
  color: var(--mint-deep);
  font-weight: 800;
  margin-right: 0.4rem;
}

.cross-no {
  color: #EF4444;
  font-weight: 800;
  margin-right: 0.4rem;
}

.cell-bold {
  font-weight: 700;
}

/* 3 PASOS DIRECTOS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card-proto {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.step-num-bubble.bubble-mint {
  background: var(--mint-deep);
  box-shadow: 0 0 16px var(--mint-glow);
}

.step-card-proto h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
}

.step-card-proto p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* TRUST GUARANTEE ROW */
.trust-strip-proto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin-top: 3.5rem;
}

.trust-item-proto {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-item-proto svg {
  color: var(--mint-deep);
  flex-shrink: 0;
}

.trust-text-col strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy-900);
}

.trust-text-col span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FINAL CTA */
.final-cta-proto {
  background: var(--navy-900);
  color: #FFFFFF;
  border-radius: 24px;
  padding: clamp(3.5rem, 6vw, 5rem) 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.final-cta-proto::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 229, 179, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta-proto h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.final-cta-proto p {
  color: #CBD5E1;
  font-size: 1.1rem;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-proto-foot-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mint-light);
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}

/* PROTO FOOTER */
.proto-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

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

.btn-back-pitch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  transition: all 0.2s;
}

.btn-back-pitch:hover {
  background: #E2E8F0;
  transform: translateX(-3px);
}

/* INTERACTIVE ONBOARDING MODAL */
.proto-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 16, 36, 0.75);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.proto-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-glass-container {
  background: #FFFFFF;
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.proto-modal.active .modal-glass-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
}

.modal-step-dots {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-dot {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #E2E8F0;
  transition: background 0.3s;
}

.step-dot.active {
  background: var(--mint-deep);
}

.modal-pane h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.modal-pane p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.city-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.city-chip {
  border: 1px solid var(--border-subtle);
  background: #F8FAFC;
  padding: 0.75rem;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-900);
  transition: all 0.2s;
}

.city-chip:hover, .city-chip.selected {
  background: var(--mint-table);
  border-color: var(--mint-deep);
  color: var(--mint-deep);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid, .steps-grid, .trust-strip-proto {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu-links {
    display: none;
  }
  .cases-grid, .steps-grid, .trust-strip-proto {
    grid-template-columns: 1fr;
  }
  .table-wrapper {
    overflow-x: auto;
  }
  .comparison-table {
    min-width: 600px;
  }
  .custom-cursor-dot {
    display: none;
  }
}
