@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800;900&display=swap");

:root {
  --bg: #050a18;
  --bg2: #0a1328;
  --card: #0e1a36;
  --line: #1e3160;
  --text: #eef3ff;
  --muted: #9fb0d4;
  --blue: #2f8cff;
  --cyan: #19c2ff;
  --orange: #ff9f1c;
  --gold: #ffd23f;
  --ok: #2ee59d;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue));
  --grad-hot: linear-gradient(90deg, var(--orange), var(--gold));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: radial-gradient(900px 500px at 85% -5%, #1a2f6a55, transparent), var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1040px, 100% - 32px); margin-inline: auto; }
section { padding: 56px 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.1rem; }
p.lead { color: var(--muted); font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 640px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); border: 1px solid #ff9f1c55; border-radius: 99px; padding: 6px 14px; margin-bottom: 18px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hot { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 900; font-size: 1.05rem; text-decoration: none; cursor: pointer; border: 0;
  padding: 16px 28px; border-radius: 14px; color: #1a1100; background: var(--grad-hot);
  box-shadow: 0 8px 30px #ff9f1c44; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px #ff9f1c66; }
.btn.blue { background: var(--grad); color: #00122e; box-shadow: 0 8px 30px #2f8cff44; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Tarjetas */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.grid3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  font-weight: 900; color: #00122e; background: var(--grad);
}

/* Barra superior */
.topbar { padding: 14px 0; border-bottom: 1px solid #ffffff10; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; letter-spacing: .04em; }

/* Cuenta regresiva y cupos */
.countdown { display: flex; gap: 10px; margin: 22px 0 8px; }
.countdown div {
  min-width: 70px; text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 6px;
}
.countdown b { display: block; font-size: 1.7rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.cupos { max-width: 420px; margin-top: 16px; }
.cupos-top { display: flex; justify-content: space-between; font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
.bar { height: 10px; border-radius: 99px; background: #1b2a50; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad-hot); border-radius: 99px; transition: width .8s; }

/* Video */
.video-box {
  aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, #0b1630, #13244a); display: grid; place-items: center; text-align: center;
}
.video-box video { width: 100%; height: 100%; object-fit: cover; }
.video-box .ph { padding: 24px; color: var(--muted); font-size: .9rem; }
.video-box .ph b { display: block; color: var(--text); font-size: 1.1rem; margin-bottom: 6px; }

/* Lista de valor */
.stack { list-style: none; display: grid; gap: 10px; }
.stack li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stack li .tick { color: var(--ok); font-weight: 900; }
.stack li .val { margin-left: auto; font-weight: 800; color: var(--muted); white-space: nowrap; }
.stack li small { color: var(--muted); display: block; font-weight: 500; }
.total { text-align: center; margin-top: 22px; }
.total .old { color: var(--muted); text-decoration: line-through; font-weight: 800; font-size: 1.2rem; }
.total .now { font-size: clamp(2.6rem, 11vw, 4.2rem); font-weight: 900; }

/* Tabla de ejemplo */
.mock { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #09122a; }
.mock table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 560px; }
.mock th, .mock td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #162448; white-space: nowrap; }
.mock th { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.pill { padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 800; }
.pill.f { background: #2f8cff25; color: var(--cyan); }
.pill.c { background: #ff9f1c25; color: var(--orange); }
.pill.k { background: #2ee59d25; color: var(--ok); }
.chat { background: var(--ok); color: #00241a; border-radius: 8px; padding: 4px 10px; font-weight: 800; font-size: .75rem; }
.note { color: var(--muted); font-size: .78rem; margin-top: 8px; }

/* Instructor */
.prof { display: grid; gap: 22px; grid-template-columns: 150px 1fr; align-items: center; }
.avatar {
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-size: 3rem; font-weight: 900;
  background: var(--grad); color: #00122e; box-shadow: 0 0 0 5px var(--bg), 0 0 0 8px var(--orange);
}

/* Pagos */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.tab { flex: 1; min-width: 100px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.tab.on { border-color: var(--orange); background: #ff9f1c18; }
.pay-detail { background: #09122a; border: 1px dashed var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; font-size: .95rem; }
.pay-detail b { font-size: 1.2rem; }
.pay-detail .pend { color: var(--orange); font-weight: 700; }
input[type=text], input[type=tel] {
  width: 100%; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #09122a;
  color: var(--text); font: inherit; margin-bottom: 12px;
}
.steps { counter-reset: s; color: var(--muted); font-size: .9rem; margin: 10px 0 18px; padding-left: 0; list-style: none; }
.steps li { counter-increment: s; margin-bottom: 4px; }
.steps li::before { content: counter(s) "."; color: var(--orange); font-weight: 900; margin-right: 8px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
summary { font-weight: 800; cursor: pointer; }
details p { color: var(--muted); margin-top: 8px; }

/* Producto miniapp */
.prod { display: grid; gap: 22px; grid-template-columns: 1.1fr 1fr; align-items: center; }
.prod .shot { aspect-ratio: 1080/600; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); }
.prod .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.price .old { color: var(--muted); text-decoration: line-through; font-weight: 800; }
.price .now { font-size: 2.6rem; font-weight: 900; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chips span { border: 1px solid #2ee59d55; color: var(--ok); border-radius: 99px; padding: 5px 12px; font-size: .78rem; font-weight: 800; }
.soon { opacity: .75; border-style: dashed; }

/* Hub */
.hub { min-height: 100svh; display: grid; align-content: center; padding: 32px 0; text-align: center; }
.hub .logo { width: 128px; height: 128px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 60px #2f8cff55; }
.hub h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.hub .lead { margin: 10px auto 28px; }
.hub-cards { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; text-align: left; }
.hub-card { display: block; text-decoration: none; padding: 22px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); transition: transform .15s, border-color .15s; }
.hub-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.hub-card.main { border-color: var(--orange); background: linear-gradient(135deg, #1a1a2e, #2a1f10); box-shadow: 0 10px 40px #ff9f1c22; }
.hub-card small { color: var(--orange); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.hub-card h2 { font-size: 1.25rem; margin: 6px 0; }
.hub-card p { color: var(--muted); font-size: .92rem; }

/* CTA fijo móvil */
.sticky { position: fixed; inset: auto 0 0 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #050a18ee; backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 20; display: none; }
footer { padding: 32px 0 90px; color: var(--muted); font-size: .8rem; text-align: center; border-top: 1px solid #ffffff10; }

@media (max-width: 720px) {
  section { padding: 40px 0; }
  .prof, .prod { grid-template-columns: 1fr; }
  .avatar { margin: 0 auto; }
  .prof { text-align: center; }
  .sticky { display: block; }
  .countdown div { min-width: 0; flex: 1; }
}

/* Botón flotante de chat */
.fab {
  position: fixed; right: 16px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; z-index: 30;
  animation: fabpulse 2.4s infinite;
}
@keyframes fabpulse { 0%,100% { box-shadow: 0 6px 22px #25d36688, 0 0 0 0 #25d36655; } 50% { box-shadow: 0 6px 22px #25d36688, 0 0 0 14px #25d36600; } }
@media (max-width: 720px) { body:has(.sticky) .fab { bottom: 86px; } }
