/* ============================================================
   Espiar.chat — Clonación y migración de WhatsApp
   Dark green design system
   ============================================================ */

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--green); color: #01130c; }

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

/* ---------- Tokens ---------- */
:root {
  --bg: #04100c;
  --bg-soft: #061611;
  --bg-deep: #020a07;
  --surface: #081b14;
  --surface-2: #0a2119;
  --line: rgba(126, 255, 201, 0.13);
  --line-strong: rgba(126, 255, 201, 0.28);

  --green: #00e08a;
  --green-hi: #3dffb0;
  --green-deep: #009e6c;
  --green-ink: #02120c;

  --text: #eaf7f1;
  --muted: #93b3a6;
  --muted-2: #6d8c80;

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --shadow-green: 0 18px 50px -18px rgba(0, 224, 138, 0.45);

  --container: 1180px;
  --header-h: 76px;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container--narrow { max-width: 860px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--green);
  color: var(--green-ink);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-deep), var(--green-hi));
  box-shadow: 0 0 12px rgba(0, 224, 138, 0.9);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }

.grad {
  background: linear-gradient(100deg, var(--green-hi) 0%, var(--green) 45%, #00b47a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

p { text-wrap: pretty; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--green);
  opacity: 0.7;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.25s ease,
              background-color 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  color: #01150d;
  background: linear-gradient(135deg, var(--green-hi), var(--green) 55%, #00c97c);
  box-shadow: var(--shadow-green), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.55) 48%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px -16px rgba(0, 224, 138, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--primary:hover::after { transform: translateX(130%); }
.btn--primary svg { transition: transform 0.3s ease; }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--green);
  background: rgba(0, 224, 138, 0.08);
  transform: translateY(-2px);
}
.btn--ghost svg { color: var(--green); }

.btn--lg { padding: 17px 32px; font-size: 1rem; }
.btn--sm { padding: 11px 20px; font-size: 0.86rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(4, 16, 12, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.logo__mark {
  width: 40px;
  height: 40px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s;
  filter: drop-shadow(0 0 14px rgba(0, 224, 138, 0.28));
}
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); }
.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.04em;
  color: var(--text);
}
.logo__text span { color: var(--green); }
.logo__text em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.78em;
  color: var(--muted-2);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 110;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px));
  padding-bottom: 20px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 224, 138, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 224, 138, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 20%, transparent 78%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: orbFloat 16s ease-in-out infinite alternate;
}
.orb--1 {
  width: 540px; height: 540px;
  top: -180px; right: -80px;
  background: radial-gradient(circle, rgba(0, 224, 138, 0.55), transparent 68%);
}
.orb--2 {
  width: 460px; height: 460px;
  bottom: -220px; left: -160px;
  background: radial-gradient(circle, rgba(0, 158, 108, 0.5), transparent 68%);
  animation-delay: -6s;
}
.orb--3 {
  width: 330px; height: 330px;
  top: 32%; left: 42%;
  background: radial-gradient(circle, rgba(61, 255, 176, 0.22), transparent 70%);
  animation-delay: -11s;
}
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -40px, 0) scale(1.12); }
}

.float-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(8, 27, 20, 0.65);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-size: 1.3rem;
  color: var(--green);
  animation: bob 7s ease-in-out infinite;
  opacity: 0.85;
}
.float-bubble--a { top: 22%; left: 4%; animation-delay: -1s; }
.float-bubble--b { bottom: 16%; left: 9%; animation-delay: -3.5s; font-size: 1.1rem; }
.float-bubble--c {
  top: 14%; right: 5%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green-hi);
  animation-delay: -5s;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(0, 224, 138, 0.05);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

.hero__title { margin-bottom: 22px; }
.hero__lead {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--muted);
  max-width: 33rem;
  margin-bottom: 32px;
}
.hero__lead strong { color: #c9ead9; font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.hero__actions--center { justify-content: center; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 34px;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero__chips svg {
  width: 15px; height: 15px;
  color: var(--green);
  flex: none;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 400px;
}
.avatars { display: flex; }
.avatars span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, #0a3a2a, #0d5b40);
  color: #b8f5dc;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.avatars span:first-child { margin-left: 0; }
.avatars span:last-child { background: var(--green); color: #00190f; }
.stars { color: #ffc64b; font-size: 0.82rem; letter-spacing: 2px; line-height: 1.2; }
.hero__proof p { font-size: 0.78rem; color: var(--muted-2); }
.hero__proof strong { color: var(--text); }

/* ---------- Phone mockup ---------- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.glow-ring {
  position: absolute;
  width: 460px;
  height: 460px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 138, 0.22), transparent 62%);
  filter: blur(20px);
  z-index: -1;
}

.phone {
  position: relative;
  width: 292px;
  flex: none;
  animation: phoneFloat 8s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(0.4deg); }
  50% { transform: translateY(-14px) rotate(-0.6deg); }
}

.phone__frame {
  position: relative;
  height: 604px;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1b3229, #07120e 38%, #0c1f17 70%, #1a2f27);
  box-shadow:
    0 0 0 1px rgba(146, 255, 210, 0.14),
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 70px -10px rgba(0, 224, 138, 0.22);
}
.phone__frame::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 45px;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}
.phone__notch {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #030b08;
  border-radius: 100px;
  z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* WhatsApp UI */
.wa {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--wa-chat-bg);
  color: #111b21;
  font-family: "Inter", "Segoe UI", sans-serif;
  --wa-head: #075e54;
  --wa-head-text: #ffffff;
  --wa-chat-bg: #efeae2;
  --wa-in: #ffffff;
  --wa-out: #d9fdd3;
  --wa-text: #111b21;
  --wa-time: #667781;
  --wa-tick: #53bdeb;
  --wa-input: #f0f2f5;
  --wa-field: #ffffff;
}

.wa__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 34px 10px 9px;
  background: var(--wa-head);
  color: var(--wa-head-text);
  flex: none;
  z-index: 5;
}
.wa__back {
  display: grid;
  place-items: center;
  width: 16px;
  flex: none;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.wa__back svg { width: 16px; height: 16px; }
.wa__avatar { position: relative; flex: none; }
.wa__avatar img,
.wa__initials {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #4ade80, #0d7a52);
  color: #04120c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.wa__online {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #075e54;
}
.wa__contact {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.wa__contact strong {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa__status { font-size: 0.62rem; color: rgba(255, 255, 255, 0.75); }
.wa__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}
.wa__tools svg { width: 15px; height: 15px; }

.wa__date {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
  background: var(--wa-chat-bg);
  flex: none;
}
.wa__date span {
  background: rgba(255, 255, 255, 0.85);
  color: #54656f;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.wa__chat {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 6px 9px 8px;
  overflow: hidden;
  background-color: var(--wa-chat-bg);
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 18px 18px, 26px 26px;
  background-position: 0 0, 9px 13px;
}

/* Messages */
.msg {
  position: relative;
  max-width: 86%;
  width: fit-content;
  padding: 6px 9px 7px;
  border-radius: 9px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--wa-text);
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
  animation: msgIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
.msg p { padding-right: 34px; }
.msg time {
  position: absolute;
  right: 7px;
  bottom: 3px;
  font-size: 0.52rem;
  color: var(--wa-time);
  letter-spacing: 0.01em;
}
.msg--in {
  align-self: flex-start;
  background: var(--wa-in);
  border-top-left-radius: 3px;
}
.msg--out {
  align-self: flex-end;
  background: var(--wa-out);
  border-top-right-radius: 3px;
}
.msg--out p { padding-right: 42px; }
.msg__tick {
  position: absolute;
  right: 7px;
  bottom: 4px;
  font-size: 0.55rem;
  color: var(--wa-tick);
  letter-spacing: -1px;
}
.msg--out time { right: 22px; }

.msg--audio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 9px 8px;
  width: 190px;
}
.audio-play {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
}
.audio-play svg { width: 10px; height: 10px; margin-left: 1px; }
.audio-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  flex: 1;
}
.audio-wave i {
  display: block;
  width: 2px;
  border-radius: 2px;
  background: #00a884;
  height: 40%;
  animation: wave 1.6s ease-in-out infinite;
}
.audio-wave i:nth-child(2) { animation-delay: .1s; }
.audio-wave i:nth-child(3) { animation-delay: .2s; }
.audio-wave i:nth-child(4) { animation-delay: .3s; }
.audio-wave i:nth-child(5) { animation-delay: .4s; }
.audio-wave i:nth-child(6) { animation-delay: .3s; }
.audio-wave i:nth-child(7) { animation-delay: .2s; }
.audio-wave i:nth-child(8) { animation-delay: .1s; }
.audio-wave i:nth-child(9) { animation-delay: .05s; }
@keyframes wave {
  0%, 100% { height: 25%; }
  50% { height: 90%; }
}
.audio-time { font-size: 0.55rem; color: var(--wa-time); }
.msg--audio time { position: static; margin-left: 2px; }
.msg--audio .msg__tick { position: static; margin-left: 1px; letter-spacing: -1px; }

/* Mensajes con foto / vídeo */
.msg--media {
  max-width: 78%;
  padding: 3px;
  overflow: hidden;
  line-height: 0;
}
.msg__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 7px;
  line-height: 0;
}
.msg__media img {
  display: block;
  width: 148px;
  height: 104px;
  object-fit: cover;
}
.msg__media-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
}
.msg__media-play > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.msg__media-play svg { width: 13px; height: 13px; margin-left: 2px; }
.msg__media-duration {
  position: absolute;
  top: 4px;
  left: 5px;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  font-size: 0.5rem;
  line-height: 1.5;
}
.msg__media-overlay {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.36);
  line-height: 1.5;
}
.msg__media-overlay time {
  position: static;
  font-size: 0.5rem;
  color: #ffffff;
}
.msg__media-overlay .msg__tick {
  position: static;
  font-size: 0.5rem;
  color: #bfe9ff;
}

/* message reveal choreography */
#heroChat .msg,
#heroChat .msg--audio { opacity: 0; transform: translateY(10px) scale(0.96); animation: none; }
#heroChat .msg.is-in { animation: msgIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) forwards; }
.wa__chat.is-fading { opacity: 0; transition: opacity 0.55s ease; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa__typing {
  display: none;
  align-items: center;
  gap: 3px;
  align-self: flex-start;
  margin: 0 9px 4px;
  padding: 9px 12px;
  background: var(--wa-in);
  border-radius: 9px 9px 9px 3px;
  width: fit-content;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.wa__typing.is-on { display: flex; }
.wa__typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wa-time);
  animation: typing 1.2s ease-in-out infinite;
}
.wa__typing span:nth-child(2) { animation-delay: .18s; }
.wa__typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wa__input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 7px 10px;
  background: var(--wa-input);
  flex: none;
}
.wa__field {
  flex: 1;
  background: var(--wa-field);
  color: var(--wa-time);
  border-radius: 100px;
  padding: 7px 12px;
  font-size: 0.66rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa__send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: #00a884;
  color: #fff;
}
.wa__send svg { width: 15px; height: 15px; }

/* Bandeja de chats clonados */
.wa__inbox {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #111b21;
}
.wa__inbox[hidden] { display: none; }
.wa__inbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: none;
  padding: 34px 12px 9px;
  background: var(--wa-head);
  color: #ffffff;
}
.wa__inbox-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.wa__inbox-title strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wa__inbox-title small {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.72);
}
.wa__inbox-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin: 7px 9px 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f0f2f5;
  color: #8696a0;
  font-size: 0.66rem;
}
.wa__inbox-search svg { width: 13px; height: 13px; flex: none; }
.wa__contacts {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.wa__contacts::-webkit-scrollbar { width: 4px; }
.wa__contacts::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
}
.wa__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 11px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.wa__contact-row:hover { background: #f5f6f6; }
.wa__contact-row:active { background: #eceff1; }
.wa__row-avatar {
  position: relative;
  flex: none;
  display: block;
  width: 40px;
  height: 40px;
}
.wa__row-avatar img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #dfe5e7;
}
.wa__row-online {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid #ffffff;
}
.wa__row-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.wa__row-top,
.wa__row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.wa__row-top strong {
  font-size: 0.76rem;
  font-weight: 600;
  color: #111b21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa__row-top time {
  flex: none;
  font-size: 0.54rem;
  color: #667781;
}
.wa__row-preview {
  flex: 1;
  min-width: 0;
  font-size: 0.64rem;
  color: #667781;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa__row-badge {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 8px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.54rem;
  font-weight: 700;
}

/* Chat: al abrir un contacto se puede desplazar */
.wa.is-cloned .wa__chat {
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.wa.is-cloned .wa__chat::-webkit-scrollbar { width: 4px; }
.wa.is-cloned .wa__chat::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.18);
}
.wa__chat-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 24px;
  text-align: center;
  background: rgba(239, 234, 226, 0.96);
  color: #54656f;
}
.wa__chat-loading[hidden] { display: none; }
.wa__chat-loading .demo__spinner {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
  border-color: rgba(0, 168, 132, 0.18);
  border-top-color: #00a884;
  border-right-color: #00a884;
  box-shadow: 0 0 30px rgba(0, 168, 132, 0.25);
}
.wa__chat-loading strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: #111b21;
}
.wa__chat-loading small {
  max-width: 190px;
  font-size: 0.6rem;
  color: #667781;
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(6, 25, 18, 0.82);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  animation: floatCard 7s ease-in-out infinite;
  z-index: 4;
}
.float-card strong { display: block; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.float-card span { display: block; font-size: 0.64rem; color: var(--muted-2); white-space: nowrap; }
.float-card--clone { top: 19%; right: -6%; animation-delay: -1.5s; }
.float-card--live { bottom: 13%; left: -9%; animation-delay: -4s; }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(0, 224, 138, 0.13);
  color: var(--green);
  flex: none;
}
.float-card__icon svg { width: 16px; height: 16px; }
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 224, 138, 0.6);
  animation: livePulse 2s infinite;
  flex: none;
}
@keyframes livePulse {
  70% { box-shadow: 0 0 0 8px rgba(0, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 224, 138, 0); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-badge {
  position: absolute;
  bottom: 4%;
  right: 2%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--green-hi);
  background: rgba(4, 24, 17, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  animation: floatCard 9s ease-in-out infinite;
  animation-delay: -2s;
  z-index: 4;
}
.float-badge svg { width: 14px; height: 14px; }

/* Stats */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(50px, 7vw, 78px);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline: 22px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat strong span { color: inherit; }
.stat > span { font-size: 0.78rem; color: var(--muted-2); }

/* Trust bar */
.trustbar {
  border-bottom: 1px solid var(--line);
  background: rgba(0, 224, 138, 0.02);
}
.trustbar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 22px;
  flex-wrap: wrap;
}
.trustbar__inner > span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  white-space: nowrap;
}
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  align-items: center;
}
.trustbar li {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.9;
  position: relative;
}
.trustbar li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 118px);
}
.section--alt {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(0, 224, 138, 0.055), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.section__head {
  max-width: 720px;
  margin: 0 auto clamp(42px, 6vw, 64px);
  text-align: center;
}
.section__head .tag { justify-content: center; }
.section__head .tag::before { display: none; }
.section__lead {
  margin-top: 16px;
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 58ch;
  margin-inline: auto;
}

/* ---------- Feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(10, 33, 25, 0.85), rgba(5, 20, 15, 0.6));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 224, 138, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.card:hover::before { opacity: 1; }
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: rgba(0, 224, 138, 0.08);
  border: 1px solid var(--line);
  color: var(--green);
  transition: background-color 0.3s, transform 0.4s;
}
.card:hover .card__icon { background: rgba(0, 224, 138, 0.16); transform: scale(1.05) rotate(-3deg); }
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.9rem; color: var(--muted); }
.card--feature { border-color: rgba(0, 224, 138, 0.25); }

/* Strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
.strip__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 22px 26px;
  background: var(--bg);
}
.strip__item strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green);
  letter-spacing: -0.03em;
}
.strip__item span { font-size: 0.78rem; color: var(--muted-2); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
  position: relative;
  margin-bottom: 46px;
}
.step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 138, 0.16), transparent 68%);
  pointer-events: none;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(0, 224, 138, 0.08);
  border: 1px solid var(--line-strong);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.step__mock {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 15px;
  border-radius: 11px;
  background: var(--bg-deep);
  border: 1px dashed rgba(126, 255, 201, 0.2);
}
.mock-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); }
.mock-value {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.mock-value--ok { color: var(--green); }

/* ---------- Demo ---------- */
.demo {
  background:
    radial-gradient(ellipse 55% 60% at 78% 45%, rgba(0, 224, 138, 0.10), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.demo__grid {
  display: grid;
  grid-template-columns: 0.95fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.demo__panel {
  position: relative;
  z-index: 3;
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(10, 33, 25, 0.9), rgba(4, 16, 12, 0.85));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.demo__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #c3e0d3;
}
.demo__input-group { position: relative; }
.demo__flag {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 2px 6px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.demo__flag svg { width: 100%; height: 100%; display: block; }
.demo__input {
  width: 100%;
  padding: 14px 16px 14px 54px;
  border-radius: 11px;
  background: rgba(2, 10, 7, 0.6);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.demo__input--country { padding-left: 122px; }
.demo__input:focus {
  border-color: var(--green);
  background: rgba(0, 224, 138, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 224, 138, 0.1);
}
.demo__country {
  position: absolute;
  left: 6px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s;
}
.demo__country:hover,
.demo__country[aria-expanded="true"] { background: rgba(0, 224, 138, 0.07); }
.demo__country:disabled { opacity: 0.55; cursor: wait; }
.demo__country img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.demo__dial {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.demo__chevron {
  width: 12px;
  height: 12px;
  flex: none;
  color: var(--muted-2);
  transition: transform 0.25s ease;
}
.demo__country[aria-expanded="true"] .demo__chevron { transform: rotate(180deg); }

.demo__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  background: #081b14;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.demo__dropdown[hidden] { display: none; }
.demo__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
}
.demo__search svg { width: 15px; height: 15px; flex: none; }
.demo__search input {
  width: 100%;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
}
.demo__search input::placeholder { color: var(--muted-2); }
.demo__list {
  max-height: 264px;
  overflow-y: auto;
  padding: 6px;
  overscroll-behavior: contain;
}
.demo__list::-webkit-scrollbar { width: 6px; }
.demo__list::-webkit-scrollbar-thumb {
  background: rgba(126, 255, 201, 0.2);
  border-radius: 6px;
}
.demo__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s;
}
.demo__option:hover { background: rgba(0, 224, 138, 0.08); }
.demo__option.is-selected { background: rgba(0, 224, 138, 0.11); }
.demo__option.is-selected::after {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex: none;
}
.demo__option img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.demo__option-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo__option-dial {
  flex: none;
  font-size: 0.74rem;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.demo__option.is-selected .demo__option-name { color: var(--green-hi); }
.demo__no-results {
  padding: 16px 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.demo__hint {
  margin-top: 7px;
  font-size: 0.71rem;
  line-height: 1.5;
  color: var(--muted-2);
}
.demo__btn { margin-top: 20px; }
.demo__btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(1, 21, 13, 0.28);
  border-top-color: #01150d;
  animation: demoSpin 0.7s linear infinite;
}
.demo__btn.is-loading { pointer-events: none; }
.demo__btn.is-loading .demo__btn-spinner { display: block; }
.demo__btn.is-loading > svg { display: none; }
.demo__status {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted-2);
  min-height: 1.4em;
}
.demo__status.is-ok { color: var(--green); }
.demo__status.is-error { color: #ff8f8f; }
.demo__input.is-invalid {
  border-color: rgba(255, 110, 110, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 110, 110, 0.09);
  animation: demoShake 0.35s ease;
}
@keyframes demoShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}
.demo__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
  color: var(--muted-2);
}
.demo__points li { position: relative; padding-left: 15px; }
.demo__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}
.demo__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.phone--demo { width: 292px; animation: none; }
.phone--demo .phone__frame { height: 580px; }
.demo__caption {
  font-size: 0.75rem;
  color: var(--muted-2);
  text-align: center;
}
.demo__caption span { color: var(--muted); }
.demo__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 34px;
  text-align: center;
  color: #7a8f85;
  font-size: 0.72rem;
  line-height: 1.5;
}
.demo__empty[hidden] { display: none; }
.demo__empty svg {
  width: 38px;
  height: 38px;
  color: #9aada3;
  opacity: 0.55;
}
.demo__loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
  background: rgba(4, 16, 12, 0.9);
  backdrop-filter: blur(5px);
  color: var(--text);
}
.demo__loader.is-on { display: flex; }
.demo__spinner {
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: 3px solid rgba(0, 224, 138, 0.16);
  border-top-color: var(--green);
  border-right-color: var(--green);
  animation: demoSpin 0.75s linear infinite;
  box-shadow: 0 0 42px rgba(0, 224, 138, 0.34);
}
.demo__loader strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}
.demo__loader small { font-size: 0.72rem; color: var(--muted); }
.demo__loader[data-phase="result"] strong {
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 220px;
}
.demo__hack {
  position: relative;
  display: none;
  width: 100%;
  max-width: 232px;
  margin-top: 4px;
  padding: 9px 10px 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 224, 138, 0.26);
  border-radius: 8px;
  background: rgba(0, 18, 12, 0.72);
  box-shadow: inset 0 0 24px rgba(0, 224, 138, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
  text-align: left;
}
.demo__loader[data-phase="scan"] .demo__hack { display: block; }
.demo__hack::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 224, 138, 0.05) 0 1px,
    transparent 1px 3px
  );
}
.demo__hack-log {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 106px;
  overflow: hidden;
  font-size: 0.52rem;
  line-height: 1.6;
  color: #58ffc0;
  text-shadow: 0 0 6px rgba(0, 224, 138, 0.45);
  animation: demoHackFlicker 5s infinite;
}
.demo__hack-log span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.demo__hack-log span:last-child { color: #b6ffe2; }
.demo__hack-bar {
  position: relative;
  z-index: 1;
  height: 5px;
  margin-top: 8px;
  border-radius: 3px;
  background: rgba(0, 224, 138, 0.16);
  overflow: hidden;
}
.demo__hack-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00e08a, #3dffb0);
  box-shadow: 0 0 10px rgba(0, 224, 138, 0.7);
  transition: width 0.25s linear;
}
.demo__hack-meta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.5rem;
  letter-spacing: 0.02em;
  color: #7fffd0;
}
#demoHackStatus {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo__result {
  display: none;
  width: 100%;
  max-width: 236px;
  min-height: 92px;
  margin: 4px auto 0;
  padding: 0;
  list-style: none;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.demo__loader[data-phase="result"] .demo__result { display: flex; }
.demo__result li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  line-height: 1.45;
  color: var(--text);
  animation: demoScanIn 0.4s ease both;
}
.demo__scan-icon {
  flex: none;
  width: 15px;
  font-size: 0.64rem;
  line-height: 1.4;
  text-align: center;
}
.demo__result .demo__scan-count {
  flex: none;
  min-width: 25px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
  color: var(--green);
}
.demo__result .demo__scan-label {
  flex: none;
  white-space: nowrap;
}
.demo__result-check {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
  text-shadow: 0 0 8px rgba(0, 224, 138, 0.55);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
.demo__result-check.is-on { opacity: 1; transform: none; }

/* Candado de acceso tras la clonación */
.demo__unlock {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  max-width: 244px;
  text-align: center;
}
.demo__loader[data-phase="unlock"] {
  padding: 24px 18px;
}
.demo__loader[data-phase="unlock"] > .demo__spinner,
.demo__loader[data-phase="unlock"] > strong,
.demo__loader[data-phase="unlock"] > small { display: none; }

/* Número ya clonado: aviso mientras se recargan los datos */
.demo__repeat {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 238px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 193, 7, 0.32);
  border-radius: 9px;
  background: rgba(255, 193, 7, 0.07);
  text-align: center;
}
.demo__loader[data-phase="repeat"] > strong,
.demo__loader[data-phase="repeat"] > small { display: none; }
.demo__loader[data-phase="repeat"] .demo__repeat { display: flex; }
.demo__repeat-title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}
.demo__repeat-text {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.55;
  color: var(--muted);
}

.demo__loader[data-phase="unlock"] .demo__unlock { display: flex; }
.demo__unlock-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1px;
  border: 1px solid rgba(0, 224, 138, 0.35);
  border-radius: 50%;
  background: rgba(0, 224, 138, 0.08);
  color: var(--green);
  box-shadow: 0 0 26px rgba(0, 224, 138, 0.2);
}
.demo__unlock-icon svg { width: 19px; height: 19px; }
.demo__unlock-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.demo__unlock-desc {
  margin: 0;
  font-size: 0.6rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
}
.demo__unlock-desc b {
  font-weight: 600;
  color: var(--text);
}
.demo__unlock-request-text {
  font-weight: 600;
  color: var(--green);
}
.demo__unlock-form {
  display: flex;
  gap: 6px;
  width: 100%;
  margin-top: 3px;
}
.demo__unlock-input {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.97);
  color: #111b21;
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
.demo__unlock-input::placeholder { color: #8a9aa0; letter-spacing: 0; }
.demo__unlock-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(0, 224, 138, 0.22);
}
.demo__unlock-btn {
  flex: none;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #04120c;
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.demo__unlock-btn:hover { filter: brightness(1.08); }
.demo__unlock-btn:active { transform: scale(0.97); }
.demo__unlock-error {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 600;
  color: #ff7b7b;
}
.demo__unlock-error[hidden] { display: none; }
.demo__unlock-request {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  margin-top: 1px;
  border: 1px solid rgba(0, 224, 138, 0.4);
  border-radius: 7px;
  background: rgba(0, 224, 138, 0.04);
  color: var(--green);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease;
}
.demo__unlock-request:hover { background: rgba(0, 224, 138, 0.12); }
.demo__unlock.is-shake .demo__unlock-form { animation: demoShake 0.34s ease; }

.demo__unlock-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
}
.demo__unlock-main.is-hidden { display: none; }

.demo__free-verify,
.demo__premium-verify {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 2px;
  text-align: center;
}
.demo__free-verify.is-visible,
.demo__premium-verify.is-visible { display: flex; }
.demo__free-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(0, 224, 138, 0.22);
  border-top-color: var(--green);
  animation: demoSpin 0.8s linear infinite;
}
.demo__free-verify p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text);
}

.demo__unlock.is-free-wait {
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 2px 2px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 224, 138, 0.3) transparent;
}
.demo__free-wait {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  text-align: center;
}
.demo__free-wait.is-visible { display: flex; }
.demo__free-wait-title {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffd166;
}
.demo__free-wait-text {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.5;
  color: var(--muted);
}
.demo__free-wait-text b { color: var(--green); }
.demo__free-wait-question {
  margin: 4px 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--green);
}
.demo__free-wait-advantages {
  margin: 2px 0 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}
.demo__free-wait-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  padding: 0 4px;
  text-align: left;
  font-size: 0.62rem;
  line-height: 1.45;
  color: #c8e6d9;
}
.demo__free-wait-list li { padding-left: 0; }
.demo__free-wait-cta-title {
  margin: 6px 0 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}
.demo__premium-notice {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  text-align: center;
}
.demo__premium-notice.is-visible { display: flex; }
.demo__premium-notice-title {
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.35;
  color: #ffd166;
}
.demo__premium-help {
  margin: 4px 0 0;
  font-size: 0.58rem;
  line-height: 1.45;
  color: var(--muted-2);
}
.demo__free-premium {
  display: flex;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green-hi), var(--green));
  color: var(--green-ink);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px -12px rgba(0, 224, 138, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
}
.demo__free-premium:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(0, 224, 138, 0.7);
}

@keyframes demoShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  55% { transform: translateX(4px); }
  80% { transform: translateX(-2px); }
}

@keyframes demoScanIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
@keyframes demoHackFlicker {
  0%, 100% { opacity: 0.94; }
  47% { opacity: 0.72; }
  49% { opacity: 1; }
}
@keyframes demoSpin { to { transform: rotate(360deg); } }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s, border-color 0.35s;
}
.testimonial:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.testimonial--featured {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(0, 224, 138, 0.12), transparent 70%),
    var(--surface-2);
  border-color: rgba(0, 224, 138, 0.3);
}
.testimonial blockquote {
  font-size: 0.94rem;
  color: #cfe9dd;
  line-height: 1.7;
  flex: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.t-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #03150e;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  flex: none;
}
.testimonial figcaption strong { display: block; font-size: 0.84rem; }
.testimonial figcaption em { display: block; font-style: normal; font-size: 0.72rem; color: var(--muted-2); }

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 46px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0, 224, 138, 0.03);
  text-align: center;
}
.numbers div { display: flex; flex-direction: column; gap: 2px; }
.numbers strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--green);
  letter-spacing: -0.03em;
}
.numbers span { font-size: 0.76rem; color: var(--muted-2); }

/* ---------- Guide ---------- */
.guide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.guide__article { max-width: 720px; min-width: 0; }
.guide__article h2 { margin-bottom: 12px; }
.guide__meta {
  font-size: 0.76rem;
  color: var(--muted-2);
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.guide__intro { color: var(--muted); font-size: 0.98rem; margin-bottom: 30px; }
.guide__intro strong { color: #d6efe4; }
.guide__article h3 {
  font-size: 1.22rem;
  margin: 36px 0 12px;
  color: #d9f3e8;
  scroll-margin-top: 100px;
}
.guide__article p { color: var(--muted); font-size: 0.94rem; margin-bottom: 14px; }
.guide__article p strong { color: #d0ebdf; font-weight: 600; }
.guide__article p em { color: #b9d6c9; font-style: italic; }

.guide__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0 22px;
  padding-left: 4px;
}
.guide__list li {
  position: relative;
  padding-left: 25px;
  font-size: 0.9rem;
  color: var(--muted);
}
.guide__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
  opacity: 0.8;
}
.guide__list--x li::before {
  background: #ff7a7a;
  border-radius: 50%;
  top: 0.6em;
  width: 6px;
  height: 6px;
}

.callout {
  padding: 20px 22px;
  margin: 24px 0 30px;
  border-radius: 14px;
  border: 1px solid;
  font-size: 0.88rem;
}
.callout strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.callout p { margin: 0; font-size: 0.86rem; }
.callout--warn {
  background: rgba(255, 176, 64, 0.06);
  border-color: rgba(255, 176, 64, 0.3);
  color: #ffd8a1;
}
.callout--warn strong { color: #ffc46b; }
.callout--warn p { color: #d9b788; }

.table-wrap {
  margin: 26px 0 30px;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  -webkit-overflow-scrolling: touch;
}
.guide__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.84rem;
}
.guide__table caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.guide__table th,
.guide__table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(126, 255, 201, 0.08);
}
.guide__table thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  font-weight: 600;
  background: rgba(0, 224, 138, 0.03);
}
.guide__table tbody tr:last-child td { border-bottom: 0; }
.guide__table tbody tr:hover { background: rgba(0, 224, 138, 0.035); }
.guide__table td { color: var(--muted); }
.guide__table td:first-child { color: #cfe9dd; }
.guide__table .ok { color: var(--green); font-weight: 500; }
.guide__table .no { color: #ff8585; font-weight: 500; }
.guide__table tr.danger td { background: rgba(255, 90, 90, 0.045); }

.table-hint {
  display: none;
  margin: -20px 0 28px;
  font-size: 0.72rem;
  color: var(--muted-2);
  text-align: right;
}


.guide__aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.aside-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.aside-card__title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.aside-card nav { display: flex; flex-direction: column; gap: 2px; }
.aside-card nav a {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 7px;
  border-left: 2px solid transparent;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.aside-card nav a:hover {
  color: var(--green-hi);
  background: rgba(0, 224, 138, 0.06);
  border-left-color: var(--green);
}
.aside-card--accent {
  background: rgba(0, 224, 138, 0.05);
  border-color: rgba(0, 224, 138, 0.28);
}
.aside-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 11px;
  background: rgba(0, 224, 138, 0.12);
  color: var(--green);
}
.aside-card__icon svg { width: 20px; height: 20px; }
.aside-card--accent p { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.aside-card--accent strong { color: #d6f3e6; }
.aside-card--accent a {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green);
  transition: color 0.2s;
}
.aside-card--accent a:hover { color: var(--green-hi); }

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, background-color 0.3s;
}
.faq__item[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-hi); }
.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
.faq__icon::before { width: 8px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 8px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item p {
  padding: 0 22px 20px;
  font-size: 0.89rem;
  color: var(--muted);
  max-width: 65ch;
}

/* ---------- Final CTA ---------- */
.final-cta { padding-block: clamp(40px, 6vw, 70px) clamp(70px, 9vw, 110px); }
.final-cta__box {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 60px);
  border-radius: 30px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(0, 224, 138, 0.16), transparent 70%),
    linear-gradient(165deg, #082419, #04100c);
  border: 1px solid rgba(0, 224, 138, 0.3);
}
.final-cta__glow {
  position: absolute;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 240px;
  border-radius: 50%;
  background: rgba(0, 224, 138, 0.22);
  filter: blur(70px);
  pointer-events: none;
}
.final-cta__box .tag { justify-content: center; }
.final-cta__box .tag::before { display: none; }
.final-cta__box h2 { margin-bottom: 14px; }
.final-cta__box > p { color: var(--muted); max-width: 52ch; margin: 0 auto 30px; }
.final-cta__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-top: 54px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p {
  margin: 16px 0 20px;
  font-size: 0.85rem;
  color: var(--muted-2);
  max-width: 34ch;
}
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s, background-color 0.2s;
}
.footer__social a:hover {
  color: var(--green);
  border-color: var(--line-strong);
  background: rgba(0, 224, 138, 0.06);
  transform: translateY(-2px);
}
.footer__social svg { width: 17px; height: 17px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__cols > div { display: flex; flex-direction: column; gap: 9px; }
.footer__cols h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted-2);
  margin-bottom: 5px;
  font-weight: 600;
}
.footer__cols a {
  font-size: 0.84rem;
  color: var(--muted);
  width: fit-content;
  transition: color 0.2s;
}
.footer__cols a:hover { color: var(--green); }

.footer__disclaimer {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer__disclaimer p {
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--muted-2);
  max-width: 95ch;
}
.footer__disclaimer strong { color: var(--muted); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 0.74rem;
  color: var(--muted-2);
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s),
              transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__link { padding: 9px 10px; font-size: 0.84rem; }
  .nav__cta { margin-left: 8px; }
  .float-card--clone { right: 0; }
  .float-card--live { left: 0; }
  .guide__inner { grid-template-columns: minmax(0, 1fr); }
  .guide__aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .aside-card { flex: 1 1 260px; }
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { max-width: 640px; margin-inline: auto; }
  .hero__title { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__chips { justify-content: center; }
  .hero__proof { margin-inline: auto; text-align: left; }
  .hero__visual { margin-top: 24px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .demo__grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100dvh;
    padding: 100px 24px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(4, 18, 13, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
  }
  .nav.is-open { transform: none; visibility: visible; pointer-events: auto; }
  .nav__link {
    padding: 14px 12px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(126, 255, 201, 0.07);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin: 18px 0 0; }
  body.nav-open { overflow: hidden; }

  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .step__mock { grid-column: 1 / -1; margin-top: 14px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
}

@media (max-width: 620px) {
  :root { --header-h: 68px; }
  html { scroll-padding-top: 80px; }
  .table-hint { display: block; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 1.12rem; }

  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero__title { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__actions .btn--ghost { flex: 1 1 100%; }
  .eyebrow { font-size: 0.7rem; padding-right: 12px; }

  .phone { width: 264px; }
  .phone__frame { height: 552px; }
  .float-card--clone { right: -10px; top: 16%; transform: scale(0.92); }
  .float-card--live { left: -8px; bottom: 10%; transform: scale(0.92); }
  .float-badge { display: none; }
  .float-bubble { display: none; }

  .hero__stats { margin-top: 42px; }
  .stat { padding-inline: 16px; }
  .stat > span { font-size: 0.72rem; }

  .trustbar__inner { gap: 12px; }
  .trustbar ul { gap: 8px 20px; }
  .trustbar li { font-size: 0.78rem; }

  .cards { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip__item { padding: 18px 20px; }


  .section__head { margin-bottom: 36px; }
  .numbers { padding: 22px 12px; }

  .demo__panel { padding: 22px 18px; border-radius: 20px; }
  .phone--demo { width: min(334px, calc(100vw - 48px)); }
  .phone--demo .phone__frame { height: clamp(560px, 155vw, 620px); }

  .guide__table th, .guide__table td { padding: 11px 14px; }

  .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__bottom { justify-content: center; text-align: center; }

  .final-cta__box { border-radius: 22px; }
  .final-cta__trust { gap: 8px 16px; font-size: 0.72rem; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 1.95rem; }
  .float-card--clone, .float-card--live { display: none; }
  .phone:not(.phone--demo) { width: 240px; }
  .phone__frame { height: 512px; }
  .phone:not(.phone--demo) .msg { font-size: 0.68rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  #heroChat .msg { opacity: 1; transform: none; animation: none; }
}
