/* Boom Boom Lotter - sitio estatico
   Direccion de diseno: "cabina de copiloto" - fondo casi negro, oro dominante,
   naranja como acento filoso, lecturas tipo instrumento en monoespaciada. */

:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e11;
  --surface: #141419;
  --surface-2: #1b1b22;
  --ink: #f4f1e8;
  --muted: #9a958a;
  --muted-dim: #6c6860;
  --gold: #a18d00;
  --gold-bright: #d8c145;
  --orange: #b54d08;
  --orange-bright: #e2670f;
  --line: rgba(216, 193, 69, 0.14);
  --line-strong: rgba(216, 193, 69, 0.28);

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Atmosfera de fondo: glows oro/naranja + retícula HUD sutil. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% -5%, rgba(181, 77, 8, 0.20), transparent 60%),
    radial-gradient(55% 45% at 8% 8%, rgba(161, 141, 0, 0.18), transparent 60%),
    radial-gradient(80% 60% at 50% 110%, rgba(161, 141, 0, 0.10), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
  opacity: 0.5;
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Etiquetas tipo instrumento ---- */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-bright);
  opacity: 0.7;
}

/* ---- Navegacion ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(10, 10, 11, 0.85), rgba(10, 10, 11, 0.4));
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: #0a0a0b;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 8px 24px rgba(181, 77, 8, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0a0a0b;
  box-shadow: 0 10px 30px rgba(161, 141, 0, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(161, 141, 0, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold-bright); transform: translateY(-2px); }

/* ---- Hero ---- */
.hero { padding: 88px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-bright), var(--orange-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 38ch;
  margin: 24px 0 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-dim);
}

/* ---- Tarjeta instrumento (mockup de producto) ---- */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255,255,255,0.03);
}
.panel::before {
  content: "BBL // COPILOT";
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-dim);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.panel-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.tag-unofficial {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: 999px;
}
.balls { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 20px; }
.ball {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  background: radial-gradient(circle at 32% 28%, #23232b, #101015);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.ball.special {
  background: radial-gradient(circle at 32% 28%, var(--orange-bright), #7a3206);
  border-color: rgba(226, 103, 15, 0.5);
  color: #fff;
}
.readout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.readout .cell { background: var(--bg-2); padding: 14px 16px; }
.readout .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dim); }
.readout .value { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: 4px; }
.readout .value.gold { color: var(--gold-bright); }
.lab-line {
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.lab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 12px var(--gold-bright); }

/* ---- Seccion capacidades ---- */
.section { padding: 72px 0; }
.section-head { max-width: 56ch; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange-bright);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}
.card p { font-size: 14.5px; color: var(--muted); }

/* ---- BBL Lab destacado ---- */
.lab {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(181, 77, 8, 0.18), transparent 55%),
    radial-gradient(70% 120% at 0% 100%, rgba(161, 141, 0, 0.16), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: clamp(32px, 5vw, 64px);
}
.lab .kicker { color: var(--orange-bright); }
.lab .kicker::before { background: var(--orange-bright); }
.lab h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 18px 0 18px;
}
.lab p { font-size: 17px; color: var(--muted); max-width: 60ch; }
.lab-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lab-feat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: rgba(10, 10, 11, 0.4);
}
.lab-feat .t { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.lab-feat .d { font-size: 14px; color: var(--muted); }
.disclaimer-chip {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ---- CTA final ---- */
.closer { text-align: center; padding: 96px 0 72px; }
.closer h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 18px auto 28px;
}
.closer .hero-cta { justify-content: center; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 48px;
  background: var(--bg-2);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer .brand { font-size: 18px; margin-bottom: 12px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-bright); }
.legal-note {
  font-size: 13px;
  color: var(--muted-dim);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  max-width: 90ch;
}
.legal-note strong { color: var(--muted); font-weight: 600; }
.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-dim);
}

/* ---- Animacion de entrada ---- */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ---- Paginas legales ---- */
.legal-page { padding: 56px 0 80px; }
.legal-page .back {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  display: inline-flex;
  gap: 8px;
  margin-bottom: 32px;
}
.legal-page .back:hover { color: var(--gold-bright); }
.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.legal-page .updated { font-family: var(--font-mono); font-size: 12px; color: var(--muted-dim); margin: 12px 0 40px; letter-spacing: 0.04em; }
.legal-content { max-width: 76ch; }
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal-content h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 24px 0 8px; }
.legal-content p { color: var(--muted); margin-bottom: 14px; }
.legal-content ul { color: var(--muted); margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .lab-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .readout { grid-template-columns: 1fr; }
}
