/* ═══════════════════════════════════════════════════════════════
   T-MARKER DASHBOARD — DURABLE COMPATIBLE
   Pure CSS · No backdrop-filter · No canvas · Sticky Navbar
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&display=swap');

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; }

/* ─── DESIGN TOKENS ─── */
:root {
  --teal:        #00D4B8;
  --teal-mid:    #00B89E;
  --teal-dark:   #008F7A;
  --teal-glow:   rgba(0,212,184,0.22);
  --teal-subtle: rgba(0,212,184,0.08);

  --orange:      #FF7043;
  --orange-glow: rgba(255,112,67,0.20);

  --blue:        #4F8EF7;
  --blue-glow:   rgba(79,142,247,0.18);

  --purple:      #9D6FE8;
  --purple-glow: rgba(157,111,232,0.18);

  --gold:        #FFBE3D;
  --gold-glow:   rgba(255,190,61,0.18);

  --red:         #FF4D6A;
  --red-glow:    rgba(255,77,106,0.18);

  /* Background layers */
  --bg-base:   #060D1A;
  --bg-1:      #0A1525;
  --bg-2:      #0F1E36;
  --bg-3:      #162847;
  --bg-4:      #1E3560;

  /* Glass — solid equivalents without backdrop-filter */
  --glass-bg:     rgba(15,30,60,0.90);
  --glass-border: rgba(255,255,255,0.09);

  /* Text */
  --txt-primary:   #EEF4FF;
  --txt-secondary: #8BACC8;
  --txt-muted:     #4A6480;

  /* Misc */
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.55);

  --ease:        cubic-bezier(0.4,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --dur-fast: 0.18s;
  --dur-mid:  0.32s;
  --dur-slow: 0.55s;
}

/* ─── BASE ─── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-base);
  color: var(--txt-primary);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--teal), var(--blue));
  border-radius: 10px;
}
::selection { background: var(--teal-glow); color: var(--teal); }

/* ─── CONTAINER ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR — sticky, no backdrop-filter
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,13,26,0.97);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  height: 66px;
  gap: 8px;
}
.nav-brand {
  display: flex; align-items: center; gap: 11px;
  margin-right: auto;
  color: var(--txt-primary);
}
.brand-icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #fff;
  box-shadow: 0 0 20px var(--teal-glow);
  transition: transform var(--dur-mid) var(--ease-spring);
}
.nav-brand:hover .brand-icon { transform: rotate(-8deg) scale(1.08); }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px; font-weight: 800;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-sub {
  font-size: 10px; color: var(--txt-muted);
  letter-spacing: 1px; text-transform: uppercase;
  display: block; margin-top: -3px;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--txt-secondary);
  padding: 7px 14px; border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--teal);
  background: var(--teal-subtle);
}
.nav-cta {
  font-size: 13px; font-weight: 600; color: var(--bg-base);
  padding: 8px 20px; border-radius: 50px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  box-shadow: 0 0 20px var(--teal-glow);
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  margin-left: 6px;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--teal-glow);
}
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px;
}
.nav-burger span {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--txt-secondary);
  transition: all var(--dur-mid) var(--ease);
  display: block;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-2);
  border-top: 1px solid var(--glass-border);
  padding: 8px 0 16px;
  animation: slideDown var(--dur-mid) var(--ease);
}
.mobile-menu.open { display: flex; }
.mob-link {
  padding: 12px 28px;
  font-size: 14px; font-weight: 500;
  color: var(--txt-secondary);
  display: flex; align-items: center; gap: 12px;
  transition: all var(--dur-fast) var(--ease);
  border-left: 3px solid transparent;
}
.mob-link:hover {
  color: var(--teal);
  background: var(--teal-subtle);
  border-left-color: var(--teal);
}
.mob-link i { color: var(--teal); width: 16px; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.section.section-alt { background: var(--bg-1); }
.section:last-child { border-bottom: none; }

/* Ambient blob — pure CSS, no blur issues */
.section-blob {
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  filter: blur(100px); opacity: 0.05;
}
.blob-red    { background: var(--red);    bottom: -150px; right: -100px; }
.blob-teal   { background: var(--teal);   top: -100px;    right: -150px; }
.blob-blue   { background: var(--blue);   bottom: -100px; left: -80px; }
.blob-purple { background: var(--purple); top: -150px;    left: 50%; }
.blob-orange { background: var(--orange); bottom: -150px; right: -100px; }
.blob-gold   { background: var(--gold);   top: -80px;     right: -80px; }

/* ─── SECTION HEADER ─── */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 20px;
  margin-bottom: 20px;
}
.tag-red    { background: rgba(255,77,106,0.12);  color: var(--red);    border: 1px solid rgba(255,77,106,.30); }
.tag-teal   { background: rgba(0,212,184,0.10);   color: var(--teal);   border: 1px solid rgba(0,212,184,.28); }
.tag-blue   { background: rgba(79,142,247,0.10);  color: var(--blue);   border: 1px solid rgba(79,142,247,.28); }
.tag-purple { background: rgba(157,111,232,0.10); color: var(--purple); border: 1px solid rgba(157,111,232,.28); }
.tag-orange { background: rgba(255,112,67,0.10);  color: var(--orange); border: 1px solid rgba(255,112,67,.28); }
.tag-gold   { background: rgba(255,190,61,0.10);  color: var(--gold);   border: 1px solid rgba(255,190,61,.28); }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 4vw, 44px); font-weight: 800;
  line-height: 1.15; color: var(--txt-primary);
  margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-desc {
  font-size: 16px; color: var(--txt-secondary);
  max-width: 660px; margin: 0 auto; line-height: 1.7;
}
.text-teal { color: var(--teal); }
.text-gradient {
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--bg-base);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}

/* CSS grid dots */
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(circle, rgba(0,212,184,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* Gradient orbs */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,184,0.12), transparent 70%);
  top: -200px; left: -200px;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,142,247,0.10), transparent 70%);
  bottom: -150px; right: -150px;
  animation: floatOrb 16s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(157,111,232,0.10), transparent 70%);
  top: 40%; left: 50%;
  animation: floatOrb 20s ease-in-out infinite 4s;
}
@keyframes floatOrb {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(30px,-30px); }
  66%     { transform: translate(-20px,20px); }
}

.hero-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 820px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px;
  color: var(--teal); text-transform: uppercase;
  background: rgba(0,212,184,0.08);
  border: 1px solid rgba(0,212,184,0.25);
  padding: 8px 22px; border-radius: 50px;
  margin-bottom: 32px;
}
.dot-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 var(--teal-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,184,0.5); }
  50%     { box-shadow: 0 0 0 8px rgba(0,212,184,0); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 72px); font-weight: 900;
  line-height: 1.1; letter-spacing: -1.5px;
  color: var(--txt-primary); margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px); color: var(--txt-secondary);
  max-width: 620px; margin: 0 auto 36px; line-height: 1.75;
}
.hero-subtitle strong { color: var(--txt-primary); }

/* Buttons */
.hero-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 52px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: #fff;
  padding: 14px 32px; border-radius: 50px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  box-shadow: 0 0 30px var(--teal-glow), 0 4px 16px rgba(0,0,0,0.3);
  transition: all var(--dur-fast) var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px var(--teal-glow), 0 8px 24px rgba(0,0,0,0.35);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; color: var(--txt-primary);
  padding: 13px 32px; border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.04);
  transition: all var(--dur-fast) var(--ease);
}
.btn-ghost:hover {
  border-color: rgba(0,212,184,0.4);
  color: var(--teal);
  background: var(--teal-subtle);
  transform: translateY(-2px);
}

/* KPI Strip */
.kpi-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), 0 0 40px rgba(0,0,0,0.3);
  overflow: hidden;
}
.kpi {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 30px;
  flex: 1; min-width: 140px;
  transition: background var(--dur-fast) var(--ease);
}
.kpi:hover { background: rgba(255,255,255,0.03); }
.kpi-icon-wrap {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.c-teal   { background: rgba(0,212,184,0.14);  color: var(--teal);   box-shadow: 0 0 14px rgba(0,212,184,0.15); }
.c-orange { background: rgba(255,112,67,0.14);  color: var(--orange); box-shadow: 0 0 14px rgba(255,112,67,0.15); }
.c-blue   { background: rgba(79,142,247,0.14);  color: var(--blue);   box-shadow: 0 0 14px rgba(79,142,247,0.15); }
.c-purple { background: rgba(157,111,232,0.14); color: var(--purple); box-shadow: 0 0 14px rgba(157,111,232,0.15); }
.kpi-val  { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 800; color: var(--txt-primary); display: block; line-height: 1; }
.kpi-lbl  { font-size: 11px; color: var(--txt-muted); letter-spacing: 0.5px; margin-top: 3px; display: block; }
.kpi-divider { width: 1px; height: 50px; background: var(--glass-border); flex-shrink: 0; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; color: var(--txt-muted); letter-spacing: 1px;
  text-transform: uppercase; z-index: 1;
  animation: fadeInUp 1s 1.5s both;
}
.scroll-wheel {
  width: 20px; height: 34px; border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--teal);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%  { opacity: 1; transform: translateY(0); }
  100%{ opacity: 0; transform: translateY(12px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEMA — Problem Cards
   ═══════════════════════════════════════════════════════════════ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pcard {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--glass-border);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
  position: relative; overflow: hidden;
}
.pcard::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity var(--dur-mid) var(--ease);
}
.pcard:hover { transform: translateY(-4px); }
.pcard-red  { border-top: 3px solid var(--red);    box-shadow: 0 0 30px rgba(255,77,106,0.08); }
.pcard-gold { border-top: 3px solid var(--gold);   box-shadow: 0 0 30px rgba(255,190,61,0.08); }
.pcard-teal { border-top: 3px solid var(--teal);   box-shadow: 0 0 30px rgba(0,212,184,0.08); }
.pcard-red:hover  { box-shadow: 0 16px 40px rgba(255,77,106,0.18); }
.pcard-gold:hover { box-shadow: 0 16px 40px rgba(255,190,61,0.18); }
.pcard-teal:hover { box-shadow: 0 16px 40px rgba(0,212,184,0.18); }

.pcard-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.icon-red  { background: rgba(255,77,106,0.14);  color: var(--red);  box-shadow: 0 0 16px rgba(255,77,106,0.2); }
.icon-gold { background: rgba(255,190,61,0.14);  color: var(--gold); box-shadow: 0 0 16px rgba(255,190,61,0.2); }
.icon-teal { background: rgba(0,212,184,0.14);   color: var(--teal); box-shadow: 0 0 16px rgba(0,212,184,0.2); }

.pcard h3 { font-size: 17px; font-weight: 700; color: var(--txt-primary); margin-bottom: 10px; }
.pcard p  { font-size: 14px; color: var(--txt-secondary); line-height: 1.7; }

/* Threshold Display */
.threshold-hero {
  display: flex; align-items: baseline; gap: 5px;
  margin-bottom: 14px;
}
.th-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 64px; font-weight: 900; color: var(--red);
  line-height: 1;
  text-shadow: 0 0 24px rgba(255,77,106,0.4);
  animation: throb 2s ease-in-out infinite;
}
@keyframes throb {
  0%,100% { text-shadow: 0 0 16px rgba(255,77,106,0.4); }
  50%     { text-shadow: 0 0 32px rgba(255,77,106,0.7); }
}
.th-unit { font-size: 26px; font-weight: 700; color: var(--red); }
.danger-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.07); margin: 16px 0 8px; overflow: hidden; }
.danger-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--red));
  border-radius: 3px; animation: dangerFill 3s ease 1s forwards;
}
@keyframes dangerFill { to { width: 100%; } }
.danger-note { font-size: 11px; color: var(--red); font-weight: 600; letter-spacing: 0.5px; }

/* Chain row */
.chain-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 16px;
}
.chain-node {
  background: rgba(255,255,255,0.06); border: 1px solid var(--glass-border);
  color: var(--txt-secondary); font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: var(--radius-xs);
}
.chain-bad {
  background: rgba(255,77,106,0.15); border-color: rgba(255,77,106,0.35);
  color: var(--red);
}
.chain-arrow { color: var(--txt-muted); font-size: 10px; }

/* Price chip */
.price-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; padding: 8px 16px;
  border-radius: var(--radius-sm); margin-top: 18px;
}
.chip-gold { background: rgba(255,190,61,0.10); color: var(--gold); border: 1px solid rgba(255,190,61,0.25); }

/* ═══════════════════════════════════════════════════════════════
   SOLUCIÓN — iPad Mockup + Features
   ═══════════════════════════════════════════════════════════════ */
.solucion-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
@media (max-width:900px) { .solucion-layout { grid-template-columns: 1fr; } }

/* iPad Device */
.ipad-wrapper {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.ipad-glow {
  position: absolute;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,184,0.2), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}
.ipad-device {
  width: 240px; border-radius: 26px;
  background: linear-gradient(145deg, var(--bg-3), var(--bg-4));
  border: 2px solid rgba(0,212,184,0.25);
  box-shadow: 0 0 40px rgba(0,212,184,0.12), 0 24px 60px rgba(0,0,0,0.6);
  overflow: hidden; position: relative; z-index: 1;
  transition: transform var(--dur-mid) var(--ease);
}
.ipad-device:hover { transform: rotateY(-6deg) rotateX(3deg); }
.ipad-notch { height: 18px; background: var(--bg-base); }
.ipad-screen { padding: 12px; }
.screen-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 10px; background: rgba(0,0,0,0.4);
  border-radius: var(--radius-sm); margin-bottom: 10px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.d-red    { background: #FF5F57; }
.d-yellow { background: #FFBD2E; }
.d-green  { background: #28CA41; }
.screen-label { font-size: 9px; color: var(--txt-muted); margin-left: 4px; letter-spacing: 0.5px; }
.jaw-stage {
  height: 130px; background: rgba(0,212,184,0.04);
  border-radius: var(--radius-md); border: 1px dashed rgba(0,212,184,0.2);
  position: relative; overflow: hidden;
}
.marker {
  position: absolute;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,212,184,0.15); border: 2px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--teal);
  animation: markerPop 1s var(--ease-spring) both;
  cursor: pointer; transition: transform 0.2s var(--ease-spring);
}
.marker:hover { transform: scale(1.2); }
.m1 { top: 18px; left: 25px;  animation-delay: 0.2s; }
.m2 { top: 18px; right: 25px; animation-delay: 0.4s; }
.m3 { bottom: 18px; left: 40px;  animation-delay: 0.6s; }
.m4 { bottom: 18px; right: 40px; animation-delay: 0.8s; }
@keyframes markerPop {
  0%   { opacity: 0; transform: scale(0.5); }
  70%  { transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
.scan-beam {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scanDown 2.5s ease-in-out infinite;
}
@keyframes scanDown { 0%,100%{top:0} 50%{top:calc(100% - 2px)} }
.scan-status {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; color: var(--teal); margin-top: 8px; padding: 0 4px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: pulse 1.5s infinite;
}
.ipad-floor-shadow {
  width: 180px; height: 20px; border-radius: 50%;
  background: rgba(0,212,184,0.12);
  filter: blur(12px);
  margin-top: -8px; z-index: 0;
}

/* Feature list */
.features-list { display: flex; flex-direction: column; gap: 20px; }
.feat {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 22px 24px;
  transition: all var(--dur-mid) var(--ease);
}
.feat:hover {
  border-color: rgba(0,212,184,0.25);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.fi-teal   { background: rgba(0,212,184,0.13);  color: var(--teal);   border: 1px solid rgba(0,212,184,0.2); }
.fi-orange { background: rgba(255,112,67,0.13);  color: var(--orange); border: 1px solid rgba(255,112,67,0.2); }
.fi-blue   { background: rgba(79,142,247,0.13);  color: var(--blue);   border: 1px solid rgba(79,142,247,0.2); }
.fi-purple { background: rgba(157,111,232,0.13); color: var(--purple); border: 1px solid rgba(157,111,232,0.2); }
.feat h4 { font-size: 15px; font-weight: 700; color: var(--txt-primary); margin-bottom: 6px; }
.feat p  { font-size: 13.5px; color: var(--txt-secondary); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════
   COMPARATIVA — Table + Charts
   ═══════════════════════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}
.comp-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; min-width: 640px;
}
.comp-table thead tr {
  background: var(--bg-3);
  border-bottom: 1px solid var(--glass-border);
}
.comp-table thead th {
  padding: 16px 22px; text-align: left;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--txt-muted);
}
.comp-table tbody tr {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--dur-fast) var(--ease);
}
.comp-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table td { padding: 18px 22px; vertical-align: middle; }

/* Featured row */
.row-featured { background: rgba(0,212,184,0.04) !important; border-left: 3px solid var(--teal); }
.row-featured:hover { background: rgba(0,212,184,0.07) !important; }

.sys-cell { display: flex; align-items: center; gap: 14px; }
.sys-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.ico-gold { background: rgba(255,190,61,0.14); color: var(--gold); }
.ico-teal { background: rgba(0,212,184,0.14);  color: var(--teal); }
.ico-red  { background: rgba(255,77,106,0.14); color: var(--red);  }
.sys-cell small { font-size: 12px; color: var(--txt-muted); display: block; margin-top: 2px; }

.badge-best {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  background: rgba(0,212,184,0.12); color: var(--teal);
  border: 1px solid rgba(0,212,184,0.3); border-radius: 20px;
  margin-left: 8px; letter-spacing: 0.5px;
}

.tag-price {
  display: inline-block; font-size: 13px; font-weight: 700;
  padding: 5px 13px; border-radius: var(--radius-sm);
}
.tp-gold { background: rgba(255,190,61,0.12); color: var(--gold); }
.tp-teal { background: rgba(0,212,184,0.10);  color: var(--teal); }
.tp-blue { background: rgba(79,142,247,0.10);  color: var(--blue); }

.tag-prec {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: var(--radius-sm);
}
.tp-best  { background: rgba(0,212,184,0.10); color: var(--teal); }
.tp-teal2 { background: rgba(0,212,184,0.10); color: var(--teal); }
.tp-red   { background: rgba(255,77,106,0.12); color: var(--red); }

.viab-bar {
  display: flex; align-items: center; gap: 10px; min-width: 120px;
}
.viab-fill {
  height: 6px; border-radius: 3px;
  transition: width 1.2s var(--ease);
}
.vf-gold { background: linear-gradient(90deg, var(--gold), #ff9f2f); }
.vf-teal { background: linear-gradient(90deg, var(--teal), var(--blue)); }
.vf-red  { background: linear-gradient(90deg, var(--orange), var(--red)); }
.viab-bar span { font-size: 12px; font-weight: 600; color: var(--txt-secondary); white-space: nowrap; }

.table-note {
  padding: 14px 22px;
  font-size: 12px; color: var(--txt-muted); line-height: 1.6;
  background: var(--bg-2); border-top: 1px solid var(--glass-border);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Charts */
.charts-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-bottom: 24px;
}
.chart-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.chart-box.chart-full { width: 100%; }
.chart-ttl {
  font-size: 15px; font-weight: 700; color: var(--txt-primary);
  display: flex; align-items: center; gap: 9px; margin-bottom: 20px;
}
.chart-ttl i { color: var(--teal); }
.chart-area { position: relative; }

/* ═══════════════════════════════════════════════════════════════
   CONTEXTO CLÍNICO
   ═══════════════════════════════════════════════════════════════ */
.ctx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px; margin-bottom: 32px;
}
.ctx-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 28px;
  transition: all var(--dur-mid) var(--ease);
}
.ctx-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,255,255,0.14);
}
.ctx-ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  background: var(--ico-bg); color: var(--ico-c);
}
.ctx-card h3 { font-size: 16px; font-weight: 700; color: var(--txt-primary); margin-bottom: 10px; }
.ctx-card p  { font-size: 13.5px; color: var(--txt-secondary); line-height: 1.7; }
.ctx-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; padding: 7px 14px;
  border-radius: var(--radius-sm); margin-top: 16px;
  color: var(--chip-c); background: var(--chip-bg); border: 1px solid var(--chip-br);
}
.ctx-list { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.ctx-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--txt-secondary); line-height: 1.5;
}
.dot-sm { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Notice box */
.notice-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,190,61,0.06);
  border: 1px solid rgba(255,190,61,0.25);
  border-radius: var(--radius-xl); padding: 28px;
}
.notice-ico {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,190,61,0.14); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.notice-content strong { font-size: 15px; color: var(--gold); display: block; margin-bottom: 8px; }
.notice-content p { font-size: 13.5px; color: var(--txt-secondary); line-height: 1.7; }
.notice-content strong em { font-style: normal; }

/* ═══════════════════════════════════════════════════════════════
   FLUJO DE TRABAJO
   ═══════════════════════════════════════════════════════════════ */
.steps-row {
  display: flex; align-items: flex-start;
  gap: 0; position: relative;
  flex-wrap: nowrap;
}
@media(max-width:860px) {
  .steps-row { flex-direction: column; gap: 0; }
  .step-connector { display: none; }
}
.step { flex: 1; position: relative; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 52px; font-weight: 900;
  color: rgba(255,255,255,0.04); line-height: 1;
  margin-bottom: -18px; padding-left: 12px;
  user-select: none;
}
.step-icon-ring {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin: 0 0 16px 12px;
  position: relative; z-index: 1;
}
.s-teal   { background: rgba(0,212,184,0.14);  color: var(--teal);   border: 2px solid rgba(0,212,184,0.35); box-shadow: 0 0 20px rgba(0,212,184,0.2); }
.s-orange { background: rgba(255,112,67,0.14);  color: var(--orange); border: 2px solid rgba(255,112,67,0.35); box-shadow: 0 0 20px rgba(255,112,67,0.2); }
.s-blue   { background: rgba(79,142,247,0.14);  color: var(--blue);   border: 2px solid rgba(79,142,247,0.35); box-shadow: 0 0 20px rgba(79,142,247,0.2); }

.step-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 26px;
  transition: all var(--dur-mid) var(--ease);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card h3 { font-size: 17px; font-weight: 700; color: var(--txt-primary); margin-bottom: 10px; }
.step-card p  { font-size: 13.5px; color: var(--txt-secondary); line-height: 1.65; margin-bottom: 14px; }
.step-checks { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.step-checks li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--txt-secondary);
}
.step-checks i { color: var(--teal); font-size: 11px; }
.step-time {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--txt-muted);
  padding: 6px 14px; border-radius: 50px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
}
.step-time i { color: var(--teal); }

.step-connector {
  width: 60px; flex-shrink: 0; align-self: center;
  height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue));
  margin-top: -10px; opacity: 0.3;
}

.total-badge {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 16px; font-weight: 700; color: var(--txt-primary);
  background: linear-gradient(90deg, rgba(0,212,184,0.1), rgba(79,142,247,0.1));
  border: 1px solid rgba(0,212,184,0.25);
  border-radius: 50px; padding: 18px 40px; margin-top: 40px;
  box-shadow: 0 0 30px rgba(0,212,184,0.08);
}
.total-badge i { color: var(--teal); font-size: 18px; }

/* ═══════════════════════════════════════════════════════════════
   VIDEO
   ═══════════════════════════════════════════════════════════════ */
.video-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px; align-items: start;
}
@media(max-width:900px) { .video-layout { grid-template-columns: 1fr; } }
.video-box {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative; background: var(--bg-3);
  box-shadow: var(--shadow-lg);
}
.main-video { width: 100%; display: block; max-height: 420px; object-fit: contain; background: #000; }
.video-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; padding: 5px 14px;
  background: rgba(0,212,184,0.15); color: var(--teal);
  border: 1px solid rgba(0,212,184,0.3); border-radius: 20px;
  letter-spacing: 0.5px;
}
.video-fallback {
  display: none; padding: 50px 30px; text-align: center;
  flex-direction: column; align-items: center; gap: 12px;
}
.video-fallback.show { display: flex; }
.vf-icon { font-size: 54px; color: var(--teal); margin-bottom: 6px; }
.video-fallback h3 { font-size: 20px; font-weight: 700; color: var(--txt-primary); }
.video-fallback p  { font-size: 14px; color: var(--txt-secondary); max-width: 340px; }
.vf-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.vf-chips span {
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
  border-radius: 20px; color: var(--txt-secondary);
  display: inline-flex; align-items: center; gap: 6px;
}
.vf-chips i { color: var(--teal); }
.vf-note { font-size: 12px; color: var(--txt-muted); }
.video-cards { display: flex; flex-direction: column; gap: 14px; }
.vcard {
  display: flex; gap: 16px; align-items: center;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  transition: all var(--dur-fast) var(--ease);
}
.vcard:hover { border-color: rgba(0,212,184,0.25); transform: translateX(3px); }
.vcard-ico {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: rgba(0,212,184,0.12); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.vcard div strong { font-size: 13.5px; font-weight: 700; color: var(--txt-primary); display: block; }
.vcard div span   { font-size: 12px; color: var(--txt-muted); }

/* ═══════════════════════════════════════════════════════════════
   ESTADÍSTICAS — Ring Charts + Micron Bars
   ═══════════════════════════════════════════════════════════════ */
.rings-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.ring-block {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 32px 24px;
  text-align: center;
  transition: all var(--dur-mid) var(--ease);
}
.ring-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ring-wrap {
  position: relative; width: 160px; height: 160px;
  margin: 0 auto 20px; display: flex;
  align-items: center; justify-content: center;
}
.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-val { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 800; color: var(--txt-primary); }
.ring-lbl { font-size: 11px; color: var(--txt-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.ring-block h4 { font-size: 15px; font-weight: 700; color: var(--txt-primary); margin-bottom: 8px; }
.ring-block p  { font-size: 13px; color: var(--txt-secondary); line-height: 1.65; }

/* Micron bars */
.micron-box {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl); padding: 32px;
}
.micron-title {
  font-size: 15px; font-weight: 700; color: var(--txt-primary);
  display: flex; align-items: center; gap: 9px; margin-bottom: 28px;
}
.micron-title i { color: var(--teal); }
.micron-list { display: flex; flex-direction: column; gap: 18px; }
.micron-item { display: flex; flex-direction: column; gap: 7px; }
.micron-label { font-size: 13px; font-weight: 500; color: var(--txt-secondary); }
.micron-track {
  height: 32px; background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--glass-border);
}
.micron-bar {
  height: 100%; width: 0; border-radius: var(--radius-sm);
  display: flex; align-items: center; padding-left: 12px;
  font-size: 12px; font-weight: 700;
  transition: width 1.4s cubic-bezier(0.23,1,0.32,1);
  white-space: nowrap;
}
.mb-teal { background: linear-gradient(90deg, rgba(0,212,184,0.8), rgba(0,212,184,0.5)); color: var(--teal); }
.mb-blue { background: linear-gradient(90deg, rgba(79,142,247,0.8), rgba(79,142,247,0.5)); color: var(--blue); }
.mb-gold { background: linear-gradient(90deg, rgba(255,190,61,0.8), rgba(255,190,61,0.5)); color: var(--gold); }
.mb-red  { background: linear-gradient(90deg, rgba(255,77,106,0.8), rgba(255,77,106,0.5)); color: var(--red); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--glass-border);
}
@media(max-width:860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-logo {
  display: flex; align-items: center; gap: 13px; margin-bottom: 14px;
}
.footer-brand-col p { font-size: 13.5px; color: var(--txt-muted); line-height: 1.7; max-width: 300px; }

.footer-stats-col {
  display: flex; flex-direction: column; gap: 20px;
}
.fstat { display: flex; flex-direction: column; gap: 2px; }
.fstat-num { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 800; color: var(--teal); }
.fstat-lbl { font-size: 12px; color: var(--txt-muted); }

.footer-note-col p { font-size: 13px; color: var(--txt-secondary); margin-bottom: 8px; }
.footer-note-col small { font-size: 12px; color: var(--txt-muted); line-height: 1.7; display: block; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 20px 0;
  font-size: 12px; color: var(--txt-muted);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 100px 0 70px; min-height: unset; }
  .hero-title { font-size: clamp(28px, 7vw, 48px); }

  .section { padding: 64px 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .charts-duo { grid-template-columns: 1fr; }
  .rings-row { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; }
  .step-connector { display: none; }

  .kpi-strip { flex-direction: column; }
  .kpi-divider { width: 100%; height: 1px; }
  .kpi { width: 100%; justify-content: center; }

  .total-badge { font-size: 14px; padding: 14px 24px; }
}

@media(max-width:480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
