/* WinBoost: escuro, grafite, vermelho da marca (#E11D2E), igual ao app. */
:root {
  --bg: #111113;
  --surface: #1b1b1e;
  --surface-2: #242428;
  --border: #303036;
  --text: #f2f2f3;
  --muted: #a5a5ad;
  --brand: #e11d2e;
  --brand-hover: #f03443;
  --ok: #4caf50;
  --warn: #f2c94c;
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

a { color: var(--text); }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
header .logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none; }
header .logo img { width: 28px; height: 28px; }
header nav { display: flex; gap: 16px; align-items: center; }
header nav a { text-decoration: none; color: var(--muted); }
header nav a:hover { color: var(--text); }

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 40px 24px; }
main.narrow { max-width: 440px; }

h1 { font-size: 30px; margin: 0 0 8px; line-height: 1.2; }
h2 { font-size: 20px; margin: 0 0 12px; }
p.lead { color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
input {
  width: 100%;
  padding: 11px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
}
input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
input.code { font: 600 28px/1.2 Consolas, "Cascadia Mono", monospace; letter-spacing: 3px; text-align: center; text-transform: uppercase; }

button, .button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font: 600 15px/1.2 inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}
button:hover, .button:hover { border-color: #4a4a52; }
button.primary, .button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
button.primary:hover, .button.primary:hover { background: var(--brand-hover); }
button:disabled { opacity: .55; cursor: default; }
button.link { background: none; border: none; padding: 0; color: var(--muted); font-weight: 400; text-decoration: underline; }
p.links { margin: 16px 0 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.full { width: 100%; }

.notice { border-radius: 8px; padding: 12px 14px; margin: 16px 0; border: 1px solid var(--border); background: var(--surface-2); }
.notice.ok { border-color: var(--ok); }
.notice.warn { border-color: var(--warn); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 12px; }
.plan-option { border: 1px solid var(--border); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.plan-option.highlight { border-color: var(--brand); }
.plan-option .price { font-size: 24px; font-weight: 700; }
.tag { font-size: 12px; font-weight: 600; color: #fff; background: var(--brand); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }

.devices { list-style: none; padding: 0; margin: 0; }
.devices li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.devices li:first-child { border-top: none; }

footer { padding: 24px; text-align: center; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
footer a { color: var(--muted); }

[hidden] { display: none !important; }
