@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════════════
   HOSTGUARD CUSTOMER PORTAL
   Clean SaaS aesthetic — trustworthy, minimal, precise
   ═══════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --bg:        #f5f6f8;
  --surface:   #ffffff;
  --surface-2: #f0f2f5;
  --border:    #e4e7ec;
  --border-2:  #d0d5dd;

  /* Text */
  --text-1: #101828;
  --text-2: #475467;
  --text-3: #98a2b3;

  /* Brand — indigo */
  --brand:       #4f46e5;
  --brand-hover: #4338ca;
  --brand-light: #eef2ff;
  --brand-ring:  rgba(79,70,229,0.18);

  /* Status */
  --green:    #059669;  --green-bg:  #ecfdf5;  --green-border:  #a7f3d0;
  --red:      #dc2626;  --red-bg:    #fef2f2;  --red-border:    #fecaca;
  --amber:    #d97706;  --amber-bg:  #fffbeb;  --amber-border:  #fde68a;
  --blue:     #2563eb;  --blue-bg:   #eff6ff;  --blue-border:   #bfdbfe;
  --gray:     #6b7280;  --gray-bg:   #f9fafb;  --gray-border:   #e5e7eb;

  /* Type */
  --font:      'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'JetBrains Mono', monospace;

  /* Spacing / Shape */
  --r:    6px;
  --rl:  10px;
  --nav-h: 62px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,.1), 0 1px 2px rgba(16,24,40,.06);
  --shadow:    0 4px 8px rgba(16,24,40,.08), 0 2px 4px rgba(16,24,40,.04);
  --shadow-lg: 0 12px 32px rgba(16,24,40,.10), 0 4px 8px rgba(16,24,40,.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

/* ── TOPNAV ──────────────────────────────────────────── */
.topnav {
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 24px; gap: 0;
  position: sticky; top: 0; z-index: 100;
}
.nav-brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; margin-right: 32px;
}
.nav-brand-icon {
  width: 32px; height: 32px;
  background: var(--brand-light);
  border: 1.5px solid rgba(79,70,229,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-brand-icon svg { color: var(--brand); }
.nav-brand-name {
  font-size: 16px; font-weight: 700;
  color: var(--text-1); letter-spacing: -.3px;
}
.nav-brand-sub {
  font-size: 11px; color: var(--text-3); margin-top: -2px;
}
.nav-links {
  display: flex; gap: 2px; flex: 1;
}
.nav-link {
  padding: 7px 12px;
  border-radius: var(--r);
  font-size: 13.5px; font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: background .14s, color .14s;
}
.nav-link:hover { background: var(--surface-2); color: var(--text-1); }
.nav-link.active { background: var(--brand-light); color: var(--brand); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── PAGE LAYOUT ─────────────────────────────────────── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}
.page-wrap.wide { max-width: 1280px; }

.page-heading {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
  margin-bottom: 24px;
}
.page-title {
  font-size: 22px; font-weight: 700;
  color: var(--text-1); letter-spacing: -.3px;
}
.page-subtitle { font-size: 13.5px; color: var(--text-2); margin-top: 3px; }

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  box-shadow: var(--shadow-xs);
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-title {
  font-size: 14px; font-weight: 600; color: var(--text-1);
}
.card-body { padding: 20px; }

/* ── STAT CARDS ──────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 14px; margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.stat-card.blue::before   { background: var(--brand); }
.stat-card.green::before  { background: var(--green); }
.stat-card.red::before    { background: var(--red); }
.stat-card.amber::before  { background: var(--amber); }
.stat-card.gray::before   { background: var(--gray); }

.stat-label {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-3); margin-bottom: 8px;
}
.stat-value {
  font-family: var(--font-mono); font-size: 26px;
  font-weight: 500; color: var(--text-1); line-height: 1;
}
.stat-value.good { color: var(--green); }
.stat-value.warn { color: var(--amber); }
.stat-value.bad  { color: var(--red); }
.stat-value.brand{ color: var(--brand); }
.stat-sub { font-size: 11px; color: var(--text-3); margin-top: 6px; }

/* ── SITE GRID ───────────────────────────────────────── */
.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 16px;
}
.site-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  box-shadow: var(--shadow-xs);
  padding: 18px 20px;
  text-decoration: none; color: inherit; display: block;
  transition: border-color .18s, box-shadow .18s, transform .12s;
}
.site-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow), 0 0 0 3px var(--brand-ring);
  transform: translateY(-1px);
}
.sc-head {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 14px;
}
.sc-domain {
  font-size: 14px; font-weight: 600; color: var(--text-1);
  font-family: var(--font-mono);
}
.sc-label { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.sc-hit-rate {
  font-family: var(--font-mono); font-size: 32px;
  font-weight: 500; line-height: 1; margin-bottom: 2px;
}
.sc-hit-rate.good { color: var(--green); }
.sc-hit-rate.warn { color: var(--amber); }
.sc-hit-rate.bad  { color: var(--red); }
.sc-hit-lbl {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-3); margin-bottom: 12px;
}
.sc-meta {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.sc-meta-item { text-align: center; }
.sc-meta-val {
  font-family: var(--font-mono); font-size: 15px;
  font-weight: 500; color: var(--text-1);
}
.sc-meta-lbl {
  font-size: 9px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-3); margin-top: 2px;
}

.site-card-add {
  background: var(--surface);
  border: 1.5px dashed var(--border-2);
  border-radius: var(--rl);
  padding: 32px 20px;
  text-decoration: none; color: inherit; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  transition: border-color .18s, background .14s;
  min-height: 180px;
}
.site-card-add:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}
.add-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.add-label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.add-sub   { font-size: 11px; color: var(--text-3); }

/* ── TABS ────────────────────────────────────────────── */
.tabs-header {
  display: flex; border-bottom: 1px solid var(--border);
  margin-bottom: 20px; gap: 0;
}
.tab-btn {
  padding: 10px 18px; font-size: 13px; font-weight: 500;
  color: var(--text-2); border: none; background: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; transition: color .14s, border-color .14s;
  font-family: var(--font); display: flex; align-items: center; gap: 7px;
}
.tab-btn:hover { color: var(--text-1); }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-cnt {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 1px 7px;
  font-size: 11px; font-family: var(--font-mono);
  color: var(--text-2);
}
.tab-btn.active .tab-cnt {
  background: var(--brand-light); color: var(--brand); border-color: transparent;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── TABLES ──────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  padding: 9px 16px; text-align: left;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .8px; color: var(--text-3);
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
td {
  padding: 10px 16px; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-2); vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #fafbff; }
tbody tr:hover .row-actions { opacity: 1; }

.mono { font-family: var(--font-mono); font-size: 12px; color: var(--brand); }
.path { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }

.row-actions {
  display: flex; gap: 5px; opacity: 0;
  transition: opacity .14s;
}

/* Table toolbar */
.tbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.tbar-count { font-size: 12px; color: var(--text-3); }

/* ── BADGES ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: 12px;
  font-size: 11px; font-weight: 500; border: 1px solid transparent;
}
.badge::before { content: '●'; font-size: 7px; }

.badge-green  { background: var(--green-bg);  color: var(--green);  border-color: var(--green-border); }
.badge-red    { background: var(--red-bg);    color: var(--red);    border-color: var(--red-border);   }
.badge-amber  { background: var(--amber-bg);  color: var(--amber);  border-color: var(--amber-border); }
.badge-blue   { background: var(--blue-bg);   color: var(--blue);   border-color: var(--blue-border);  }
.badge-gray   { background: var(--gray-bg);   color: var(--gray);   border-color: var(--gray-border);  }
.badge-brand  { background: var(--brand-light); color: var(--brand); border-color: rgba(79,70,229,.2); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r);
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; font-family: var(--font);
  transition: all .14s; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-hover); border-color: var(--brand-hover);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.btn-secondary {
  background: var(--surface); color: var(--text-1); border-color: var(--border-2);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--surface-2); }
.btn-danger {
  background: var(--red-bg); color: var(--red); border-color: var(--red-border);
}
.btn-danger:hover { background: #fee2e2; }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text-1); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── FORMS ───────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-1); margin-bottom: 6px;
}
.form-input {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--r);
  color: var(--text-1); padding: 9px 12px;
  font-size: 13.5px; font-family: var(--font); outline: none;
  transition: border-color .14s, box-shadow .14s;
  box-shadow: var(--shadow-xs);
}
.form-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-error-msg {
  background: var(--red-bg); border: 1px solid var(--red-border);
  color: var(--red); padding: 10px 14px; border-radius: var(--r);
  font-size: 13px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

/* Quick-add inline form */
.quick-add-form {
  display: flex; gap: 8px; align-items: center; flex: 1;
}
.quick-add-input {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); color: var(--text-1);
  padding: 7px 10px; font-size: 12.5px;
  font-family: var(--font-mono); outline: none; flex: 1;
  transition: border-color .14s;
}
.quick-add-input:focus { border-color: var(--brand); }

/* ── CHARTS ──────────────────────────────────────────── */
.chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 20px; box-shadow: var(--shadow-xs);
}
.chart-title {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-3); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.chart-legend {
  display: flex; gap: 14px;
}
.legend-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-2);
}
.legend-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.charts-row {
  display: grid; grid-template-columns: 1fr 220px;
  gap: 16px; margin-bottom: 24px;
}
.chart-canvas-wrap { position: relative; height: 160px; }
.donut-wrap { position: relative; height: 160px; }
.donut-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); text-align: center; pointer-events: none;
}
.donut-pct {
  font-family: var(--font-mono); font-size: 22px; font-weight: 500;
  color: var(--green); line-height: 1;
}
.donut-lbl { font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; }

/* ── ACTIVITY FEED ───────────────────────────────────── */
.activity-feed { max-height: 300px; overflow-y: auto; }
.activity-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-bottom: 1px solid var(--border);
  font-size: 12px; transition: background .1s;
}
.activity-row:last-child { border-bottom: none; }
.activity-row:hover { background: #fafbff; }
.a-time  { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); width: 72px; flex-shrink: 0; }
.a-ip    { font-family: var(--font-mono); font-size: 11px; color: var(--brand); width: 105px; flex-shrink: 0; }
.a-method{ font-family: var(--font-mono); font-size: 10px; width: 40px; flex-shrink: 0; font-weight: 500; }
.a-method.GET  { color: var(--green); }
.a-method.POST { color: var(--blue); }
.a-method.OTHER{ color: var(--amber); }
.a-path  { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-score { font-family: var(--font-mono); font-size: 10px; width: 36px; text-align: right; flex-shrink: 0; }
.a-score.hi { color: var(--red); }
.a-score.md { color: var(--amber); }

/* ── PRICING PAGE ────────────────────────────────────── */
.pricing-wrap {
  max-width: 960px; margin: 48px auto; padding: 0 24px 80px;
}
.pricing-heading {
  text-align: center; margin-bottom: 48px;
}
.pricing-heading h1 {
  font-size: 36px; font-weight: 700; color: var(--text-1);
  letter-spacing: -.5px; margin-bottom: 12px;
}
.pricing-heading p { font-size: 16px; color: var(--text-2); }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  position: relative;
}
.plan-card.popular {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow), 0 0 0 4px var(--brand-ring);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
  padding: 3px 12px; border-radius: 12px;
  white-space: nowrap;
}
.plan-name   { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.plan-price  {
  font-family: var(--font-mono); font-size: 36px; font-weight: 500;
  color: var(--text-1); margin-bottom: 4px;
}
.plan-price sup { font-size: 18px; vertical-align: super; }
.plan-price-sub { font-size: 12px; color: var(--text-3); margin-bottom: 20px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.plan-features { list-style: none; flex: 1; margin-bottom: 24px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text-2); padding: 5px 0;
}
.plan-features li::before {
  content: '✓'; color: var(--green); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.plan-cta { margin-top: auto; }
.plan-cta .btn { width: 100%; justify-content: center; padding: 11px; }

/* ── AUTH PAGES ──────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; background: var(--bg); padding: 24px;
}
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 40px 36px;
  width: 100%; max-width: 400px; box-shadow: var(--shadow-lg);
}
.auth-brand {
  display: flex; align-items: center; gap: 9px; margin-bottom: 28px;
}
.auth-title { font-size: 20px; font-weight: 700; color: var(--text-1); letter-spacing: -.3px; }
.auth-sub   { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.auth-footer{
  text-align: center; font-size: 13px; color: var(--text-2);
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border);
}
.auth-footer a { color: var(--brand); text-decoration: none; font-weight: 500; }

/* ── BILLING PAGE ────────────────────────────────────── */
.billing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 24px; box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}
.billing-plan-name {
  font-size: 20px; font-weight: 700; color: var(--text-1);
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.billing-price {
  font-family: var(--font-mono); font-size: 32px; font-weight: 500; color: var(--text-1);
}
.billing-period { font-size: 12px; color: var(--text-3); }
.billing-next { font-size: 13px; color: var(--text-2); margin-top: 8px; }

/* ── ADD SITE PAGE ───────────────────────────────────── */
.add-site-wrap {
  max-width: 580px; margin: 0 auto;
}

/* ── EMPTY STATES ────────────────────────────────────── */
.empty-state {
  padding: 48px 24px; text-align: center; color: var(--text-3);
}
.empty-icon { font-size: 32px; margin-bottom: 12px; opacity: .5; }
.empty-title{ font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.empty-desc { font-size: 13px; }

/* ── TOASTS ──────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 8px; z-index: 9999;
}
.toast {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; border-radius: var(--r);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg); min-width: 220px; max-width: 340px;
  animation: toast-slide .2s ease;
}
.toast-success{ background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green); }
.toast-error  { background: var(--red-bg);   border: 1px solid var(--red-border);   color: var(--red);   }
.toast-info   { background: var(--blue-bg);  border: 1px solid var(--blue-border);  color: var(--blue);  }
.toast-warning{ background: var(--amber-bg); border: 1px solid var(--amber-border); color: var(--amber); }
@keyframes toast-slide {
  from { opacity:0; transform: translateX(14px); }
  to   { opacity:1; transform: translateX(0);    }
}

/* ── ALERTS (flash messages) ─────────────────────────── */
.flash { padding: 12px 16px; border-radius: var(--r); margin-bottom: 16px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.flash-success { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green); }
.flash-error   { background: var(--red-bg);   border: 1px solid var(--red-border);   color: var(--red);   }
.flash-info    { background: var(--blue-bg);  border: 1px solid var(--blue-border);  color: var(--blue);  }
.flash-warning { background: var(--amber-bg); border: 1px solid var(--amber-border); color: var(--amber); }

/* ── ADMIN ───────────────────────────────────────────── */
.admin-nav {
  background: #1e1b4b; color: #c7d2fe;
  padding: 0 24px; height: 50px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px;
}
.admin-nav-link {
  color: #a5b4fc; text-decoration: none; padding: 5px 10px;
  border-radius: var(--r); transition: background .14s;
}
.admin-nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-nav-link.active { background: rgba(255,255,255,.15); color: #fff; }
.admin-badge {
  background: rgba(255,255,255,.15); border-radius: 10px;
  padding: 1px 7px; font-size: 10px; font-family: var(--font-mono);
}

/* Revenue cards in admin */
.rev-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 22px 24px; box-shadow: var(--shadow-xs);
}
.rev-label { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.rev-value { font-family: var(--font-mono); font-size: 30px; font-weight: 500; color: var(--text-1); }
.rev-sub   { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* ── MISC ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .charts-row   { grid-template-columns: 1fr; }
  .stats-row    { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .page-wrap   { padding: 16px 14px 40px; }
  .topnav      { padding: 0 14px; }
  .nav-links   { display: none; }
}
