:root {
  --bg: #000;
  --card: #101814;
  --card-2: #0c1410;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #d5e2da;
  --green: #3dff6a;
  --green-deep: #04210f;
  --red: #ff4b43;
  --amber: #ffc53d;
  --wait: 3.8s;
  font-size: 18px;
}

html.lg { font-size: 22px; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(61, 255, 106, 0.16), transparent 58%),
    radial-gradient(640px 420px at 100% 100%, rgba(0, 140, 70, 0.14), transparent 52%),
    #000;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #e8ff8a;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stage {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 28px 40px;
}

.brand {
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
.brand-lockup {
  display: flex;
  gap: 14px;
  align-items: center;
}
.brand h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.brand .slogan {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 14px 0;
  text-align: left;
}
.brand-lead { font-size: 1.08rem; line-height: 1.45; color: var(--muted); margin: 0 0 8px; }
.brand-list { list-style: none; margin: 16px 0; padding: 0; }
.brand-list li {
  position: relative;
  padding: 8px 0 8px 34px;
  font-weight: 650;
}
.brand-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.brand-quote {
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 800;
}
.brand-team { color: var(--muted); font-size: 0.92rem; }
.brand .btn { max-width: 360px; }

.device {
  width: 400px;
  height: min(860px, calc(100dvh - 36px));
  flex: none;
  background: #000;
  border-radius: 36px;
  border: 1px solid rgba(61, 255, 106, 0.38);
  box-shadow:
    0 0 0 10px #0a100d,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(61, 255, 106, 0.12);
  overflow: hidden;
}

.app {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #000;
  overflow: hidden;
}

.screen {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px 16px 20px;
}
.screen.active { display: block; }
.screen.center .wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wrap { width: 100%; }
.app.show-tabs .screen { padding-bottom: 112px; }

.center-copy { text-align: center; }
.kicker {
  margin: 0 0 8px;
  color: #b6ff9a;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.splash-logo {
  width: min(86%, 280px);
  max-height: 250px;
  object-fit: contain;
  margin: 0 auto 4px;
}
.slogan { margin: 8px 0 12px; font-size: 1.28rem; font-weight: 750; }
.slogan em { color: var(--green); font-style: normal; }
.lead { color: var(--muted); line-height: 1.45; margin: 0 0 8px; }
.hint { color: var(--muted); margin: 6px 0 0; font-weight: 500; }

.wordmark { font-weight: 800; letter-spacing: -0.04em; font-size: 1.25rem; }
.wordmark span, .fake { color: var(--green); }
.shield { filter: drop-shadow(0 0 8px rgba(61, 255, 106, 0.75)); display: block; }

.top {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 12px;
  background: linear-gradient(#000 75%, rgba(0, 0, 0, 0));
}
.top h1 { flex: 1; margin: 0; text-align: center; font-size: 1.08rem; line-height: 1.2; }
.balance { width: 48px; flex: none; }
.home-top { justify-content: space-between; }
.brand-inline { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: white;
  display: grid;
  place-items: center;
  flex: none;
}

.hello { font-size: 1.7rem; line-height: 1.2; margin: 6px 0 14px; font-weight: 800; }
.hello label { cursor: text; }

.field, textarea {
  width: 100%;
  background: var(--card-2);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px;
  min-height: 58px;
  caret-color: var(--green);
}
textarea { min-height: 120px; resize: vertical; }
::placeholder { color: #d2ddd6; opacity: 1; }
.label { display: block; font-weight: 800; margin: 12px 0 8px; }

.stack { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.btn {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  border: 0;
  padding: 14px 16px;
  font-weight: 800;
}
.btn:active { transform: scale(0.985); }
.btn-primary {
  background: linear-gradient(180deg, #8dffab, #1ee864 42%, #0bb84a);
  color: var(--green-deep);
  box-shadow: 0 8px 24px rgba(20, 224, 90, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(61, 255, 106, 0.5);
}
.btn-text {
  background: transparent;
  color: var(--muted);
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
label.btn { display: grid; place-items: center; text-align: center; }

.quote, .banner, .block, .benefit, .future, .link-row, .hist, .mode, .example, .cta, .drop {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.quote { margin-top: 14px; padding: 14px; border-left: 4px solid var(--green); }
.quote p { margin: 0; font-weight: 800; }
.quote .hint { font-weight: 500; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
html.lg .tiles { grid-template-columns: 1fr; }
.tile {
  min-height: 92px;
  text-align: left;
  background: var(--card);
  color: white;
  border: 1px solid rgba(61, 255, 106, 0.28);
  border-radius: 16px;
  padding: 12px;
}
.tile strong, .future strong { display: block; font-size: 1rem; }
.tile span, .future span { display: block; margin-top: 4px; color: var(--muted); font-weight: 600; font-size: 0.9rem; }

.link-row, .future, .example, .mode, .hist, .setting {
  width: 100%;
  text-align: left;
  color: white;
}
.link-row, .future {
  margin-top: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.future { display: block; border-style: dashed; border-color: rgba(255, 75, 67, 0.65); background: #140c0c; }
.future span { color: #ffc7c3; }
.chev { color: var(--green); font-size: 1.4rem; line-height: 1; }

.modes { display: flex; flex-direction: column; gap: 8px; }
.mode { padding: 12px 14px; border: 1.5px solid transparent; }
.mode strong { display: block; }
.mode span { display: block; color: var(--muted); font-weight: 500; font-size: 0.9rem; margin-top: 2px; }
.mode.on {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), 0 0 22px rgba(61, 255, 106, 0.14);
}
.examples { margin-top: 18px; }
.examples h2 { font-size: 1rem; margin: 0 0 8px; }
.example {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  margin-top: 8px;
}
.example strong { display: block; }
.example small { display: block; color: var(--muted); font-size: 0.85rem; }

.banner { padding: 12px; color: var(--muted); margin: 10px 0; }
.drop { padding: 14px; text-align: center; border-style: dashed; border-color: rgba(61, 255, 106, 0.4); }
.drop img { margin: 10px auto 0; max-height: 150px; border-radius: 12px; }
.file-name { font-weight: 800; margin: 8px 0; }

.scanner {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(61, 255, 106, 0.25);
  border-top-color: var(--green);
  animation: spin 1.3s linear infinite;
}
.ring.r2 { inset: 16px; animation-duration: 1.9s; animation-direction: reverse; }
.sweep {
  position: absolute;
  left: 22px;
  right: 22px;
  height: 3px;
  top: 20px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 12px var(--green);
  animation: scan 1.7s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan {
  0% { top: 22px; }
  50% { top: 160px; }
  100% { top: 22px; }
}
.track {
  height: 10px;
  border-radius: 99px;
  background: #1a2620;
  overflow: hidden;
  margin: 16px 0;
}
.track > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0bb84a, #d6ff4a);
  box-shadow: 0 0 12px var(--green);
}
.track.run > span { width: 100%; transition: width var(--wait) linear; }

.pill {
  display: table;
  margin: 0 auto 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1a221e;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}
.orb {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 4px auto 12px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  background: #120c0c;
}
.orb svg { display: none; }
[data-kind="suspeito"] .only-suspeito,
[data-kind="evidencias"] .only-evidencias,
[data-kind="inconclusivo"] .only-inconclusivo { display: block; }
[data-kind="suspeito"] { background: radial-gradient(460px 220px at 50% 0%, rgba(255, 60, 48, 0.28), transparent 70%), #000; }
[data-kind="evidencias"] { background: radial-gradient(460px 220px at 50% 0%, rgba(61, 255, 106, 0.2), transparent 70%), #000; }
[data-kind="inconclusivo"] { background: radial-gradient(460px 220px at 50% 0%, rgba(255, 197, 61, 0.18), transparent 70%), #000; }
[data-kind="suspeito"] .orb { color: var(--red); box-shadow: 0 0 36px rgba(255, 59, 48, 0.35); }
[data-kind="evidencias"] .orb { color: var(--green); box-shadow: 0 0 36px rgba(61, 255, 106, 0.3); background: #07140c; }
[data-kind="inconclusivo"] .orb { color: var(--amber); box-shadow: 0 0 36px rgba(255, 197, 61, 0.28); background: #141208; }
#resultTitle { text-align: center; font-size: 1.45rem; line-height: 1.25; margin: 0 0 8px; overflow-wrap: anywhere; }
[data-kind="suspeito"] #resultTitle { color: #ffc5c1; }
[data-kind="evidencias"] #resultTitle { color: #b6ff9a; }
[data-kind="inconclusivo"] #resultTitle { color: #ffe08a; }
#resultDesc { text-align: center; }
.disclaimer {
  border-left: 4px solid var(--amber);
  background: #16140c;
  color: #fff6d6;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
}
.block { padding: 14px; margin-top: 10px; }
.block h3 { margin: 0 0 6px; font-size: 0.98rem; color: #b6ff9a; }
.block p { margin: 0; overflow-wrap: anywhere; }
.srcs { list-style: none; margin: 0; padding: 0; }
.srcs li { padding: 8px 0; border-top: 1px solid var(--line); }
.srcs li:first-child { border-top: 0; padding-top: 0; }
.srcs strong { display: block; }
.srcs span { display: block; color: var(--muted); }

.hist { display: flex; gap: 12px; align-items: flex-start; padding: 14px; margin-top: 10px; }
.hist-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hist-text strong { font-size: 1rem; overflow-wrap: anywhere; }
.hist-text small { color: var(--muted); font-size: 0.85rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 4px; }
.dot.suspeito { background: var(--red); box-shadow: 0 0 10px var(--red); }
.dot.evidencias { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot.inconclusivo { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.who { display: flex; gap: 12px; align-items: center; margin: 8px 0 12px; }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #05210f;
  color: #b6ff9a;
  border: 2px solid var(--green);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 0 16px rgba(61, 255, 106, 0.3);
  flex: none;
}
.section-title { font-size: 1rem; margin: 18px 0 8px; color: #b6ff9a; }
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
}
.setting p { margin: 4px 0 0; color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.switch {
  width: 56px;
  height: 34px;
  border-radius: 99px;
  background: #2a3330;
  position: relative;
  flex: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s ease;
}
.switch.on { background: #14c85a; }
.switch.on::after { transform: translateX(22px); }

.benefit { display: flex; gap: 12px; padding: 14px; margin-top: 10px; }
.benefit i, .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: #05210f;
  color: #b6ff9a;
  border: 1.5px solid var(--green);
  font-style: normal;
  font-weight: 800;
}
.benefit h3 { margin: 0 0 4px; font-size: 1.02rem; }
.benefit p { margin: 0; }
.steps { list-style: none; margin: 12px 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 58px; min-height: 52px; }
.steps li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: rgba(61, 255, 106, 0.35);
}
.steps li:last-child::before { display: none; }
.steps .num { position: absolute; left: 0; top: 0; }
.steps p { margin: 0; }
.cta { margin-top: 16px; padding: 16px; background: radial-gradient(120% 90% at 0% 0%, rgba(61, 255, 106, 0.16), #101814); border-color: rgba(61, 255, 106, 0.3); }
.cta strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.cta p { margin: 0 0 12px; color: var(--green); font-weight: 800; }
.about-logo { width: 100%; max-height: 240px; object-fit: contain; margin: 0 auto 8px; }
.team { color: var(--muted); }
.checks { margin: 8px 0 0; padding-left: 1.2rem; }
.checks li { margin: 8px 0; }

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
  background: rgba(6, 10, 8, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.app.show-tabs .tabbar { display: grid; }
.tab {
  background: none;
  border: 0;
  color: #b7c7be;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  font-weight: 800;
}
.tab span { font-size: clamp(11px, 0.68rem, 13px); line-height: 1.15; text-align: center; }
.tab.on { color: var(--green); }

#toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  z-index: 20;
  background: #f4fff6;
  color: var(--green-deep);
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.25s ease;
}
.app.show-tabs #toast { bottom: 96px; }
#toast.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  body { overflow: hidden; background: #000; }
  .stage { display: block; padding: 0; min-height: 0; height: 100dvh; }
  .brand { display: none; }
  .device {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .switch::after { transition: none; }
}
