/* Turbo Player — site de apresentação, privacidade, termos e suporte. Mesmas cores do app (packages/tokens). */
:root {
  --bg: #0a0c11;
  --bg-elevated: #12151d;
  --surface: #181c26;
  --surface-hi: #222735;
  --border: #2a3040;
  --text: #f2f4f8;
  --text-muted: #a3abbd;
  --text-dim: #6b7387;
  --accent: #7b61ff;
  --accent-hi: #9c88ff;
  --live: #ff3b5c;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent-hi); }
a:hover { color: var(--text); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* topo */
.top { position: sticky; top: 0; z-index: 10; background: rgba(10, 12, 17, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top nav a { color: var(--text-muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }
.lang { border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; }

/* abertura */
.hero { padding: 72px 0 40px; text-align: center; background: radial-gradient(900px 420px at 50% -10%, rgba(123, 97, 255, .28), transparent 70%); }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 span { background: linear-gradient(135deg, var(--accent-hi), var(--live)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--text-muted); max-width: 680px; margin: 0 auto 28px; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; font-weight: 600; }
.badge small { color: var(--text-dim); font-weight: 500; }
.shot { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.hero .shot { margin: 0 auto; }

/* seções */
section { padding: 56px 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 10px; letter-spacing: -.01em; }
.sub { color: var(--text-muted); margin: 0 0 32px; max-width: 680px; }
.features { display: flex; flex-wrap: wrap; margin: -10px; }
.feature { flex: 1 1 300px; margin: 10px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 16px; }
.feature .ic { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: rgba(123, 97, 255, .16); color: var(--accent-hi); font-size: 20px; }

.gallery { display: flex; flex-wrap: wrap; margin: -10px; }
.gallery figure { flex: 1 1 440px; margin: 10px; }
.gallery figcaption { color: var(--text-dim); font-size: 14px; margin-top: 10px; text-align: center; }

.steps { counter-reset: step; display: flex; flex-wrap: wrap; margin: -10px; padding: 0; list-style: none; }
.steps li { flex: 1 1 260px; margin: 10px; padding: 24px 24px 24px 72px; position: relative; border-radius: var(--radius); background: var(--bg-elevated); border: 1px solid var(--border); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--text-muted); font-size: 16px; }

.notice { border-left: 4px solid var(--accent); background: var(--surface); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-muted); }
.notice strong { color: var(--text); }

/* páginas de texto (privacidade, termos, suporte) */
.doc { max-width: 780px; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); margin: 0 0 6px; letter-spacing: -.01em; }
.doc .updated { color: var(--text-dim); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #d4d8e2; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.doc summary { cursor: pointer; font-weight: 700; color: var(--text); }
.doc details p { margin: 10px 0 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--text-muted); font-weight: 600; }
.doc .table-scroll { overflow-x: auto; }
kbd { background: var(--surface-hi); border: 1px solid var(--border); border-radius: 6px; padding: 1px 7px; font-family: inherit; font-size: 14px; font-weight: 600; }

/* rodapé */
footer { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--text-dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--text-muted); text-decoration: none; }
footer p { margin: 0; max-width: 560px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav .hide-sm { display: none; }
  .hero { padding-top: 48px; }
  section { padding: 40px 0; }
}
