/* ==========================================================================
   ShopGuard — design system
   Sem framework CSS. Tokens, componentes e utilitários do app.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #060911;
  --bg-2: #0a101c;
  --surface: rgba(13, 20, 36, 0.72);
  --surface-solid: #0c1424;
  --surface-2: #101a2e;
  --line: rgba(148, 163, 184, 0.14);
  --line-2: rgba(148, 163, 184, 0.26);
  --text: #f5f7fb;
  --muted: #9aa8bd;
  --muted-2: #6d7c93;
  --pink: #fe2c55;
  --pink-soft: #ff5a78;
  --cyan: #25f4ee;
  --green: #3ddc97;
  --green-soft: rgba(61, 220, 151, 0.14);
  --amber: #f5b84c;
  --red: #ff6b81;
  --red-soft: rgba(255, 107, 129, 0.13);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow: 0 24px 70px rgba(2, 6, 18, 0.55);
  --shadow-sm: 0 10px 30px rgba(2, 6, 18, 0.35);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1140px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(254, 44, 85, 0.16), transparent 62%),
    radial-gradient(760px 520px at 4% 8%, rgba(37, 244, 238, 0.09), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(37, 244, 238, 0.05), transparent 65%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1200px 700px at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(1200px 700px at 50% 0%, #000 30%, transparent 78%);
}

[hidden] { display: none !important; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--pink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #080d17; }
::-webkit-scrollbar-thumb { background: #223049; border-radius: 999px; border: 2px solid #080d17; }
::-webkit-scrollbar-thumb:hover { background: #2f405e; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 40px, 860px); }
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(37, 244, 238, 0.8);
}

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  margin-top: 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 62ch;
}
.section-head--center p { margin-inline: auto; }

.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.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;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cyan);
  color: #041018;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* Botões ------------------------------------------------------------------ */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s, opacity 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-busy { opacity: 0.55; pointer-events: none; }
.btn-primary {
  background: linear-gradient(135deg, #fe2c55 0%, #ff4d6d 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(254, 44, 85, 0.28);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(254, 44, 85, 0.38); }
.btn-secondary {
  background: rgba(148, 163, 184, 0.09);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(148, 163, 184, 0.14); border-color: rgba(148, 163, 184, 0.4); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); background: rgba(148, 163, 184, 0.06); }
.btn-cyan {
  background: var(--cyan);
  color: #041018;
  box-shadow: 0 10px 26px rgba(37, 244, 238, 0.2);
}
.btn-cyan:hover { box-shadow: 0 14px 34px rgba(37, 244, 238, 0.3); }
.btn-green { background: var(--green); color: #04140d; box-shadow: 0 10px 26px rgba(61, 220, 151, 0.2); }
.btn-danger { background: rgba(255, 107, 129, 0.12); border-color: rgba(255, 107, 129, 0.35); color: var(--red); }
.btn-danger:hover { background: rgba(255, 107, 129, 0.2); }
.btn-sm { min-height: 34px; padding: 7px 12px; font-size: 12.5px; border-radius: 9px; gap: 6px; }
.btn-lg { min-height: 52px; padding: 15px 26px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn.is-busy::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Chips e badges ---------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.07);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.chip--green { color: var(--green); border-color: rgba(61, 220, 151, 0.28); background: var(--green-soft); }
.chip--red { color: var(--red); border-color: rgba(255, 107, 129, 0.3); background: var(--red-soft); }
.chip--amber { color: var(--amber); border-color: rgba(245, 184, 76, 0.3); background: rgba(245, 184, 76, 0.1); }
.chip--cyan { color: var(--cyan); border-color: rgba(37, 244, 238, 0.28); background: rgba(37, 244, 238, 0.08); }
.chip--pink { color: var(--pink-soft); border-color: rgba(254, 44, 85, 0.3); background: rgba(254, 44, 85, 0.1); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.badge--approved { color: #052e1f; background: var(--green); }
.badge--rejected { color: #3b0710; background: var(--red); }
.badge--neutral { color: var(--muted); background: rgba(148, 163, 184, 0.12); border-color: var(--line); }

/* Barra de anúncio -------------------------------------------------------- */
.announcement {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(37, 244, 238, 0.16);
  background: linear-gradient(90deg, rgba(37, 244, 238, 0.09), rgba(254, 44, 85, 0.09));
  font-size: 12.5px;
  color: #c8f9f7;
}
.announcement .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding-block: 6px;
  text-align: center;
}
.announcement a { color: var(--cyan); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.announcement-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #c8f9f7;
}
.announcement-close:hover { background: rgba(255, 255, 255, 0.08); }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 17, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.brand-mark { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 4px 12px rgba(254, 44, 85, 0.28)); }
.brand span span { color: var(--pink); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  transition: color 0.15s;
  padding-block: 4px;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 5px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.06);
  font-size: 12px;
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s;
}
.credits-pill:hover { border-color: var(--line-2); background: rgba(148, 163, 184, 0.1); }
.credits-pill strong { font-family: var(--mono); font-size: 13px; color: var(--text); }
.credits-pill .credits-plus {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-left: 2px;
  border-radius: 8px;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.account-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}
.account-button:hover { border-color: var(--line-2); background: rgba(148, 163, 184, 0.1); }
.avatar {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  color: #071018;
  font-size: 12px;
  font-weight: 800;
}
.account-name { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-button {
  display: none;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
}
.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  padding: 10px 20px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 24, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
.mobile-nav a {
  display: block;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { color: var(--text); }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 76px 0 54px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 56px;
}
.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 4.7vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 800;
  text-wrap: balance;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ff8ba0 0%, var(--pink) 42%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--muted-2);
  font-size: 12.5px;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .icon { color: var(--green); }

.hero-visual { position: relative; }
.hero-glow {
  position: absolute;
  width: 520px; height: 520px;
  right: -140px; top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 44, 85, 0.25), transparent 66%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}
.preview-window {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 27, 46, 0.96), rgba(9, 14, 26, 0.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: rotate(-1.2deg);
  transition: transform 0.4s var(--ease);
}
.preview-window:hover { transform: rotate(0deg) translateY(-3px); }
.preview-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: #2d3b55; }
.preview-dots i:first-child { background: #ff5f57; }
.preview-dots i:nth-child(2) { background: #febc2e; }
.preview-dots i:nth-child(3) { background: #28c840; }
.preview-title { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.preview-title strong { color: var(--text); font-weight: 700; }
.preview-body { padding: 10px; display: grid; gap: 7px; }
.preview-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.022);
}
.preview-thumb {
  width: 58px; height: 44px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.preview-info { min-width: 0; flex: 1; }
.preview-info b {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  color: #c7d2e4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.02em;
}
.preview-info small { display: block; margin-top: 3px; font-size: 9.5px; color: var(--muted-2); }
.preview-score { text-align: right; flex: none; }
.preview-score strong { font-family: var(--mono); font-size: 14px; }
.preview-score strong.ok { color: var(--green); }
.preview-score strong.bad { color: var(--red); }
.preview-score .badge { margin-top: 3px; font-size: 8.5px; padding: 2px 6px; }
.preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 10.5px;
  color: var(--muted-2);
}
.preview-foot .chip { padding: 3px 8px; font-size: 10px; }
.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(12, 20, 36, 0.95);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 650;
  backdrop-filter: blur(10px);
}
.float-chip .icon { color: var(--green); }
.float-chip--top { top: -16px; left: -18px; }
.float-chip--bottom { bottom: -16px; right: -10px; }
.hero-note {
  margin-top: 14px;
  text-align: right;
  font-size: 10.5px;
  color: var(--muted-2);
}

/* Trust strip ------------------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 28, 0.5);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  background: rgba(7, 11, 20, 0.86);
}
.trust-item .icon { color: var(--cyan); width: 19px; height: 19px; }
.trust-item b { display: block; font-size: 12.5px; font-weight: 650; color: var(--text); }
.trust-item span { display: block; font-size: 11px; color: var(--muted-2); }

/* App --------------------------------------------------------------------- */
.app-section { padding-top: 72px; }
.app-shell {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 300px at 50% -10%, rgba(37, 244, 238, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(14, 22, 39, 0.82), rgba(8, 13, 24, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.app-status { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.app-status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.14);
}
.app-status b { color: var(--text); font-weight: 650; }
.app-top-actions { display: flex; align-items: center; gap: 6px; }
.app-body { padding: 20px; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 23, 0.62);
  min-width: 0;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.step-num {
  display: grid;
  place-items: center;
  width: 25px; height: 25px;
  flex: none;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}
.step-num--cyan { background: rgba(37, 244, 238, 0.12); color: var(--cyan); border: 1px solid rgba(37, 244, 238, 0.32); }
.step-num--pink { background: rgba(254, 44, 85, 0.12); color: var(--pink-soft); border: 1px solid rgba(254, 44, 85, 0.32); }
.panel-title h3 { font-size: 13.5px; font-weight: 700; letter-spacing: -0.015em; }
.panel-title h3 span { font-weight: 450; color: var(--muted-2); font-size: 11px; margin-left: 3px; }
.panel-count { font-family: var(--mono); font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.panel-link {
  border: 0;
  background: none;
  padding: 0;
  font-size: 11px;
  color: var(--muted-2);
  font-weight: 600;
  transition: color 0.15s;
}
.panel-link:hover { color: var(--red); }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 104px;
  padding: 14px;
  border: 1.5px dashed rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.035);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.dropzone:hover { border-color: rgba(37, 244, 238, 0.5); background: rgba(37, 244, 238, 0.05); }
.dropzone:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dropzone.is-dragover {
  border-color: var(--cyan);
  background: rgba(37, 244, 238, 0.09);
  transform: scale(1.005);
}
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-bottom: 2px;
  border-radius: 10px;
  background: rgba(37, 244, 238, 0.1);
  color: var(--cyan);
}
.dropzone--pink .dropzone-icon { background: rgba(254, 44, 85, 0.12); color: var(--pink-soft); }
.dropzone-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dropzone b { font-size: 12px; font-weight: 650; color: #dbe4f2; }
.dropzone small { font-size: 10.5px; color: var(--muted-2); line-height: 1.4; }
.dropzone.is-compact { min-height: 62px; flex-direction: row; gap: 10px; padding: 10px 14px; text-align: left; }
.dropzone.is-compact .dropzone-icon { width: 28px; height: 28px; margin: 0; }
.dropzone.is-compact .dropzone-text { display: flex; flex-direction: column; align-items: flex-start; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1220;
}
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove {
  position: absolute;
  top: 4px; right: 4px;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(4, 8, 16, 0.82);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s;
}
.photo-item:hover .photo-remove, .photo-remove:focus-visible { opacity: 1; }
.photo-remove:hover { background: var(--red); color: #180509; }
.photo-item--empty {
  display: grid;
  place-items: center;
  border-style: dashed;
  color: var(--muted-2);
  font-size: 9.5px;
  text-align: center;
  padding: 4px;
}

.video-list {
  display: grid;
  gap: 6px;
  max-height: 214px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-gutter: stable;
}
.video-empty {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.02);
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
}
.video-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.035);
  min-width: 0;
}
.video-index {
  display: grid;
  place-items: center;
  width: 21px; height: 21px;
  flex: none;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.1);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}
.video-name { flex: 1; min-width: 0; font-size: 11px; line-height: 1.35; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.video-name .tail { color: var(--cyan); font-family: var(--mono); font-weight: 700; background: rgba(37, 244, 238, 0.09); border-radius: 3px; padding: 0 2px; }
.video-name .head { color: #c6d2e4; }
.video-meta { flex: none; font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); }
.video-remove {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-2);
  transition: color 0.15s, background 0.15s;
}
.video-remove:hover { color: var(--red); background: rgba(255, 107, 129, 0.1); }
.video-row.is-done .video-index { background: rgba(61, 220, 151, 0.16); color: var(--green); }
.video-row.is-error .video-index { background: rgba(255, 107, 129, 0.16); color: var(--red); }
.video-row.is-current { border-color: rgba(37, 244, 238, 0.4); background: rgba(37, 244, 238, 0.05); }

.app-hint { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted-2); }
.app-hint .icon { width: 13px; height: 13px; color: var(--cyan); }

.controls-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 26px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 20, 36, 0.7);
}
.control-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11.5px; font-weight: 600; color: #cbd6e7; }
.control-label output {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(37, 244, 238, 0.09);
  border: 1px solid rgba(37, 244, 238, 0.22);
  border-radius: 6px;
  padding: 2px 7px;
}
.range-wrap { margin-top: 10px; }
input[type='range'] {
  width: 100%;
  height: 20px;
  margin: 0;
  background: transparent;
  accent-color: var(--pink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(254, 44, 85, 0.8), rgba(37, 244, 238, 0.45));
}
input[type='range']::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(254, 44, 85, 0.8), rgba(37, 244, 238, 0.45));
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  margin-top: -5px;
  border: 2px solid #0b1120;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.28);
}
input[type='range']::-moz-range-thumb {
  width: 13px; height: 13px;
  border: 2px solid #0b1120;
  border-radius: 50%;
  background: #fff;
}
.range-scale { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--mono); font-size: 8.5px; color: var(--muted-2); }
.estimate { min-width: 150px; }
.estimate-line { font-size: 10.5px; color: var(--muted-2); }
.estimate-line b { color: #cbd6e7; font-weight: 600; }
.estimate-cost { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; }
.estimate-cost span { font-size: 10px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.estimate-cost strong { font-family: var(--mono); font-size: 21px; font-weight: 700; color: var(--text); letter-spacing: -0.04em; }
.estimate-cost strong.is-zero { color: var(--muted-2); }
.estimate-cost strong.is-over { color: var(--red); }
.estimate-cost strong.is-over + span { color: var(--red); }
.analyze-wrap { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.analyze-note { text-align: center; font-size: 9.5px; color: var(--muted-2); }
.app-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 10.5px;
  color: var(--muted-2);
  text-align: center;
  flex-wrap: wrap;
}
.app-footnote .icon { width: 12px; height: 12px; color: var(--green); }

/* Dicas do painel --------------------------------------------------------- */
.panel-tips {
  display: grid;
  gap: 5px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted-2);
}
.panel-tips li { display: flex; align-items: center; gap: 6px; }
.panel-tips .icon { width: 11px; height: 11px; color: var(--green); flex: none; }

/* Progress ---------------------------------------------------------------- */
.progress-view { padding: 34px 20px 40px; display: flex; flex-direction: column; align-items: center; }
.progress-ring { position: relative; width: 118px; height: 118px; display: grid; place-items: center; margin-bottom: 24px; }
.progress-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 4; }
.progress-ring .ring-track { stroke: rgba(148, 163, 184, 0.14); }
.progress-ring .ring-fill { stroke: var(--cyan); stroke-linecap: round; transition: stroke-dashoffset 0.4s var(--ease); filter: drop-shadow(0 0 6px rgba(37, 244, 238, 0.5)); }
.progress-percent { font-family: var(--mono); font-size: 25px; font-weight: 700; letter-spacing: -0.04em; }
.progress-title { font-size: 19px; font-weight: 750; letter-spacing: -0.025em; text-align: center; }
.progress-sub { margin-top: 6px; max-width: 480px; font-size: 11.5px; color: var(--muted-2); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress-bar { width: min(100%, 460px); height: 6px; margin-top: 20px; border-radius: 999px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--pink)); transition: width 0.35s var(--ease); }
.progress-list { width: min(100%, 460px); margin-top: 24px; display: grid; gap: 5px; }
.progress-item { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: rgba(148, 163, 184, 0.03); font-size: 10.5px; color: var(--muted-2); }
.progress-item .status-icon { width: 14px; height: 14px; flex: none; }
.progress-item span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.progress-item.is-done { color: var(--muted); }
.progress-item.is-done .status-icon { color: var(--green); }
.progress-item.is-current { border-color: rgba(37, 244, 238, 0.32); color: var(--text); background: rgba(37, 244, 238, 0.05); }
.progress-item.is-current .status-icon { color: var(--cyan); }
.progress-item.is-error .status-icon { color: var(--red); }
.progress-actions { margin-top: 24px; display: flex; gap: 10px; align-items: center; }
.progress-hint { margin-top: 14px; font-size: 10px; color: var(--muted-2); text-align: center; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(37, 244, 238, 0.25); border-top-color: var(--cyan); border-radius: 50%; animation: spin 0.8s linear infinite; }

/* Resultados -------------------------------------------------------------- */
.results-view { padding: 20px; }
.results-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.results-title h2 { font-size: 23px; font-weight: 800; letter-spacing: -0.035em; }
.results-title p { margin-top: 4px; font-size: 11.5px; color: var(--muted-2); }
.results-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.stat {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.035);
}
.stat span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.stat strong { display: block; margin-top: 3px; font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
.stat small { display: block; margin-top: 1px; font-size: 10px; color: var(--muted-2); }
.stat--green strong { color: var(--green); }
.stat--red strong { color: var(--red); }
.stat--cyan strong { color: var(--cyan); }

.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.filters { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(148, 163, 184, 0.04); }
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 650;
  transition: background 0.15s, color 0.15s;
}
.filter-btn .count { font-family: var(--mono); font-size: 9.5px; opacity: 0.8; }
.filter-btn:hover { color: var(--text); }
.filter-btn.is-active { background: rgba(148, 163, 184, 0.14); color: var(--text); }
.result-note { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted-2); }
.result-note .icon { width: 13px; height: 13px; }

.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.result-card {
  display: flex;
  flex-direction: row;
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 27, 46, 0.7), rgba(10, 16, 28, 0.9));
  overflow: hidden;
  transition: border-color 0.15s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.result-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.result-card--approved { border-color: rgba(61, 220, 151, 0.22); }
.result-card--rejected { border-color: rgba(255, 107, 129, 0.18); }
.result-thumb {
  position: relative;
  width: 168px;
  min-height: 168px;
  flex: none;
  background: #0a1220;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.result-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.result-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 17, 0.05) 40%, rgba(6, 9, 17, 0.45)); pointer-events: none; }
.result-thumb .badge { position: absolute; top: 8px; left: 8px; z-index: 2; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); font-size: 9px; }
.result-thumb .result-quality { position: absolute; top: 10px; right: 10px; z-index: 2; }
.result-thumb .thumb-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}
.result-thumb:hover .thumb-play, .thumb-play:focus-visible { opacity: 1; }
.thumb-play span {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(6, 9, 17, 0.62);
  backdrop-filter: blur(6px);
}
.result-body { display: flex; flex-direction: column; gap: 7px; padding: 13px 14px; flex: 1; min-width: 0; }
.result-name { font-size: 12px; line-height: 1.35; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.result-name .head { color: #c9d5e6; }
.result-name .tail { color: var(--cyan); font-family: var(--mono); font-weight: 700; }
.result-new-name { font-family: var(--mono); font-size: 9px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-new-name b { color: #aebdd3; font-weight: 500; }
.score-row { display: flex; align-items: center; gap: 9px; }
.score-bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(148, 163, 184, 0.12); overflow: hidden; }
.score-bar span { display: block; height: 100%; border-radius: inherit; transition: width 0.6s var(--ease); }
.score-bar--ok span { background: linear-gradient(90deg, #1cb87c, var(--green)); }
.score-bar--bad span { background: linear-gradient(90deg, #d94a61, var(--red)); }
.score-value { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.score-value.ok { color: var(--green); }
.score-value.bad { color: var(--red); }
.result-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 9.5px; color: var(--muted-2); }
.reason-list { display: flex; flex-wrap: wrap; gap: 4px; }
.reason-chip { padding: 3px 7px; border-radius: 5px; background: rgba(255, 107, 129, 0.08); border: 1px solid rgba(255, 107, 129, 0.18); color: #f0a6b2; font-size: 9px; line-height: 1.3; }
.result-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 3px; flex-wrap: wrap; }
.result-actions { display: flex; gap: 5px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(148, 163, 184, 0.06);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.icon-btn:hover { background: rgba(148, 163, 184, 0.13); color: var(--text); border-color: var(--line-2); }
.icon-btn .icon { width: 13px; height: 13px; }
.result-empty { grid-column: 1 / -1; padding: 34px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted-2); font-size: 12px; }
.results-footnote { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(148, 163, 184, 0.03); font-size: 10.5px; line-height: 1.55; color: var(--muted-2); }
.results-footnote .icon { width: 14px; height: 14px; flex: none; color: var(--amber); margin-top: 1px; }

/* Como funciona ----------------------------------------------------------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 27, 46, 0.6), rgba(10, 16, 28, 0.55));
  overflow: hidden;
}
.how-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 244, 238, 0.5), transparent);
  opacity: 0.6;
}
.how-num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-bottom: 16px;
  border: 1px solid rgba(37, 244, 238, 0.25);
  border-radius: 10px;
  background: rgba(37, 244, 238, 0.08);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.how-card:nth-child(2) .how-num { color: var(--pink-soft); border-color: rgba(254, 44, 85, 0.28); background: rgba(254, 44, 85, 0.09); }
.how-card:nth-child(3) .how-num { color: var(--green); border-color: rgba(61, 220, 151, 0.28); background: rgba(61, 220, 151, 0.08); }
.how-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.how-card p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }

.checks-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(13, 20, 36, 0.5);
}
.checks-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-item { display: flex; gap: 10px; }
.check-item .icon-wrap {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.08);
  color: var(--cyan);
}
.check-item h4 { font-size: 12px; font-weight: 650; }
.check-item p { margin-top: 3px; font-size: 10.5px; line-height: 1.5; color: var(--muted-2); }
.checks-copy h3 { font-size: 21px; font-weight: 750; letter-spacing: -0.03em; }
.checks-copy p { margin-top: 10px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.checks-copy .btn { margin-top: 16px; }
.callout {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 184, 76, 0.22);
  border-radius: 10px;
  background: rgba(245, 184, 76, 0.06);
  font-size: 11px;
  line-height: 1.55;
  color: #d8c39c;
}
.callout .icon { width: 15px; height: 15px; flex: none; color: var(--amber); margin-top: 1px; }

/* Pricing ----------------------------------------------------------------- */
.pricing-free-line {
  margin: -6px auto 18px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
}
.pricing-free-line a {
  color: var(--cyan);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: stretch; }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 27, 46, 0.55), rgba(9, 14, 26, 0.8));
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.plan-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.plan-card--featured {
  border-color: rgba(254, 44, 85, 0.48);
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(254, 44, 85, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(25, 22, 40, 0.85), rgba(9, 14, 26, 0.92));
  box-shadow: 0 18px 50px rgba(254, 44, 85, 0.12);
}
.plan-card--featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(254, 44, 85, 0.7), rgba(37, 244, 238, 0.25), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-name { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.plan-badge {
  padding: 3px 7px;
  border: 1px solid rgba(254, 44, 85, 0.35);
  border-radius: 5px;
  background: rgba(254, 44, 85, 0.1);
  color: var(--pink-soft);
  font-size: 8.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-price { display: flex; align-items: baseline; gap: 3px; }
.plan-price strong { font-size: 30px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan-price span { font-size: 10px; color: var(--muted-2); }
.plan-desc { min-height: 34px; font-size: 10.5px; line-height: 1.5; color: var(--muted-2); }
.plan-credits {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(37, 244, 238, 0.07);
  border: 1px solid rgba(37, 244, 238, 0.16);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  align-self: flex-start;
}
.plan-features { display: grid; gap: 7px; font-size: 10.5px; color: var(--muted); }
.plan-features li { display: flex; gap: 7px; align-items: flex-start; }
.plan-features .icon { width: 13px; height: 13px; color: var(--green); margin-top: 2px; flex: none; }
.plan-card .btn { margin-top: auto; }
.plan-unavailable { display: block; margin-top: 2px; font-size: 8.5px; color: var(--amber); text-align: center; }
.pricing-note { margin-top: 16px; text-align: center; font-size: 10.5px; color: var(--muted-2); }
.pricing-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* FAQ --------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: #dbe4f1;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-item summary .faq-icon {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  transition: transform 0.2s var(--ease), background 0.15s;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: rgba(37, 244, 238, 0.1); color: var(--cyan); border-color: rgba(37, 244, 238, 0.3); }
.faq-answer { padding: 0 40px 20px 4px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.faq-answer p + p { margin-top: 8px; }
.faq-answer a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 260px at 12% 0%, rgba(254, 44, 85, 0.18), transparent 65%),
    radial-gradient(500px 260px at 92% 100%, rgba(37, 244, 238, 0.12), transparent 65%),
    rgba(13, 20, 36, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.cta-band p { margin-top: 8px; font-size: 12.5px; color: var(--muted); max-width: 54ch; }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: rgba(5, 8, 15, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 12px; max-width: 34ch; font-size: 11.5px; line-height: 1.65; color: var(--muted-2); }
.footer-col h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.footer-col ul { margin-top: 12px; display: grid; gap: 8px; }
.footer-col a { font-size: 11.5px; color: var(--muted-2); transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted-2);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-legal a:hover { color: var(--text); }
.footer-disclaimer { max-width: 62ch; }
.footer-status { display: inline-flex; align-items: center; gap: 6px; }
.footer-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Modais ------------------------------------------------------------------ */
dialog.modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  max-width: 640px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 48px);
  outline: none;
}
dialog.modal--wide { max-width: 860px; }
dialog.modal--preview { max-width: 920px; }
dialog.modal[open] { display: flex; flex-direction: column; }
dialog.modal::backdrop {
  background: rgba(2, 5, 12, 0.78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.modal-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0e1729, #0a111e);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: modalIn 0.2s var(--ease);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 { font-size: 14px; font-weight: 700; letter-spacing: -0.015em; }
.modal-head p { margin-top: 2px; font-size: 10.5px; color: var(--muted-2); }
.modal-close {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.modal-close:hover { background: rgba(148, 163, 184, 0.1); color: var(--text); }
.modal-body { padding: 20px; max-height: 72vh; overflow-y: auto; }
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.modal-foot--split { justify-content: space-between; }

.field { display: grid; gap: 6px; }
.field label { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: rgba(4, 8, 16, 0.55);
  color: var(--text);
  font-size: 12.5px;
  transition: border-color 0.15s, background 0.15s;
}
.field input::placeholder { color: #53627a; }
.field input:focus, .field select:focus { border-color: rgba(37, 244, 238, 0.6); background: rgba(4, 8, 16, 0.85); outline: none; }
.field input:disabled { opacity: 0.5; cursor: not-allowed; }
.field small { font-size: 9.5px; color: var(--muted-2); }
.form-stack { display: grid; gap: 12px; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10.5px; }
.form-row a, .link-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-error, .form-info, .form-success {
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 10.5px;
  line-height: 1.5;
}
.form-error { border: 1px solid rgba(255, 107, 129, 0.3); background: rgba(255, 107, 129, 0.09); color: #ffb3bd; }
.form-info { border: 1px solid rgba(37, 244, 238, 0.24); background: rgba(37, 244, 238, 0.06); color: #b6f7f4; }
.form-success { border: 1px solid rgba(61, 220, 151, 0.26); background: rgba(61, 220, 151, 0.08); color: #a9f2d0; }
.form-error[hidden], .form-info[hidden], .form-success[hidden] { display: none; }
.auth-tabs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: rgba(148, 163, 184, 0.04); }
.auth-tab { padding: 6px 11px; border: 0; border-radius: 6px; background: transparent; color: var(--muted-2); font-size: 10.5px; font-weight: 650; }
.auth-tab.is-active { background: rgba(254, 44, 85, 0.14); color: #ffc4ce; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.guest-card { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(148, 163, 184, 0.035); }
.guest-card .guest-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, rgba(254, 44, 85, 0.2), rgba(37, 244, 238, 0.14)); color: #fff; margin-bottom: 12px; }
.guest-card h3 { font-size: 14px; font-weight: 700; }
.guest-card p { margin-top: 5px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.guest-balance { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.guest-balance strong { font-family: var(--mono); font-size: 26px; color: var(--cyan); }
.guest-balance span { font-size: 10px; color: var(--muted-2); }
.danger-zone { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.danger-zone p { font-size: 10px; color: var(--muted-2); max-width: 36ch; line-height: 1.5; }
.settings-list { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--line); }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; background: #0b1322; font-size: 11px; }
.settings-row span { color: var(--muted-2); }
.settings-row strong { font-weight: 600; color: #d7e1ef; }

/* Billing */
.billing-plans { display: grid; gap: 7px; }
.billing-plan {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.03);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.billing-plan:hover { border-color: var(--line-2); }
.billing-plan.is-selected { border-color: rgba(254, 44, 85, 0.5); background: rgba(254, 44, 85, 0.07); }
.billing-plan input { width: 15px; height: 15px; accent-color: var(--pink); flex: none; }
.billing-plan-info { flex: 1; min-width: 0; }
.billing-plan-info b { display: block; font-size: 11.5px; font-weight: 650; }
.billing-plan-info small { display: block; font-size: 9.5px; color: var(--muted-2); }
.billing-plan-price { text-align: right; font-family: var(--mono); font-size: 11px; color: #d7e1ef; }
.billing-plan-price small { display: block; font-size: 8.5px; color: var(--muted-2); font-family: var(--font); }
.billing-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 8, 16, 0.4);
  font-size: 11px;
}
.billing-summary span { color: var(--muted-2); }
.billing-summary strong { font-family: var(--mono); }
.secure-note { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 10px; font-size: 9.5px; color: var(--muted-2); }
.secure-note .icon { width: 12px; height: 12px; color: var(--green); }

/* Preview */
.preview-modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}
.preview-media { display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 16px; background: #05080f; border-right: 1px solid var(--line); }
.preview-media video { max-height: 56vh; width: auto; max-width: 100%; border-radius: 10px; background: #000; }
.preview-media img { max-height: 56vh; width: auto; border-radius: 10px; }
.preview-side { padding: 18px 20px; }
.preview-side h3 { font-size: 13px; font-weight: 700; line-height: 1.4; word-break: break-word; }
.preview-side .new-name { margin-top: 5px; font-family: var(--mono); font-size: 9px; color: var(--green); word-break: break-all; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.preview-metric { padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(148, 163, 184, 0.03); }
.preview-metric span { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted-2); }
.preview-metric strong { display: block; margin-top: 2px; font-family: var(--mono); font-size: 15px; }
.preview-metric strong.ok { color: var(--green); }
.preview-metric strong.bad { color: var(--red); }
.preview-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 14px; }
.preview-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.preview-reasons { margin-top: 12px; display: grid; gap: 5px; }
.preview-reasons .reason-chip { font-size: 9.5px; width: fit-content; }
.preview-side .btn { margin-top: 16px; }
.preview-empty { padding: 36px 20px; text-align: center; color: var(--muted-2); font-size: 11px; }

/* Toasts ------------------------------------------------------------------ */
.toast-area {
  position: fixed;
  right: 16px;
  top: calc(var(--header-h) + 14px);
  max-height: calc(100vh - var(--header-h) - 30px);
  overflow-y: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(370px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(12, 20, 36, 0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  font-size: 11px;
  line-height: 1.45;
  color: #dbe4f1;
  pointer-events: auto;
  animation: toastIn 0.22s var(--ease);
}
.toast.is-leaving { animation: toastOut 0.18s ease-in forwards; }
.toast .toast-icon { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.toast--success { border-color: rgba(61, 220, 151, 0.3); }
.toast--success .toast-icon { color: var(--green); }
.toast--error { border-color: rgba(255, 107, 129, 0.34); }
.toast--error .toast-icon { color: var(--red); }
.toast--info .toast-icon { color: var(--cyan); }
.toast-text { flex: 1; min-width: 0; }
.toast-close { border: 0; background: none; color: var(--muted-2); padding: 0; width: 18px; height: 18px; display: grid; place-items: center; flex: none; }
.toast-close:hover { color: var(--text); }

/* Páginas legais ---------------------------------------------------------- */
.page-main { padding: 64px 0 88px; }
.page-head { max-width: 780px; margin-bottom: 34px; }
.page-head h1 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.045em; font-weight: 800; }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.legal-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 10.5px; color: var(--muted-2); }
.prose { max-width: 780px; font-size: 13.5px; line-height: 1.8; color: #c3cedf; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 38px; font-size: 20px; font-weight: 750; letter-spacing: -0.03em; color: var(--text); }
.prose h3 { margin-top: 24px; font-size: 14.5px; font-weight: 700; color: var(--text); }
.prose p { margin-top: 12px; }
.prose ul, .prose ol { margin-top: 12px; padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 6px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: #e8eef8; font-weight: 650; }
.prose .prose-note { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(148, 163, 184, 0.04); font-size: 12px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 11.5px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 650; }
.legal-toc { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(148, 163, 184, 0.03); }
.legal-toc h2 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 11px; list-style: decimal; }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--text); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted-2); margin-bottom: 18px; }
.back-link:hover { color: var(--text); }
.legal-footer-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted-2); }

/* 404 --------------------------------------------------------------------- */
.error-main { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; padding: 60px 0; text-align: center; }
.error-code { font-family: var(--mono); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(135deg, var(--pink), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-main h1 { margin-top: 8px; font-size: 27px; letter-spacing: -0.04em; }
.error-main p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.error-main .btn { margin-top: 22px; }

/* Animações --------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: fadeUp 0.6s var(--ease) forwards; }
.js .reveal.is-visible:nth-child(2) { animation-delay: 0.06s; }
.js .reveal.is-visible:nth-child(3) { animation-delay: 0.12s; }
.js .reveal.is-visible:nth-child(4) { animation-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; }
}

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 38px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 4.8vw, 3.4rem); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card--featured { order: -1; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-button { display: grid; }
  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-copy { text-align: left; }
  .hero-note { text-align: center; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .checks-panel { grid-template-columns: 1fr; gap: 22px; }
  .app-shell { border-radius: var(--radius-lg); }
  .app-body { padding: 16px; }
  .results-view { padding: 16px; }
  .preview-modal-grid { grid-template-columns: 1fr; }
  .preview-media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 220px; }
  .preview-side { max-height: none; }
  .preview-media video, .preview-media img { max-height: 42vh; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .container, .container--narrow { width: min(100% - 32px, var(--container)); }
  .section { padding: 64px 0; }
  .section--tight { padding: 44px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .controls-bar { grid-template-columns: 1fr; gap: 16px; }
  .estimate { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
  .estimate-cost { margin-top: 0; }
  .analyze-wrap .btn { width: 100%; }
  .results-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .results-actions { width: 100%; }
  .results-actions .btn { flex: 1; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card--featured { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .cta-band { padding: 28px 22px; }
  .app-topbar { padding: 12px 16px; }
  .app-top-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .modal-body { padding: 16px; }
  .modal-head, .modal-foot { padding-inline: 16px; }
  .checks-list { grid-template-columns: 1fr; }
  .hero-meta { gap: 7px 14px; }
  .float-chip--top { top: -12px; left: -6px; }
  .float-chip--bottom { right: -2px; bottom: -12px; }
  .account-name { display: none; }
  .hero-visual { margin-top: 8px; padding: 46px 0 44px; }
  .float-chip--top { top: 0; left: 4px; }
  .float-chip--bottom { bottom: 0; right: 4px; }
  .page-main { padding: 44px 0 64px; }
}

@media (max-width: 520px) {
  .header-actions { gap: 6px; }
  .credits-pill { padding-left: 9px; gap: 6px; }
  .credits-pill .credits-label { display: none; }
  .account-button { padding-right: 5px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 28px; height: 28px; }
  .hero-copy h1 { font-size: 2.25rem; }
  .hero-copy > p { font-size: 14.5px; }
  .hero-ctas .btn { width: 100%; }
  .trust-item { padding: 15px 14px; }
  .panel { padding: 14px; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
  .results-head { gap: 12px; }
  .results-actions .btn { flex: 1 1 100%; }
  .result-card { flex-direction: column; min-height: 0; }
  .result-thumb { width: 100%; min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .result-thumb img { position: static; }
  .result-thumb .badge { font-size: 9px; padding: 4px 7px; }
  .result-body { padding: 12px; }
  .billing-plan { padding: 9px; }
  .footer-bottom { flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .announcement { font-size: 11px; }
  .announcement .container { padding-right: 26px; }
  .toast-area { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
}

@media print {
  body { background: #fff; color: #111; }
  body::before, body::after, .site-header, .site-footer, .announcement, .app-topbar, .app-top-actions, .results-actions, .filters, .toast-area, .hero, .trust-strip, .section:not(.app-section) { display: none !important; }
  .app-shell, .result-card, .stat { border-color: #ddd; background: #fff; box-shadow: none; }
  .result-card { break-inside: avoid; }
}
