/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-card: #1c2128;
  --bg-input: #0d1117;
  --border: #30363d;
  --border-focus: #4f6ef7;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --accent: #4f6ef7;
  --accent-hover: #6b86ff;
  --accent-glow: rgba(79,110,247,0.18);
  --success: #3fb950;
  --warning: #d29922;
  --danger: #f85149;
  --info: #58a6ff;
  --gradient-hero: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-btn: 0 2px 12px rgba(79,110,247,0.35);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 64px;
}

[data-theme="light"] {
  --bg-primary: #f6f8fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --border: #d0d7de;
  --border-focus: #4f6ef7;
  --text-primary: #1f2328;
  --text-secondary: #57606a;
  --text-muted: #8c959f;
  --accent: #4f6ef7;
  --accent-hover: #3a59e0;
  --accent-glow: rgba(79,110,247,0.12);
  --gradient-hero: linear-gradient(135deg, #eef2ff 0%, #f6f8fa 50%, #eef2ff 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-btn: 0 2px 12px rgba(79,110,247,0.25);
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.25; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ── Utility ───────────────────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Cookie Banner ─────────────────────────────────────────────────────────── */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
#cookieBanner p { font-size: 13px; color: var(--text-secondary); flex: 1; min-width: 200px; }
#cookieBanner p a { color: var(--accent); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.btn-cookie {
  padding: 7px 18px; border-radius: var(--radius-xs); border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: var(--font-body);
  transition: opacity 0.2s;
}
.btn-cookie:hover { opacity: 0.85; }
.btn-cookie-accept { background: var(--accent); color: #fff; }
.btn-cookie-dismiss { background: var(--border); color: var(--text-primary); }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  color: var(--text-primary); text-decoration: none; white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand span { color: var(--accent); }
.nav-brand:hover { text-decoration: none; color: var(--text-primary); }

.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
  flex: 1; justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  padding: 8px 12px; border-radius: var(--radius-xs);
  font-size: 13.5px; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s, background 0.2s; white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.nav-links > li > a:hover, .nav-links > li > a.active {
  color: var(--text-primary); background: var(--bg-card); text-decoration: none;
}
.nav-links > li > a .chevron { font-size: 10px; transition: transform 0.2s; }
.nav-links > li:hover > a .chevron { transform: rotate(180deg); }

/* Mega dropdown */
.mega-dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 16px; min-width: 540px; z-index: 200;
}
.nav-links > li:hover .mega-dropdown { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.mega-dropdown a {
  display: block; padding: 5px 8px; border-radius: var(--radius-xs);
  font-size: 12.5px; color: var(--text-secondary); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.mega-dropdown a:hover { background: var(--bg-secondary); color: var(--text-primary); text-decoration: none; }
.mega-label {
  font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0 8px 4px; grid-column: 1/-1; margin-top: 4px;
}

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.theme-btn {
  background: none; border: 1px solid var(--border); cursor: pointer;
  padding: 6px 10px; border-radius: var(--radius-xs);
  color: var(--text-secondary); font-size: 16px; line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: var(--nav-height) 0 0 0; z-index: 999;
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  overflow-y: auto; padding: 16px 20px 40px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu > ul > li > a {
  display: block; padding: 11px 0; font-size: 15px; font-weight: 600;
  color: var(--text-primary); border-bottom: 1px solid var(--border);
}
.mobile-sub { padding: 8px 0 4px; }
.mobile-sub-label {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 0 4px;
}
.mobile-sub a {
  display: block; padding: 6px 0; font-size: 13px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.mobile-sub a:hover { color: var(--accent); }

/* ── Breadcrumb ────────────────────────────────────────────────────────────── */
.breadcrumb {
  padding: 12px 0; font-size: 12.5px; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-secondary); }
.breadcrumb .sep { margin: 0 6px; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, var(--accent-glow), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-glow); border: 1px solid rgba(79,110,247,0.3);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 20px;
  font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px); font-weight: 800;
  color: var(--text-primary); margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: clamp(15px, 2vw, 18px); color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 36px;
}

/* ── Tool Form Card ────────────────────────────────────────────────────────── */
.tool-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-card); max-width: 700px; margin: 0 auto;
}
.input-group {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.input-wrap { flex: 1; min-width: 200px; position: relative; }
.domain-input {
  width: 100%; padding: 13px 16px 13px 42px;
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-size: 15px; font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.domain-input::placeholder { color: var(--text-muted); }
.domain-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px var(--accent-glow); }
.domain-input.error { border-color: var(--danger); }
.domain-input.valid { border-color: var(--success); }
.input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 17px; pointer-events: none;
}
.input-feedback {
  font-size: 12px; margin-top: 5px; min-height: 18px;
  display: flex; align-items: center; gap: 4px;
}
.input-feedback.error { color: var(--danger); }
.input-feedback.success { color: var(--success); }

.btn-lookup {
  padding: 13px 28px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  font-size: 15px; font-weight: 700; font-family: var(--font-display);
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
  white-space: nowrap; display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.btn-lookup:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); }
.btn-lookup:active:not(:disabled) { transform: translateY(0); }
.btn-lookup:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-spinner {
  display: none; width: 16px; height: 16px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Stats Bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px;
  padding: 14px 18px; background: var(--bg-secondary);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 15px; font-weight: 700; color: var(--text-primary); font-family: var(--font-display); }
.stat-value.ip { font-family: monospace; font-size: 13px; }

/* ── Error Alert ───────────────────────────────────────────────────────────── */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  margin-top: 16px; font-size: 14px;
}
.alert-danger { background: rgba(248,81,73,0.1); border: 1px solid rgba(248,81,73,0.3); color: #f85149; }
.alert-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ── Results Section ───────────────────────────────────────────────────────── */
#results { scroll-margin-top: 80px; }
.results-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 20px;
}
.results-title { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.action-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-action {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-action:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tab-btn {
  padding: 5px 14px; border-radius: 99px;
  border: 1px solid var(--border); background: none;
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Record tables */
.record-section { margin-bottom: 16px; }
.record-section-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.record-type-badge {
  padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  font-family: var(--font-display);
}
.badge-a     { background: rgba(63,185,80,0.15);  color: #3fb950; }
.badge-aaaa  { background: rgba(88,166,255,0.15); color: #58a6ff; }
.badge-mx    { background: rgba(79,110,247,0.15); color: #4f6ef7; }
.badge-ns    { background: rgba(210,153,34,0.15); color: #d29922; }
.badge-txt   { background: rgba(248,81,73,0.15);  color: #f85149; }
.badge-cname { background: rgba(188,140,255,0.15);color: #bc8cff; }
.badge-soa   { background: rgba(255,166,66,0.15); color: #ffa742; }
.badge-srv   { background: rgba(56,204,204,0.15); color: #38cccc; }
.badge-caa   { background: rgba(241,127,145,0.15);color: #f17f91; }
.badge-default { background: var(--border); color: var(--text-muted); }

.record-count { font-size: 12px; color: var(--text-muted); }

.records-table { width: 100%; border-collapse: collapse; }
.records-table th, .records-table td {
  padding: 10px 12px; text-align: left; font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.records-table th {
  background: var(--bg-secondary); color: var(--text-muted);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.records-table td { color: var(--text-primary); word-break: break-word; }
.records-table tr:last-child td { border-bottom: none; }
.records-table tr:hover td { background: var(--bg-secondary); }
.records-table .mono { font-family: monospace; font-size: 12.5px; }
.ttl-chip {
  display: inline-block; padding: 2px 8px;
  background: var(--bg-secondary); border-radius: 99px;
  font-size: 11.5px; font-weight: 600; color: var(--text-muted);
  font-family: monospace;
}
.txt-value {
  font-family: monospace; font-size: 12px;
  word-break: break-all;
}

.record-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 12px;
}

/* ── Share / Feedback ──────────────────────────────────────────────────────── */
.post-results {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.post-results-label { font-size: 13px; color: var(--text-muted); }
.btn-share, .btn-feedback {
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 6px; font-family: var(--font-body);
  transition: opacity 0.2s, transform 0.15s;
}
.btn-share { background: var(--accent); color: #fff; border: none; }
.btn-feedback { background: none; border: 1px solid var(--border); color: var(--text-secondary); }
.btn-share:hover, .btn-feedback:hover { opacity: 0.85; transform: translateY(-1px); }

/* Share modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; max-width: 400px; width: 90%;
}
.modal-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.modal-close { float: right; background: none; border: none; cursor: pointer; font-size: 20px; color: var(--text-muted); line-height: 1; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.btn-share-opt {
  padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: none; color: var(--text-primary); font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font-body); transition: background 0.2s, border-color 0.2s;
}
.btn-share-opt:hover { background: var(--bg-secondary); border-color: var(--accent); }

/* ── Sections ──────────────────────────────────────────────────────────────── */
section { padding: 72px 0; }
.section-label {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 3.5vw, 36px); font-weight: 800;
  color: var(--text-primary); margin-bottom: 14px; letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 15px; color: var(--text-secondary); max-width: 560px;
}

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--text-secondary); }

/* How it works */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; position: relative;
  text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-glow); border: 2px solid rgba(79,110,247,0.4);
  color: var(--accent); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--text-secondary); }

/* Info article */
.info-section { background: var(--bg-secondary); }
.info-article {
  max-width: 780px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  font-size: 15px; line-height: 1.75; color: var(--text-secondary);
}
.info-article h2 { font-size: 20px; color: var(--text-primary); margin-bottom: 12px; }
.info-article h3 { font-size: 16px; color: var(--text-primary); margin: 18px 0 8px; }
.info-article p { margin-bottom: 14px; }

/* FAQ */
.faq-section { background: var(--bg-primary); }
.faq-list { max-width: 720px; margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  width: 100%; padding: 16px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-size: 14.5px; font-weight: 600; color: var(--text-primary);
  font-family: var(--font-body);
}
.faq-q .faq-chevron { font-size: 12px; color: var(--text-muted); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 20px 16px; font-size: 14px;
  color: var(--text-secondary); line-height: 1.65;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; padding-top: 14px; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #6b86ff 100%);
  text-align: center; padding: 72px 0;
}
.cta-section h2 { color: #fff; font-size: clamp(22px, 4vw, 36px); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-w {
  padding: 12px 28px; border-radius: var(--radius-sm);
  background: #fff; color: var(--accent); border: none;
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--font-display);
  text-decoration: none; display: inline-block; transition: opacity 0.2s, transform 0.15s;
}
.btn-cta-w:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; color: var(--accent); }
.btn-cta-o {
  padding: 12px 28px; border-radius: var(--radius-sm);
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6);
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--font-display);
  text-decoration: none; display: inline-block; transition: border-color 0.2s, transform 0.15s;
}
.btn-cta-o:hover { border-color: #fff; transform: translateY(-1px); text-decoration: none; color: #fff; }

/* Related tools strip */
.related-tools { background: var(--bg-secondary); padding: 48px 0; }
.related-tools h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.tools-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chip {
  padding: 6px 14px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 12.5px; color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}
.tool-chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px; margin-bottom: 36px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: 13px; color: var(--text-secondary); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.disclaimer { font-size: 11.5px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 44px 0 32px; }
  .tool-card { padding: 18px; }
  .input-group { flex-direction: column; }
  .btn-lookup { justify-content: center; }
  .stats-bar { gap: 12px; }
  .mega-dropdown { min-width: 90vw; left: 0; transform: none; }
  section { padding: 48px 0; }
  .info-article { padding: 20px; }
  .records-table th:nth-child(3), .records-table td:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .results-header { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}