/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:        #0d0f14;
  --bg-card:   #161a23;
  --bg-header: #10131a;
  --accent:    #4f8ef7;
  --accent2:   #7c3aed;
  --text:      #e4e6ee;
  --text-muted:#8a8fa8;
  --border:    #1f2437;
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.logo-icon { font-size: 1.5rem; }

.logo-text strong { color: var(--accent); }

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1.25rem 1rem;
  gap: 0.75rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #1a1f35 0%, var(--bg) 70%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary, a.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ===== FEATURES ===== */
.features {
  padding: 4rem 0;
}

.features h2 {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ===== TOOL BUTTONS (hero tabs) ===== */
.btn-tool {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-tool:hover {
  border-color: var(--accent);
  color: var(--text);
}

.btn-tool.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== TOOL PANELS ===== */
.tool-panel[hidden] { display: none !important; }

/* ===== SPEED TEST ===== */
.speed-info-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.speed-info-card {
  flex: 1;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.si-icon  { font-size: 1.4rem; }
.si-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.si-val   { font-size: 0.95rem; font-weight: 600; color: var(--text); word-break: break-all; }

/* Pulsing start button */
.speed-start-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 0;
}

.speed-start-btn {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, opacity 0.2s;
  animation: speedPulse 2s ease-in-out infinite;
  box-shadow: 0 4px 24px rgba(79,142,247,0.35);
}

.speed-start-btn:hover {
  transform: scale(1.06);
  animation: none;
  box-shadow: 0 6px 32px rgba(79,142,247,0.5);
}

@keyframes speedPulse {
  0%   { box-shadow: 0 0 0 0   rgba(79,142,247,0.45); }
  70%  { box-shadow: 0 0 0 26px rgba(79,142,247,0);   }
  100% { box-shadow: 0 0 0 0   rgba(79,142,247,0);    }
}

.speed-hint { color: var(--text-muted); font-size: 0.9rem; }

/* Progress */
.speed-testing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.speed-progress-bar {
  width: 100%;
  max-width: 340px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.speed-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.5s ease;
  border-radius: 3px;
}

/* Results */
.speed-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 2rem;
}

.speed-metrics {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.speed-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.speed-metric-icon { font-size: 2rem; }
.speed-metric-val  { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.speed-metric-unit { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.speed-metric-lbl  { font-size: 0.88rem; color: var(--text-muted); font-weight: 600; }

.speed-metric.download .speed-metric-val { color: #4ade80; }
.speed-metric.upload   .speed-metric-val { color: #60a5fa; }
.speed-metric.ping-m   .speed-metric-val { color: #facc15; }

/* ===== SPY CHECKER ===== */
.spy-status-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.spy-card {
  flex: 1;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  transition: border-color 0.3s;
}

.spy-card.safe    { border-color: #22c55e; background: rgba(34,197,94,0.04); }
.spy-card.warning { border-color: #f59e0b; background: rgba(245,158,11,0.04); }
.spy-card.danger  { border-color: #ef4444; background: rgba(239,68,68,0.04); }

.spy-icon   { font-size: 2.5rem; }
.spy-label  { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.spy-status { font-size: 1rem; font-weight: 600; }

.spy-badge { font-size: 0.75rem; padding: 0.2rem 0.7rem; border-radius: 999px; font-weight: 700; letter-spacing: 0.04em; }
.spy-badge.granted { background: rgba(245,158,11,0.15); color: #f59e0b; }
.spy-badge.denied  { background: rgba(34,197,94,0.15);  color: #22c55e; }
.spy-badge.prompt  { background: rgba(100,116,139,0.15); color: #94a3b8; }

.spy-devices {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.spy-devices-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.spy-device-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.spy-device-item:last-child { border-bottom: none; }
.spy-device-icon { font-size: 1.15rem; }

.spy-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.spy-cam-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.spy-cam-preview video {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #000;
}

.spy-mic-monitor { margin-bottom: 1.25rem; }

.spy-mic-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.spy-mic-bar {
  width: 100%;
  max-width: 320px;
  height: 12px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.spy-mic-level {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22c55e, #facc15, #ef4444);
  border-radius: 6px;
  transition: width 0.08s;
}

.spy-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ===== PARTNERS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.partner-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.partner-logo { font-size: 2.5rem; margin-bottom: 0.75rem; }
.partner-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.partner-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.partner-cta {
  text-align: center;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
}

.partner-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* ===== VERIFICAR MÍDIA ===== */
.midia-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.midia-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.midia-error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius);
  color: #ef4444;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.midia-sec-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.midia-sec-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.midia-sec-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.midia-sec-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.midia-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  resize: vertical;
  min-height: 120px;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
  outline: none;
}

.midia-textarea:focus { border-color: var(--accent); }

.midia-char-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 1rem;
}

.midia-loader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Fact-check result */
.fact-verdict-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1.25rem 0;
  transition: border-color 0.3s, background 0.3s;
}

.fact-verdict-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fact-verdict-badge {
  display: inline-block;
  padding: 0.3rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(100,116,139,0.15);
  color: var(--text-muted);
}

.fact-confidence-wrap { margin-bottom: 1rem; }

.fact-confidence-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.fact-confidence-bar {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.fact-confidence-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease, background 0.3s;
}

.fact-summary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.fact-detail {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.fact-sources {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.fact-sources h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.fact-sources ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.fact-sources li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.fact-sources a { color: var(--accent); text-decoration: none; }
.fact-sources a:hover { text-decoration: underline; }

/* Image detection tabs */
.midia-img-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.midia-tab {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.midia-tab:hover { border-color: var(--accent); color: var(--text); }

.midia-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.midia-input-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.midia-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.midia-input:focus { border-color: var(--accent); }

.midia-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.midia-dropzone.drag-over {
  border-color: var(--accent);
  background: rgba(79,142,247,0.05);
}

.midia-drop-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.midia-drop-hint { font-size: 0.8rem; margin-top: 0.4rem; }

.midia-drop-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: inherit;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
}

/* Image result */
.img-result-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.img-preview {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.ai-score-section {
  flex: 1;
  min-width: 200px;
}

.ai-score-bar-wrap { margin-bottom: 1rem; }

.ai-score-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.ai-score-bar {
  width: 100%;
  height: 14px;
  background: var(--border);
  border-radius: 7px;
  overflow: hidden;
}

.ai-score-fill {
  height: 100%;
  border-radius: 7px;
  transition: width 0.7s ease, background 0.3s;
}

.ai-verdict-badge {
  display: inline-block;
  padding: 0.35rem 1.25rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
  margin-bottom: 0.75rem;
}

.ai-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== URL SHIELD OVERLAY ===== */
.shield-overlay {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.shield-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(79,142,247,0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s, border-color 0.3s;
  animation: shieldPulse 3s ease-in-out infinite;
}

.shield-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(79,142,247,0.6);
  animation: none;
}

@keyframes shieldPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(79,142,247,0.35); }
  50%       { box-shadow: 0 4px 28px rgba(79,142,247,0.65), 0 0 0 6px rgba(79,142,247,0.12); }
}

.shield-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.shield-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.shield-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.shield-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
  line-height: 1;
}

.shield-close:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.shield-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.shield-input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.6rem 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.shield-input:focus { border-color: var(--accent); }

.shield-loader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.shield-result { padding-top: 0.25rem; }

.shield-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.shield-verdict {
  font-size: 1rem;
  font-weight: 700;
}

.shield-score {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.shield-risks { margin-top: 0.25rem; }

.shield-risk-item {
  font-size: 0.8rem;
  padding: 0.18rem 0;
  line-height: 1.45;
}

.shield-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
  line-height: 1.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: block; }

  .hero { padding: 3.5rem 0 3rem; }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .midia-section { padding: 1.25rem; }

  .speed-metrics { gap: 1.5rem; }

  .img-result-inner { gap: 1rem; }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5rem;
  }

  .btn-tool {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    max-width: 280px;
  }

  .midia-section { padding: 1rem; }

  .midia-input-row { flex-direction: column; }
  .midia-input-row .btn-primary { width: 100%; justify-content: center; }

  .img-preview {
    width: 100%;
    height: 200px;
  }

  .ai-score-section { min-width: 100%; }

  .speed-metric-val { font-size: 2.2rem; }

  .fact-verdict-icon { font-size: 2rem; }

  .spy-card { min-width: 130px; }

  .shield-overlay { bottom: 1rem; right: 1rem; }
  .shield-panel { width: calc(100vw - 2rem); }
}
