/* Cores do próprio app (src/Theme.cs). */
:root {
  color-scheme: dark;
  --bg: #0a0d14;
  --panel: #111621;
  --panel-2: #181e2b;
  --border: #252e40;
  --text: #e9edf5;
  --muted: #7f8aa0;
  --faint: #4a5468;
  --perf-a: #ff3d2e;
  --perf-b: #ff9f1c;
  --daily-a: #2e7bff;
  --daily-b: #00e0ff;
  --radius: 16px;
  --display: "Barlow Semi Condensed", "Bahnschrift", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code { font: 0.9em ui-monospace, Consolas, monospace; background: var(--panel-2); padding: 2px 6px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---- Navegação ---- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--perf-a), var(--perf-b));
}
.brand-mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.brand-name { font: 700 20px var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  background: none; border: 1px solid var(--border); color: var(--muted); border-radius: 8px;
  font: 600 13px var(--body); padding: 6px 10px; cursor: pointer;
}
.lang:hover { color: var(--text); border-color: var(--muted); }
.star-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-size: 14px; font-weight: 600;
  background: var(--panel);
}
.star-btn:hover { border-color: var(--perf-b); }
.star-btn svg { width: 16px; height: 16px; fill: var(--perf-b); }
.star-count { color: var(--muted); border-left: 1px solid var(--border); padding-left: 8px; }

/* ---- Botões ---- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 700 17px var(--display); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 12px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-perf {
  color: #fff; background: linear-gradient(100deg, var(--perf-a), var(--perf-b));
  box-shadow: 0 10px 34px -10px rgba(255, 61, 46, 0.7);
}
.btn-perf svg { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-perf:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 61, 46, 0.85); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: var(--panel); }
.btn-ghost svg { fill: var(--perf-b); }
.btn-ghost:hover { border-color: var(--muted); transform: translateY(-2px); }

/* ---- Abertura ---- */
.hero {
  position: relative; padding: 72px 0 56px;
  background:
    radial-gradient(800px 420px at 85% 20%, rgba(255, 61, 46, 0.16), transparent 70%),
    radial-gradient(700px 400px at 70% 80%, rgba(46, 123, 255, 0.14), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 13px var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #39ff88; box-shadow: 0 0 12px #39ff88; }
h1 {
  font: 800 clamp(42px, 6vw, 72px)/1.02 var(--display); margin: 0; letter-spacing: 0.01em; text-transform: uppercase;
}
.grad-perf {
  background: linear-gradient(100deg, var(--perf-a), var(--perf-b)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: #b9c1d1; max-width: 560px; margin: 22px 0 0; }
.fineprint { margin: 18px 0 0; font-size: 13px; color: var(--faint); }
.version:not(:empty)::before { content: " · "; }

.hero-shots { position: relative; height: 620px; }
.shot { position: absolute; width: 380px; border-radius: 14px; border: 1px solid var(--border); }
.shot-back {
  right: 0; top: 40px; transform: rotate(4deg); opacity: 0.9;
  box-shadow: 0 30px 80px -20px rgba(0, 224, 255, 0.35);
}
.shot-front {
  left: 10px; top: 0; transform: rotate(-3deg);
  box-shadow: 0 40px 90px -20px rgba(255, 61, 46, 0.55);
}

/* ---- Garantias ---- */
.trust { border-block: 1px solid var(--border); background: var(--panel); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; border-left: 1px solid var(--border); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { display: block; font: 700 17px var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.trust-item span { color: var(--muted); font-size: 14px; }

/* ---- Seções ---- */
section { scroll-margin-top: 72px; }
.section-title {
  font: 800 clamp(30px, 4vw, 44px)/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em;
  margin: 0 0 32px; max-width: 820px;
}
.section-lead { color: var(--muted); margin: -16px 0 32px; font-size: 18px; }
.note { color: var(--muted); font-size: 14px; margin-top: 20px; }

.modes { padding: 96px 0 40px; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode-card {
  position: relative; padding: 28px 28px 22px; border-radius: var(--radius); background: var(--panel); overflow: hidden;
  border: 1px solid var(--border);
}
.mode-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.mode-card.perf::before { background: linear-gradient(135deg, var(--perf-a), transparent 60%); }
.mode-card.daily::before { background: linear-gradient(135deg, var(--daily-a), transparent 60%); }
.mode-card h3 { font: 800 34px var(--display); text-transform: uppercase; margin: 0; letter-spacing: 0.02em; }
.mode-card.perf h3 { color: var(--perf-b); }
.mode-card.daily h3 { color: var(--daily-b); }
.mode-sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
.mode-card ul { margin: 0; padding: 0; list-style: none; }
.mode-card li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--border); }
.mode-card li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 2px; }
.mode-card.perf li::before { background: var(--perf-b); }
.mode-card.daily li::before { background: var(--daily-b); }

.features { padding: 72px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature:hover { border-color: rgba(255, 159, 28, 0.55); transform: translateY(-3px); }
.ficon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255,61,46,0.18), rgba(255,159,28,0.12)); border: 1px solid rgba(255,159,28,0.3);
}
.ficon svg { width: 22px; height: 22px; fill: none; stroke: var(--perf-b); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font: 700 19px var(--display); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

.spotlight { padding: 40px 0; }
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; }
.spot-rev .spot-text { order: 2; }
.kicker { margin: 0 0 8px; color: var(--perf-b); font: 700 14px var(--display); letter-spacing: 0.18em; text-transform: uppercase; }
.spot h2 { font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.spot p { color: #b9c1d1; font-size: 17px; }
.spot .note { color: var(--muted); font-size: 14px; }
.spot-shot {
  justify-self: center; max-width: 460px; width: 100%; border-radius: 14px; border: 1px solid var(--border);
  box-shadow: 0 30px 80px -24px rgba(255, 61, 46, 0.45);
}

.delay { padding: 88px 0; background: linear-gradient(180deg, transparent, rgba(46,123,255,0.05)); }
.delay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.delay-item { padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); }
.delay-item .num { font: 800 30px var(--display); color: var(--daily-b); }
.delay-item.no .num { color: var(--perf-a); }
.delay-item h3 { font: 700 19px var(--display); text-transform: uppercase; letter-spacing: 0.06em; margin: 6px 0; }
.delay-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

.download { padding: 64px 0; }
.download-card {
  text-align: center; padding: 48px 32px; border-radius: 24px; border: 1px solid var(--border);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(255, 61, 46, 0.18), transparent 70%),
    var(--panel);
}
.download-card h2 { font: 800 clamp(30px, 4vw, 44px) var(--display); text-transform: uppercase; margin: 0 0 24px; }
.steps { text-align: left; max-width: 640px; margin: 0 auto; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 12px 0 12px 48px; border-top: 1px solid var(--border); color: #b9c1d1; }
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 10px; width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center; font: 800 18px var(--display); color: #fff;
  background: linear-gradient(135deg, var(--perf-a), var(--perf-b));
}
.steps strong { color: var(--text); }

.star-cta { padding: 72px 0 96px; text-align: center; }
.star-inner { max-width: 680px; }
.big-star { width: 56px; height: 56px; fill: var(--perf-b); filter: drop-shadow(0 0 22px rgba(255, 159, 28, 0.6)); }
.star-cta h2 { font: 800 clamp(30px, 4vw, 44px) var(--display); text-transform: uppercase; margin: 12px 0 8px; }
.star-cta p { color: var(--muted); font-size: 17px; margin: 0; }

.policy { padding: 24px 0 72px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.policy-card { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); scroll-margin-top: 72px; }
.policy-card h2 { font: 800 26px var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 12px; }
.policy-card p, .policy-card li { color: #b9c1d1; font-size: 15px; }
.policy-card ul { padding-left: 20px; margin: 12px 0; }
.policy-card a { color: var(--perf-b); }
.attribution { padding: 10px 14px; border-radius: 10px; background: var(--panel-2); color: var(--text) !important; }
@media (max-width: 720px) { .policy-grid { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--faint); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---- Telas menores ---- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-shots { height: 540px; max-width: 520px; width: 100%; margin: 0 auto; }
  .shot { width: 320px; }
  .feature-grid, .delay-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .hero { padding: 40px 0 32px; }
  .hero-shots { height: 400px; }
  .shot { width: 230px; }
  .shot-back { right: 0; }
  .shot-front { left: 0; }
  .mode-grid, .spot, .feature-grid, .delay-grid, .trust-inner { grid-template-columns: 1fr; }
  .spot { gap: 24px; padding: 28px 0; }
  .spot-rev .spot-text { order: 0; }
  .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .trust-item:first-child { border-top: 0; }
  .btn { width: 100%; justify-content: center; }
  .star-btn span[data-i18n] { display: none; }
  .modes { padding-top: 64px; }
  .download-card { padding: 32px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
