@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&family=Fira+Code:wght@300;400;500&display=swap');

:root {
  --bg: #0a0d14;
  --surface: #0f1420;
  --card: #141924;
  --card-hover: #1a2133;
  --border: #1e2a40;
  --border-glow: rgba(245,158,11,0.3);
  --amber: #f59e0b;
  --amber-dim: #b45309;
  --amber-glow: rgba(245,158,11,0.12);
  --green: #22c55e;
  --green-dim: #16a34a;
  --red: #ef4444;
  --red-dim: #b91c1c;
  --blue: #3b82f6;
  --purple: #a78bfa;
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --font-ui: 'Exo 2', sans-serif;
  --font-mono: 'Fira Code', monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-amber: 0 0 30px rgba(245,158,11,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245,158,11,0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,13,20,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo .fred-icon {
  width: 32px; height: 32px;
}
.nav-logo span em {
  color: var(--amber);
  font-style: normal;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--amber);
  background: var(--amber-glow);
}
.nav-spacer { flex: 1; }
.nav-cta {
  background: var(--amber);
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #fbbf24; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.fred-mascot {
  display: inline-block;
  margin-bottom: 2rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.hero h1 .highlight { color: var(--amber); }
.hero p {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-input {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-input:focus-within {
  border-color: var(--amber);
  box-shadow: var(--shadow-amber);
}
.hero-input input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.85rem 1.25rem;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.hero-input input::placeholder { color: var(--text-muted); }
.hero-input button {
  background: var(--amber);
  border: none;
  padding: 0.85rem 1.5rem;
  color: #000;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.hero-input button:hover { background: #fbbf24; }

/* ─── TOOLS GRID ─── */
.section { padding: 4rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.section-heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.tool-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}
.tool-card:hover::before { opacity: 1; }
.tool-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--amber-glow);
  border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  position: relative; z-index: 1;
}
.tool-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.tool-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  position: relative; z-index: 1;
}
.tool-card .tool-arrow {
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative; z-index: 1;
}

/* ─── TOOL PAGE ─── */
.tool-page { padding: 3rem 2rem; }
.tool-page-inner { max-width: 860px; margin: 0 auto; }
.tool-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.tool-header .tool-icon-lg {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--amber-glow);
  border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.tool-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.tool-header p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--border); }

/* ─── FORM ─── */
.tool-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 200px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-control {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-control:focus { border-color: var(--amber); }
select.form-control { cursor: pointer; }
.btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #000;
}
.btn-primary:hover { background: #fbbf24; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ─── RESULTS ─── */
.results-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 120px;
}
.results-panel.has-results { border-color: var(--border-glow); }
.results-header {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
}
.results-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.results-meta {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.results-body { padding: 1.25rem; }
.results-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.results-empty .empty-icon { font-size: 2rem; opacity: 0.4; }

/* Terminal output */
.terminal {
  background: #050810;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}
.terminal .t-prompt { color: var(--amber); }
.terminal .t-ok { color: var(--green); }
.terminal .t-fail { color: var(--red); }
.terminal .t-warn { color: #fb923c; }
.terminal .t-info { color: var(--blue); }
.terminal .t-dim { color: var(--text-muted); }
.terminal .t-val { color: var(--text); }

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-ok { background: rgba(34,197,94,0.12); color: var(--green); border: 1px solid rgba(34,197,94,0.25); }
.badge-fail { background: rgba(239,68,68,0.12); color: var(--red); border: 1px solid rgba(239,68,68,0.25); }
.badge-warn { background: rgba(251,146,60,0.12); color: #fb923c; border: 1px solid rgba(251,146,60,0.25); }
.badge-info { background: rgba(59,130,246,0.12); color: var(--blue); border: 1px solid rgba(59,130,246,0.25); }
.badge-neutral { background: rgba(100,116,139,0.12); color: var(--text-muted); border: 1px solid rgba(100,116,139,0.2); }

/* Result table */
.result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.result-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.result-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid rgba(30,42,64,0.5);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  vertical-align: middle;
  word-break: break-all;
}
.result-table tr:last-child td { border-bottom: none; }
.result-table tr:hover td { background: rgba(245,158,11,0.03); }

/* Progress/Loading */
.scan-progress {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}
.scan-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.scan-bar-track {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.scan-bar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 99px;
  transition: width 0.6s ease;
  width: 0;
}
.scan-bar-fill.done { background: var(--green); }
.scan-bar-fill.fail { background: var(--red); }
.scan-bar-label { min-width: 100px; color: var(--text-dim); }
.scan-bar-status { min-width: 60px; text-align: right; font-family: var(--font-mono); }

/* Loading spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

/* Score circle */
.score-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  border: 3px solid;
  flex-shrink: 0;
}
.score-circle .score-label { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.score-good { border-color: var(--green); color: var(--green); }
.score-warn { border-color: #fb923c; color: #fb923c; }
.score-bad { border-color: var(--red); color: var(--red); }

/* ─── ABOUT SECTION ─── */
.about-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.about-box h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.about-box p, .about-box li {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.about-box ul { padding-left: 1.2rem; margin-top: 0.5rem; }
.about-box li { margin-bottom: 0.3rem; }

/* ─── BLOG ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.blog-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
.blog-card .blog-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.blog-card .blog-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Blog post */
.blog-post { max-width: 740px; margin: 0 auto; padding: 3rem 2rem; }
.blog-post h1 { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.5rem; line-height: 1.2; }
.blog-post .post-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2rem; }
.blog-post h2 { font-size: 1.35rem; font-weight: 600; margin: 2rem 0 0.75rem; letter-spacing: -0.02em; }
.blog-post h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text-dim); }
.blog-post p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 1rem; }
.blog-post ul, .blog-post ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-post li { font-size: 0.95rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 0.3rem; }
.blog-post code { font-family: var(--font-mono); font-size: 0.85rem; background: var(--card); padding: 0.15rem 0.4rem; border-radius: 3px; color: var(--amber); }
.blog-post pre { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin: 1rem 0; overflow-x: auto; }
.blog-post pre code { background: none; padding: 0; color: var(--green); font-size: 0.85rem; }
.blog-post .callout { background: var(--amber-glow); border: 1px solid var(--border-glow); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.blog-post .callout p { color: var(--text); margin: 0; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.footer-brand h3 em { color: var(--amber); font-style: normal; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.875rem; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* ─── UTILITIES ─── */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.text-amber { color: var(--amber); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.wrap { flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.stat-box .stat-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.stat-box .stat-val { font-family: var(--font-mono); font-size: 0.95rem; word-break: break-all; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

/* ─── BLACKLIST TABLE ─── */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.bl-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}
.bl-item.listed {
  border-color: var(--red-dim);
  background: rgba(239,68,68,0.06);
}
.bl-item.clean { }
.bl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bl-dot-clean { background: var(--green); }
.bl-dot-listed { background: var(--red); }
.bl-dot-checking { background: var(--amber); animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ─── PROPAGATION MAP ─── */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.prop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
}
.prop-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.prop-card .resolver { font-weight: 600; color: var(--text-dim); }
.prop-card .prop-values { font-family: var(--font-mono); color: var(--text-muted); word-break: break-all; margin-top: 0.25rem; font-size: 0.78rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .tool-header { flex-direction: column; gap: 0.75rem; }
}

/* Fade-in animation for results */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.3s ease forwards; }

/* Alert boxes */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.alert-ok { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); color: var(--green); }
.alert-warn { background: rgba(251,146,60,0.08); border: 1px solid rgba(251,146,60,0.2); color: #fb923c; }
.alert-fail { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: var(--red); }
.alert-info { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: var(--blue); }
