:root {
  --bg: #050507;
  --bg-alt: #0a0a10;
  --surface: rgba(255,255,255,.025);
  --surface-hover: rgba(255,255,255,.05);
  --border: rgba(255,255,255,.06);
  --border-hover: rgba(255,255,255,.12);
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --crimson: #dc2626;
  --crimson-hover: #ef4444;
  --green: #22c55e;
  --blue: #3b82f6;
  --yellow: #eab308;
  --purple: #a855f7;
  --orange: #f97316;
  --radius: 12px;
  --glass: rgba(255,255,255,.03);
  --glass-border: rgba(255,255,255,.06);
  --glass-blur: blur(20px);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--crimson); text-decoration: none }
a:hover { color: var(--crimson-hover); text-decoration: none }

/* ── Noise Texture ── */
.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ── Fade-in Animation ── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(12px) }
  to { opacity: 1; transform: translateY(0) }
}
.fade-in-up { animation: fade-in-up 0.5s ease-out both }

/* ── Neon Loader ── */
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--crimson), inset 0 0 6px rgba(220,38,38,.3) }
  50% { box-shadow: 0 0 20px var(--crimson), inset 0 0 12px rgba(220,38,38,.5) }
}
.neon-loader {
  display: inline-block; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--crimson);
  animation: neon-pulse 1.5s ease-in-out infinite;
}

/* ── Navbar ── */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(5,5,7,.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  position: sticky; top: 0; z-index: 100;
}
.nav-brand a {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  overflow: hidden;
}
.nav-brand a span { color: var(--crimson) }
.nav-logo { height: 44px; width: 44px; object-fit: contain; border-radius: 6px; flex-shrink: 0 }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 13px }
.nav-links a { color: var(--text-dim); text-decoration: none; transition: color .15s }
.nav-links a:hover { color: var(--text) }
.nav-user {
  color: var(--text-muted); font-size: 12px;
  font-family: var(--font-mono);
}

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 24px; position: relative; z-index: 1; min-height: calc(100vh - 120px) }

/* ── Hero ── */
.hero { text-align: center; padding: 60px 0 40px }
.hero h1 {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 800; margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--crimson) }
.hero-sub { color: var(--text-dim); font-size: 15px; font-family: var(--font-mono); font-size: 13px }

/* ── Auth ── */
.auth-container { display: flex; justify-content: center; padding: 60px 0 }
.auth-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px; width: 100%; max-width: 400px;
  backdrop-filter: var(--glass-blur);
}
.auth-card h2 { margin-bottom: 16px; font-size: 20px; font-family: var(--font-heading) }
.auth-sub { color: var(--text-dim); font-size: 13px; margin-bottom: 20px }
.auth-link { margin-top: 16px; text-align: center; font-size: 13px; color: var(--text-dim) }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 8px; border: none;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .15s; text-decoration: none;
  font-family: var(--font-body);
}
.btn-primary, .btn-success { background: var(--crimson); color: #fff }
.btn-primary:hover, .btn-success:hover { background: var(--crimson-hover); text-decoration: none }
.btn-warning { background: var(--yellow); color: #000 }
.btn-warning:hover { background: #ca8a04 }
.btn-danger { background: rgba(239,68,68,.15); color: #ef4444; border: 1px solid rgba(239,68,68,.3) }
.btn-danger:hover { background: rgba(239,68,68,.25) }
.btn-ghost {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-hover) }
.btn-sm { padding: 6px 14px; font-size: 12px }
.btn-xs { padding: 4px 10px; font-size: 11px }
.btn-full { width: 100%; justify-content: center }
.btn:disabled { opacity: .4; cursor: not-allowed }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap }

/* ── Forms ── */
.form-group { margin-bottom: 16px }
.form-group label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.8px;
  font-family: var(--font-mono);
}
.form-input, .form-select {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02); color: var(--text);
  font-size: 13px; outline: none; transition: border-color .15s;
  font-family: var(--font-body);
}
.form-input:focus, .form-select:focus { border-color: var(--crimson); box-shadow: 0 0 0 1px rgba(220,38,38,.2) }
.form-input::placeholder { color: var(--text-muted) }
textarea.form-input { resize: vertical; font-family: var(--font-mono); font-size: 12px }
.form-row { display: flex; gap: 12px }
.form-row .form-group { flex: 1 }
.form-select-sm { padding: 4px 8px; font-size: 11px; width: auto }

/* ── Alert ── */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px }
.alert-error { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); color: #ef4444 }
.alert-success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); color: #22c55e }
.alert-warning { background: rgba(234,179,8,.08); border: 1px solid rgba(234,179,8,.2); color: #eab308; font-size: 12px }

/* ── Checker Cards ── */
.checkers-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 24px }
.checker-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 24px;
  display: flex; align-items: center; gap: 20px; transition: all .2s;
}
.checker-card:hover { border-color: rgba(220,38,38,.25); background: var(--surface-hover) }
.checker-icon {
  font-size: 32px; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.15);
  border-radius: 12px; flex-shrink: 0;
}
.checker-info { flex: 1 }
.checker-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; font-family: var(--font-heading) }
.checker-info p { font-size: 13px; color: var(--text-dim) }
.checker-meta { display: flex; gap: 8px; margin-top: 8px }

/* ── Badge ── */
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  font-family: var(--font-mono); letter-spacing: 0.3px;
}
.badge-active { background: rgba(34,197,94,.12); color: var(--green) }
.badge-version { background: rgba(59,130,246,.12); color: var(--blue) }
.badge-category { background: rgba(168,85,247,.12); color: var(--purple) }
.badge-admin { background: rgba(168,85,247,.12); color: var(--purple) }
.badge-user { background: rgba(59,130,246,.12); color: var(--blue) }
.badge-running { background: rgba(34,197,94,.12); color: var(--green) }
.badge-paused { background: rgba(234,179,8,.12); color: var(--yellow) }
.badge-completed { background: rgba(59,130,246,.12); color: var(--blue) }
.badge-stopped { background: rgba(100,100,120,.15); color: var(--text-muted) }
.badge-tier { background: rgba(59,130,246,.12); color: var(--blue) }
.badge-fail { background: rgba(239,68,68,.12); color: #ef4444 }
.badge-beta { background: rgba(234,179,8,.12); color: var(--yellow) }
.badge-maintenance { background: rgba(249,115,22,.12); color: var(--orange) }

/* ── Stats ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px; margin-bottom: 20px;
}
.stat-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 16px 20px;
  transition: border-color .15s;
}
.stat-card:hover { border-color: var(--border-hover) }
.stat-card .label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 6px;
  font-family: var(--font-mono);
}
.stat-card .value { font-size: 26px; font-weight: 700; letter-spacing: -1px; font-family: var(--font-heading) }
.stat-card.green .value { color: var(--green) }
.stat-card.red .value { color: var(--crimson) }
.stat-card.blue .value { color: var(--blue) }
.stat-card.yellow .value { color: var(--yellow) }
.stat-card.purple .value { color: var(--purple) }

/* ── Progress ── */
.progress-wrap { margin-bottom: 20px }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 8px }
.progress-header .label { font-size: 13px; color: var(--text-dim) }
.progress-header .pct { font-size: 13px; font-weight: 600; font-family: var(--font-mono) }
.progress-bar { width: 100%; height: 6px; background: rgba(255,255,255,.04); border-radius: 3px; overflow: hidden }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--crimson-hover));
  border-radius: 3px; transition: width .3s;
}

/* ── Card ── */
.card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 20px;
}
.card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.card-header h3 { font-size: 14px; font-family: var(--font-heading); font-weight: 600 }

/* ── Table ── */
.table-wrap { overflow-x: auto }
table { width: 100%; border-collapse: collapse; font-size: 13px }
thead th {
  text-align: left; padding: 10px 12px; font-weight: 600;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
  white-space: nowrap; font-family: var(--font-mono);
}
tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.02);
  color: var(--text-dim);
}
tbody tr { transition: background .1s }
tbody tr:hover { background: var(--surface-hover) }
code { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim) }

/* ── Search ── */
.search-bar { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; flex-wrap: wrap }
.search-bar .form-input { flex: 1; min-width: 200px }
.search-bar .form-select { width: auto }

/* ── Checker App Layout ── */
.checker-app { display: flex; gap: 20px; min-height: calc(100vh - 120px) }
.checker-sidebar {
  width: 210px; flex-shrink: 0;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 16px;
  position: sticky; top: 80px; height: fit-content;
  backdrop-filter: var(--glass-blur);
}
.checker-main { flex: 1; min-width: 0 }

.sidebar-nav { list-style: none }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; color: var(--text-dim);
  text-decoration: none; font-size: 13px;
  border-radius: 6px; border-left: 2px solid transparent;
  transition: all .15s;
}
.sidebar-nav li a:hover { background: var(--surface-hover); color: var(--text); text-decoration: none }
.sidebar-nav li a.active {
  color: var(--crimson); border-left-color: var(--crimson);
  background: rgba(220,38,38,.06);
}

/* ── Nav Icons ── */
.nav-icon {
  width: 18px; text-align: center; font-size: 12px;
  color: var(--text-muted); flex-shrink: 0;
}
.sidebar-nav li a.active .nav-icon { color: var(--crimson) }

/* ── Sidebar Brand ── */
.sidebar-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--glass-border); padding-bottom: 12px;
}
.sidebar-footer { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--glass-border) }
.sidebar-link {
  display: block; font-size: 12px; color: var(--text-muted);
  text-decoration: none; padding: 6px 12px; border-radius: 6px; transition: all .15s;
}
.sidebar-link:hover { color: var(--text); background: var(--surface-hover); text-decoration: none }

/* ── Tier Section ── */
.tier-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--glass-border) }
.tier-section h4 {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 10px; font-family: var(--font-mono);
}
.tier-list { display: flex; flex-direction: column; gap: 6px }
.tier-item { display: flex; align-items: center; font-size: 12px; color: var(--text-dim) }
.tier-dot { width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; flex-shrink: 0 }
.tier-name { flex: 1 }
.tier-count { font-weight: 600; font-size: 13px; font-family: var(--font-mono) }
.tier-dot.tier-business { background: var(--purple) }
.tier-dot.tier-scale { background: var(--orange) }
.tier-dot.tier-pro { background: var(--blue) }
.tier-dot.tier-creator { background: var(--green) }
.tier-dot.tier-starter { background: var(--yellow) }
.tier-dot.tier-free { background: var(--text-muted) }

/* ── Pages ── */
.page { display: none }
.page.active { display: block; animation: fade-in-up 0.3s ease-out }
.page-header { margin-bottom: 24px }
.page-header h1 {
  font-size: 22px; font-weight: 700; margin-bottom: 4px;
  font-family: var(--font-heading); letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 8px;
}
.page-header p { color: var(--text-dim); font-size: 14px }

/* ── Toggle ── */
.toggle-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: var(--text-dim); white-space: nowrap; overflow: visible }
.toggle-input { display: none }
.toggle-switch {
  position: relative; width: 40px; height: 22px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  border-radius: 11px; transition: .2s; flex-shrink: 0;
}
.toggle-switch::before {
  content: ''; position: absolute; left: 2px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-muted); transition: .2s;
}
.toggle-input:checked + .toggle-switch { background: var(--crimson); border-color: var(--crimson) }
.toggle-input:checked + .toggle-switch::before { transform: translateX(18px); background: #fff }

/* ── Toast ── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 12px 20px; border-radius: 8px; font-size: 13px;
  background: rgba(5,5,7,.95); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  animation: slideIn .25s ease; max-width: 360px;
}
.toast-success { border-left: 3px solid var(--green) }
.toast-error { border-left: 3px solid var(--crimson) }
.toast-info { border-left: 3px solid var(--blue) }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px) }
  to { opacity: 1; transform: translateX(0) }
}

/* ── Modal ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.7); backdrop-filter: blur(6px);
  z-index: 200; justify-content: center; align-items: flex-start;
  padding: 60px 20px; overflow-y: auto;
}
.modal-card {
  background: var(--bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); width: 100%; max-width: 700px;
  padding: 24px; backdrop-filter: var(--glass-blur);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.modal-header h3 { font-size: 16px; font-weight: 700; font-family: var(--font-heading) }
.modal-body { font-size: 13px }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 15px }

/* ── Footer ── */
.footer {
  text-align: center; padding: 24px; font-size: 11px;
  color: var(--text-muted); border-top: 1px solid var(--glass-border);
  margin-top: 40px; font-family: var(--font-mono); letter-spacing: 0.5px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px }
::-webkit-scrollbar-track { background: transparent }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 3px }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.15) }

/* ── Pagination ── */
.pagination { display: flex; gap: 4px; margin-top: 16px; justify-content: center }

/* ── Hero Badge ── */
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.2);
  font-size: 12px; font-family: var(--font-mono); color: var(--crimson);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}

/* ── Hero Actions ── */
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 40px }
.section-header h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 700; margin-bottom: 8px }
.section-header h2 span { color: var(--crimson) }
.section-header p { color: var(--text-dim); font-size: 15px; max-width: 500px; margin: 0 auto }

/* ── Features Grid ── */
.features-section { padding: 60px 0 }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px }
.feature-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 24px; transition: all .2s;
}
.feature-card:hover { border-color: rgba(220,38,38,.2); transform: translateY(-2px) }
.feature-icon { font-size: 24px; margin-bottom: 12px }
.feature-card h3 { font-family: var(--font-heading); font-size: 15px; font-weight: 600; margin-bottom: 8px }
.feature-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6 }

/* ── How It Works Steps ── */
.how-section { padding: 60px 0 }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px }
.step-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 28px; position: relative;
}
.step-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  color: rgba(220,38,38,.15); position: absolute; top: 16px; right: 20px;
}
.step-card h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 600; margin-bottom: 10px }
.step-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6 }

/* ── Checkers Section ── */
.checkers-section { padding: 40px 0 60px }

/* ── CTA Section ── */
.cta-section {
  text-align: center; padding: 60px 0;
  border-top: 1px solid var(--glass-border);
}
.cta-section h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 700; margin-bottom: 8px }
.cta-section p { color: var(--text-dim); font-size: 15px; margin-bottom: 24px }

/* ── Footer ── */
.site-footer {
  background: rgba(255,255,255,.02); border-top: 1px solid var(--glass-border);
  padding: 48px 0 0; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1100px; margin: 0 auto; padding: 0 24px;
}
.footer-brand p { color: var(--text-dim); font-size: 13px; margin-top: 12px; line-height: 1.6 }
.footer-logo {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--text); text-decoration: none; letter-spacing: 1px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.footer-logo span { color: var(--crimson) }
.footer-logo-img { height: 80px; width: 80px; object-fit: contain; border-radius: 10px; flex-shrink: 0 }
.footer-social { margin-top: 16px }
.footer-social a {
  color: var(--text-muted); font-size: 13px; text-decoration: none;
  transition: color .15s;
}
.footer-social a:hover { color: var(--crimson) }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none }
.footer-col ul li { margin-bottom: 10px }
.footer-col ul li a {
  color: var(--text-dim); font-size: 13px; text-decoration: none; transition: color .15s;
}
.footer-col ul li a:hover { color: var(--text) }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; margin-top: 40px;
  border-top: 1px solid var(--glass-border);
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono) }
.footer-bottom span { color: var(--crimson) }
.footer-links { display: flex; gap: 16px }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color .15s }
.footer-links a:hover { color: var(--text) }

/* ── Content Pages (About, How It Works, Privacy, Terms) ── */
.page-hero {
  text-align: center; padding: 60px 0 40px;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
}
.page-hero h1 span { color: var(--crimson) }
.page-hero .hero-sub { color: var(--text-dim); font-size: 14px; margin-top: 8px }
.content-section { max-width: 800px; margin: 0 auto; padding-bottom: 60px }
.content-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 16px;
}
.content-card h2 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 600;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.content-card h3 {
  font-family: var(--font-heading); font-size: 15px; font-weight: 600;
  margin: 20px 0 10px;
}
.content-card p { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 12px }
.feature-list { list-style: none; padding: 0 }
.feature-list li {
  font-size: 14px; color: var(--text-dim); line-height: 1.7;
  padding: 6px 0 6px 20px; position: relative;
}
.feature-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--crimson);
}
.feature-list li strong { color: var(--text) }
.numbered-list { list-style: none; padding: 0; counter-reset: step }
.numbered-list li {
  font-size: 14px; color: var(--text-dim); line-height: 1.7;
  padding: 10px 0 10px 40px; position: relative;
  counter-increment: step;
}
.numbered-list li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--crimson);
}
.numbered-list li strong { color: var(--text) }
.code-block {
  background: rgba(255,255,255,.03); border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 16px; margin: 12px 0; overflow-x: auto;
}
.code-block code {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-dim);
}
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 12px }
.tech-item {
  background: rgba(255,255,255,.02); border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 12px 16px;
}
.tech-label {
  display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 4px;
}
.tech-value { font-size: 14px; font-weight: 600; color: var(--text) }
.team-links { display: flex; gap: 12px; margin-top: 16px }

/* ── Clickable Stat Cards ── */
.stat-card.clickable {
  cursor: pointer; transition: all .2s; text-decoration: none; display: block;
}
.stat-card.clickable:hover {
  transform: translateY(-3px); border-color: var(--border-hover);
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
}
.stat-card.clickable:active { transform: translateY(-1px) }

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; cursor: pointer;
  transition: all .2s; background: rgba(255,255,255,.01);
  position: relative;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--crimson); background: rgba(220,38,38,.03);
}
.upload-zone-icon { font-size: 36px; margin-bottom: 12px; opacity: .5 }
.upload-zone-text { font-size: 14px; color: var(--text-dim); margin-bottom: 8px }
.upload-zone-hint { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono) }
.upload-zone input[type="file"] {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2;
}

/* ── Upload Progress + File Info ── */
.upload-file-info {
  padding: 10px 14px; border-radius: 8px;
  background: rgba(34,197,94,.06); border: 1px solid rgba(34,197,94,.2);
  font-size: 13px; color: var(--green); font-family: var(--font-mono);
}
.upload-progress { margin-top: 4px }
.upload-progress-text {
  font-size: 12px; color: var(--text-dim); font-family: var(--font-mono);
  margin-top: 8px; text-align: center;
}

/* ── Upload Zone with textarea fallback ── */
.upload-section { display: flex; flex-direction: column; gap: 12px }
.upload-or { font-size: 12px; color: var(--text-muted); text-align: center; font-family: var(--font-mono) }

/* ── Tier Bar (horizontal) ── */
.tier-bar { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 }
.tier-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
  font-size: 12px; font-family: var(--font-mono);
}
.tier-pill .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0 }
.tier-pill .count { font-weight: 700 }

/* ── Quick Actions ── */
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 }
.quick-action-btn {
  flex: 1; min-width: 140px; padding: 16px 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); text-align: center;
  text-decoration: none; color: var(--text); transition: all .2s;
  cursor: pointer;
}
.quick-action-btn:hover { border-color: var(--crimson); background: rgba(220,38,38,.04); text-decoration: none }
.quick-action-btn .icon { font-size: 24px; margin-bottom: 8px }
.quick-action-btn .label { font-size: 13px; font-weight: 600 }

/* ── Large Progress ── */
.progress-large { margin: 20px 0 }
.progress-large .progress-header { margin-bottom: 10px }
.progress-large .progress-bar { height: 10px }

/* ── Pagination ── */
.pagination { display: flex; gap: 4px; margin-top: 16px; justify-content: center; align-items: center }
.page-btn {
  padding: 6px 12px; border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--text-dim); font-size: 12px;
  font-family: var(--font-mono); cursor: pointer; transition: all .15s;
}
.page-btn:hover { background: var(--surface-hover); color: var(--text) }
.page-btn.active { background: var(--crimson); color: #fff; border-color: var(--crimson) }
.page-btn:disabled { opacity: .3; cursor: not-allowed }

/* ── Status Indicator ── */
.status-indicator {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 8px; margin-bottom: 16px;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0 }
.status-dot.idle { background: var(--text-muted) }
.status-dot.running { background: var(--green); animation: pulse 1.5s ease infinite }
.status-dot.paused { background: var(--yellow) }
.status-dot.stopped { background: var(--crimson) }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .4 } }
.status-text { font-size: 14px; font-weight: 600; font-family: var(--font-heading) }

/* ── Recent Activity Mini Tables ── */
.mini-section { margin-top: 20px }
.mini-section h3 {
  font-family: var(--font-heading); font-size: 14px; font-weight: 600;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.mini-table { width: 100%; font-size: 12px }
.mini-table th {
  text-align: left; padding: 8px 10px; font-size: 10px; text-transform: uppercase;
  letter-spacing: .8px; color: var(--text-muted); font-family: var(--font-mono);
  border-bottom: 1px solid var(--border);
}
.mini-table td {
  padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.02); color: var(--text-dim);
}

/* ── Checker Page Layout ── */
.checker-controls-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 16px;
}
.checker-controls-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap }

/* ── Engine Toggle ── */
.engine-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.engine-option { cursor: pointer; display: block }
.engine-option input { display: none }
.engine-card {
  padding: 14px 16px; border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: rgba(255,255,255,.01); transition: all .15s; height: 100%;
}
.engine-option:hover .engine-card { border-color: var(--border-hover) }
.engine-option.active .engine-card {
  border-color: var(--crimson); background: rgba(220,38,38,.05);
  box-shadow: 0 0 0 1px rgba(220,38,38,.2);
}
.engine-title { font-size: 14px; font-weight: 700; margin-bottom: 4px }
.engine-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5 }

/* ── Local Specs Card ── */
.specs-card {
  background: rgba(255,255,255,.02); border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 14px 16px; margin-bottom: 12px;
}
.specs-header { font-size: 13px; color: var(--text-dim); margin-bottom: 12px }
.specs-header strong { color: var(--text) }
.specs-row { display: flex; gap: 24px; flex-wrap: wrap }
.spec-item { display: flex; flex-direction: column; gap: 2px }
.spec-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-family: var(--font-mono) }
.spec-value { font-size: 16px; font-weight: 700; font-family: var(--font-heading) }

@media (max-width: 768px) {
  .engine-toggle { grid-template-columns: 1fr }
  .specs-row { gap: 16px }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .checker-app { flex-direction: column }
  .checker-sidebar { width: 100%; position: static }
  .stats-grid { grid-template-columns: repeat(2, 1fr) }
  .form-row { flex-direction: column }
  .footer-grid { grid-template-columns: 1fr; gap: 24px }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center }
  .features-grid { grid-template-columns: 1fr }
  .steps-grid { grid-template-columns: 1fr }
  .hero-actions { flex-direction: column; align-items: center }
}

/* ── Desktop pairing ── */
.code-input {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 20px !important;
    letter-spacing: 6px;
    text-align: center;
    text-transform: uppercase;
    height: 42px;
}
