:root {
  --bg: #0f1115;
  --bg2: #161a20;
  --card: #1b2028;
  --line: #2a313c;
  --text: #e9edf2;
  --muted: #9aa5b4;
  --green: #3fd06b;
  --green-d: #2bb357;
  --yellow: #f5c33b;
  --red: #ff5a5a;
  --blue: #0a7ad6;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* idioma: html.pt mostra .pt, senão .en */
html:not(.pt) .pt, html.pt .en { display: none !important; }

/* topo */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(15,17,21,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; }
nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--text); text-decoration: none; }
.lang { background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 5px 10px; font: inherit; font-size: 14px; cursor: pointer; }
@media (max-width: 720px) { nav a.hide-sm { display: none; } }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; transition: transform .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-store { background: var(--text); color: #111; }
.btn-store:hover { background: #fff; }
.btn-store svg { width: 22px; height: 22px; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 700px; background: radial-gradient(closest-side, rgba(63,208,107,.20), transparent 70%); pointer-events: none; }
.hero .logo { width: 104px; height: 104px; margin: 0 auto 26px; filter: drop-shadow(0 12px 30px rgba(63,208,107,.25)); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--green); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.free { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* barra de tarefas falsa */
.taskbar { position: relative; margin: 60px auto 0; max-width: 760px; height: 80px; border-radius: 14px; background: #202020; border: 1px solid #333; box-shadow: 0 30px 80px rgba(0,0,0,.55); display: flex; align-items: center; padding: 0 18px; gap: 14px; }
.taskbar { overflow: hidden; justify-content: flex-end; }
.taskbar .apps { display: flex; gap: 8px; position: absolute; left: 22px; }
.taskbar .apps span { width: 36px; height: 36px; border-radius: 8px; background: #2d2d2d; }
.taskbar .apps span:first-child { background: linear-gradient(135deg, #2b8cff, #0a5bd6); }
/* os 3 temas se alternam (cada um 3s, com transição) */
.taskbar .batt { flex: none; position: relative; width: 306px; height: 96px; }
.taskbar .batt img { position: absolute; right: 0; top: 0; max-width: none; opacity: 0; animation: theme-cycle 9s infinite; }
.taskbar .batt img:nth-child(2) { animation-delay: 3s; }
.taskbar .batt img:nth-child(3) { animation-delay: 6s; }
@keyframes theme-cycle { 0% { opacity: 0; } 5%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .taskbar .batt img { animation: none; } .taskbar .batt img:first-child { opacity: 1; } }
.taskbar .clock { flex: none; }
.taskbar .clock { font-size: 13px; text-align: right; line-height: 1.3; color: #ddd; white-space: nowrap; }
@media (max-width: 720px) {
  .taskbar { height: 64px; padding: 0 10px; }
  .taskbar .apps { display: none; }
  .taskbar { justify-content: center; }
  .taskbar .clock { display: none; }
}

/* seções */
section { padding: 80px 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; text-align: center; }
p.sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 48px; font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(63,208,107,.12); color: var(--green); margin-bottom: 14px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* temas */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.theme { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.theme .strip { height: 96px; margin: 6px 0 16px; background: #202020; border-radius: 10px; display: flex; justify-content: center; overflow: hidden; }
.theme .strip img { max-width: none; flex: none; }
.theme h3 { margin: 0 0 4px; font-size: 18px; }
.theme p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .themes { grid-template-columns: 1fr; } }

/* capturas */
.shots { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.45); background: #fff; }
.shot-cap { color: var(--muted); font-size: 14px; text-align: center; margin-top: 10px; }
.stack { display: grid; gap: 22px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

/* marcas */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 820px; margin: 0 auto; }
.brands span { padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* final */
.final { text-align: center; }
.final .logo { width: 72px; height: 72px; margin: 0 auto 20px; }

footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer .sp { margin-left: auto; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* página de texto (privacidade) */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 20px 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 6px; letter-spacing: -.01em; }
.doc .date { color: var(--muted); margin: 0 0 36px; }
.doc .tldr { background: rgba(63,208,107,.10); border: 1px solid rgba(63,208,107,.35); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; font-size: 17px; }
.doc .tldr strong { color: var(--green); }
.doc h2 { text-align: left; font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: #c9d1db; }

/* menu oculto + notificação */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.demo { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.demo h3 { margin: 0 0 6px; font-size: 18px; }
.demo p { margin: 0; color: var(--muted); font-size: 15px; }
.stage { height: 230px; margin-bottom: 18px; border-radius: 12px; background: linear-gradient(160deg, #1d3557, #10243b 55%, #0b1a2b); position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-end; }
.flyout { position: absolute; right: 54px; bottom: 58px; display: grid; grid-template-columns: repeat(4, 32px); gap: 10px; padding: 14px; background: #2b2b2b; border: 1px solid #3c3c3c; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.flyout .gen { width: 32px; height: 32px; border-radius: 6px; background: #3a3a3a; }
.flyout img { width: 32px; height: 32px; }
.minibar { width: 100%; height: 44px; background: #202020; border-top: 1px solid #333; display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 0 14px; color: #ddd; font-size: 12px; }
.caret { width: 28px; height: 28px; border-radius: 6px; background: #3a3a3a; display: grid; place-items: center; font-size: 13px; transform: translateY(1px); }
.mclock { white-space: nowrap; }
.stage:has(.toast) { align-items: center; justify-content: center; }
.toast { width: min(360px, calc(100% - 32px)); background: #2b2b2b; border: 1px solid #3c3c3c; border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.5); padding: 12px 14px 16px; color: #eee; font-size: 14px; animation: toast-in 6s ease-out infinite; }
.t-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #ccc; margin-bottom: 10px; }
.t-x { margin-left: auto; color: #999; }
.t-body { display: flex; gap: 12px; align-items: center; }
.t-body img { flex: none; width: 32px; height: 32px; }
.t-body strong { display: block; font-size: 15px; margin-bottom: 2px; }
.t-body span { color: #c8c8c8; }
html:not(.pt) .t-body strong.en, html.pt .t-body strong.pt { display: block; }
@keyframes toast-in { 0% { opacity: 0; transform: translateX(40px); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* periféricos em destaque */
.devices-sec { padding: 70px 0 80px; }
.devices-sec h2 .hl, .final .rot { color: var(--green); }
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.dev { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px 24px; text-align: center; transition: transform .2s, border-color .2s; }
.dev:hover { transform: translateY(-4px); border-color: rgba(63,208,107,.5); }
.dev img { width: 80px; height: 80px; margin: 0 auto 16px; }
.dev h3 { margin: 0 0 14px; font-size: 20px; }
.meter { height: 8px; border-radius: 99px; background: #2a313c; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.meter.low i { background: var(--yellow); }
.pct { display: block; margin-top: 8px; font-weight: 600; color: var(--green); }
.pct.low { color: var(--yellow); }
.devnote { text-align: center; color: var(--muted); margin: 28px 0 0; }
@media (max-width: 860px) { .devices { grid-template-columns: repeat(2, 1fr); } }

/* palavra que troca no final */
.rot { display: inline-block; transition: opacity .3s, transform .3s; }
.rot.out { opacity: 0; transform: translateY(-8px); }
