/* ═══════════════════════════════════════════════════════════════
   NexusScan · styles.css
   Top 1% Cybersecurity SaaS — Dark / Hacker Terminal Aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --bg-void:       #030609;
  --bg-deep:       #07101a;
  --bg-surface:    #0c1824;
  --bg-card:       rgba(12, 26, 40, 0.85);
  --bg-card-hover: rgba(18, 34, 52, 0.9);

  --accent:        #00ffa3;
  --accent-dim:    rgba(0, 255, 163, 0.15);
  --accent-glow:   rgba(0, 255, 163, 0.4);
  --cyan:          #00d4ff;
  --cyan-dim:      rgba(0, 212, 255, 0.12);

  --red:           #ff4d6d;
  --red-dim:       rgba(255, 77, 109, 0.15);
  --orange:        #ff9a3c;
  --orange-dim:    rgba(255, 154, 60, 0.15);
  --yellow:        #ffe03a;

  --text-primary:  #e8f4f0;
  --text-secondary:#7a9bb0;
  --text-muted:    #3d5a6e;

  --border:        rgba(0, 255, 163, 0.12);
  --border-strong: rgba(0, 255, 163, 0.25);

  --font-display:  'Syne', sans-serif;
  --font-mono:     'Space Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-display);
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; }

/* ── CANVAS BACKGROUND ── */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: rgba(3, 6, 9, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.logo-accent { color: var(--accent); }

.header-nav {
  display: flex;
  gap: 2rem;
}
.header-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: pointer;
}
.header-nav a:hover { color: var(--accent); }

/* ── MAIN SECTIONS ── */
main { position: relative; z-index: 1; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px clamp(1rem, 5vw, 3rem) 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeSlideDown 0.6s var(--ease-out-expo) both;
  background: rgba(0,255,163,0.05);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  animation: fadeSlideDown 0.65s 0.1s var(--ease-out-expo) both;
}
.hero-accent {
  background: linear-gradient(120deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  max-width: 580px;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  animation: fadeSlideDown 0.7s 0.18s var(--ease-out-expo) both;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCANNER CARD ── */
.scanner-card {
  width: 100%;
  max-width: 700px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(30px);
  box-shadow:
    0 0 0 1px rgba(0,255,163,0.05) inset,
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,255,163,0.08);
  animation: fadeSlideUp 0.75s 0.25s var(--ease-out-expo) both;
  overflow: hidden;
}

.scanner-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.6;
}
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }
.terminal-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-left: 4px;
}

.input-row {
  display: flex;
  gap: 10px;
  padding: 20px;
  padding-bottom: 0;
}
.input-wrap {
  flex: 1;
  position: relative;
}
.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
#urlInput {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 44px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
#urlInput::placeholder { color: var(--text-muted); }
#urlInput:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 20px var(--accent-dim);
}

.btn-scan {
  height: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #000;
  background: linear-gradient(135deg, var(--accent), #00d4a0);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-scan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,255,163,0.35);
}
.btn-scan:active { transform: translateY(0); }
.btn-scan:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.input-hint {
  padding: 10px 20px 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.hint-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0 2px;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.hint-btn:hover { text-decoration-color: var(--accent); }

/* ── LOADING STATE ── */
.loading-state {
  padding: 24px 20px;
  border-top: 1px solid var(--border);
}
.progress-bar-wrap {
  height: 3px;
  background: rgba(0,255,163,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 99px;
  transition: width 0.6s var(--ease-out-expo);
  box-shadow: 0 0 10px var(--accent-glow);
}
.scan-steps { display: flex; flex-direction: column; gap: 10px; }
.scan-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.scan-step.active { color: var(--accent); }
.scan-step.done { color: var(--text-secondary); }
.step-icon {
  font-size: 0.9rem;
  width: 16px;
  display: inline-block;
  text-align: center;
  transition: transform 0.3s;
}
.scan-step.active .step-icon { animation: spinStep 1.5s linear infinite; }
.scan-step.done .step-icon { content: '✓'; }
@keyframes spinStep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── RESULT CONTAINER ── */
.result-container {
  border-top: 1px solid var(--border);
  animation: fadeSlideUp 0.5s var(--ease-out-expo) both;
}

/* ── VERDICT BANNER ── */
.verdict-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}
.verdict-icon {
  font-size: 2rem;
  width: 44px;
  text-align: center;
}
.verdict-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.verdict-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.verdict-text.safe    { color: var(--accent); }
.verdict-text.low     { color: #8fff6e; }
.verdict-text.medium  { color: var(--orange); }
.verdict-text.high    { color: #ff7f50; }
.verdict-text.critical{ color: var(--red); }

/* Gauge */
.verdict-score-wrap {
  position: relative;
  width: 80px; height: 80px;
  flex-shrink: 0;
}
.gauge-svg { width: 100%; height: 100%; }
.gauge-bg  { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 7; }
.gauge-fill{ fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease-out-expo), stroke 0.5s; }
.gauge-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}
.gauge-label span {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}
.gauge-label small {
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── STATS ROW ── */
.stats-row {
  display: flex;
  gap: 1px;
  border-bottom: 1px solid var(--border);
  background: var(--border);
}
.stat-chip {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* ── ANALYSIS BLOCK ── */
.analysis-block {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.block-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.findings-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-strong);
}
.analysis-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-wrap;
}
.tech-findings {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
}
.finding-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.55;
  border: 1px solid transparent;
}
.finding-item.critical { background: var(--red-dim); border-color: rgba(255,77,109,0.2); color: #ffb3c0; }
.finding-item.warning  { background: var(--orange-dim); border-color: rgba(255,154,60,0.2); color: #ffd0a0; }
.finding-item.info     { background: var(--cyan-dim); border-color: rgba(0,212,255,0.15); color: #a0d8ff; }
.finding-item.ok       { background: rgba(0,255,163,0.06); border-color: rgba(0,255,163,0.15); color: #a0ffe0; }
.finding-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.finding-item.critical .finding-dot { background: var(--red); }
.finding-item.warning  .finding-dot { background: var(--orange); }
.finding-item.info     .finding-dot { background: var(--cyan); }
.finding-item.ok       .finding-dot { background: var(--accent); }

/* ── RESULT ACTIONS ── */
.result-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
}
.btn-secondary {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── ERROR CONTAINER ── */
.error-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--red);
  animation: shake 0.4s var(--ease-spring);
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: 20px 28px;
  background: rgba(12,26,40,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  animation: fadeSlideUp 0.8s 0.35s var(--ease-out-expo) both;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-desc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}

/* ── SECTION SHARED ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px clamp(1rem, 5vw, 3rem);
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.5rem;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  gap: 1rem;
}



/* ── HOW IT WORKS ── */
.how-section { border-top: 1px solid var(--border); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 2.5rem;
}
.step-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.2s;
}
.step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.step-card code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 1px 5px;
  border-radius: 4px;
}
.explainer-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.explainer-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 760px;
}

/* ── HISTORY ── */
.history-section { border-top: 1px solid var(--border); }
.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}
.history-empty svg { opacity: 0.3; }
.history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.history-item:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.history-score {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.history-score.safe     { background: rgba(0,255,163,0.12); color: var(--accent); }
.history-score.low      { background: rgba(142,255,110,0.12); color: #8fff6e; }
.history-score.medium   { background: var(--orange-dim); color: var(--orange); }
.history-score.high     { background: rgba(255,127,80,0.12); color: #ff7f50; }
.history-score.critical { background: var(--red-dim); color: var(--red); }
.history-url { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-secondary); }
.history-verdict { color: var(--text-muted); font-size: 0.65rem; white-space: nowrap; }
.history-date { color: var(--text-muted); font-size: 0.62rem; white-space: nowrap; }
.btn-ghost {
  padding: 8px 16px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--red); border-color: var(--red); background: var(--red-dim); }



/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px clamp(1rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  z-index: 1;
}
.footer-inner { max-width: 700px; margin: 0 auto; }
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-developers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}
.footer-developers p {
  color: var(--text-muted);
  margin: 0;
}
.footer-developers a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-developers a:hover {
  color: var(--cyan);
  text-decoration: underline;
}
.footer-developers .separator {
  color: var(--text-muted);
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ── HIDDEN ── */
.hidden { display: none !important; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════ RESPONSIVE ══════════════════ */

/* Tablet */
@media (max-width: 768px) {
  h1 { font-size: clamp(2rem, 8vw, 3rem); }

  .header-nav { gap: 1.2rem; }
  .header-nav a { font-size: 0.65rem; }

  .hero { padding: 90px 1rem 50px; }
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    padding: 16px 20px;
  }
  .stat-divider { display: none; }

  .input-row { flex-direction: column; }
  .btn-scan { height: 46px; justify-content: center; }

  .verdict-banner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .verdict-score-wrap {
    grid-column: 1 / -1;
    width: 70px; height: 70px;
    justify-self: end;
    grid-row: 1;
    grid-column: 3;
  }

  .steps-grid { grid-template-columns: 1fr; }

  .section-header-row { flex-direction: column; align-items: flex-start; }
}

/* Mobile */
@media (max-width: 480px) {
  .header-nav { display: none; }

  .hero-badge { font-size: 0.6rem; }

  .scanner-card { border-radius: var(--radius-md); }

  .stats-row { flex-direction: column; }

  .result-actions { flex-direction: column; }

  .hero-stats {
    gap: 1rem;
    border-radius: var(--radius-md);
    padding: 14px 16px;
  }
  .stat-num { font-size: 1.25rem; }

  .verdict-banner {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .verdict-score-wrap {
    display: none;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
