/* ============================================================
   Who's Remarketing Me? — style.css
   Toolzie Design System (Indigo theme)
   Dark mode default · Light mode via .light-mode
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #162032;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  --border-color: #334155;
  --border2: #475569;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-dim: #4f46e5;
  --accent-light: rgba(99, 102, 241, 0.08);
  --accent-glow: rgba(99, 102, 241, 0.15);
  --purple: #8b5cf6;
  --purple-dim: #7c3aed;
  --green: #22c55e;
  --yellow: #eab308;
  --orange: #f97316;
  --red: #ef4444;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 25px rgba(99, 102, 241, 0.15);
  --shadow: 0 4px 24px rgba(0,0,0,.5);
  --shadow-accent: 0 0 24px rgba(99,102,241,.15);
}

/* ---------- Light Mode Overrides ---------- */
.light-mode {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-dim: #94a3b8;
  --border-color: #e2e8f0;
  --border2: #cbd5e1;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-dim: #4f46e5;
  --accent-light: rgba(99, 102, 241, 0.08);
  --accent-glow: rgba(99, 102, 241, 0.12);
  --purple: #8b5cf6;
  --purple-dim: #7c3aed;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 25px rgba(99, 102, 241, 0.12);
  --shadow: 0 4px 24px rgba(0,0,0,.1);
  --shadow-accent: 0 0 24px rgba(99,102,241,.1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

/* ---------- Utilities ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

/* ---------- Keyframes ---------- */
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-28px) scale(1.05); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

@keyframes score-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 41, 59, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.light-mode .navbar {
  background: rgba(255, 255, 255, 0.92);
}

.navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  white-space: nowrap;
  transition: color .2s;
}
.navbar-logo:hover { color: var(--accent); }
.navbar-logo span { color: var(--accent); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navbar-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.navbar-links a:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.navbar-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.navbar-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 24px 80px;
  overflow: hidden;
  text-align: center;
  background: var(--bg-primary);
}

/* Grid/matrix background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,.18) 0%, rgba(99,102,241,.06) 40%, transparent 70%);
  pointer-events: none;
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.light-mode .hero-orb { opacity: 0.12; }

.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #6366f1, #8b5cf6);
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b5cf6, #6366f1);
  top: -80px; right: -80px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #818cf8, #6366f1);
  bottom: -100px; left: 40%;
  animation-delay: -5s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(99,102,241,.2);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(135deg, #f1f5f9 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.light-mode .hero h1 {
  background: linear-gradient(135deg, #0f172a 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* URL Form */
.scan-form {
  display: flex;
  gap: 0;
  max-width: 620px;
  margin: 0 auto 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-accent), var(--shadow);
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: border-color .2s, box-shadow .2s;
}
.scan-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow);
}

.scan-input {
  flex: 1;
  background: var(--bg-secondary);
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  min-width: 0;
}
.scan-input::placeholder { color: var(--text-dim); }

.scan-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  border: none;
  padding: 16px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: filter .2s, transform .1s;
  letter-spacing: .02em;
}
.scan-btn:hover { filter: brightness(1.1); }
.scan-btn:active { transform: scale(.98); }
.scan-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.hero-note {
  color: var(--text-dim);
  font-size: .82rem;
}
.hero-note a { color: var(--text-muted); }

/* ---------- Loading State ---------- */
#loading-state {
  display: none;
  text-align: center;
  padding: 40px 24px;
  max-width: 540px;
  margin: 0 auto;
}

.loading-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  animation: spin-slow 3s linear infinite;
  display: block;
}

.loading-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.loading-status {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 24px;
  min-height: 22px;
  transition: opacity .3s;
}

.progress-track {
  height: 4px;
  background: var(--border-color);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--accent));
  border-radius: 99px;
  width: 0%;
  transition: width .4s ease;
  box-shadow: 0 0 12px var(--accent);
}

/* ---------- Results Section ---------- */
#results-section {
  display: none;
  padding: 0 24px 64px;
  animation: fade-up .4s ease both;
}

.results-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Score Header */
.results-header {
  text-align: center;
  margin-bottom: 40px;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  border: 3px solid currentColor;
  box-shadow: 0 0 32px currentColor;
  animation: score-pop .5s cubic-bezier(.34,1.56,.64,1) .1s both;
}

.score-a-plus { color: #22c55e; background: rgba(34,197,94,.1); }
.score-a      { color: #4ade80; background: rgba(74,222,128,.1); }
.score-b      { color: #eab308; background: rgba(234,179,8,.1); }
.score-c      { color: #f97316; background: rgba(249,115,22,.1); }
.score-d      { color: #ef4444; background: rgba(239,68,68,.1); }
.score-f      { color: #dc2626; background: rgba(220,38,38,.1); }

.results-headline {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.results-domain {
  color: var(--accent);
}

.results-subline {
  color: var(--text-muted);
  font-size: .95rem;
}

/* Category pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
}
.cat-pill-count {
  font-weight: 700;
  color: var(--accent);
}

/* Tracker grid */
.tracker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.tracker-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .2s, transform .2s;
  animation: fade-up .35s ease both;
}
.tracker-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tracker-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: .75rem;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -.02em;
}

.tracker-info { flex: 1; min-width: 0; }

.tracker-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 4px;
}

.tracker-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.cat-Advertising { background: rgba(239,68,68,.15); color: #fca5a5; }
.cat-Analytics   { background: rgba(59,130,246,.15); color: #93c5fd; }
.cat-Marketing   { background: rgba(249,115,22,.15); color: #fdba74; }
.cat-Data        { background: rgba(82,189,148,.15); color: #6ee7b7; }

.tracker-desc {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.5;
}

/* What this means */
.what-it-means {
  background: linear-gradient(135deg, rgba(139,92,246,.12) 0%, rgba(99,102,241,.06) 100%);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.what-it-means h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.what-it-means p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* Results actions */
.results-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.1); color: #fff; }

.btn-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border2);
  color: var(--text-primary);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}
.btn-ghost:hover { border-color: var(--border2); color: var(--text-primary); }

/* ---------- AdSense ---------- */
.ad-unit {
  background: var(--bg-tertiary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 12px;
  margin: 32px auto;
  max-width: 1000px;
  text-align: center;
  color: var(--text-dim);
  font-size: .8rem;
}

/* ---------- Section Headers ---------- */
.section {
  padding: 80px 24px;
}
.section-alt { background: var(--bg-tertiary); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-sub {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: .95rem;
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.step-card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-4px);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 28px;
  background: linear-gradient(135deg, var(--purple), var(--accent));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: .8rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* ---------- Example Sites ---------- */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.example-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.example-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.example-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.example-domain {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.example-score {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  border: 2px solid currentColor;
}

.example-count {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 16px;
}

.example-trackers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tracker-chip {
  font-size: .75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-primary);
  transition: background .2s;
}
.faq-question:hover { background: var(--accent-light); }

.faq-icon {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform .3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.footer-logo span { color: var(--accent); }

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text-muted);
  font-size: .9rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: .82rem;
}

/* ---------- Article Pages ---------- */
.article-hero {
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(139,92,246,.06) 0%, transparent 100%);
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.article-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  color: var(--text-dim);
  font-size: .82rem;
}

.article-body {
  padding: 48px 24px 80px;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--accent);
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: .97rem;
}

.article-content ul, .article-content ol {
  margin: 16px 0 16px 24px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: .97rem;
}

.article-content li { margin-bottom: 8px; }

.article-content a { color: var(--accent); }
.article-content a:hover { text-decoration: underline; }

.article-content strong { color: var(--text-primary); font-weight: 600; }

.article-cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(139,92,246,.08) 100%);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.info-box {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.info-box p { margin-bottom: 0; }

.tool-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin: 12px 0;
}

.tool-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.tool-card p {
  margin-bottom: 0;
  font-size: .88rem;
}

/* ---------- Error State ---------- */
#error-state {
  display: none;
  text-align: center;
  padding: 40px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.error-icon { font-size: 2.5rem; margin-bottom: 16px; }
.error-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--red);
}
.error-msg { color: var(--text-muted); font-size: .9rem; margin-bottom: 24px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-secondary);
  border: 1px solid var(--border2);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  z-index: 999;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Toolzie Badge ---------- */
.toolzie-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-light);
  border: 1px solid rgba(99,102,241,.2);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.toolzie-badge:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---------- Toolzie Link ---------- */
.toolzie-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
  border-bottom: 1px solid transparent;
}
.toolzie-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .navbar-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .navbar-links.open { display: flex; }
  .navbar-links a { padding: 12px 16px; }

  .hero { padding: 64px 24px 48px; }
  .scan-form { flex-direction: column; border-radius: var(--radius); }
  .scan-btn { border-radius: 0 0 var(--radius-sm) var(--radius-sm); text-align: center; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .results-actions { flex-direction: column; align-items: stretch; }
  .results-actions .btn { justify-content: center; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .category-pills { gap: 8px; }

  .section { padding: 56px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .scan-form { border-radius: var(--radius-sm); }
}

/* ---------- Animations & Extras ---------- */
.fade-in-stagger > * {
  animation: fade-up .4s ease both;
}
.fade-in-stagger > *:nth-child(1) { animation-delay: 0s; }
.fade-in-stagger > *:nth-child(2) { animation-delay: .05s; }
.fade-in-stagger > *:nth-child(3) { animation-delay: .1s; }
.fade-in-stagger > *:nth-child(4) { animation-delay: .15s; }
.fade-in-stagger > *:nth-child(5) { animation-delay: .2s; }
.fade-in-stagger > *:nth-child(6) { animation-delay: .25s; }
.fade-in-stagger > *:nth-child(7) { animation-delay: .3s; }
.fade-in-stagger > *:nth-child(8) { animation-delay: .35s; }
.fade-in-stagger > *:nth-child(9) { animation-delay: .4s; }

.no-trackers {
  text-align: center;
  padding: 48px 24px;
}
.no-trackers-icon { font-size: 3rem; margin-bottom: 16px; }
.no-trackers h3 {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 8px;
}
.no-trackers p { color: var(--text-muted); }

/* Divider */
.divider {
  height: 1px;
  background: var(--border-color);
  margin: 0;
}