/* Web de Líder Fantasy. Misma estética que la app: fondo casi negro, lima, Barlow Condensed + Manrope. */

@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: italic; font-display: swap; src: url('/fonts/barlow-condensed-latin-800-italic.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url('/fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url('/fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url('/fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url('/fonts/manrope-latin-800-normal.woff2') format('woff2'); }

:root {
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bg: #0b0d10;
  --surface: #14171c;
  --surface-2: #1a1e25;
  --surface-3: #23272f;
  --line: #23272f;
  --line-strong: #3a404b;
  --text: #f2f4f7;
  --text-2: #c9d0db;
  --text-muted: #8a93a3;
  --text-faint: #5e6674;
  --accent: #d4ff3a;
  --accent-ink: #0b0d10;
  --accent-soft: rgba(212, 255, 58, 0.12);
  --danger: #ff5a5a;
  --glass-bg: rgba(22, 25, 31, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --wrap: 1120px;
  color-scheme: dark;
}

* { 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(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Las líneas verticales del campo, como en el fondo de la app. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(255, 255, 255, 0.035) calc(20% - 1px) 20%);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
}
h2.display { font-size: clamp(40px, 6vw, 64px); }
.lead { font-size: 18px; color: var(--text-2); max-width: 620px; margin: 16px 0 0; }
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark b { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; letter-spacing: 0.01em; }
.wordmark span { font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.42em; color: var(--accent); margin-top: 1px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--text-2); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.site-nav .btn { margin-left: 8px; }
@media (max-width: 820px) { .site-nav a:not(.btn) { display: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px rgba(212, 255, 58, 0.18); }
.btn-primary:hover { filter: brightness(1.05); }
.site-nav .btn-primary { color: var(--accent-ink); min-height: 40px; padding: 0 16px; }
.site-nav .btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-3); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn small { font-weight: 600; opacity: 0.7; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; position: relative; overflow-x: clip; }
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(212, 255, 58, 0.13), transparent);
  pointer-events: none;
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(52px, 7.6vw, 96px); }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead-q { font-weight: 700; color: var(--text); margin-top: 14px; }
.lead-q strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.25em; letter-spacing: 0.02em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-faint); max-width: 520px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

.hero-phones { position: relative; height: 680px; }
.hero-phones .phone { position: absolute; width: 290px; }
.hero-phones .phone:first-child { right: 160px; top: 50px; transform: rotate(-5deg); opacity: 0.9; }
.hero-phones .phone:last-child { right: 0; top: 0; transform: rotate(3deg); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-phones .phone { width: 240px; }
  .hero-phones .phone:first-child { right: auto; left: 0; }
}
@media (max-width: 480px) {
  .hero { padding-top: 40px; }
  .hero-phones { height: 470px; }
  .hero-phones .phone { width: 200px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Teléfono ---------- */
.phone {
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(160deg, #2a2f38, #121418 40%, #1b1f26);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone img { width: 100%; height: auto; aspect-ratio: 402 / 874; object-fit: cover; border-radius: 36px; background: var(--bg); }

/* ---------- Qué es ---------- */
.intro { padding: 8px 0 8px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro-card {
  background: linear-gradient(160deg, rgba(212, 255, 58, 0.1), var(--surface) 60%);
  border: 1px solid rgba(212, 255, 58, 0.25);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.intro-card p:last-child { margin: 0; font-size: 17px; color: var(--text-2); }
.intro-card strong { color: var(--text); }
@media (max-width: 760px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Franja de ventajas ---------- */
.perks { padding: 24px 0 40px; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk {
  background: linear-gradient(160deg, rgba(212, 255, 58, 0.1), var(--surface) 60%);
  border: 1px solid rgba(212, 255, 58, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.perk .display { font-size: 28px; }
.perk p { margin: 8px 0 0; color: var(--text-muted); font-size: 15px; }
.perk svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 12px; }
@media (max-width: 760px) { .perks-grid { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
section.block { padding: 72px 0; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }

/* Funciones */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.filters button {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-2);
  background: transparent;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.filters button[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 560px) {
  .filters { flex-wrap: nowrap; gap: 2px; padding: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { font-size: 13px; padding: 7px 10px; white-space: nowrap; }
}
.features {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  padding: 4px 20px 18px;
  margin: 0 -20px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.feature { scroll-snap-align: start; }
.feature {
  background: linear-gradient(160deg, rgba(212, 255, 58, 0.1), var(--surface) 60%);
  border: 1px solid rgba(212, 255, 58, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature[hidden] { display: none; }
.feature .tag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.feature h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15px; }
@media (max-width: 480px) { .features { grid-auto-columns: 78%; } }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.carousel-nav button:hover { background: var(--surface-3); }
@media (max-width: 760px) { .carousel-nav { display: none; } }

/* Galería */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  padding: 8px 20px 24px;
  margin: 0 -20px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery figcaption { margin-top: 14px; }
.gallery figcaption b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; }
.gallery figcaption span { font-size: 14px; color: var(--text-muted); }
.gallery figcaption i { display: block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.gallery-note { margin: 4px 0 0; font-size: 14px; }

/* iPhone Duo */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.duo-grid figure { margin: 0; }
.duo-grid .duo-main { grid-column: 1 / -1; max-width: 900px; margin: 0 auto; }
.duo-grid img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.duo-grid figcaption { text-align: center; margin-top: -6px; }
.duo-grid figcaption b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; }
.duo-grid figcaption span { font-size: 14px; color: var(--text-muted); }
@media (max-width: 700px) { .duo-grid { grid-template-columns: 1fr; } }
.gallery .phone { border-radius: 38px; padding: 7px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.gallery .phone img { border-radius: 32px; }
@media (max-width: 480px) { .gallery { grid-auto-columns: 72%; } }

/* Privacidad */
.privacy-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: linear-gradient(160deg, rgba(212, 255, 58, 0.1), var(--surface) 60%);
  border: 1px solid rgba(212, 255, 58, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--text-2); }
.check-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ff3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list b { color: var(--text); }
@media (max-width: 820px) { .privacy-card { grid-template-columns: 1fr; padding: 26px; } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step { border-top: 2px solid var(--line-strong); padding-top: 18px; }
.step:first-child { border-top-color: var(--accent); }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--text-faint); }
.step:first-child .num { color: var(--accent); }
.step h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 8px 0; }
.step p { margin: 0; color: var(--text-muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* Precio */
.price-card {
  max-width: 560px;
  background: linear-gradient(160deg, rgba(212, 255, 58, 0.12), var(--surface) 55%);
  border: 1px solid rgba(212, 255, 58, 0.3);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.price-card .amount { font-family: var(--font-display); font-weight: 800; font-size: 88px; line-height: 0.9; }
.price-card .amount small { font-size: 28px; color: var(--text-muted); margin-left: 6px; }

/* Preguntas */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: linear-gradient(160deg, rgba(212, 255, 58, 0.1), var(--surface) 60%); border: 1px solid rgba(212, 255, 58, 0.25); border-radius: var(--radius-lg); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-weight: 700;
  font-size: 17px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
}
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); }
.faq details > div p { margin: 0 0 10px; }

/* Contacto y cierre */
.cta-final {
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-xl);
  padding: 56px 24px;
}
.cta-final .display { font-size: clamp(42px, 7vw, 76px); }
.cta-final p { margin: 14px auto 0; max-width: 560px; font-weight: 600; }
.cta-final .btn { margin-top: 24px; background: var(--accent-ink); color: var(--accent); }
.cta-final a:not(.btn) { color: var(--accent-ink); text-decoration: underline; }

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(160deg, rgba(212, 255, 58, 0.1), var(--surface) 60%);
  border: 1px solid rgba(212, 255, 58, 0.25);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.contact-card .email { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 4vw, 34px); word-break: break-all; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 36px 0 48px; color: var(--text-muted); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-weight: 600; }
.disclaimer { margin-top: 20px; font-size: 13px; color: var(--text-faint); max-width: 760px; }

/* ---------- Páginas de texto (privacidad, soporte) ---------- */
.doc { padding: 56px 0 24px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); }
.doc .updated { color: var(--text-muted); font-size: 14px; margin: 14px 0 28px; }
.doc h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 40px 0 12px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc .box { background: linear-gradient(160deg, rgba(212, 255, 58, 0.1), var(--surface) 60%); border: 1px solid rgba(212, 255, 58, 0.25); border-radius: var(--radius-lg); padding: 18px 22px; margin: 18px 0; }
