/* BytePip — estilos de toda la web. Marca: azul #2E6BFF sobre navy #0B1220 (el del avatar). */
:root {
  --bg: #0b1220;
  --bg-2: #0f1830;
  --card: #131d36;
  --card-2: #182443;
  --line: #24314f;
  --text: #e6ebf5;
  --muted: #9aa6bf;
  --faint: #6b7896;
  --brand: #2e6bff;
  --brand-2: #5b8cff;
  --green: #28d682;
  --red: #f25454;
  --yellow: #ffd60a;
  --tg: #2aabee;
  --radius: 18px;
  --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.hl { color: var(--brand-2); }
.hl-tg { color: var(--tg); }
.hl-green { color: var(--green); }
.hl-red { color: var(--red); }

/* ---------- cabecera ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 18, 32, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--card); text-decoration: none; }
.nav .btn { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 7px 12px; font-size: 1rem; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s, background .12s;
  color: #fff; background: var(--brand);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: #3f78ff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card); }
.btn-green { background: #17a865; }
.btn-green:hover { background: #1cbf74; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- secciones ---------- */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- portada ---------- */
.hero { padding: 76px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(46, 107, 255, .28), transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; position: relative; }
.hero-img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badge { font-size: .85rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); background: var(--card); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 48px; } }

/* ---------- tarjetas ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.card .ico { font-size: 1.6rem; margin-bottom: 10px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .97rem; }

.product { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: border-color .15s, transform .15s; }
.product:hover { border-color: var(--brand); transform: translateY(-2px); }
.product .shot { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.product .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product .head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.product .head img { width: 54px; height: 54px; border-radius: 12px; }
.product .tag { font-size: .78rem; font-weight: 700; color: var(--brand-2); text-transform: uppercase; letter-spacing: .08em; }
.product h3 { margin: 0; font-size: 1.2rem; }
.product p { color: var(--muted); font-size: .97rem; }
.product .more { margin-top: auto; padding-top: 12px; font-weight: 700; }

/* ---------- bloques con imagen ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.checks li b { color: var(--text); }

/* ---------- el dolor (scam) ---------- */
.pain { background: linear-gradient(180deg, #1a0f18 0%, var(--bg) 100%); border-top: 1px solid #3a1d2a; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 8px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }
.note { font-size: .85rem; color: var(--faint); }

/* ---------- pasos ---------- */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 22px; left: 26px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem;
}

/* ---------- galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 14px; border: 1px solid var(--line); cursor: zoom-in; }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.lightbox { position: fixed; inset: 0; background: rgba(4, 7, 14, .92); display: none; place-items: center; z-index: 50; padding: 20px; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 12px; }

/* ---------- video (carga al pulsar) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .15s; }
.video:hover img { opacity: 1; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play span { width: 84px; height: 60px; border-radius: 16px; background: #ff0033; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.video .play span::after { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 5px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- preguntas ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--brand-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* ---------- llamada final ---------- */
.cta { text-align: center; background: radial-gradient(ellipse at center, rgba(46, 107, 255, .22), transparent 65%); }
.cta .btns { justify-content: center; }
.buy { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 16px; justify-content: center; margin-top: 30px; }
.buy .card { text-align: center; }
.buy .card .btn { width: 100%; margin-top: 12px; }
@media (max-width: 640px) { .buy { grid-template-columns: 1fr; } }

/* ---------- formulario de correo ---------- */
.signup { display: flex; gap: 10px; max-width: 520px; margin: 22px auto 0; }
.signup input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 1rem; }
.signup input:focus { outline: 2px solid var(--brand); border-color: transparent; }
@media (max-width: 520px) { .signup { flex-direction: column; } }

/* ---------- pie ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0 36px; color: var(--muted); font-size: .93rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { color: var(--text); margin: 0 0 10px; font-size: .95rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--faint); }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } }
