/* Gold Boost · sistema visual (landing, devices y panel). Oscuro, dorado sobrio, tipografía fina. */
:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #131316;
  --surface-2: #1a1a1e;
  --line: rgba(212, 175, 55, 0.16);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f3f1ea;
  --muted: #a19d93;
  --faint: #6f6c65;
  --gold-1: #F5E6B3;
  --gold-2: #D4AF37;
  --gold-3: #A67C00;
  --gold: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 48%, var(--gold-3) 100%);
  --ok: #7fd1a3;
  --warn: #e6c26a;
  --bad: #ef8a80;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 60px -30px rgba(0, 0, 0, 0.8);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 520px at 50% -180px, rgba(212, 175, 55, 0.09), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 300 16px/1.65 var(--font);
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

a { color: var(--gold-1); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
strong { font-weight: 500; }
code, .mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: 0; }
img, svg { max-width: 100%; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 40px); }
.section { padding: 72px 0; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { margin: 0 0 10px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); }
.h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); line-height: 1.12; font-weight: 300; letter-spacing: -0.02em; }
.h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 300; letter-spacing: -0.015em; }
.h3 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 400; }
.lead { margin: 0 0 28px; color: var(--muted); font-size: 1.08rem; max-width: 60ch; }

/* Cabecera */
.topbar { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(10, 10, 11, 0.72); border-bottom: 1px solid var(--line-soft); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.home-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.home-link:hover { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-size: 1.02rem; font-weight: 400; letter-spacing: 0.04em; color: var(--text); }
.mark { flex: none; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 0.9rem; }
.nav a:hover, .nav a[aria-current] { color: var(--text); text-decoration: none; background: var(--line-soft); }
.nav .nav-cta { color: var(--gold-1); border: 1px solid var(--line); }
@media (max-width: 760px) { .nav a:not(.nav-cta) { display: none; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 400 0.95rem/1 var(--font); letter-spacing: 0.02em; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; text-decoration: none !important; }
.btn-gold { background: var(--gold); color: #1a1406; font-weight: 500; box-shadow: 0 10px 30px -14px rgba(212, 175, 55, 0.6); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -14px rgba(212, 175, 55, 0.75); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(212, 175, 55, 0.45); background: rgba(212, 175, 55, 0.05); }
.btn-danger { background: transparent; color: var(--bad); border-color: rgba(239, 138, 128, 0.35); }
.btn-danger:hover { background: rgba(239, 138, 128, 0.08); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 0.85rem; }
.btn-link { background: none; border: 0; padding: 0; color: var(--gold-1); font: inherit; cursor: pointer; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tarjetas y formularios */
.card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.form { display: grid; gap: 12px; }
.label { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.input { width: 100%; min-height: 48px; padding: 12px 16px; background: var(--bg); color: var(--text); border: 1px solid var(--line-soft); border-radius: var(--radius-s); font: 300 1rem var(--font); transition: border-color .2s ease, box-shadow .2s ease; }
.input:focus { outline: none; border-color: rgba(212, 175, 55, 0.55); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12); }
textarea.input { min-height: 90px; resize: vertical; }
select.input { appearance: none; }
.input-code { font-family: var(--mono); font-size: 1.35rem; letter-spacing: 0.22em; text-transform: uppercase; text-align: center; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--gold-2); flex: none; }
.grid-2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 > .card + .card { margin-top: 0; }
.link-card { display: grid; gap: 6px; color: var(--text); }
.link-card:hover { text-decoration: none; border-color: var(--line); }
details.card summary { cursor: pointer; color: var(--gold-1); list-style: none; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::before { content: "+"; display: inline-block; width: 1.2em; color: var(--gold-2); }
details[open].card summary::before { content: "–"; }
details.card .form { margin-top: 16px; }

/* Avisos e insignias */
.alert { padding: 12px 16px; border-radius: var(--radius-s); border: 1px solid var(--line-soft); margin: 0 0 16px; font-size: 0.93rem; }
.alert-ok { border-color: rgba(127, 209, 163, 0.35); background: rgba(127, 209, 163, 0.07); }
.alert-error { border-color: rgba(239, 138, 128, 0.35); background: rgba(239, 138, 128, 0.07); }
.alert-info { border-color: var(--line); background: rgba(212, 175, 55, 0.05); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { color: var(--ok); border-color: rgba(127, 209, 163, 0.35); }
.badge-trial { color: var(--gold-1); border-color: var(--line); }
.badge-off { color: var(--warn); border-color: rgba(230, 194, 106, 0.3); }
.badge-bad { color: var(--bad); border-color: rgba(239, 138, 128, 0.35); }
.badge-none { color: var(--muted); border-color: var(--line-soft); }

/* Dispositivo (devices) */
.device-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.device-row > div { display: grid; gap: 2px; }
.device-model { font-weight: 400; font-size: 1.1rem; }
.device-status { margin: 16px 0 0; color: var(--muted); }
.plan-price { margin: 4px 0; font-size: 2rem; font-weight: 300; }
.success-mark { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(127, 209, 163, 0.4); color: var(--ok); font-size: 2rem; }
.qr-frame { display: inline-block; padding: 12px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 0 0 7px rgba(212, 175, 55, 0.05); line-height: 0; }

/* Landing */
.hero { padding: 88px 0 56px; }
.hero-grid { display: grid; gap: 48px; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 56px; } }
.hero .lead { font-size: 1.12rem; }
.hero-meta { margin-top: 18px; color: var(--faint); font-size: 0.84rem; }
.disclaimer { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(212, 175, 55, 0.04); color: var(--muted); font-size: 0.93rem; }
.disclaimer strong { color: var(--text); }

.tv { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; padding: 14px; background: linear-gradient(160deg, #1b1b1f, #0c0c0e); border: 1px solid var(--line-soft); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(212, 175, 55, 0.05); }
.tv-screen { height: 100%; border-radius: 10px; background: radial-gradient(120% 90% at 50% 0%, #17140b 0%, #0b0b0c 60%); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 8% 9%; overflow: hidden; }
.tv-qr { width: clamp(70px, 9vw, 110px); aspect-ratio: 1; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 0 0 6px rgba(212, 175, 55, 0.06); }
.tv-qr svg { width: 100%; height: 100%; display: block; }
.tv-lines { display: grid; gap: 8px; }
.tv-lines .label { font-size: 0.58rem; }
.tv-code { font-family: var(--mono); font-size: clamp(0.9rem, 1.6vw, 1.3rem); letter-spacing: 0.24em; }
.tv-pill { justify-self: start; font-size: 0.62rem; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(127, 209, 163, 0.35); color: var(--ok); letter-spacing: 0.1em; text-transform: uppercase; }
.tv-stand { width: 34%; height: 8px; margin: 10px auto 0; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #1c1c20, #0d0d0f); }

.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.feature h3 { margin: 14px 0 6px; font-size: 1.02rem; font-weight: 400; }
.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); color: var(--gold-2); }
.feature-icon svg { width: 20px; height: 20px; }

.download { display: grid; gap: 32px; grid-template-columns: 1fr auto; align-items: center; }
@media (max-width: 760px) { .download { grid-template-columns: 1fr; } .download .qr-side { justify-self: start; } }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 20px 0; font-size: 0.93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.hash { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hash code { font-size: 0.78rem; color: var(--muted); word-break: break-all; }
.qr-side { text-align: center; }
.qr-side p { margin: 10px 0 0; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.steps ol { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.steps li { margin: 7px 0; }
.steps li::marker { color: var(--gold-2); }

.price-card { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } }
.price { margin: 0; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 300; letter-spacing: -0.02em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 5px; border-radius: 50%; border: 1px solid var(--gold-2); background: radial-gradient(circle, var(--gold-2) 0 3px, transparent 4px); }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: 16px 20px; background: var(--bg-2); }
.faq summary { cursor: pointer; font-weight: 400; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold-2); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.legal { max-width: 760px; }
.legal h2 { margin-top: 36px; font-size: 1.2rem; font-weight: 400; }
.legal p, .legal li { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal td, .legal th { border-bottom: 1px solid var(--line-soft); padding: 8px 6px; text-align: left; vertical-align: top; }

.footer { border-top: 1px solid var(--line-soft); margin-top: 40px; padding: 40px 0 48px; }
.footer-in { display: grid; gap: 20px; grid-template-columns: 1.4fr 1fr auto; align-items: start; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }

.divider { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.copy-ok { color: var(--ok); font-size: 0.8rem; }
