/* Silkie Player — activate.silkie.sbs
   Cores: mesmas do app (Theme.kt). Mobile first. */
:root {
  --brand-1: #A855F7;
  --brand-2: #7C3AED;
  --brand-3: #3B82F6;
  --brand: linear-gradient(135deg, #A855F7 0%, #7C3AED 50%, #3B82F6 100%);
  --cyan: #38BDF8;
  --bg: #000000;
  --surface: #0E0E14;
  --elevated: #17171F;
  --line: #23232E;
  --text: #F2F2F7;
  --muted: #8A8A9A;
  --muted-2: #A6A6B5; /* texto fraco com contraste maior para corpo de texto */
  --green: #22C55E;
  --error: #F2555A;
  --warn: #F5B841;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .5);
  --focus: 0 0 0 3px #000, 0 0 0 5px var(--cyan);
  --max: 1160px;
  --header-h: 64px;
  font-size: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: 8px; }
a:focus-visible, button:focus-visible { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--elevated); color: var(--text); padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted-2); }
.faint { color: var(--muted); }
.grad-text {
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 1.08rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.brand span { line-height: 1.1; }

.nav { display: none; }
.nav a {
  color: var(--muted-2); font-size: .94rem; font-weight: 550; padding: 8px 11px; border-radius: 999px;
}
.nav a:hover { color: var(--text); text-decoration: none; background: var(--elevated); }
.nav a[aria-current="page"] { color: var(--text); background: var(--elevated); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.device-chip {
  display: none; align-items: center; gap: 8px; padding: 6px 6px 6px 12px;
  background: var(--elevated); border: 1px solid var(--line); border-radius: 999px; font-size: .85rem;
}
.device-chip .mono { font-weight: 700; letter-spacing: .08em; }
.device-chip button { padding: 4px 10px; font-size: .8rem; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }

.mobile-nav {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 10px 20px 18px;
}
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { color: var(--cyan); }
.mobile-nav .device-chip { display: flex; margin-top: 12px; justify-content: space-between; }

@media (min-width: 1000px) {
  .nav { display: flex; gap: 2px; margin-left: 12px; }
  .menu-btn, .mobile-nav { display: none !important; }
  .header-actions .device-chip { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--elevated);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 12px;
  font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2;
  color: var(--text); background: var(--bg-btn); border: 1px solid var(--line);
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .12s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { border-color: #34344a; filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; filter: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--brand); border: 0; color: #fff;
  box-shadow: 0 6px 24px rgba(124, 58, 237, .35);
}
.btn-ghost { background: transparent; }
.btn-danger { background: rgba(242, 85, 90, .12); border-color: rgba(242, 85, 90, .35); color: #FF8F93; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .86rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.04rem; border-radius: 14px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Cards & surfaces ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.card.elevated { background: var(--elevated); }
.card h2, .card h3 { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
@media (min-width: 720px) { .card { padding: 26px; } }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: var(--elevated); border: 1px solid var(--line); color: var(--muted-2); white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.no-dot::before { display: none; }
.badge.ok { color: var(--green); background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); }
.badge.warn { color: var(--warn); background: rgba(245, 184, 65, .1); border-color: rgba(245, 184, 65, .3); }
.badge.err { color: #FF8F93; background: rgba(242, 85, 90, .1); border-color: rgba(242, 85, 90, .3); }
.badge.info { color: var(--cyan); background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .3); }
.badge.brand { color: #D8B4FE; background: rgba(168, 85, 247, .12); border-color: rgba(168, 85, 247, .35); }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label, .label { font-weight: 650; font-size: .93rem; }
.field .hint { font-size: .84rem; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: #07070B; border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
.input::placeholder { color: #5E5E6E; }
.input:hover { border-color: #33333F; }
.input:focus { border-color: var(--brand-1); box-shadow: 0 0 0 3px rgba(168, 85, 247, .28); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input-key {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; text-transform: uppercase;
  font-size: 1.6rem; letter-spacing: .38em; text-align: center; font-weight: 700; min-height: 62px;
  padding-left: calc(14px + .38em);
}
.input-pin { font-size: 1.4rem; letter-spacing: .5em; text-align: center; font-family: ui-monospace, Consolas, monospace; }
.field-error { color: #FF8F93; font-size: .88rem; font-weight: 550; display: flex; gap: 6px; align-items: flex-start; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 76px; }
.pw-wrap button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: var(--elevated); border: 1px solid var(--line); color: var(--muted-2);
  border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer;
}

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .93rem; color: var(--muted-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand-2); flex: none; }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track {
  width: 46px; height: 26px; border-radius: 999px; background: #2A2A36; position: relative; transition: background .2s; flex: none;
}
.switch .track::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform .2s;
}
.switch input:checked + .track { background: var(--brand-2); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { box-shadow: var(--focus); }

.segmented {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: #07070B; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px;
}
.segmented button {
  min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--muted-2);
  font: inherit; font-weight: 650; font-size: .93rem; cursor: pointer;
}
.segmented button[aria-selected="true"] { background: var(--elevated); color: var(--text); box-shadow: inset 0 0 0 1px #34344a; }

/* ---------- Alerts ---------- */
.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--elevated); font-size: .93rem; color: var(--muted-2);
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert strong { color: var(--text); }
.alert.err { background: rgba(242, 85, 90, .08); border-color: rgba(242, 85, 90, .35); color: #FFB3B5; }
.alert.err svg { color: var(--error); }
.alert.ok { background: rgba(34, 197, 94, .08); border-color: rgba(34, 197, 94, .3); }
.alert.ok svg { color: var(--green); }
.alert.info svg { color: var(--cyan); }
.alert.warn { background: rgba(245, 184, 65, .07); border-color: rgba(245, 184, 65, .3); }
.alert.warn svg { color: var(--warn); }
.alert p:last-child { margin: 0; }

.demo-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 650;
  color: var(--muted); border: 1px dashed #34344a; border-radius: 999px; padding: 3px 10px;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 640px; z-index: -1;
  background:
    radial-gradient(40% 50% at 25% 30%, rgba(168, 85, 247, .32), transparent 70%),
    radial-gradient(35% 45% at 75% 25%, rgba(59, 130, 246, .26), transparent 70%),
    radial-gradient(30% 40% at 55% 70%, rgba(124, 58, 237, .18), transparent 70%);
  filter: blur(10px);
}
.hero .container { display: grid; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.12rem; color: var(--muted-2); max-width: 36em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .88rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--green); }
@media (min-width: 900px) {
  .hero { padding: 84px 0 64px; }
  .hero .container { grid-template-columns: 1.1fr .9fr; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* Device mock (arte própria) */
.tv-mock { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.tv-screen {
  aspect-ratio: 16 / 10; border-radius: 18px; border: 1px solid #2B2B38;
  background: linear-gradient(160deg, #13131C 0%, #08080D 100%);
  box-shadow: var(--shadow), 0 0 80px rgba(124, 58, 237, .25);
  padding: 7%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4%;
  position: relative; overflow: hidden;
}
.tv-screen::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .06), transparent 40%);
  pointer-events: none;
}
.tv-screen img { width: 22%; border-radius: 16%; }
.tv-screen .tv-label { font-size: clamp(.62rem, 1.6vw, .85rem); color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.tv-key {
  font-family: ui-monospace, Consolas, monospace; font-weight: 800; letter-spacing: .3em;
  font-size: clamp(1.4rem, 5.4vw, 2.6rem); padding-left: .3em;
}
.tv-screen .tv-url { font-size: clamp(.62rem, 1.6vw, .85rem); color: var(--muted-2); }
.tv-stand { width: 32%; height: 10px; margin: 0 auto; background: #1B1B24; border-radius: 0 0 10px 10px; }
.phone-float {
  position: absolute; right: -2%; bottom: -8%; width: 30%; aspect-ratio: 9 / 18; border-radius: 18px;
  background: #0B0B11; border: 1px solid #2E2E3B; box-shadow: var(--shadow);
  padding: 9% 7%; display: flex; flex-direction: column; gap: 8%;
}
.phone-float i { display: block; height: 7%; border-radius: 5px; background: #1D1D27; }
.phone-float i.k { background: var(--brand); height: 9%; opacity: .9; }
.phone-float i.s { width: 60%; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 30px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted-2); }
.section.alt { background: linear-gradient(180deg, var(--surface), #050508); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .section { padding: 84px 0; } }

.feature .ico, .step .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(59, 130, 246, .2));
  border: 1px solid rgba(168, 85, 247, .3); color: #D8B4FE;
}
.feature .ico svg, .step .ico svg { width: 22px; height: 22px; }
.feature p, .step p { color: var(--muted-2); margin: 0; font-size: .95rem; }
.step { position: relative; }
.step .num {
  position: absolute; top: 18px; right: 20px; font-size: 2.4rem; font-weight: 800; color: #1E1E2A; line-height: 1;
}

.disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid rgba(56, 189, 248, .25); background: rgba(56, 189, 248, .05);
  border-radius: var(--radius); padding: 18px 20px; color: var(--muted-2); font-size: .95rem;
}
.disclaimer svg { width: 22px; height: 22px; color: var(--cyan); flex: none; margin-top: 2px; }
.disclaimer strong { color: var(--text); }
.disclaimer p { margin: 0; }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 14px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan {
  position: relative; display: block; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color .15s, background .15s, transform .15s;
}
.plan:hover { border-color: #3A3A4C; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan .plan-name { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.plan .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); font-size: .88rem; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .93rem; color: var(--muted-2); }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.plan .radio {
  position: absolute; top: 20px; right: 20px; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #3A3A4C; display: grid; place-items: center;
}
.plan input:checked ~ .radio { border-color: var(--brand-1); background: var(--brand); }
.plan input:checked ~ .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.plan:has(input:checked) { border-color: var(--brand-1); background: linear-gradient(180deg, rgba(168, 85, 247, .09), var(--surface)); }
.plan:has(input:focus-visible) { box-shadow: var(--focus); }
.plan .ribbon {
  position: absolute; top: -11px; left: 20px; background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.plan.static { cursor: default; }

/* ---------- Steps indicator ---------- */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; counter-reset: s; }
.stepper li {
  flex: 1; font-size: .78rem; font-weight: 650; color: var(--muted); text-align: left;
  padding-top: 10px; border-top: 3px solid var(--line); counter-increment: s;
}
.stepper li::before { content: counter(s) ". "; }
.stepper li.done { color: var(--muted-2); border-top-color: #5B3BA8; }
.stepper li.current { color: var(--text); border-image: var(--brand) 1; border-top-width: 3px; border-top-style: solid; }

/* ---------- Device dashboard ---------- */
.page-head { padding: 34px 0 10px; }
.page-head p { color: var(--muted-2); max-width: 46em; }
@media (min-width: 900px) { .page-head { padding: 54px 0 16px; } }

.auth-wrap { max-width: 480px; margin: 0 auto; }
.key-illus { display: flex; justify-content: center; margin: 2px 0 18px; }

.dash { display: grid; gap: 16px; padding-bottom: 60px; }
@media (min-width: 1000px) { .dash { grid-template-columns: 330px 1fr; align-items: start; } .dash aside { position: sticky; top: calc(var(--header-h) + 16px); } }

.device-card .key-big {
  font-family: ui-monospace, Consolas, monospace; font-size: 2.1rem; font-weight: 800; letter-spacing: .22em;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin: 16px 0 0; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }

.slot {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden;
}
.slot + .slot { margin-top: 14px; }
.slot-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #0A0A10;
  border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 750; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.slot-head .badge { text-transform: none; letter-spacing: 0; }
.pl { padding: 18px; display: grid; gap: 14px; }
.pl-top { display: flex; gap: 14px; align-items: flex-start; }
.pl-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .03em;
}
.pl-ico.xt { background: linear-gradient(135deg, #3B82F6, #38BDF8); }
.pl-name { font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-url {
  font-family: ui-monospace, Consolas, monospace; font-size: .82rem; color: var(--muted-2);
  overflow-wrap: anywhere; margin-top: 4px;
}
.pl-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.pl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pl-actions .btn { flex: 1 1 auto; }
@media (min-width: 720px) { .pl-actions .btn { flex: 0 0 auto; } }
.slot-empty { padding: 26px 18px; text-align: center; color: var(--muted-2); }
.slot-empty p { margin: 0 0 14px; font-size: .94rem; }

.empty-state { text-align: center; padding: 36px 20px; }
.empty-state .ill { width: 120px; margin: 0 auto 18px; }

.lock-ico { width: 15px; height: 15px; color: var(--warn); }

/* ---------- Dialog ---------- */
dialog {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
dialog::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.dlg-head {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
.dlg-head h2 { font-size: 1.18rem; margin: 0; flex: 1; }
.dlg-close {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--elevated);
  color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.dlg-close svg { width: 18px; height: 18px; }
.dlg-body { padding: 20px; }
.dlg-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 20px 20px; flex-wrap: wrap; }
.dlg-foot .btn { flex: 1 1 140px; }
@media (min-width: 560px) { .dlg-foot .btn { flex: 0 0 auto; } }
@media (max-width: 559px) {
  dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 20px 20px 0 0; max-height: 92dvh; }
}

/* ---------- Toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); }
.toast {
  display: flex; gap: 10px; align-items: center; padding: 13px 16px; border-radius: 12px;
  background: #1C1C26; border: 1px solid #2E2E3B; box-shadow: var(--shadow); font-size: .93rem; font-weight: 550;
  animation: toast-in .2s ease;
}
.toast svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.toast.err svg { color: var(--error); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- PIX ---------- */
.pix { display: grid; gap: 18px; }
@media (min-width: 860px) { .pix { grid-template-columns: 300px 1fr; align-items: start; } }
.qr-box {
  background: #fff; border-radius: 18px; padding: 16px; width: 100%; max-width: 280px; margin: 0 auto;
  position: relative;
}
.qr-box svg { width: 100%; height: auto; }
.qr-demo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #fff; color: #5B21B6; font-weight: 800; font-size: .72rem; letter-spacing: .12em;
  padding: 4px 8px; border-radius: 6px; border: 2px solid #7C3AED;
}
.amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.copy-row { display: flex; gap: 8px; }
.copy-row .input { font-family: ui-monospace, Consolas, monospace; font-size: .82rem; min-width: 0; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; }
.pix-steps { margin: 0; padding-left: 1.2em; color: var(--muted-2); font-size: .93rem; display: grid; gap: 6px; }
.waiting { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: .93rem; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #2E2E3B; border-top-color: var(--cyan);
  animation: spin .8s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } * { scroll-behavior: auto !important; } }

.success-ico {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); color: var(--green);
}
.success-ico svg { width: 38px; height: 38px; }
.receipt { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; text-align: left; font-size: .93rem; margin: 20px 0; padding: 16px 18px; border-radius: 12px; background: #07070B; border: 1px solid var(--line); }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; text-align: right; font-weight: 650; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 650; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; background: #0A0A10; }
tr:last-child td { border-bottom: 0; }
td .mono { font-weight: 700; letter-spacing: .08em; }

/* Device list cards (mobile alternative to the table) */
.dev-list { display: grid; gap: 10px; }
.dev-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #0A0A10; }
.dev-item .mono { font-weight: 800; letter-spacing: .1em; }
.dev-item .sub { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }

.stat { padding: 18px 20px; }
.stat .v { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: .85rem; font-weight: 600; }

.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; scrollbar-width: none; }
.tabs button {
  background: none; border: 0; color: var(--muted-2); font: inherit; font-weight: 650; padding: 12px 14px;
  border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--brand-1); }

/* ---------- Instructions / FAQ / Legal ---------- */
.platforms { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-bottom: 26px; }
@media (min-width: 720px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .platforms { grid-template-columns: repeat(6, 1fr); } }
.platform-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: 14px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--muted-2); font: inherit; font-weight: 650; font-size: .88rem;
  cursor: pointer; text-align: center;
}
.platform-btn svg { width: 28px; height: 28px; color: var(--text); }
.platform-btn[aria-selected="true"] { border-color: var(--brand-1); color: var(--text); background: linear-gradient(180deg, rgba(168, 85, 247, .1), var(--surface)); }
.platform-btn .soon { font-size: .7rem; color: var(--muted); font-weight: 600; }
.howto ol { counter-reset: h; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.howto li { counter-increment: h; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.howto li::before {
  content: counter(h); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--elevated); border: 1px solid var(--line); font-weight: 800; color: #D8B4FE;
}
.howto li p { margin: 6px 0 0; color: var(--muted-2); }
.howto li strong { display: block; margin-top: 6px; }
.kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid #34344a; background: var(--elevated); font-size: .85em; font-weight: 650; color: var(--text); }

.faq-search { margin-bottom: 20px; }
.faq-group h2 { font-size: 1.05rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin: 30px 0 12px; }
details.qa { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
details.qa summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 650; position: relative; border-radius: 14px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
details.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.qa .ans { padding: 0 18px 16px; color: var(--muted-2); }
details.qa .ans p:last-child { margin: 0; }

.legal { padding-bottom: 60px; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted-2); }
.legal strong { color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.toc a { padding: 6px 12px; border-radius: 999px; background: var(--elevated); border: 1px solid var(--line); font-size: .86rem; color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050508; padding: 40px 0 28px; font-size: .9rem; color: var(--muted); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: var(--text); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-2); }
.site-footer a:hover { color: var(--text); }
.footer-note { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; font-size: .82rem; }

/* Área neutra (aparelhos da Google Play): tudo que é venda some */
html.is-play [data-sales] { display: none !important; }

.only-mobile { display: grid; }
.only-desktop { display: none; }
@media (min-width: 720px) { .only-mobile { display: none; } .only-desktop { display: block; } }
.contact-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; } }
[data-icon] { display: inline-flex; flex: none; }
.field label.check { font-weight: 400; }
.check span { font-weight: 400; }
@media (max-width: 719px) {
  .r-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .r-stats > :first-child { grid-column: 1 / -1; }
  .stat { padding: 14px 16px; }
}

/* ---------- Payment method ---------- */
.pay-methods { display: grid; gap: 12px; margin-top: 6px; }
@media (min-width: 720px) { .pay-methods { grid-template-columns: 1fr 1fr; } }
.pay-method {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 96px; padding: 18px 20px; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--text);
  font: inherit; cursor: pointer; transition: border-color .15s, background .15s, transform .12s;
}
.pay-method:hover { border-color: var(--brand-1); background: linear-gradient(180deg, rgba(168, 85, 247, .08), var(--surface)); }
.pay-method:active { transform: translateY(1px); }
.pay-method:disabled { cursor: default; opacity: .7; }
.pay-method:focus-visible { box-shadow: var(--focus); }
.pm-mark { width: 56px; height: 56px; border-radius: 14px; flex: none; display: grid; place-items: center; }
.pm-paypal { background: #FFC439; display: flex; justify-content: center; align-items: center; font-family: Verdana, "Segoe UI", sans-serif; font-style: italic; font-size: .8rem; }
.pm-paypal b { color: #0B2F7E; font-weight: 800; }
.pm-paypal i { color: #1E77C9; font-weight: 800; }
.pm-pix { background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .35); color: var(--cyan); }
.pm-pix svg { width: 28px; height: 28px; }
.pm-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.pm-text strong { font-size: 1.15rem; }
.pm-text span { color: var(--muted-2); font-size: .88rem; }
.pm-amount { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.pm-arrow { width: 20px; height: 20px; color: var(--muted); flex: none; }
.btn-paypal {
  display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 54px; border: 0; border-radius: 999px;
  background: #FFC439; color: #111; font: inherit; font-size: 1.05rem; cursor: pointer; transition: filter .15s;
}
.btn-paypal:hover { filter: brightness(.95); }
.btn-paypal:disabled { opacity: .6; cursor: default; }
.btn-paypal:focus-visible { box-shadow: var(--focus); }
.btn-paypal span { font-weight: 600; margin-right: 4px; }
.btn-paypal b, .btn-paypal i { font-family: Verdana, "Segoe UI", sans-serif; font-style: italic; font-weight: 800; font-size: 1.15rem; }
.btn-paypal b { color: #0B2F7E; }
.btn-paypal i { color: #1E77C9; }
.btn-paypal .pp-word { display: inline-flex; margin: 0; }
@media (max-width: 559px) {
  .hide-sm { display: none; }
  .stepper li[data-step="method"] { text-transform: capitalize; }
  .pay-method .pm-amount { display: none; }
  .pay-method { gap: 14px; padding: 16px; }
}
@media (max-width: 559px) { .stepper { gap: 5px; } .stepper li { font-size: .7rem; } }
@media (min-width: 1000px) { .platforms { grid-template-columns: repeat(4, 1fr); } }
.platform-btn .soon { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 999px; background: rgba(245, 184, 65, .1); border: 1px solid rgba(245, 184, 65, .3); color: var(--warn); }
