/* ==========================================================================
   Tacttik — landing
   Paleta y tipografías heredadas de la app (navy + turquesa, Barlow).
   ========================================================================== */

:root {
  --bg: #070d1d;
  --bg-2: #0a1226;
  --panel: #0e1830;
  --panel-2: #121e3a;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --teal: #00e5be;
  --teal-2: #00b39c;
  --teal-soft: rgba(0, 229, 190, 0.14);
  --teal-glow: rgba(0, 229, 190, 0.38);
  --text: #f4f7f6;
  --muted: #93a1b8;
  --muted-2: #6b7a93;
  --red: #ff5468;
  --gold: #ffd166;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --f-h: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --f-b: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-n: 'Anton', 'Impact', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-b);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--teal);
  color: #04101f;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 200;
}
.skip:focus {
  left: 12px;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(820px, 100% - 48px);
}

/* Iconos (inyectados por main.js) */
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
[data-icon] svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Revelado al scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Botones ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn--sm {
  height: 38px;
  padding: 0 15px;
  font-size: 0.9rem;
  border-radius: 12px;
}
.btn--lg {
  height: 58px;
  padding: 0 30px;
  font-size: 1.08rem;
  border-radius: 16px;
}
.btn--primary {
  color: #04101f;
  background: linear-gradient(135deg, #48ffdc 0%, #00e5be 45%, #00c4a3 100%);
  box-shadow: 0 10px 36px -10px var(--teal-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -10px var(--teal-glow), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--primary [data-icon] svg {
  transition: transform 0.25s var(--ease);
}
.btn--primary:hover [data-icon] svg {
  transform: translateX(4px);
}
.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-2);
  backdrop-filter: blur(10px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--line-2);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}
.btn[aria-disabled='true'] {
  cursor: default;
}
.btn[aria-disabled='true']:hover {
  transform: none;
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(7, 13, 29, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(0, 229, 190, 0.3), 0 6px 20px -6px var(--teal-glow);
}
.brand__word {
  height: 26px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav__links a {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav__cta {
  display: flex;
  gap: 10px;
}
.nav__burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 40px;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__glow--a {
  width: 620px;
  height: 620px;
  left: -160px;
  top: -120px;
  background: radial-gradient(circle, rgba(0, 229, 190, 0.34), transparent 68%);
}
.hero__glow--b {
  width: 720px;
  height: 720px;
  right: -200px;
  top: 40px;
  background: radial-gradient(circle, rgba(46, 109, 255, 0.28), transparent 68%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 600;
  color: #cfd8e6;
  backdrop-filter: blur(8px);
}
.kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 var(--teal-glow);
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 229, 190, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(0, 229, 190, 0);
  }
}
.hero__title {
  margin-top: 22px;
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.005em;
}
.hl {
  position: relative;
  display: inline-block;
  background: linear-gradient(95deg, #9dffee 0%, #00e5be 45%, #00b39c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.12em;
}
.hl__mark {
  position: absolute;
  left: 0;
  bottom: -0.02em;
  width: 100%;
  height: 0.2em;
  overflow: visible;
}
.hl__mark path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 8px var(--teal-glow));
  animation: draw 1.1s 0.7s var(--ease) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.hero__lead {
  margin-top: 26px;
  max-width: 540px;
  font-size: 1.22rem;
  line-height: 1.5;
  color: #b9c4d6;
}
.hero__lead strong {
  color: var(--text);
  font-weight: 600;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__actions--center {
  justify-content: center;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.hero__proof li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero__proof [data-icon] {
  color: var(--teal);
}

/* Ventana de la app + tablero */
.hero__stage {
  position: relative;
  perspective: 1800px;
}
.appwin {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 229, 190, 0.08), 0 0 90px -20px var(--teal-glow);
  transform: rotateY(-7deg) rotateX(3deg);
  transform-origin: 60% 50%;
  transition: transform 0.7s var(--ease);
}
.hero__stage:hover .appwin,
.appwin.is-flat {
  transform: rotateY(0) rotateX(0);
}
/* Al arrastrar una ficha se aplana de inmediato, para que el puntero coincida
   exacto con el tablero (la inclinación 3D desfasaría el cálculo). */
.appwin.is-flat {
  transition: none;
}
.appwin__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 14px;
  background: #0d1730;
  border-bottom: 1px solid var(--line);
}
.appwin__dots {
  display: flex;
  gap: 7px;
}
.appwin__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.appwin__dots i:nth-child(1) {
  background: #ff5f57;
}
.appwin__dots i:nth-child(2) {
  background: #febc2e;
}
.appwin__dots i:nth-child(3) {
  background: #28c840;
}
.appwin__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.appwin__title img {
  border-radius: 4px;
}
.appwin__chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.board {
  position: relative;
  aspect-ratio: 1050 / 680;
  background: #0b3d2b;
  user-select: none;
  -webkit-user-select: none;
}
.board svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.board__hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(7, 13, 29, 0.78);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  color: #dfe7f2;
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s;
  animation: nudge 2.6s ease-in-out infinite;
}
.board__hint.is-gone {
  opacity: 0;
  transform: translate(-50%, 8px);
  animation: none;
}
@keyframes nudge {
  50% {
    transform: translate(-50%, -4px);
  }
}
.tok {
  cursor: grab;
  touch-action: none;
}
.tok.is-drag {
  cursor: grabbing;
}
.tok circle.tok__ring {
  transition: stroke-width 0.2s;
}
.tok:hover circle.tok__ring,
.tok.is-drag circle.tok__ring {
  stroke-width: 5;
}
.tok text {
  font-family: var(--f-n);
  pointer-events: none;
}

.timeline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: #0d1730;
  border-top: 1px solid var(--line);
}
.timeline__btn {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--teal);
  color: #04101f;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px -6px var(--teal-glow);
  transition: transform 0.2s;
}
.timeline__btn:hover {
  transform: scale(1.08);
}
.timeline__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
}
.timeline__track {
  position: relative;
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}
.timeline__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-2), var(--teal));
  box-shadow: 0 0 12px var(--teal-glow);
}
.timeline__key {
  position: absolute;
  top: 50%;
  translate: -50% -50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 800;
}
.timeline__key--a {
  left: 0;
}
.timeline__key--b {
  left: 100%;
}

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 14px;
  background: rgba(14, 24, 48, 0.82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
  animation: bob 6s ease-in-out infinite;
}
.float [data-icon] {
  color: var(--teal);
}
.float--a {
  top: -22px;
  right: 6%;
}
.float--b {
  bottom: 54px;
  left: -34px;
  animation-delay: -3s;
}
@keyframes bob {
  50% {
    transform: translateY(-9px);
  }
}

.strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 64px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.strip li {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #c4cedd;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

/* ---------- Secciones ---------- */
.sec {
  position: relative;
  padding: 120px 0;
}
.sec--tint {
  background: linear-gradient(180deg, transparent, rgba(14, 24, 48, 0.55) 18%, rgba(14, 24, 48, 0.55) 82%, transparent);
}
.sec__head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal));
}
.eyebrow::after {
  transform: scaleX(-1);
}
.h2 {
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 0.95;
}
.hl-plain {
  color: var(--teal);
}
.sec__sub {
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

/* ---------- Cuadros de video (placeholders) ---------- */
.vslot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  cursor: pointer;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 90% at 25% 15%, rgba(0, 229, 190, 0.24), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(46, 109, 255, 0.2), transparent 60%),
    linear-gradient(160deg, #0f2c31, #0a1226 70%);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.vslot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.2'%3E%3Crect x='14' y='14' width='292' height='152' rx='4'/%3E%3Cpath d='M160 14v152'/%3E%3Ccircle cx='160' cy='90' r='24'/%3E%3Crect x='14' y='54' width='40' height='72'/%3E%3Crect x='266' y='54' width='40' height='72'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}
.vslot:hover {
  border-color: rgba(0, 229, 190, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -24px var(--teal-glow);
}
.vslot__bg {
  position: absolute;
  right: -10px;
  bottom: -14px;
  z-index: -1;
  color: rgba(0, 229, 190, 0.13);
}
.vslot__bg svg {
  width: 120px;
  height: 120px;
  stroke-width: 1.4;
}
.vslot__play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04101f;
  background: var(--teal);
  box-shadow: 0 10px 34px -6px var(--teal-glow);
  transition: transform 0.35s var(--ease);
}
.vslot__play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
  margin-left: 3px;
}
.vslot:hover .vslot__play {
  transform: scale(1.12);
}
.vslot__tag,
.vslot__len {
  position: absolute;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.vslot__tag {
  left: 12px;
  top: 12px;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.32);
}
.vslot.is-ready .vslot__tag {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: rgba(0, 229, 190, 0.4);
}
.vslot__len {
  right: 12px;
  bottom: 12px;
  color: #d8e1ee;
  background: rgba(7, 13, 29, 0.7);
  border: 1px solid var(--line-2);
}
.vslot--hero {
  max-width: 1020px;
  margin-inline: auto;
  border-radius: 26px;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.8), 0 0 100px -30px var(--teal-glow);
}
.vslot--hero .vslot__play {
  width: 104px;
  height: 104px;
}
.vslot--hero .vslot__play svg {
  width: 40px;
  height: 40px;
}
.vslot--hero .vslot__play::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 190, 0.5);
  animation: ring 2.6s infinite;
}
@keyframes ring {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}
.vslot--hero .vslot__bg svg {
  width: 260px;
  height: 260px;
}

/* ---------- Pasos ---------- */
.sec--demo {
  padding-top: 100px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.step__n {
  font-family: var(--f-n);
  font-size: 4.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 229, 190, 0.55);
}
.step h3 {
  margin-top: 6px;
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.9rem;
  line-height: 1;
}
.step p {
  margin: 12px 0 22px;
  color: var(--muted);
}
.step .vslot {
  margin-top: auto;
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.card--wide {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 30px;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 190, 0.15), transparent 60%);
  transition: opacity 0.4s;
}
.card:hover {
  border-color: rgba(0, 229, 190, 0.28);
}
.card:hover::before {
  opacity: 1;
}
.card__ic,
.who__ic,
.dl__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(0, 229, 190, 0.25);
  margin-bottom: 16px;
}
.card__ic svg,
.who__ic svg,
.dl__ic svg {
  width: 24px;
  height: 24px;
}
.card h3,
.who__card h3,
.dl__card h3 {
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.7rem;
  line-height: 1;
}
.card p,
.who__card p,
.dl__card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}
.card > .vslot {
  margin-top: auto;
}
.card--wide > .vslot {
  margin-top: 0;
}

/* ---------- Antes / con Tacttik ---------- */
.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1000px;
  margin-inline: auto;
}
.versus__col {
  padding: 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.versus__col h3 {
  margin-bottom: 20px;
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.7rem;
}
.versus__col li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.versus__col--old {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}
.versus__col--old li {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 84, 104, 0.6);
  text-decoration-thickness: 1.5px;
}
.versus__col--new {
  background: linear-gradient(180deg, rgba(0, 229, 190, 0.1), rgba(0, 229, 190, 0.02));
  border-color: rgba(0, 229, 190, 0.35);
  box-shadow: 0 0 70px -30px var(--teal-glow);
}
.versus__col--new li [data-icon] {
  color: var(--teal);
  margin-top: 2px;
}
.versus__vs {
  align-self: center;
  z-index: 2;
  margin-inline: -22px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  color: var(--teal);
}

/* ---------- Para quién ---------- */
.who {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.who__card {
  position: relative;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.who__card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 190, 0.15), transparent 60%);
  transition: opacity 0.4s;
}
.who__card:hover::before {
  opacity: 1;
}

/* ---------- Descarga ---------- */
.dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dl__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: border-color 0.3s;
}
.dl__card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 190, 0.15), transparent 60%);
  transition: opacity 0.4s;
}
.dl__card:hover::before {
  opacity: 1;
}
.dl__card.is-current {
  border-color: rgba(0, 229, 190, 0.55);
  box-shadow: 0 0 60px -26px var(--teal-glow);
}
.dl__card.is-current::after {
  content: 'Tu sistema';
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal);
  color: #04101f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dl__card p {
  margin-bottom: 20px;
}
.dl__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.dl__btns .btn {
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-height: 46px;
  padding-block: 8px;
  flex-wrap: wrap;
  row-gap: 4px;
  white-space: normal;
}
.dl__btns .btn em,
.btn em {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.12);
}
.dl__card small {
  display: block;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.8rem;
}
.dl__card > .btn {
  margin-top: auto;
}

/* ---------- Planes ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.plan--hi {
  border-color: rgba(0, 229, 190, 0.5);
  background: linear-gradient(180deg, rgba(0, 229, 190, 0.11), rgba(0, 229, 190, 0.025));
  box-shadow: 0 0 80px -34px var(--teal-glow);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50% 0;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--teal);
  color: #04101f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan h3 {
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 1;
}
.plan__tag {
  margin-top: 8px;
  color: var(--muted);
  min-height: 3em;
}
.plan__price {
  margin: 22px 0;
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
}
.plan__price small {
  font-family: var(--f-b);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.plan__price--soon {
  font-size: 1.7rem;
  color: var(--muted);
}
.plan ul {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  color: #cbd5e3;
  font-size: 0.97rem;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li [data-icon] {
  color: var(--teal);
  margin-top: 2px;
}
.plan__soon {
  margin-bottom: 26px;
  color: var(--muted-2);
  font-size: 0.95rem;
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--teal);
}
.faq summary [data-icon] {
  color: var(--teal);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary [data-icon] {
  transform: rotate(180deg);
}
.faq details p {
  padding: 0 4px 26px;
  max-width: 680px;
  color: var(--muted);
}

/* ---------- CTA final ---------- */
.final {
  position: relative;
  padding: 130px 0 120px;
  text-align: center;
  overflow: clip;
  border-top: 1px solid var(--line);
}
.final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(0, 229, 190, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 0%, rgba(46, 109, 255, 0.14), transparent 70%);
}
.final__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 60%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 60%, #000 10%, transparent 70%);
  opacity: 0.5;
}
.final__in {
  position: relative;
}
.final__title {
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  line-height: 0.92;
}
.final__sub {
  margin: 22px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.2rem;
}
.final .hero__actions {
  margin-top: 36px;
}
.share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 56px;
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 500;
}
.share__btns {
  display: flex;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 229, 190, 0.5);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.foot {
  padding: 48px 0 60px;
  border-top: 1px solid var(--line);
  background: #050a16;
}
.foot__in {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.foot__brand img {
  height: 28px;
  width: auto;
}
.foot__brand p {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.92rem;
}
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.foot__nav a:hover {
  color: var(--teal);
}
.foot__legal {
  color: var(--muted-2);
  font-size: 0.85rem;
  text-align: right;
}

/* ---------- Modal de video ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] {
  display: none;
}
.modal__back {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 20, 0.82);
  backdrop-filter: blur(10px);
}
.modal__box {
  position: relative;
  width: min(980px, 100%);
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9);
  animation: pop 0.35s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
.modal__title {
  padding: 4px 44px 14px 4px;
  font-family: var(--f-h);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.6rem;
}
.modal__x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
}
.modal__body {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #050a16;
}
.modal__body video,
.modal__body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.soon {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(0, 229, 190, 0.18), transparent 70%);
}
.soon strong {
  font-family: var(--f-h);
  font-style: italic;
  font-size: 2rem;
  text-transform: uppercase;
}
.soon span {
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .dl {
    grid-template-columns: repeat(3, 1fr);
  }
  .who {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 118px;
  }
  .hero__in {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__lead {
    margin-inline: auto;
  }
  .hero__actions,
  .hero__proof {
    justify-content: center;
  }
  .appwin {
    transform: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card,
  .card--wide {
    grid-column: span 2;
  }
  .card--wide {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .versus {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .versus__vs {
    margin: -8px auto;
  }
  .foot__in {
    grid-template-columns: 1fr;
  }
  .foot__legal {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .nav__in {
    gap: 12px;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: inline-flex;
  }
  .nav.is-open .nav__links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 24px;
    background: rgba(7, 13, 29, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links a {
    padding: 14px 10px;
    font-size: 1.05rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .sec {
    padding: 84px 0;
  }
  .sec__head {
    margin-bottom: 44px;
  }
  .float {
    display: none;
  }
  .who,
  .dl {
    grid-template-columns: 1fr;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .card,
  .step {
    padding: 22px;
  }
  .versus__col {
    padding: 26px;
  }
  .vslot--hero .vslot__play {
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .hl__mark path {
    stroke-dashoffset: 0;
  }
  .appwin {
    transform: none;
  }
}


/* Datos rápidos bajo el hero */
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0 0;padding:0}
.facts div{padding:18px 20px;border:1px solid var(--line,rgba(255,255,255,.08));border-radius:16px;background:rgba(255,255,255,.025)}
.facts dt{font-family:'Anton',sans-serif;font-size:clamp(26px,3vw,36px);line-height:1;color:#00e5be;letter-spacing:.01em}
.facts dd{margin:8px 0 0;font-size:14px;color:rgba(226,232,240,.7)}
@media (max-width:640px){.facts{grid-template-columns:repeat(2,1fr);gap:12px}.facts div{padding:14px 16px}}

@media (max-width:860px){.dl{grid-template-columns:1fr}}


/* Pasos compactos y grilla 2x2 de videos */
.steps--slim{margin-top:28px}
.steps--slim .step{padding:22px 24px}
.bento--duo .card{grid-column:span 3}
.bento--duo .card > .vslot{margin-top:auto}
@media (max-width:980px){.bento--duo .card{grid-column:span 2}}

#como-funciona .vslot--hero{max-width:880px;margin-inline:auto}

/* Pizarra del inicio: fichas HTML compuestas en GPU (fluido) sobre cancha SVG fija */
.board .btok,.board .bball{position:absolute;left:0;top:0;will-change:transform;pointer-events:none}
.board .btok{width:5.4%;aspect-ratio:1;margin:-2.7% 0 0 -2.7%;border-radius:50%;background:#00e5be;border:3px solid #eafff9;
  display:grid;place-items:center;font:800 clamp(11px,1.7vw,22px)/1 'Barlow Condensed',sans-serif;color:#062b25;box-sizing:border-box;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.board .bball{width:2.6%;aspect-ratio:1;margin:-1.3% 0 0 -1.3%;border-radius:50%;background:radial-gradient(circle at 50% 50%,#111 0 28%,#fff 30%);border:2px solid #111;box-sizing:border-box}
.board .trail,.board .ghost{opacity:0;transition:opacity .4s}
.board.is-on .trail,.board.is-on .ghost{opacity:1}
.board .pass{stroke-dasharray:1;stroke-dashoffset:1;opacity:0;transition:stroke-dashoffset .7s cubic-bezier(.4,0,.2,1),opacity .2s}
.board .pass.is-on{stroke-dashoffset:0;opacity:1}
.board.is-off .pass{opacity:0;transition:none}
