/* ═══════════════════════════════════════════
   premium-ref.css — PropFirm.Space Redesign
   Reference-matched dark fintech dashboard
   ═══════════════════════════════════════════ */

/* ── Mobile Bottom-Nav Padding ── */
body { padding-bottom: 68px !important; }
@media (min-width: 769px) { body { padding-bottom: 0 !important; } }

/* ── Design Tokens ── */
:root {
  --ref-bg: #030712;
  --ref-bg2: #050914;
  --ref-bg3: #07111f;
  --ref-card: rgba(8, 15, 28, 0.88);
  --ref-card2: rgba(12, 22, 38, 0.92);
  --ref-card-hover: rgba(14, 25, 44, 0.94);
  --ref-blue: #155dfc;
  --ref-blue-bright: #38bdf8;
  --ref-blue-glow: rgba(56, 189, 248, 0.35);
  --ref-gold: #f5b942;
  --ref-glow-gold: rgba(245, 185, 66, 0.55);
  --ref-orange: #f59e0b;
  --ref-green: #22c55e;
  --ref-white: #f8fafc;
  --ref-muted: #94a3b8;
  --ref-text: #cbd5e1;
  --ref-border: rgba(148, 163, 184, 0.18);
  --ref-border-gold: rgba(245, 185, 66, 0.55);
  --ref-border-blue: rgba(56, 189, 248, 0.35);
  --ref-radius-sm: 10px;
  --ref-radius-md: 14px;
  --ref-radius-lg: 22px;
  --ref-gap: 16px;
  --ref-max-w: 1320px;
  --ref-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ── Glassmorphism Base ── */
.glass {
  background: rgba(8, 15, 28, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148,163,184,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.34);
}
.glass-strong {
  background: rgba(8, 15, 28, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148,163,184,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 24px 64px rgba(0,0,0,0.38);
}

/* ── Neon Glow Keyframes ── */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(56,189,248,0.2), 0 0 20px rgba(56,189,248,0.08); }
  50% { box-shadow: 0 0 14px rgba(56,189,248,0.35), 0 0 30px rgba(56,189,248,0.12); }
}
@keyframes glow-gold-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(245,185,66,0.2), 0 0 20px rgba(245,185,66,0.08); }
  50% { box-shadow: 0 0 14px rgba(245,185,66,0.35), 0 0 30px rgba(245,185,66,0.12); }
}
@keyframes glow-green-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(34,197,94,0.15), 0 0 16px rgba(34,197,94,0.06); }
  50% { box-shadow: 0 0 12px rgba(34,197,94,0.3), 0 0 24px rgba(34,197,94,0.1); }
}
@keyframes card-shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes verified-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ── Glow Utility Classes ── */
.glow-blue { animation: glow-pulse 3s ease-in-out infinite; }
.glow-gold { animation: glow-gold-pulse 3s ease-in-out infinite; }
.glow-green { animation: glow-green-pulse 3s ease-in-out infinite; }
.glow-hover {
  transition: box-shadow 0.3s ease;
}
.glow-hover:hover {
  box-shadow: 0 0 16px rgba(56,189,248,0.3), 0 0 40px rgba(56,189,248,0.1);
}

/* ── Micro-interactions ── */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 72px rgba(0,0,0,0.42);
}
.hover-lift-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(56,189,248,0.25), 0 24px 72px rgba(0,0,0,0.42);
}
.verified-pulse {
  animation: verified-pulse 2s ease-in-out 3;
}

/* ── Button enhancements ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ref-blue), #1d4ed8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 12px rgba(56,189,248,0.2);
  min-height: 42px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56,189,248,0.4), 0 8px 24px rgba(21,93,252,0.3);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: 10px;
  background: transparent;
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 42px;
}
.btn-secondary:hover {
  border-color: rgba(148,163,184,0.4);
  background: rgba(148,163,184,0.06);
  color: var(--ref-white);
}

/* ── Badge enhancements ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge-gold {
  background: linear-gradient(135deg, rgba(245,185,66,0.15), rgba(245,158,11,0.1));
  color: var(--ref-gold);
  border: 1px solid rgba(245,185,66,0.3);
  box-shadow: 0 0 8px rgba(245,185,66,0.1);
}
.badge-blue {
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(21,93,252,0.1));
  color: var(--ref-blue-bright);
  border: 1px solid rgba(56,189,248,0.3);
  box-shadow: 0 0 8px rgba(56,189,248,0.1);
}
.badge-green {
  background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(16,185,129,0.1));
  color: var(--ref-green);
  border: 1px solid rgba(34,197,94,0.3);
}

/* ── Profile Tab Navigation ── */
.profile-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px;
  background: rgba(8, 15, 28, 0.6);
  border: 1px solid rgba(148,163,184,0.08);
  border-radius: var(--ref-radius-md);
}
.profile-tabs::-webkit-scrollbar { display: none; }
.profile-tab {
  flex: 1;
  min-width: 80px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ref-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.profile-tab:hover {
  color: var(--ref-white);
  background: rgba(148,163,184,0.06);
}
.profile-tab.active {
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(21,93,252,0.1));
  color: var(--ref-blue-bright);
  box-shadow: 0 0 12px rgba(56,189,248,0.15);
}
.profile-tab-content {
  display: none;
  animation: tab-fade-in .25s ease;
}
.profile-tab-content.active {
  display: block;
}
@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .profile-tabs {
    gap: 2px;
    padding: 3px;
  }
  .profile-tab {
    font-size: 10px;
    padding: 8px 10px;
    min-width: 60px;
  }
}

*, *::before, *::after { box-sizing: border-box; }

/* ── Global overflow-wrap / text safety ── */
.premium-deal-card,
.firm-card-premium,
.pfs-card,
.pfs-deal-card,
.pfs-firm-card,
.pfs-feature-card,
.pfs-stat-card,
.pfs-blog-card,
.pfs-review-card,
.pfs-tool-card {
  overflow-wrap: break-word;
  word-break: break-word;
}
.premium-deal-card *,
.firm-card-premium *,
.pfs-card * {
  min-width: 0;
}

/* ── Skip link (keyboard) ── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  z-index: 99999;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: var(--ref-blue-bright);
  color: #030712;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Focus-visible (keyboard only) ── */
:focus-visible {
  outline: 2px solid var(--ref-blue-bright);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--ref-blue-bright);
  outline-offset: 2px;
}
/* Remove focus ring on mouse clicks while keeping keyboard focus visible */
:focus:not(:focus-visible) {
  outline: none;
}

/* ── Body ── */
html {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100%;
}
body.ref-redesign {
  font-family: var(--ref-font);
  background: var(--ref-bg);
  color: var(--ref-text);
  margin: 0;
  padding: 0;
  padding-bottom: 68px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: visible;
  min-height: 100vh;
}
/* Body scroll lock — applied by JS when mobile menu opens */
body.ref-menu-open {
  overflow: hidden;
}
main, .pfs-shell, .page-shell, .site-shell {
  min-width: 0;
  min-height: 100vh;
  overflow: visible;
}

@media (min-width: 641px) {
  body.ref-redesign { padding-bottom: 0; }
}

/* ── Tablet: 641px–976px — condense nav to fit ── */
@media (max-width: 976px) and (min-width: 641px) {
  .ref-header-inner { min-height: 64px; gap: 4px; padding: 0 12px; }
  .ref-nav { gap: 0; }
  .ref-nav a.ref-nav-link,
  .ref-nav .ref-nav-link { padding: 6px 8px; font-size: 13px; }
  .ref-logo-text { font-size: 15px; }
  .ref-alert-btn { padding: 7px 12px; font-size: 12px; }
  .ref-alert-btn svg { display: none; }
  .ref-header-actions .header-link { font-size: 12px; padding: 5px 8px; }
  .ref-search-btn { width: 34px; height: 34px; }
  .ref-search-btn svg { width: 14px; height: 14px; }
}

/* ── Announcement Bar ── */
.ref-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 16px;
  margin: 12px auto 0;
  width: min(1320px, calc(100% - 20px));
  border-radius: var(--ref-radius-md);
  background: linear-gradient(90deg, rgba(6,4,1,.98), rgba(20,13,2,.96) 46%, rgba(3,7,17,.96));
  border: 1px solid rgba(245,158,11,.55);
  box-shadow: 0 0 0 1px rgba(245,158,11,.08), 0 24px 110px rgba(0,0,0,.52);
  font-size: 13px;
  font-weight: 600;
  color: var(--ref-text);
}
.ref-announce span { color: var(--ref-gold); filter: drop-shadow(0 0 10px rgba(245,158,11,.72)); }
.ref-announce a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(245,158,11,.8);
  border-radius: 8px;
  background: rgba(245,158,11,.08);
  color: var(--ref-gold);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: .15s;
}
.ref-announce a:hover {
  background: rgba(245,158,11,.18);
  box-shadow: 0 0 22px rgba(245,158,11,.18);
}

/* ── Premium Header ── */
.ref-header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 auto;
  width: min(1320px, calc(100% - 20px));
  border-radius: 0 0 var(--ref-radius-md) var(--ref-radius-md);
  background: linear-gradient(180deg, rgba(2,7,17,.96), rgba(3,9,18,.9));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148,163,184,.1);
  border-top: none;
  box-shadow: 0 0 0 1px rgba(245,158,11,.06);
}
.ref-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 72px;
  padding: 0 20px;
}

/* Logo */
.ref-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.ref-logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1557ff, #003dff);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(21,93,252,.3);
}
.ref-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ref-white);
  letter-spacing: -.02em;
}
.ref-logo-text span { color: var(--ref-blue-bright); }

/* Nav */
.ref-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ref-nav a.ref-nav-link,
.ref-nav .ref-nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .15s;
  white-space: nowrap;
  cursor: pointer;
}
.ref-nav a.ref-nav-link:hover,
.ref-nav .ref-nav-link:hover { color: var(--ref-white); background: rgba(255,255,255,.04); }

/* Nav dropdown / mega menu */
.ref-nav-item { position: relative; }
.ref-nav-item > a { display: block; }
.ref-nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(8,15,28,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(56,189,248,.08), 0 0 30px rgba(56,189,248,0.08), 0 24px 80px rgba(0,0,0,.6);
  z-index: 200;
}
.ref-nav-dropdown.ref-nav-dropdown-wide {
  min-width: 320px;
  column-count: 2;
  column-gap: 4px;
}
.ref-nav-dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: .15s;
  break-inside: avoid;
}
.ref-nav-dropdown a:hover { color: var(--ref-white); background: rgba(255,255,255,.06); }
.ref-nav-item:hover .ref-nav-dropdown,
.ref-nav-item:focus-within .ref-nav-dropdown { display: block; }
@media (max-width: 976px) {
  .ref-nav-dropdown {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    min-width: auto;
    box-shadow: none;
    border: 1px solid rgba(56,189,248,.1);
    margin: 0 8px 4px;
    border-radius: 10px;
    background: rgba(8,15,28,.8);
    column-count: 1;
  }
  .ref-nav-dropdown.ref-nav-dropdown-wide {
    min-width: auto;
    column-count: 1;
  }
}

/* Mobile menu sections */
.ref-menu-section { border-bottom: 1px solid rgba(148,163,184,.06); }
.ref-menu-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  color: var(--ref-white);
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  min-height: 48px;
  transition: .15s;
}
.ref-menu-parent:hover { color: var(--ref-blue-bright); }
.ref-menu-parent::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--ref-muted);
  transition: transform .2s;
}
.ref-menu-parent[aria-expanded="true"]::after {
  content: '\2212';
}
.ref-menu-subs { display: none; padding: 0 20px 12px; }
.ref-menu-subs.open { display: block; }
.ref-menu-subs a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: none;
}
.ref-menu-subs a:hover { color: var(--ref-white); }
.ref-menu-deal-alerts { display: block; padding: 14px 20px; color: var(--ref-gold); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(148,163,184,.06); }

/* Header Actions */
.ref-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.ref-search-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ref-border);
  border-radius: 10px;
  background: transparent;
  color: var(--ref-muted);
  cursor: pointer;
  transition: .15s;
}
.ref-search-btn:hover { border-color: var(--ref-blue-bright); color: var(--ref-white); }
.ref-alert-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid var(--ref-border-blue);
  border-radius: var(--ref-radius-sm);
  background: linear-gradient(180deg, #1557ff, #003dff 68%, #0027b5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(56,189,248,.14), 0 16px 36px rgba(0,61,255,.4);
  transition: .15s;
}
.ref-alert-btn:hover { box-shadow: 0 0 0 1px rgba(56,189,248,.3), 0 16px 40px rgba(0,61,255,.5); }
.ref-hamburger {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ref-border);
  border-radius: 10px;
  background: rgba(15,23,42,.76);
  color: var(--ref-white);
  cursor: pointer;
  transition: .15s;
}
.ref-hamburger:hover { border-color: var(--ref-blue-bright); }

/* Auth header links (static for non-auth pages, dynamic for auth pages) */
.ref-header-actions .header-link{font-size:13px;font-weight:700;color:var(--ref-muted);text-decoration:none;padding:6px 12px;border-radius:8px;transition:all .15s;white-space:nowrap}
.ref-header-actions .header-link:hover{color:var(--ref-white);background:rgba(255,255,255,.06)}
.ref-header-actions .header-signup{background:linear-gradient(180deg,#1557ff,#003dff 68%,#0027b5);color:#fff}
.ref-header-actions .header-signup:hover{opacity:.9;color:#fff}

/* ── Keyboard focus states ── */
.ref-nav-link:focus-visible,
.ref-search-btn:focus-visible,
.ref-alert-btn:focus-visible,
.ref-hamburger:focus-visible,
.ref-menu-close:focus-visible,
.ref-menu-parent:focus-visible,
.ref-nav-dropdown a:focus-visible,
.header-link:focus-visible,
.ref-logo:focus-visible {
  outline: 2px solid var(--ref-blue-bright);
  outline-offset: 2px;
  border-radius: 8px;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--ref-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top .15s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--ref-blue-bright);
  outline-offset: 2px;
}

/* ── Hero Section ── */
.ref-hero-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(470px,610px);
  gap: 54px;
  min-height: 520px;
  padding: 58px 0 20px;
  margin: 0 auto;
  width: min(1320px, calc(100% - 20px));
  position: relative;
}
.ref-hero-left { position: relative; z-index: 1; }
.ref-hero-left .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(245,158,11,.66);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(5,10,20,.74));
  color: var(--ref-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 0 34px rgba(245,158,11,.14);
}
.ref-hero-left h1 {
  max-width: 610px;
  margin: 18px 0 16px;
  font-size: clamp(42px,5.7vw,78px);
  font-weight: 700;
  line-height: .91;
  letter-spacing: -.07em;
  color: var(--ref-white);
  text-shadow: 0 0 42px rgba(29,155,255,.08);
}
.ref-hero-left h1 span { color: var(--ref-gold); text-shadow: 0 0 30px rgba(245,158,11,.22); }
.ref-hero-left p {
  max-width: 560px;
  margin: 0 0 22px;
  color: #d7e3f4;
  font-size: 16px;
  line-height: 1.5;
}
.ref-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(56,189,248,.46);
  border-radius: var(--ref-radius-sm);
  background: linear-gradient(180deg, #1557ff, #003dff 68%, #0027b5);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(56,189,248,.14), 0 16px 36px rgba(0,61,255,.4);
  transition: .15s;
  cursor: pointer;
}
.btn-blue:hover { box-shadow: 0 0 0 1px rgba(56,189,248,.3), 0 20px 44px rgba(0,61,255,.5); }
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(245,158,11,.68);
  border-radius: var(--ref-radius-sm);
  background: linear-gradient(180deg, rgba(8,13,25,.86), rgba(2,6,23,.68));
  color: var(--ref-gold);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 12px 28px rgba(0,0,0,.2);
  transition: .15s;
  cursor: pointer;
}
.btn-gold:hover { background: rgba(245,158,11,.12); border-color: var(--ref-gold); }

/* Trust Row */
.ref-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  max-width: 560px;
  margin-top: 24px;
}
.ref-trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(12,22,38,.72), rgba(3,7,17,.72));
  color: var(--ref-text);
  font-size: 12px;
  font-weight: 700;
}
.ref-trust-row span::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--ref-blue-bright);
  background: transparent;
}

/* ── Right Panel (Top Deal Dashboard) ── */
.ref-panel {
  position: relative;
  z-index: 1;
}
.ref-panel-orbit {
  position: absolute;
  inset: -22px -18px auto auto;
  width: 168px;
  height: 168px;
  border: 1px solid rgba(56,189,248,.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,86,255,.18), transparent 60%);
  filter: blur(.1px);
  animation: refOrbit 14s linear infinite;
  pointer-events: none;
}

/* Top Deal Card */
.top-deal-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 20px;
  border: 1px solid rgba(245,158,11,0.5);
  border-radius: var(--ref-radius-lg);
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.34), 0 0 20px rgba(245,158,11,0.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.top-deal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.055), transparent);
  transform: translateX(-120%);
  animation: refShine 7s ease-in-out infinite;
}
.top-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.top-card-head span {
  font-size: 11px;
  font-weight: 700;
  color: var(--ref-muted);
  letter-spacing: .08em;
}
.top-card-head b {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(34,197,94,.15);
  color: var(--ref-green);
  border: 1px solid rgba(34,197,94,.3);
  animation: refPulse 2.2s ease-in-out infinite;
}
.deal-row-main {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: start;
}
.firm-crest {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.1), transparent 34%),
              linear-gradient(145deg, #040812, #02040a);
  box-shadow: inset 0 0 24px rgba(255,255,255,.04), 0 0 28px rgba(29,155,255,.08);
  font-size: 22px;
  font-weight: 700;
  color: var(--ref-white);
}
.firm-crest .firm-logo-img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.firm-crest.small .firm-logo-img { width: 68%; height: 68%; }
.firm-crest.crest-gold { border: 1px solid rgba(245,185,66,.5); }
.firm-crest.crest-purple { border: 1px solid rgba(168,85,247,.4); }
.firm-crest.crest-orange { border: 1px solid rgba(245,158,11,.5); }
.firm-crest.crest-blue { border: 1px solid rgba(56,189,248,.4); }
.firm-crest.crest-silver { border: 1px solid rgba(148,163,184,.3); }
.firm-crest.small { width: 48px; height: 48px; font-size: 14px; }

.deal-row-main > div > strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ref-white);
  margin-bottom: 2px;
}
.deal-row-main h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--ref-gold);
  text-shadow: 0 0 20px rgba(245,185,66,.14);
}
.deal-row-main p {
  margin: 2px 0;
  font-size: 13px;
  color: var(--ref-muted);
}
.deal-row-main small {
  font-size: 12px;
  color: var(--ref-muted);
  opacity: .8;
}
.verified-glow {
  position: absolute;
  right: 20px;
  top: 76px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.24), rgba(3,9,18,.9));
  box-shadow: 0 0 34px rgba(34,197,94,.48), inset 0 0 16px rgba(134,239,172,.16);
  color: var(--ref-green);
  font-size: 22px;
  font-weight: 700;
}

/* Mini Deal Grid */
.mini-deal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.mini-deal-grid article {
  padding: 14px;
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: var(--ref-radius-md);
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.34);
  display: flex;
  gap: 10px;
  align-items: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mini-deal-grid article > div { flex: 1; }
.mini-deal-grid article strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ref-white);
}
.mini-deal-grid article h4 {
  margin: 2px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ref-gold);
}
.mini-deal-grid article p {
  margin: 0 0 8px;
  font-size: 11px;
  color: var(--ref-muted);
}
.mini-deal-grid .btn-primary,
.mini-deal-grid .btn-secondary.gold-action {
  width: 100%;
  text-align: center;
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}
.mini-deal-grid .gold-action { border-color: rgba(245,158,11,.6); color: var(--ref-gold); }

/* Market Snapshot */
.market-snapshot {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: var(--ref-radius-md);
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.34);
}
.market-snapshot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.055), transparent);
  transform: translateX(-120%);
  animation: refShine 7s ease-in-out infinite;
}
.snapshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--ref-muted);
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.snapshot-grid span {
  padding: 10px 8px;
  border: 1px solid rgba(88,166,255,.12);
  border-radius: 9px;
  background: rgba(2,6,23,.34);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ref-muted);
}
.snapshot-grid strong { font-size: 10px; font-weight: 700; color: var(--ref-white); letter-spacing: .06em; text-transform: uppercase; }
.snapshot-grid em { font-size: 18px; font-weight: 700; color: var(--ref-white); }
.snapshot-grid b { font-size: 11px; font-weight: 700; color: var(--ref-green); }
.market-snapshot small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ref-muted);
  opacity: .7;
  text-align: center;
}

/* ── Feature Strip ── */
.ref-feature-strip {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 10px;
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
  position: relative;
  z-index: 1;
}
.ref-feature-strip a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 66px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: var(--ref-radius-md);
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.34);
  color: var(--ref-white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ref-feature-strip a:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 72px rgba(0,0,0,.42), 0 0 30px rgba(245,158,11,.08);
}
.ref-feature-strip a small {
  font-size: 11px;
  font-weight: 500;
  color: var(--ref-muted);
}

/* ── Deals Section ── */
.ref-deals-section {
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
}
.ref-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.ref-section-head span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ref-gold);
}
.ref-section-head h2 {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--ref-white);
}
.ref-section-head a {
  color: var(--ref-gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.ref-section-head a:hover { text-decoration: underline; }

/* Filter Chips */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-chip {
  padding: 8px 16px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 20px;
  background: rgba(4,10,22,.68);
  color: var(--ref-text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
  flex-shrink: 0;
}
.filter-chip:hover, .filter-chip.active {
  border-color: rgba(245,158,11,.78);
  color: var(--ref-gold);
  background: rgba(245,158,11,.1);
}
.filter-row-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ref-muted);
  white-space: nowrap;
}
.filter-select {
  padding: 6px 12px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 20px;
  background: rgba(4,10,22,.68);
  color: var(--ref-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  min-width: 150px;
}
.filter-select:hover, .filter-select:focus {
  border-color: rgba(245,158,11,.5);
}
.filter-note {
  font-size: 11px;
  color: var(--ref-muted);
  opacity: .7;
}
.detail-tags span:last-child {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.tag-static { background: rgba(59,130,246,.15); color: #60a5fa; }
.tag-trailing { background: rgba(16,185,129,.15); color: #34d399; }
.tag-varies { background: rgba(234,179,8,.15); color: #fbbf24; }
.tag-low { background: rgba(16,185,129,.15); color: #34d399; }
.tag-medium { background: rgba(234,179,8,.15); color: #fbbf24; }
.tag-high { background: rgba(239,68,68,.15); color: #f87171; }
.tag-unknown { background: rgba(148,163,184,.15); color: #94a3b8; }
.firm-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tag-partner { background: rgba(234,179,8,.15); color: #fbbf24; }
.tag-listing { background: rgba(148,163,184,.15); color: #94a3b8; }
.firm-code-badge {
  display: inline-block;
  font-size: 11px;
  color: var(--ref-muted);
  margin-left: 8px;
}
.firm-code-badge strong {
  color: var(--ref-gold);
}
/* Profile safe label badges */
.profile-label-badge,
.profile-checked-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.profile-label-badge {
  background: rgba(88,166,255,.12);
  color: #60a5fa;
  border: 1px solid rgba(88,166,255,.2);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.profile-checked-badge {
  background: rgba(16,185,129,.12);
  color: #34d399;
  border: 1px solid rgba(16,185,129,.2);
}
/* Verify warning box */
.profile-verify-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: rgba(234,179,8,.08);
  border: 1px solid rgba(234,179,8,.2);
  border-radius: var(--ref-radius-md);
  color: #fbbf24;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.profile-verify-warning svg {
  flex-shrink: 0;
  opacity: .8;
}

/* Payout Tracker */
.payout-leaderboard {
  background: rgba(4,10,22,.68);
  border: 1px solid rgba(88,166,255,.15);
  border-radius: 12px;
  overflow: hidden;
}
.lb-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(88,166,255,.08);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ref-muted);
}
.lb-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  border-top: 1px solid rgba(88,166,255,.08);
  transition: background .15s;
}
.lb-row:hover { background: rgba(88,166,255,.05); }
.lb-fast .lb-days { color: #34d399; font-weight: 700; }
.lb-moderate .lb-days { color: #fbbf24; font-weight: 700; }
.lb-name { font-weight: 700; color: var(--ref-text); }
.lb-days { color: var(--ref-text); }
.lb-count { color: var(--ref-muted); font-size: 12px; }
.lb-split { color: var(--ref-gold); font-weight: 600; }

.payout-reports-grid {
  display: grid;
  gap: 10px;
}
.payout-report-card { padding: 16px; }
.pr-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pr-days { font-size: 13px; font-weight: 700; color: #34d399; }
.pr-amount { font-size: 13px; color: var(--ref-gold); margin-bottom: 4px; }
.pr-note { font-size: 13px; color: #cbd5e1; margin: 0 0 8px; line-height: 1.5; }
.pr-proof { font-size: 12px; color: var(--ref-accent); text-decoration: none; display: inline-block; margin-bottom: 6px; }
.pr-proof:hover { text-decoration: underline; }
.pr-date { color: #475569; font-size: 11px; }

.payout-submit-card { padding: 24px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 12px; font-weight: 700; color: var(--ref-muted); margin-bottom: 4px; }
.form-row select, .form-row input, .form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 8px;
  background: rgba(4,10,22,.68);
  color: var(--ref-text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.form-row select:focus, .form-row input:focus, .form-row textarea:focus {
  border-color: rgba(245,158,11,.5);
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-status { margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: 13px; display: none; }
.form-success { display: block; background: rgba(16,185,129,.12); color: #34d399; border: 1px solid rgba(16,185,129,.25); }
.form-error { display: block; background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.form-disclaimer { font-size: 11px; color: var(--ref-muted); margin-top: 12px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ref-text);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ref-gold);
  cursor: pointer;
}

/* Review Verification Badges */
.review-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}
.review-badge.verified-purchase {
  background: rgba(16,185,129,.15);
  color: #34d399;
  border: 1px solid rgba(16,185,129,.3);
}
.review-badge.verified-trader {
  background: rgba(59,130,246,.15);
  color: #60a5fa;
  border: 1px solid rgba(59,130,246,.3);
}
.review-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(88,166,255,.12);
  color: #60a5fa;
  border: 1px solid rgba(88,166,255,.2);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 10px;
}
.offer-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.offer-firm-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255,255,255,.06);
  padding: 4px;
  flex-shrink: 0;
}
.offer-card-head-text h3 {
  margin: 0 0 2px;
  font-size: 15px;
  color: var(--ref-white);
}
.offer-card-head-text .offer-headline {
  margin: 0;
  font-size: 12px;
  color: var(--ref-muted);
}

/* Offer Card */
.ref-offer-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 230px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: var(--ref-radius-md);
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.34);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ref-offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 72px rgba(0,0,0,.42), 0 0 30px rgba(245,158,11,.08);
}
.ref-offer-card.best-card { border-color: rgba(245,185,66,.4); }
.ref-offer-card .corner-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 10px;
  background: linear-gradient(135deg, rgba(245,185,66,.25), rgba(245,158,11,.15));
  border-bottom: 1px solid rgba(245,185,66,.3);
  border-left: 1px solid rgba(245,185,66,.3);
  border-radius: 0 var(--ref-radius-md) 0 10px;
  color: var(--ref-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ref-offer-card .star-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px;
  border: none;
  background: transparent;
  color: var(--ref-muted);
  font-size: 18px;
  cursor: pointer;
  transition: .15s;
}
.ref-offer-card .star-btn:hover { color: var(--ref-gold); }
.ref-offer-card .firm-crest {
  width: 52px;
  height: 52px;
  font-size: 15px;
}
.ref-offer-card > strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ref-white);
}
.ref-offer-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ref-gold);
}
.ref-offer-card > p {
  margin: 0;
  font-size: 12px;
  color: var(--ref-muted);
}
.offer-mini-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}
.offer-mini-meta .status-verified {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(34,197,94,.12);
  color: var(--ref-green);
  font-weight: 700;
  border: 1px solid rgba(34,197,94,.2);
}
.offer-mini-meta .status-tracked {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(245,158,11,.12);
  color: #f59e0b;
  font-weight: 700;
  border: 1px solid rgba(245,158,11,.2);
}
.offer-mini-meta .status-research {
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(148,163,184,.12);
  color: #94a3b8;
  font-weight: 700;
  border: 1px solid rgba(148,163,184,.2);
}
.offer-mini-meta span:last-child {
  color: var(--ref-muted);
  font-weight: 600;
}

.status-pill {
  display:inline-block;padding:1px 7px;border-radius:8px;font-size:9px;font-weight:700;margin-left:6px;
}
.status-pill.status-verified { background:rgba(34,197,94,.15);color:#22c55e;border:1px solid rgba(34,197,94,.25); }
.status-pill.status-tracked { background:rgba(245,158,11,.15);color:#f59e0b;border:1px solid rgba(245,158,11,.25); }
.status-pill.status-research { background:rgba(148,163,184,.15);color:#94a3b8;border:1px solid rgba(148,163,184,.25); }
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
}
.card-actions .btn-primary,
.card-actions .btn-secondary {
  min-height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: .15s;
}
.card-actions .btn-primary {
  border: 1px solid rgba(56,189,248,.46);
  background: linear-gradient(180deg, #1557ff, #003dff 68%, #0027b5);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(56,189,248,.14);
}
.card-actions .btn-primary:hover { box-shadow: 0 0 0 1px rgba(56,189,248,.3); }
.card-actions .btn-secondary {
  border: 1px solid rgba(88,166,255,.25);
  background: rgba(8,13,25,.8);
  color: var(--ref-text);
}
.card-actions .btn-secondary:hover { border-color: rgba(88,166,255,.5); color: var(--ref-white); }
.ref-offer-card > small {
  font-size: 10px;
  color: var(--ref-muted);
  opacity: .7;
}

/* ── Mobile Bottom Nav ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 68px;
  padding: 4px 0 env(safe-area-inset-bottom,0);
  background: rgba(2,7,17,.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(148,163,184,.08);
  box-shadow: 0 -12px 48px rgba(0,0,0,.44);
  justify-content: space-around;
  align-items: center;
}
.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 12px;
  color: var(--ref-muted);
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
  transition: .15s;
  min-height: 44px;
  justify-content: center;
  letter-spacing: .4px;
  text-transform: uppercase;
  position: relative;
}
.mobile-bottom-nav a svg {
  width: 20px;
  height: 20px;
  opacity: .55;
  transition: .15s;
}
.mobile-bottom-nav a.active svg,
.mobile-bottom-nav a:hover svg {
  opacity: 1;
}
.mobile-bottom-nav a.active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--ref-blue-bright);
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
  color: var(--ref-blue-bright);
}

/* ── Mobile Menu (Overlay) ── */
.ref-mobile-menu {
  display: none;
}
.ref-mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 20px;
  background: rgba(2,7,17,.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow-y: auto;
  animation: mobileMenuIn .3s ease;
}
@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
.ref-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ref-menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ref-border);
  border-radius: 10px;
  background: rgba(15,23,42,.76);
  color: var(--ref-white);
  font-size: 22px;
  cursor: pointer;
  transition: .15s;
}
.ref-menu-close:hover { border-color: var(--ref-blue-bright); }
.ref-menu-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0 16px;
  padding: 16px;
  border: 1px solid rgba(88,166,255,.15);
  border-radius: var(--ref-radius-md);
  background: rgba(12,22,38,.6);
}
.ref-menu-trust span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ref-muted);
}
.ref-menu-trust span::before {
  content: "✓ ";
  color: var(--ref-green);
  font-weight: 700;
}
.ref-mobile-menu .pfs-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 8px;
}

/* ── Premium Footer ── */
.ref-footer {
  margin: 60px auto 0;
  padding: 40px 20px 24px;
  width: min(1320px, calc(100% - 20px));
  border-top: 1px solid rgba(148,163,184,.08);
}
.ref-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.ref-footer-brand .ref-logo-text { font-size: 20px; }
.ref-footer-brand p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--ref-muted);
  line-height: 1.6;
  max-width: 300px;
}
.ref-footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ref-white);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ref-footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: .15s;
}
.ref-footer-col a:hover { color: var(--ref-white); }
.ref-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(148,163,184,.08);
  font-size: 12px;
  color: var(--ref-muted);
}
.ref-footer-social {
  display: flex;
  gap: 12px;
}
.ref-footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ref-border);
  border-radius: 10px;
  color: var(--ref-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: .15s;
}
.ref-footer-social a:hover {
  border-color: var(--ref-blue-bright);
  color: var(--ref-white);
  background: rgba(56,189,248,.08);
}

/* ── Deals / Offers Page ── */
.ref-page-wrap {
  margin: 0 auto;
  padding: 28px 0;
  width: min(1320px, calc(100% - 20px));
}
.ref-page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.ref-back-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ref-border);
  border-radius: 10px;
  background: rgba(15,23,42,.6);
  color: var(--ref-white);
  text-decoration: none;
  font-size: 16px;
  transition: .15s;
}
.ref-back-btn:hover { border-color: var(--ref-blue-bright); }
.ref-page-title {
  flex: 1;
}
.ref-page-title h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ref-white);
}
.ref-page-title p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ref-muted);
}
.ref-page-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ── Firm Detail Page ── */
.ref-firm-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(88,166,255,.24);
  border-radius: var(--ref-radius-lg);
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px rgba(0,0,0,.34);
  margin-bottom: 20px;
}
.ref-firm-hero .firm-crest { width: 72px; height: 72px; font-size: 20px; }
.ref-firm-hero h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ref-white);
}
.ref-firm-hero .offer-tag {
  font-size: 20px;
  font-weight: 700;
  color: var(--ref-gold);
}
.ref-firm-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(148,163,184,.1);
  padding-bottom: 0;
}
.ref-firm-tabs a {
  padding: 10px 18px;
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: .15s;
}
.ref-firm-tabs a:hover, .ref-firm-tabs a.active {
  color: var(--ref-white);
  border-bottom-color: var(--ref-blue-bright);
}
.ref-firm-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ref-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid rgba(88,166,255,.12);
  border-radius: 8px;
  background: rgba(2,6,23,.3);
  font-size: 13px;
}
.ref-detail-row span:first-child { color: var(--ref-muted); font-weight: 600; }
.ref-detail-row span:last-child { color: var(--ref-white); font-weight: 700; }

/* ── Compare Page ── */
.ref-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(88,166,255,.18);
  border-radius: var(--ref-radius-md);
  overflow: hidden;
}
.ref-compare-table th,
.ref-compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(88,166,255,.1);
  font-size: 14px;
}
.ref-compare-table th {
  background: rgba(12,22,38,.8);
  color: var(--ref-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ref-compare-table td { color: var(--ref-text); background: rgba(2,6,23,.2); }
.ref-compare-table td:first-child { font-weight: 700; color: var(--ref-white); }
.ref-compare-table .gold-value { color: var(--ref-gold); font-weight: 700; }
.ref-compare-table .green-value { color: var(--ref-green); font-weight: 700; }
.ref-compare-table .action-cell .btn-blue { font-size: 12px; min-height: 34px; padding: 0 14px; }

/* ── Div-based Comparison Table (N firms) ── */
.comparison-result-container { margin-top: 16px; }
.comparison-header h2 { font-size: 20px; color: var(--ref-white); margin: 0 0 4px; }
.comparison-header p { color: var(--ref-muted); font-size: 14px; margin: 0 0 16px; }
.comparison-table {
  display: grid;
  grid-template-columns: 140px repeat(auto-fill, minmax(150px, 1fr));
  border: 1px solid rgba(88,166,255,.18);
  border-radius: var(--ref-radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.comparison-row {
  display: contents;
}
.comparison-cell {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid rgba(88,166,255,.08);
  background: rgba(2,6,23,.2);
}
.comparison-row.header .comparison-cell {
  background: rgba(12,22,38,.9);
  color: var(--ref-white);
  font-weight: 700;
  font-size: 13px;
  padding: 14px;
  position: sticky;
  top: 0;
  z-index: 3;
}
.comparison-row.header .comparison-cell:first-child {
  z-index: 4;
}
.comparison-cell .firm-logo-compare {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
  background: rgba(255,255,255,.06);
  padding: 2px;
}
.comparison-cell.field-label {
  font-weight: 700;
  color: var(--ref-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: rgba(12,22,38,.5);
  position: sticky;
  left: 0;
  z-index: 2;
}
@media (max-width: 600px) {
  .comparison-cell.field-label {
    z-index: 3;
    box-shadow: 2px 0 8px rgba(0,0,0,.3);
  }
}
.comparison-cell.firm-value { color: var(--ref-text); }
.comparison-cell .needs-verification { color: var(--ref-muted); font-style: italic; font-size: 12px; }
.comparison-cell .code-badge {
  display: inline-block;
  background: var(--ref-gold);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 4px;
}
.firm-logo-compare-wrap {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width: 600px) {
  .comparison-cell.firm-name {
    white-space: nowrap;
  }
  .comparison-controls-inner {
    flex-direction: column;
  }
}
.comparison-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.summary-item {
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  border: 1px solid rgba(88,166,255,.18);
  border-radius: var(--ref-radius-md);
  padding: 16px;
}
.summary-item h4 { color: var(--ref-white); font-size: 14px; margin: 0 0 6px; }
.summary-item p { color: var(--ref-muted); font-size: 13px; margin: 0; }

/* ── Empty / Error State ── */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed rgba(148,163,184,.2);
  border-radius: var(--ref-radius-md);
}
.empty-state h3 { color: var(--ref-white); margin: 0 0 8px; }
.empty-state p { color: var(--ref-muted); margin: 0 0 16px; }

/* ── Premium Card (shared) ── */
.premium-card {
  background: rgba(8, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: var(--ref-radius-md);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.34);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.premium-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 24px 64px rgba(0,0,0,0.4), 0 0 20px rgba(56,189,248,0.08);
}

/* ── Why Section ── */
.ref-why-section {
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.why-card {
  padding: 24px;
  border: 1px solid rgba(88,166,255,.24);
  border-radius: var(--ref-radius-md);
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px rgba(0,0,0,.34);
  transition: transform .18s ease, border-color .18s ease;
}
.why-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245,158,11,.4);
}
.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.why-icon.gold-icon {
  background: rgba(245,158,11,.12);
  color: var(--ref-gold);
}
.why-icon.blue-icon {
  background: rgba(56,189,248,.1);
  color: var(--ref-blue-bright);
}
.why-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ref-white);
}
.why-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ref-muted);
  line-height: 1.6;
}

/* ── Compare Section ── */
.ref-compare-section {
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.compare-card {
  display: grid;
  gap: 14px;
}
.compare-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ref-white);
}
.compare-items {
  display: grid;
  gap: 8px;
}
.compare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(2,6,23,.3);
  border: 1px solid rgba(88,166,255,.1);
}
.compare-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ref-muted);
}
.compare-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--ref-white);
}
.compare-card .btn-secondary {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(88,166,255,.25);
  background: rgba(8,13,25,.8);
  color: var(--ref-text);
  transition: .15s;
}
.compare-card .btn-secondary:hover {
  border-color: rgba(88,166,255,.5);
  color: var(--ref-white);
}

/* ── Tracking Section ── */
.ref-tracking-section {
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
}
.tracking-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.tracking-card {
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.tracking-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(56,189,248,.08);
  color: var(--ref-blue-bright);
  border: 1px solid rgba(56,189,248,.2);
}
.tracking-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ref-white);
}
.tracking-card p {
  margin: 0;
  font-size: 12px;
  color: var(--ref-muted);
  line-height: 1.6;
}

/* ── Market Ticker ── */
.ref-ticker-section {
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
  overflow: hidden;
  border: 1px solid rgba(88,166,255,.18);
  border-radius: var(--ref-radius-md);
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px rgba(0,0,0,.34);
}
.market-ticker-wrap {
  display: flex;
  gap: 16px;
  padding: 14px 18px;
  white-space: nowrap;
  will-change: transform;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(88,166,255,.15);
  border-radius: 8px;
  background: rgba(2,6,23,.3);
  flex-shrink: 0;
}
.ticker-firm {
  font-size: 12px;
  font-weight: 700;
  color: var(--ref-white);
}
.ticker-change {
  font-size: 12px;
  font-weight: 700;
  color: var(--ref-gold);
}
.ticker-type {
  font-size: 10px;
  font-weight: 600;
  color: var(--ref-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ticker-time {
  text-align: right;
  padding: 4px 18px 10px;
  font-size: 11px;
  color: var(--ref-muted);
  opacity: .7;
}

/* ── Email Section ── */
.ref-email-section {
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
}
.pf-email-capture {
  padding: 32px;
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--ref-radius-lg);
  background: radial-gradient(circle at 0 50%, rgba(56,189,248,.08), transparent 28%),
              linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px rgba(0,0,0,.34);
}
.pf-email-capture h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ref-white);
}
.pf-email-capture p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ref-muted);
}
.pf-email-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
.pf-email-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(88,166,255,.25);
  border-radius: var(--ref-radius-sm);
  background: rgba(2,6,23,.4);
  color: var(--ref-white);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color .2s;
}
.pf-email-form input:focus {
  border-color: var(--ref-blue-bright);
}
.pf-email-form .btn-blue {
  min-height: 42px;
}

/* ── FAQ Section ── */
.ref-faq-section {
  margin: 28px auto 0;
  width: min(760px, calc(100% - 20px));
}

/* ── Best By Type Section ── */
.ref-best-section {
  margin: 28px auto 0;
  width: min(1320px, calc(100% - 20px));
}

/* ── Firm Logo Sizing (more visible) ── */
.firm-crest {
  width: 82px;
  height: 82px;
}
.firm-crest.small {
  width: 54px;
  height: 54px;
}
.firm-crest .firm-logo-img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.firm-crest.small .firm-logo-img {
  width: 72%;
  height: 72%;
}
.ref-offer-card .firm-crest {
  width: 60px;
  height: 60px;
}
.ref-offer-card .firm-crest .firm-logo-img {
  width: 74%;
  height: 74%;
}
.deal-row-main .firm-crest {
  width: 92px;
  height: 92px;
}
.deal-row-main .firm-crest .firm-logo-img {
  width: 78%;
  height: 78%;
}

/* ── Keyframes ── */
@keyframes refOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes refShine {
  0%, 64% { transform: translateX(-125%); opacity: 0; }
  74% { opacity: .52; }
  100% { transform: translateX(125%); opacity: 0; }
}
@keyframes refPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(34,197,94,.2); }
  50% { box-shadow: 0 0 18px rgba(34,197,94,.45); }
}

/* ── Tablet: 641–1024px ── */
@media (max-width: 1024px) {
  .ref-hero-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 32px 0 10px;
  }
  .ref-hero-left h1 { font-size: 48px; }
  .ref-panel { max-width: 560px; }
  .ref-feature-strip { grid-template-columns: repeat(3,1fr); }
  .offer-grid { grid-template-columns: repeat(3,1fr); }
  .ref-footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
  .ref-announce { flex-wrap: wrap; text-align: center; }
  .ref-nav { display: none; }
  .ref-hamburger { display: grid; }
  .why-grid, .compare-grid { grid-template-columns: repeat(2,1fr); }
  .tracking-grid { grid-template-columns: repeat(2,1fr); }
  .ref-ticker-section { width: calc(100% - 20px); }
  .ref-email-section { width: calc(100% - 20px); }
  .ref-faq-section { width: calc(100% - 20px); }
  .ref-best-section { width: calc(100% - 20px); }
}

/* ── Mobile: ≤640px ── */
@media (max-width: 640px) {
  .ref-announce {
    min-height: auto;
    padding: 10px 14px;
    font-size: 12px;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    width: calc(100% - 16px);
    border-radius: 16px;
  }
  .ref-header { width: calc(100% - 16px); }
  .ref-header-inner { min-height: 58px; padding: 0 12px; }
  .ref-logo-mark { width: 32px; height: 32px; font-size: 15px; }
  .ref-logo-text { font-size: 16px; }
  .ref-nav { display: none; }
  .ref-header-actions .ref-alert-btn { display: none; }
  .ref-header-actions .ref-search-btn { display: none; }
  .ref-hamburger { display: grid; }
  .ref-hero-wrap {
    width: calc(100% - 16px);
    padding: 24px 0 10px;
    gap: 20px;
  }
  .ref-hero-left h1 { font-size: 36px; letter-spacing: -.05em; }
  .ref-hero-left p { font-size: 14px; }
  .ref-hero-actions { flex-direction: column; }
  .ref-hero-actions .btn-blue, .ref-hero-actions .btn-gold { width: 100%; justify-content: center; }
  .ref-trust-row { grid-template-columns: 1fr; }
  .ref-panel-orbit { display: none; }
  .top-deal-card { padding: 16px; min-height: auto; }
  .deal-row-main { grid-template-columns: 64px 1fr; }
  .deal-row-main .btn-primary { grid-column: 2; width: 100%; }
  .firm-crest { width: 58px; height: 58px; font-size: 18px; }
  .deal-row-main h3 { font-size: 22px; }
  .verified-glow { right: 14px; top: 64px; width: 44px; height: 44px; font-size: 18px; }
  .mini-deal-grid { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: repeat(2,1fr); }
  .ref-feature-strip {
    width: calc(100% - 16px);
    grid-template-columns: repeat(2,1fr);
    margin-top: 20px;
  }
  .ref-deals-section { width: calc(100% - 16px); }
  .ref-section-head { flex-direction: column; align-items: start; }
  .offer-grid { grid-template-columns: 1fr; }
  .why-grid, .compare-grid { grid-template-columns: 1fr; }
  .tracking-grid { grid-template-columns: 1fr; }
  .ref-ticker-section { width: calc(100% - 16px); }
  .ref-email-section { width: calc(100% - 16px); }
  .pf-email-capture { padding: 24px 16px; }
  .pf-email-form { flex-direction: column; }
  .pf-email-form input { width: 100%; box-sizing: border-box; }
  .ref-faq-section { width: calc(100% - 16px); }
  .ref-best-section { width: calc(100% - 16px); }
  .mobile-bottom-nav { display: flex; }
  .ref-footer { width: calc(100% - 16px); padding: 24px 0 80px; }
  .ref-footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ref-footer-brand { grid-column: 1 / -1; }
  .ref-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .ref-firm-hero { grid-template-columns: auto 1fr; }
  .ref-firm-hero .btn-blue { grid-column: 1 / -1; }
  .ref-firm-details { grid-template-columns: 1fr; }
  .ref-compare-table { font-size: 12px; }
  .ref-compare-table th, .ref-compare-table td { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ref-panel-orbit,
  .top-deal-card::before,
  .market-snapshot::before,
  .top-card-head b {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   Premium Deal / Firm Card System
   ═══════════════════════════════════════════ */

.premium-deal-card,
.firm-card-premium {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,18,33,.96), rgba(5,9,20,.98));
  border: 1px solid rgba(148,163,184,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 60px rgba(0,0,0,.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.premium-deal-card:hover,
.firm-card-premium:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 24px 72px rgba(0,0,0,.42), 0 0 24px rgba(56,189,248,.08);
}
.premium-deal-card.best-card,
.firm-card-premium.best-card {
  border-color: rgba(245,158,11,.35);
}
.premium-deal-card.best-card:hover,
.firm-card-premium.best-card:hover {
  border-color: rgba(245,158,11,.55);
}
.premium-deal-card.best-card::after,
.firm-card-premium.best-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.04), transparent);
  transform: translateX(-120%);
  animation: premium-shine 8s ease-in-out infinite;
}
@keyframes premium-shine {
  0%, 100% { transform: translateX(-120%); }
  30% { transform: translateX(120%); }
}

.firm-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.firm-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.08);
  overflow: hidden;
}
.firm-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.firm-logo-box .firm-logo-init {
  font-weight: 700;
  font-size: 16px;
  color: #94a3b8;
}
.firm-card-header-text {
  flex: 1;
  min-width: 0;
}
.firm-card-header-text .firm-name {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.firm-card-header-text .firm-sub {
  font-size: 11px;
  color: #64748b;
  margin: 1px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.firm-star-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: .15s;
}
.firm-star-btn:hover {
  color: #f5b942;
  background: rgba(245,185,66,.1);
}

.offer-highlight {
  font-size: 28px;
  font-weight: 700;
  color: #f5b942;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.offer-highlight.muted {
  color: #94a3b8;
  font-size: 20px;
}

.deal-code-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
}
.deal-code-line .code-label {
  font-weight: 600;
}
.deal-code-line .code-value {
  font-weight: 700;
  color: #f5b942;
  background: rgba(245,185,66,.1);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245,185,66,.2);
}

.deal-badge-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: rgba(34,197,94,.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.2);
}
.verified-badge.tracked {
  background: rgba(56,189,248,.12);
  color: #38bdf8;
  border-color: rgba(56,189,248,.2);
}
.verified-badge.research {
  background: rgba(148,163,184,.12);
  color: #94a3b8;
  border-color: rgba(148,163,184,.2);
}
.market-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: rgba(148,163,184,.08);
  color: #94a3b8;
  border: 1px solid rgba(148,163,184,.15);
}
.risk-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.risk-badge.low {
  background: rgba(34,197,94,.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.15);
}
.risk-badge.medium {
  background: rgba(245,185,66,.1);
  color: #f5b942;
  border: 1px solid rgba(245,185,66,.15);
}
.risk-badge.high {
  background: rgba(239,68,68,.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.15);
}

.deal-meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 12px;
  font-size: 12px;
}
.deal-meta-list .meta-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px solid rgba(148,163,184,.06);
}
.deal-meta-list .meta-label {
  color: #64748b;
  font-weight: 600;
}
.deal-meta-list .meta-value {
  color: #cbd5e1;
  font-weight: 700;
}

.deal-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
}
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #155dfc, #1d4ed8);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 0 12px rgba(56,189,248,.2);
  min-height: 42px;
}
.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56,189,248,.4), 0 8px 24px rgba(21,93,252,.3);
}
.btn-premium:active {
  transform: translateY(0);
}
.btn-premium.copied {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 0 12px rgba(34,197,94,.3);
}
.btn-premium-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  min-height: 42px;
}
.btn-premium-secondary:hover {
  border-color: rgba(148,163,184,.4);
  background: rgba(148,163,184,.06);
  color: #f8fafc;
  transform: translateY(-2px);
}
.btn-premium-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
  min-height: 32px;
}
.btn-premium-ghost:hover {
  border-color: rgba(56,189,248,.3);
  color: #38bdf8;
  background: rgba(56,189,248,.06);
}

.premium-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
@media (min-width: 1000px) {
  .premium-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1300px) {
  .premium-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.compact-card {
  padding: 14px;
  gap: 8px;
  border-radius: 14px;
}
.compact-card .firm-logo-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.compact-card .firm-card-header-text .firm-name {
  font-size: 13px;
}
.compact-card .offer-highlight {
  font-size: 22px;
}
.compact-card .deal-meta-list {
  font-size: 11px;
  gap: 2px 10px;
}
.compact-card .btn-premium,
.compact-card .btn-premium-secondary {
  padding: 8px 14px;
  font-size: 12px;
  min-height: 36px;
}

/* ═══════════════════════════════════════════
   PFS Design System — Global Reusable Classes
   ═══════════════════════════════════════════ */

:root {
  --pfs-bg: #040814;
  --pfs-bg-soft: #071225;
  --pfs-card: rgba(8,18,33,.96);
  --pfs-card-2: rgba(5,9,20,.98);
  --pfs-border-blue: rgba(56,189,248,.20);
  --pfs-border-gold: rgba(245,158,11,.38);
  --pfs-blue: #2563eb;
  --pfs-blue-bright: #38bdf8;
  --pfs-gold: #f59e0b;
  --pfs-gold-soft: #fbbf24;
  --pfs-green: #22c55e;
  --pfs-text: #f8fafc;
  --pfs-muted: #94a3b8;
  --pfs-radius: 18px;
  --pfs-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.pfs-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Cards ── */
.pfs-glass-card {
  background: linear-gradient(180deg, var(--pfs-card), var(--pfs-card-2));
  border: 1px solid var(--pfs-border-blue);
  border-radius: var(--pfs-radius);
  box-shadow: var(--pfs-shadow), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pfs-glass-card:hover {
  transform: translateY(-2px);
  border-color: var(--pfs-border-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 20px rgba(56,189,248,.08);
}

.pfs-card-grid {
  display: grid;
  gap: 12px;
}

.pfs-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ── Buttons ── */
.pfs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
  border: none;
}
.pfs-btn-primary {
  background: linear-gradient(135deg, #155dfc, #1d4ed8);
  color: #fff;
  box-shadow: 0 0 12px rgba(56,189,248,.2);
}
.pfs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(56,189,248,.4), 0 8px 24px rgba(21,93,252,.3);
}
.pfs-btn-secondary {
  background: transparent;
  color: var(--pfs-muted);
  border: 1px solid rgba(148,163,184,.2);
}
.pfs-btn-secondary:hover {
  color: var(--pfs-text);
  border-color: var(--pfs-blue-bright);
  background: rgba(56,189,248,.06);
}
.pfs-btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 700;
}
.pfs-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(245,158,11,.4);
}
.pfs-btn-sm {
  padding: 6px 12px;
  font-size: 11px;
  min-height: 32px;
  border-radius: 8px;
}

/* ── Badges ── */
.pfs-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.pfs-badge-gold {
  background: rgba(245,158,11,.12);
  color: #f5b942;
  border: 1px solid rgba(245,158,11,.2);
}
.pfs-badge-blue {
  background: rgba(56,189,248,.12);
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,.2);
}
.pfs-badge-green {
  background: rgba(34,197,94,.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.2);
}
.pfs-badge-verified {
  background: rgba(34,197,94,.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.2);
}

/* ── Tabs / Pills ── */
.pfs-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pfs-tab {
  padding: 6px 14px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 20px;
  background: rgba(4,10,22,.68);
  color: var(--pfs-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}
.pfs-tab:hover, .pfs-tab.active {
  border-color: rgba(245,158,11,.78);
  color: var(--pfs-gold);
  background: rgba(245,158,11,.1);
}

/* ── Section ── */
.pfs-section {
  margin-bottom: 40px;
}
.pfs-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.pfs-section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--pfs-text);
  letter-spacing: -.02em;
}
.pfs-section-head .pfs-section-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--pfs-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
  display: block;
}
.pfs-section-head a {
  font-size: 13px;
  font-weight: 700;
  color: var(--pfs-blue-bright);
  text-decoration: none;
  white-space: nowrap;
}
.pfs-section-head a:hover {
  color: var(--pfs-gold);
}

/* ── Page header ── */
.pfs-page-header {
  margin-bottom: 24px;
}
.pfs-page-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--pfs-text);
  margin: 0 0 4px;
  letter-spacing: -.03em;
}
.pfs-page-header p {
  font-size: 14px;
  color: var(--pfs-muted);
  margin: 0;
}

/* ── Sidebar layout ── */
.pfs-sidebar-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.pfs-sidebar {
  width: 210px;
  flex-shrink: 0;
  background: rgba(8,15,28,.88);
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 14px;
  padding: 16px;
  position: sticky;
  top: 20px;
}
.pfs-sidebar h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--pfs-text);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pfs-sidebar-section {
  margin-bottom: 14px;
}
.pfs-sidebar-section h4 {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pfs-sidebar-section label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pfs-muted);
  padding: 4px 0;
  cursor: pointer;
}
.pfs-sidebar-section label:hover { color: var(--pfs-text); }
.pfs-sidebar-section input[type="checkbox"] {
  accent-color: var(--pfs-blue-bright);
  width: 14px; height: 14px;
}
.pfs-content {
  flex: 1;
  min-width: 0;
}

/* ── Premium logo header ── */
.pfs-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.pfs-logo-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.pfs-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--pfs-text);
  letter-spacing: -.02em;
}
.pfs-logo-text span {
  color: var(--pfs-gold);
}

/* ── Micro-interactions ── */
.pfs-hover-glow:hover {
  box-shadow: 0 0 20px rgba(56,189,248,.15), 0 8px 24px rgba(0,0,0,.3);
}
.pfs-border-glow {
  animation: pfs-border-pulse 3s ease-in-out infinite;
}
@keyframes pfs-border-pulse {
  0%, 100% { border-color: rgba(56,189,248,.2); }
  50% { border-color: rgba(56,189,248,.45); }
}

/* ── Empty state ── */
.pfs-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--pfs-muted);
}
.pfs-empty h3 { color: var(--pfs-muted); margin: 0 0 8px; }
.pfs-empty p { margin: 0; font-size: 13px; }

@media (max-width: 768px) {
  .pfs-sidebar-layout { flex-direction: column; }
  .pfs-sidebar { width: 100%; position: static; }
  .pfs-two-col { grid-template-columns: 1fr; }
  .pfs-shell { padding: 0 12px; }
}

/* ═══════════════════════════════════════════
   Homepage — Premium Hero Panels
   ═══════════════════════════════════════════ */

.home-premium-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}
.home-hero-left {
  padding-top: 20px;
}
.home-hero-left .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(56,189,248,.1);
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,.2);
  margin-bottom: 14px;
}
.home-hero-left h1 {
  font-size: 42px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.home-hero-left h1 .gold-highlight {
  color: #f5b942;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home-hero-left p {
  font-size: 15px;
  color: #64748b;
  margin: 0 0 24px;
  max-width: 480px;
  line-height: 1.6;
}
.home-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.home-trust-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.home-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(148,163,184,.06);
  border: 1px solid rgba(148,163,184,.1);
}
.home-trust-chip .check-icon {
  color: #22c55e;
  font-weight: 700;
}

/* ── Hero right panel ── */
.home-hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-top-deal {
  background: linear-gradient(180deg, rgba(8,18,33,.96), rgba(5,9,20,.98));
  border: 1px solid rgba(245,158,11,.35);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.home-top-deal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.04), transparent);
  transform: translateX(-120%);
  animation: home-shine 8s ease-in-out infinite;
}
@keyframes home-shine {
  0%, 100% { transform: translateX(-120%); }
  30% { transform: translateX(120%); }
}
.home-top-deal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.home-top-deal-head span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
}
.home-top-deal-head .deal-status-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(34,197,94,.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.2);
  text-transform: uppercase;
}
.home-top-deal-row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.home-top-deal-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-top-deal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.home-top-deal-logo .init {
  font-weight: 700;
  font-size: 18px;
  color: #94a3b8;
}
.home-top-deal-info {
  flex: 1;
  min-width: 0;
}
.home-top-deal-info strong {
  font-size: 14px;
  color: #f8fafc;
  display: block;
  margin-bottom: 2px;
}
.home-top-deal-info .deal-highlight {
  font-size: 26px;
  font-weight: 700;
  color: #f5b942;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.home-top-deal-info .deal-code-tag {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}
.home-top-deal-info .deal-code-tag strong {
  display: inline;
  color: #f5b942;
  background: rgba(245,185,66,.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}
.home-top-deal .btn-primary {
  margin-top: 10px;
}
.home-verified-glow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34,197,94,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 14px;
  font-weight: 700;
}

/* ── Mini deal cards ── */
.home-hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.home-mini-deal {
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: .2s;
}
.home-mini-deal:hover {
  border-color: rgba(56,189,248,.25);
  transform: translateY(-2px);
}
.home-mini-deal-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,184,.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-mini-deal-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.home-mini-deal-logo .init { font-weight: 700; font-size: 14px; color: #94a3b8; }
.home-mini-deal-info { flex: 1; min-width: 0; }
.home-mini-deal-info .firm { font-size: 12px; font-weight: 700; color: #f8fafc; display: block; }
.home-mini-deal-info .label { font-size: 10px; color: #64748b; }
.home-mini-deal-info .code-tag { font-size: 10px; color: #f5b942; font-weight: 700; }
.home-mini-deal .btn-sm { margin-top: 2px; }

/* ── Snapshot card ── */
.home-snapshot {
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
  border-radius: 14px;
  padding: 14px;
}
.home-snapshot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #64748b;
  margin-bottom: 10px;
}
.home-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.home-snapshot-item {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(148,163,184,.04);
}
.home-snapshot-item strong {
  display: block;
  font-size: 9px;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 4px;
}
.home-snapshot-item em {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #f5b942;
  font-style: normal;
  line-height: 1.2;
}
.home-snapshot-item b {
  display: block;
  font-size: 9px;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}
.home-snapshot small {
  display: block;
  font-size: 9px;
  color: #475569;
  margin-top: 8px;
  text-align: center;
}

/* ── Feature strip ── */
.home-feature-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 28px;
}
.home-feature-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.9), rgba(5,9,20,.94));
  border: 1px solid rgba(148,163,184,.1);
  text-decoration: none;
  transition: .2s;
}
.home-feature-item:hover {
  border-color: rgba(56,189,248,.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.home-feature-item .fi-icon {
  font-size: 16px;
  margin-bottom: 4px;
}
.home-feature-item .fi-title {
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
}
.home-feature-item .fi-desc {
  font-size: 10px;
  color: #64748b;
}

/* ── Trust / value proposition strip ── */
.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.home-trust-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: 14px;
  background: rgba(8,18,33,.6);
  border: 1px solid rgba(148,163,184,.08);
}
.home-trust-tile .tt-icon {
  font-size: 18px;
}
.home-trust-tile .tt-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ── Bottom promo panels ── */
.home-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.home-promo-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(56,189,248,.15);
  align-items: center;
}
.home-promo-card .promo-visual {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.15);
}
.home-promo-card .promo-content { flex: 1; }
.home-promo-card .promo-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
}
.home-promo-card .promo-content p {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 10px;
  line-height: 1.5;
}
.home-promo-card.alert-card {
  border-color: rgba(245,158,11,.25);
  background: linear-gradient(180deg, rgba(20,14,8,.94), rgba(15,10,5,.96));
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .home-premium-hero {
    grid-template-columns: 1fr;
    padding: 24px 12px 12px;
    gap: 16px;
  }
  .home-hero-left h1 { font-size: 28px; }
  .home-hero-left p { font-size: 14px; }
  .home-hero-right { order: -1; }
  .home-hero-mini-grid { grid-template-columns: 1fr; }
  .home-snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .home-feature-strip { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 12px 16px; }
  .home-trust-strip { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 12px; }
  .home-promo-grid { grid-template-columns: 1fr; padding: 0 12px; }
}

@media (max-width: 480px) {
  .home-feature-strip { grid-template-columns: repeat(2, 1fr); }
  .home-trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) and (max-width: 1080px) {
  .home-premium-hero { grid-template-columns: 1fr 300px; }
  .home-hero-left h1 { font-size: 34px; }
  .home-feature-strip { grid-template-columns: repeat(3, 1fr); }
  .home-trust-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════
   Deals Page — Compact Card Layout
   ═══════════════════════════════════════════ */

/* overflow-x handled by styles.css body rule */

.deals-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.deals-header {
  margin-bottom: 24px;
}
.deals-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
  letter-spacing: -.03em;
}
.deals-header p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px;
}
.deals-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Body: sidebar + grid */
.deals-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ── Sidebar ── */
.deals-sidebar {
  width: 210px;
  flex-shrink: 0;
  background: rgba(8,15,28,.88);
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 14px;
  padding: 16px;
  position: sticky;
  top: 20px;
}
.deals-sidebar h3 {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sidebar-section {
  margin-bottom: 14px;
}
.sidebar-section h4 {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sidebar-section label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  padding: 4px 0;
  cursor: pointer;
  transition: color .1s;
}
.sidebar-section label:hover {
  color: #f8fafc;
}
.sidebar-section input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #38bdf8;
  flex-shrink: 0;
}
.sidebar-clear {
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.sidebar-clear:hover {
  border-color: rgba(239,68,68,.3);
  color: #ef4444;
  background: rgba(239,68,68,.06);
}

/* ── Content area ── */
.deals-content {
  flex: 1;
  min-width: 0;
}

/* ── Compact card grid ── */
.deal-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  min-width: 0;
}
.deal-grid-compact .premium-deal-card {
  padding: 14px;
  gap: 8px;
  border-radius: 14px;
  min-height: 0;
}
.deal-grid-compact .firm-logo-box {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.deal-grid-compact .firm-logo-box img {
  padding: 3px;
}
.deal-grid-compact .firm-logo-init {
  font-size: 12px;
}
.deal-grid-compact .firm-card-header {
  gap: 8px;
}
.deal-grid-compact .firm-card-header-text .firm-name {
  font-size: 12px;
}
.deal-grid-compact .firm-card-header-text .firm-sub {
  font-size: 10px;
}
.deal-grid-compact .firm-star-btn {
  width: 24px;
  height: 24px;
  font-size: 13px;
}
.deal-grid-compact .offer-highlight {
  font-size: 20px;
}
.deal-grid-compact .deal-code-line {
  font-size: 11px;
}
.deal-grid-compact .deal-badge-row {
  gap: 4px;
}
.deal-grid-compact .verified-badge,
.deal-grid-compact .market-badge {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 6px;
}
.deal-grid-compact .deal-meta-list {
  font-size: 10px;
  gap: 1px 8px;
  grid-template-columns: 1fr;
}
.deal-grid-compact .deal-meta-list .meta-row {
  padding: 2px 0;
}
.deal-grid-compact .deal-card-actions {
  gap: 4px;
  margin-top: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.deal-grid-compact .btn-premium,
.deal-grid-compact .btn-premium-secondary {
  padding: 6px 10px;
  font-size: 11px;
  min-height: 28px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
}
.deal-grid-compact .btn-premium-ghost {
  display: none;
}

/* ── Pagination ── */
.deals-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(148,163,184,.08);
}
.deals-pagination button {
  min-width: 32px;
  height: 32px;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.deals-pagination button:hover:not(:disabled) {
  border-color: rgba(56,189,248,.3);
  color: #38bdf8;
  background: rgba(56,189,248,.06);
}
.deals-pagination button.active {
  border-color: rgba(245,158,11,.5);
  color: #f5b942;
  background: rgba(245,158,11,.08);
}
.deals-pagination button:disabled {
  opacity: .3;
  cursor: default;
}

/* ── Table toggle ── */
.deals-table-toggle {
  margin-top: 32px;
  border: 1px solid rgba(148,163,184,.1);
  border-radius: 14px;
  overflow: hidden;
}
.deals-table-toggle summary {
  padding: 12px 16px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  background: rgba(8,15,28,.6);
}
.deals-table-toggle summary:hover {
  color: #f8fafc;
}
.table-container {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.deals-table-toggle[open] .table-container {
  padding: 16px;
}

/* ── Mobile filter toggle ── */
.deals-filter-toggle {
  display: none;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 10px;
  background: rgba(8,15,28,.88);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  text-align: center;
}
.deals-filter-toggle:hover {
  color: #f8fafc;
  border-color: rgba(56,189,248,.3);
}

/* ── Site-wide disclosure ── */
.deals-disclosure {
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(148,163,184,.08);
  border-radius: 10px;
  background: rgba(8,15,28,.4);
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}

/* ── Empty state ── */
.deals-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: #64748b;
}
.deals-empty h3 {
  color: #94a3b8;
  margin: 0 0 8px;
}
.deals-empty p {
  margin: 0;
  font-size: 13px;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .deals-page {
    padding: 12px 12px 90px;
  }
  .deals-header h1 {
    font-size: 20px;
  }
  .deals-header p {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .deals-tabs {
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .deals-tabs .filter-chip {
    flex: 0 0 auto;
  }
  .deals-body {
    flex-direction: column;
    gap: 0;
  }
  .deals-sidebar {
    display: none;
    width: 100%;
    position: static;
  }
  .deals-sidebar.open {
    display: block;
  }
  .deals-filter-toggle {
    display: block;
  }
  .deal-grid-compact {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .deal-grid-compact .premium-deal-card {
    min-height: auto;
  }
  .deal-grid-compact .btn-premium-ghost {
    display: inline-flex;
  }
}

/* ── Tablet ── */
@media (min-width: 769px) and (max-width: 1080px) {
  .deal-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  .deals-sidebar {
    width: 180px;
    padding: 12px;
  }
  .deals-content .deal-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* ═══════════════════════════════════════════
   Unified Card System
   ═══════════════════════════════════════════ */

/* Safe grids — prevent overflow with minmax(0, 1fr) */
.pfs-card-grid,
.firms-grid,
.deals-grid,
.blog-grid,
.tools-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  min-width: 0;
}
.pfs-compact-deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  min-width: 0;
}

/* Sidebar + content layout */
.pfs-sidebar-layout,
.firms-layout,
.deals-layout,
.blog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Table scroll container */
.pfs-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Badge rows */
.pfs-badge-row,
.deal-badge-row,
.firm-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.pfs-badge {
  max-width: 100%;
}

/* Stat grids */
.pfs-stat-grid,
.firm-card-stats,
.deal-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Card actions */
.pfs-card-actions,
.deal-card-actions,
.firm-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}
.pfs-card-actions a,
.pfs-card-actions button,
.deal-card-actions a,
.deal-card-actions button,
.firm-card-actions a,
.firm-card-actions button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  min-height: 36px;
}

/* ── Mobile responsive overrides ── */
@media (max-width: 900px) {
  .pfs-sidebar-layout,
  .firms-layout,
  .deals-layout,
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .pfs-card-grid,
  .firms-grid,
  .deals-grid,
  .blog-grid,
  .tools-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .pfs-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 480px) {
  .pfs-card-actions,
  .deal-card-actions,
  .firm-card-actions {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   PFS Modal System
   ═══════════════════════════════════════════ */
.pfs-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(1,4,10,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: pfs-modal-fade-in .2s ease;
}
.pfs-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pfs-modal {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  background: linear-gradient(180deg, rgba(8,18,33,.98), rgba(5,9,20,.99));
  border: 1px solid rgba(56,189,248,.25);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 40px rgba(56,189,248,.08);
  display: flex;
  flex-direction: column;
  animation: pfs-modal-slide-up .25s ease;
}
.pfs-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 0;
  flex-shrink: 0;
}
.pfs-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.2;
}
.pfs-modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 10px;
  background: rgba(15,23,42,.7);
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  transition: .15s;
  flex-shrink: 0;
}
.pfs-modal-close:hover {
  border-color: rgba(56,189,248,.3);
  color: #f8fafc;
  background: rgba(56,189,248,.08);
}
.pfs-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}
.pfs-modal-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 20px 0 8px;
}
.pfs-modal-body h3:first-child {
  margin-top: 0;
}
.pfs-modal-body p {
  margin: 0 0 12px;
}
.pfs-modal-body .pfs-stat-highlight {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #f5b942;
  padding: 4px 0;
}
.pfs-modal-body .pfs-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.pfs-modal-body .pfs-info-item {
  padding: 12px;
  border: 1px solid rgba(148,163,184,.1);
  border-radius: 12px;
  background: rgba(2,6,23,.4);
}
.pfs-modal-body .pfs-info-item strong {
  display: block;
  color: #f8fafc;
  font-size: 13px;
  margin-bottom: 2px;
}
.pfs-modal-body .pfs-info-item span {
  font-size: 12px;
  color: #64748b;
}
.pfs-modal-body .pfs-compare-visual {
  display: flex;
  gap: 12px;
  margin: 12px 0;
}
.pfs-modal-body .pfs-compare-col {
  flex: 1;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.12);
  background: rgba(2,6,23,.5);
}
.pfs-modal-body .pfs-compare-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pfs-modal-body .pfs-compare-col p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}
.pfs-modal-body .pfs-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.pfs-modal-body .pfs-value {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 12px;
}
.pfs-modal-body .pfs-checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.pfs-modal-body .pfs-checklist li {
  padding: 6px 0 6px 24px;
  font-size: 13px;
  color: #cbd5e1;
  position: relative;
  border-bottom: 1px solid rgba(148,163,184,.05);
}
.pfs-modal-body .pfs-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: #22c55e;
  font-weight: 700;
}
.pfs-modal-body .pfs-note {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(245,185,66,.15);
  border-radius: 10px;
  background: rgba(245,185,66,.04);
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}
.pfs-modal-actions {
  display: flex;
  gap: 10px;
  padding: 0 24px 20px;
  flex-shrink: 0;
}
.pfs-modal-actions .pfs-btn {
  flex: 1;
  justify-content: center;
  text-align: center;
}
.pfs-modal-body .pfs-form-row {
  margin-bottom: 14px;
}
.pfs-modal-body .pfs-form-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.pfs-modal-body .pfs-form-row input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 10px;
  background: rgba(2,6,23,.7);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: .15s;
}
.pfs-modal-body .pfs-form-row input:focus {
  border-color: rgba(56,189,248,.4);
  box-shadow: 0 0 12px rgba(56,189,248,.1);
}
.pfs-modal-body .pfs-tool-result {
  padding: 14px;
  border: 1px solid rgba(56,189,248,.2);
  border-radius: 12px;
  background: rgba(56,189,248,.04);
  margin: 12px 0;
}
@keyframes pfs-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pfs-modal-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   PFS Toast System
   ═══════════════════════════════════════════ */
.pfs-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
@media (max-width: 600px) {
  .pfs-toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
    align-items: center;
  }
}
.pfs-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(8,18,33,.96);
  border: 1px solid rgba(56,189,248,.25);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  pointer-events: auto;
  animation: pfs-toast-in .3s ease;
  max-width: 360px;
}
.pfs-toast.out {
  animation: pfs-toast-out .25s ease forwards;
}
.pfs-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.pfs-toast-icon.success {
  background: rgba(34,197,94,.15);
  color: #22c55e;
}
.pfs-toast-icon.info {
  background: rgba(56,189,248,.15);
  color: #38bdf8;
}
@keyframes pfs-toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pfs-toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-12px); }
}

/* ═══════════════════════════════════════════
   Compare Page — Premium Dashboard Design
   ═══════════════════════════════════════════ */

.compare-page,
.compare-page * { box-sizing: border-box; }

.compare-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 60px;
  overflow-x: hidden;
}

.compare-page img {
  max-width: 100%;
  height: auto;
}

/* ── Hero header card ── */
.compare-hero {
  position: relative;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(8,18,33,.96), rgba(4,9,20,.98));
  border: 1px solid rgba(56,189,248,.18);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  margin-bottom: 24px;
  overflow: hidden;
}
.compare-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 40%, rgba(56,189,248,.06), transparent 50%),
              radial-gradient(ellipse at 80% 60%, rgba(245,185,66,.04), transparent 50%);
  pointer-events: none;
}
.compare-hero-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.compare-hero h1 {
  font-size: 30px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
  letter-spacing: -.03em;
}
.compare-hero h1 .gold-highlight {
  color: #f5b942;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.compare-hero p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px;
  max-width: 600px;
  line-height: 1.5;
}
.compare-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.compare-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(148,163,184,.06);
  border: 1px solid rgba(148,163,184,.08);
}
.compare-hero-trust span em {
  color: #38bdf8;
  font-style: normal;
}
.compare-hero-trust span .check {
  color: #22c55e;
  font-weight: 700;
}

/* ── Selector card ── */
.compare-selector-card {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,18,33,.95), rgba(4,9,20,.97));
  border: 1px solid rgba(148,163,184,.1);
  box-shadow: 0 18px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04);
  margin-bottom: 20px;
}
.compare-selector-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 16px;
}
.compare-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.compare-select-field {
  display: grid;
  gap: 6px;
}
.compare-select-field label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.compare-select-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 10px;
  background: rgba(2,6,23,.7);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  transition: .15s;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.compare-select-field select:focus {
  border-color: rgba(56,189,248,.4);
  box-shadow: 0 0 0 3px rgba(56,189,248,.08);
}
.compare-select-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(148,163,184,.06);
}

/* ── Quick-add chips ── */
.compare-quick-add {
  margin-bottom: 20px;
}
.compare-quick-add-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.quick-add-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.quick-add-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(88,166,255,.15);
  border-radius: 20px;
  background: rgba(8,15,28,.7);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
  line-height: 1;
}
.quick-add-chip:hover {
  border-color: rgba(56,189,248,.3);
  color: #f8fafc;
  background: rgba(56,189,248,.06);
}
.quick-add-chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.quick-add-chip .chip-market {
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}

/* ── Insight cards ── */
.compare-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.compare-insight-card {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(4,9,20,.96));
  border: 1px solid rgba(148,163,184,.08);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  position: relative;
  overflow: hidden;
}
.compare-insight-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}
.compare-insight-card.savings::after { background: linear-gradient(90deg, #f5b942, #f59e0b); }
.compare-insight-card.payout::after { background: linear-gradient(90deg, #38bdf8, #1d4ed8); }
.compare-insight-card.rules::after { background: linear-gradient(90deg, #22c55e, #16a34a); }
.compare-insight-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.compare-insight-card p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

/* ── Empty state ── */
.compare-empty-state {
  padding: 48px 32px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.08);
  background: rgba(8,15,28,.6);
  margin-bottom: 24px;
}
.compare-empty-state h2 {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}
.compare-empty-state p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Result table card ── */
.compare-table-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.08);
  background: rgba(8,15,28,.6);
  margin-bottom: 24px;
}
.compare-table-card .table-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(148,163,184,.06);
  background: rgba(2,6,23,.4);
}
.compare-table-card .table-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 2px;
}
.compare-table-card .table-header p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}
.compare-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148,163,184,.04);
  text-align: left;
  vertical-align: middle;
}
.compare-table th {
  background: rgba(12,22,38,.8);
  font-weight: 700;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  position: sticky;
  top: 0;
}
.compare-table td:first-child,
.compare-table th:first-child {
  font-weight: 700;
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: rgba(2,6,23,.3);
  width: 140px;
  min-width: 140px;
}
.compare-table .firm-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-table .firm-cell img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 5px;
  flex-shrink: 0;
}
.compare-table .firm-cell strong {
  font-weight: 700;
  color: #f8fafc;
}
.compare-table .best-row td {
  color: #22c55e;
  font-weight: 700;
}
.compare-table .best-row td:first-child {
  color: #64748b;
  font-weight: 700;
}
.compare-table .code-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(245,185,66,.12);
  color: #f5b942;
  border: 1px solid rgba(245,185,66,.2);
  margin-right: 4px;
}
.compare-table .status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(34,197,94,.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.15);
}
.compare-table .status-badge.tracked {
  background: rgba(56,189,248,.1);
  color: #38bdf8;
  border-color: rgba(56,189,248,.15);
}
.compare-table .status-badge.research {
  background: rgba(148,163,184,.1);
  color: #94a3b8;
  border-color: rgba(148,163,184,.15);
}
.compare-table .needs-check {
  font-size: 12px;
  color: #64748b;
  font-style: italic;
}
.compare-table tr:hover td {
  background: rgba(56,189,248,.03);
}

/* ── Popular comparisons grid ── */
.popular-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.popular-compare-card {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(4,9,20,.96));
  border: 1px solid rgba(148,163,184,.08);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.popular-compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35), 0 0 20px rgba(56,189,248,.04);
}
.popular-compare-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
}
.popular-compare-card p {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 12px;
}
.popular-compare-card .card-action {
  display: flex;
  gap: 8px;
}

/* ── Methodology grid ── */
.compare-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.compare-method-card {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(4,9,20,.96));
  border: 1px solid rgba(148,163,184,.08);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
}
.compare-method-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
}
.compare-method-card p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ── Disclosure ── */
.compare-disclosure {
  margin-top: 24px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.06);
  background: rgba(8,15,28,.4);
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}
.compare-disclosure a {
  color: #38bdf8;
  text-decoration: underline;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .compare-select-grid {
    grid-template-columns: 1fr;
  }
  .compare-insight-grid {
    grid-template-columns: 1fr;
  }
  .quick-add-grid {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .quick-add-chip {
    flex: 0 0 auto;
  }
}
@media (max-width: 768px) {
  .compare-page { padding: 12px 12px 90px; }
  .compare-hero { padding: 20px; }
  .compare-hero h1 { font-size: 24px; }
  .compare-selector-card { padding: 16px; }
  .compare-table td, .compare-table th { padding: 10px 12px; font-size: 12px; }
  .compare-table td:first-child, .compare-table th:first-child { width: 110px; min-width: 110px; font-size: 11px; }
  .compare-table-card .table-header { padding: 16px 18px; }
  .compare-table-card .table-header h2 { font-size: 16px; }
  .popular-compare-grid { grid-template-columns: 1fr; }
  .compare-method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .compare-select-actions { flex-direction: column; }
  .compare-select-actions .pfs-btn { width: 100%; justify-content: center; }
  .compare-hero-trust span { font-size: 10px; padding: 3px 8px; }
}

/* ═══════════════════════════════════════════
   Blog Page — Premium Research Hub
   ═══════════════════════════════════════════ */

.blog-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  overflow-x: hidden;
}

/* ── Hero ── */
.blog-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: -60px -40px;
  background: radial-gradient(ellipse at 20% 30%, rgba(56,189,248,.06), transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(245,185,66,.04), transparent 50%);
  pointer-events: none;
}
.blog-hero-left {
  position: relative;
  z-index: 1;
}
.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.2);
  color: #38bdf8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.blog-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.blog-hero h1 .gold {
  color: #f5b942;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-hero p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
  max-width: 560px;
  line-height: 1.6;
}
.blog-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-hero-actions .pfs-btn {
  min-height: 42px;
}

/* ── Research snapshot card ── */
.blog-snapshot {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.96), rgba(4,9,20,.98));
  border: 1px solid rgba(56,189,248,.18);
  box-shadow: 0 18px 45px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04);
}
.blog-snapshot h3 {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 14px;
}
.blog-snapshot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(148,163,184,.06);
}
.blog-snapshot-item:last-child { border-bottom: none; }
.blog-snapshot-item span {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}
.blog-snapshot-item strong {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
}
.blog-snapshot-item .snap-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.blog-snapshot-item .snap-badge.blue { background: rgba(56,189,248,.1); color: #38bdf8; }
.blog-snapshot-item .snap-badge.gold { background: rgba(245,185,66,.1); color: #f5b942; }
.blog-snapshot-item .snap-badge.green { background: rgba(34,197,94,.1); color: #22c55e; }
.blog-snapshot-item .snap-badge.muted { background: rgba(148,163,184,.08); color: #94a3b8; }

/* ── Featured guide ── */
.blog-featured {
  margin-bottom: 24px;
  position: relative;
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(8,18,33,.97), rgba(4,9,20,.99));
  border: 1px solid rgba(245,185,66,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 30px rgba(245,185,66,.06), inset 0 1px 0 rgba(255,255,255,.04);
  position: relative;
  overflow: hidden;
}
.blog-featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(245,185,66,.02) 41px, transparent 42px);
  pointer-events: none;
}
.blog-featured-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f5b942, #f59e0b, #fbbf24);
  border-radius: 20px 20px 0 0;
}
.blog-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.blog-featured-tag.guide { background: rgba(245,185,66,.12); color: #f5b942; border: 1px solid rgba(245,185,66,.2); }
.blog-featured-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
  line-height: 1.2;
}
.blog-featured-card p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 14px;
  line-height: 1.5;
  max-width: 600px;
}
.blog-featured-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}
.blog-featured-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-featured-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  flex-shrink: 0;
  font-size: 48px;
  opacity: .6;
}

/* ── Research tools strip ── */
.blog-tools-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.blog-tool-tile {
  display: grid;
  gap: 6px;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(8,15,28,.7);
  border: 1px solid rgba(148,163,184,.08);
  text-align: center;
  text-decoration: none;
  transition: .2s;
}
.blog-tool-tile:hover {
  border-color: rgba(56,189,248,.2);
  background: rgba(56,189,248,.04);
  transform: translateY(-2px);
}
.blog-tool-tile .tile-icon {
  font-size: 20px;
  line-height: 1;
}
.blog-tool-tile .tile-label {
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}
.blog-tool-tile .tile-desc {
  font-size: 10px;
  color: #64748b;
  line-height: 1.3;
}

/* ── Category pills ── */
.blog-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.blog-filter-pill {
  padding: 7px 16px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 20px;
  background: rgba(4,10,22,.7);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
  flex-shrink: 0;
}
.blog-filter-pill:hover {
  border-color: rgba(56,189,248,.3);
  color: #f8fafc;
  background: rgba(56,189,248,.06);
}
.blog-filter-pill.active {
  border-color: rgba(245,185,66,.6);
  color: #f5b942;
  background: rgba(245,185,66,.08);
  box-shadow: 0 0 12px rgba(245,185,66,.08);
}

/* ── Guide cards ── */
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,18,33,.96), rgba(5,9,20,.98));
  border: 1px solid rgba(148,163,184,.1);
  box-shadow: 0 18px 45px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,185,66,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.38), 0 0 20px rgba(245,185,66,.04);
}
.guide-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.guide-cat-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(56,189,248,.1);
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,.15);
}
.guide-read-time {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}
.guide-new-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(245,185,66,.12);
  color: #f5b942;
  border: 1px solid rgba(245,185,66,.2);
  animation: guide-new-pulse 2.5s ease-in-out infinite;
}
@keyframes guide-new-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(245,185,66,.1); }
  50% { box-shadow: 0 0 12px rgba(245,185,66,.2); }
}
.guide-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-card p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.guide-card-footer {
  border-top: 1px solid rgba(148,163,184,.06);
  padding-top: 14px;
  margin-top: auto;
}
.guide-card-footer .guide-date {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 10px;
}
.guide-card-footer .guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.guide-card-footer .guide-tag {
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(148,163,184,.06);
  border: 1px solid rgba(148,163,184,.08);
}
.guide-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.guide-card-actions .pfs-btn {
  flex: 1;
  justify-content: center;
  text-align: center;
  min-height: 34px;
  font-size: 12px;
}
.guide-card-actions .pfs-btn-sm {
  padding: 6px 12px;
}

/* ── Trust policy card ── */
.blog-policy {
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.08);
  background: rgba(8,15,28,.6);
  margin-bottom: 24px;
}
.blog-policy h3 {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.blog-policy-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.blog-policy-items span {
  font-size: 12px;
  color: #94a3b8;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-policy-items span::before {
  content: "✓";
  font-weight: 700;
  color: #22c55e;
  flex-shrink: 0;
}

/* ── Empty state ── */
.blog-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.08);
  background: rgba(8,15,28,.5);
}
.blog-empty h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px;
}
.blog-empty p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px;
}

/* ── Disclosure ── */
.blog-disclosure {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.06);
  background: rgba(8,15,28,.4);
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}
.blog-disclosure a {
  color: #38bdf8;
  text-decoration: underline;
}

/* ── Mobile ── */
@media (max-width: 1000px) {
  .blog-hero { grid-template-columns: 1fr; }
  .blog-snapshot { order: -1; }
  .blog-tools-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .blog-page { padding: 16px 12px 90px; }
  .blog-hero h1 { font-size: 28px; }
  .blog-featured-card { grid-template-columns: 1fr; padding: 20px; }
  .blog-featured-visual { display: none; }
  .blog-tools-strip { grid-template-columns: repeat(2, 1fr); }
  .guide-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .blog-filter-pill { flex: 0 0 auto; }
  .guide-card-actions .pfs-btn { font-size: 11px; }
}
@media (max-width: 480px) {
  .blog-hero-actions { flex-direction: column; }
  .blog-hero-actions .pfs-btn { width: 100%; justify-content: center; }
  .blog-tools-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .blog-tool-tile { padding: 12px 8px; }
}

/* ═══════════════════════════════════════════
   Reviews Page — Trust Center
   ═══════════════════════════════════════════ */

.reviews-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  overflow-x: hidden;
}

/* ── Hero ── */
.reviews-hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
}
.reviews-hero::before {
  content: "";
  position: absolute;
  inset: -60px -40px;
  background: radial-gradient(ellipse at 20% 30%, rgba(56,189,248,.06), transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(245,185,66,.04), transparent 50%);
  pointer-events: none;
}
.reviews-hero-left {
  position: relative;
  z-index: 1;
}
.reviews-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(56,189,248,.1);
  border: 1px solid rgba(56,189,248,.2);
  color: #38bdf8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.reviews-hero h1 {
  font-size: 34px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.reviews-hero h1 .gold {
  color: #f5b942;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reviews-hero p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px;
  max-width: 560px;
  line-height: 1.6;
}
.reviews-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.reviews-hero-actions .pfs-btn {
  min-height: 42px;
}
.reviews-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reviews-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(148,163,184,.06);
  border: 1px solid rgba(148,163,184,.08);
}
.reviews-hero-trust span em { color: #38bdf8; font-style: normal; }
.reviews-hero-trust span .chk { color: #22c55e; font-weight: 700; }

/* ── Snapshot ── */
.reviews-snapshot {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.96), rgba(4,9,20,.98));
  border: 1px solid rgba(56,189,248,.18);
  box-shadow: 0 18px 45px rgba(0,0,0,.3);
}
.reviews-snapshot h3 {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 14px;
}
.reviews-snap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(148,163,184,.06);
}
.reviews-snap-item:last-child { border-bottom: none; }
.reviews-snap-item span { font-size: 12px; font-weight: 600; color: #94a3b8; }
.reviews-snap-item strong { font-size: 12px; font-weight: 700; color: #f8fafc; }
.reviews-snap-item .snap-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.reviews-snap-item .snap-tag.blue { background: rgba(56,189,248,.1); color: #38bdf8; }
.reviews-snap-item .snap-tag.gold { background: rgba(245,185,66,.1); color: #f5b942; }
.reviews-snap-item .snap-tag.green { background: rgba(34,197,94,.1); color: #22c55e; }
.reviews-snap-item .snap-tag.muted { background: rgba(148,163,184,.08); color: #94a3b8; }
.reviews-snap-item .snap-tag.red { background: rgba(239,68,68,.1); color: #ef4444; }

/* ── Notice card ── */
.reviews-notice {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8,18,33,.96), rgba(4,9,20,.98));
  border: 1px solid rgba(56,189,248,.15);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  margin-bottom: 28px;
}
.reviews-notice h2 {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}
.reviews-notice p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 16px;
  line-height: 1.6;
  max-width: 700px;
}
.reviews-notice-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Category cards ── */
.reviews-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.reviews-cat-card {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.95), rgba(4,9,20,.97));
  border: 1px solid rgba(148,163,184,.08);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  transition: transform .2s, border-color .2s;
}
.reviews-cat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.2);
}
.reviews-cat-card .cat-icon {
  font-size: 24px;
  margin-bottom: 10px;
  line-height: 1;
}
.reviews-cat-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px;
}
.reviews-cat-card p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 12px;
  line-height: 1.5;
}
.reviews-cat-card .cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
}
.reviews-cat-card .cat-badge.blue { background: rgba(56,189,248,.1); color: #38bdf8; border: 1px solid rgba(56,189,248,.15); }
.reviews-cat-card .cat-badge.gold { background: rgba(245,185,66,.1); color: #f5b942; border: 1px solid rgba(245,185,66,.15); }
.reviews-cat-card .cat-badge.green { background: rgba(34,197,94,.1); color: #22c55e; border: 1px solid rgba(34,197,94,.15); }

/* ── Editorial review cards ── */
.reviews-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.reviews-ed-card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,18,33,.96), rgba(5,9,20,.98));
  border: 1px solid rgba(148,163,184,.1);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  transition: transform .2s, border-color .2s;
}
.reviews-ed-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.2);
}
.reviews-ed-card .ed-badge-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.reviews-ed-card .ed-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: 8px;
}
.reviews-ed-card .ed-badge.editorial { background: rgba(56,189,248,.1); color: #38bdf8; border: 1px solid rgba(56,189,248,.15); }
.reviews-ed-card .ed-badge.source-checked { background: rgba(34,197,94,.1); color: #22c55e; border: 1px solid rgba(34,197,94,.15); }
.reviews-ed-card .ed-badge.profile { background: rgba(148,163,184,.1); color: #94a3b8; border: 1px solid rgba(148,163,184,.15); }
.reviews-ed-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px;
}
.reviews-ed-card p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 12px;
  line-height: 1.5;
}
.reviews-ed-card .ed-recommend {
  font-size: 12px;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(56,189,248,.04);
  border: 1px solid rgba(56,189,248,.08);
  margin-bottom: 14px;
}
.reviews-ed-card .ed-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(148,163,184,.06);
  padding-top: 14px;
}
.reviews-ed-card .ed-actions .pfs-btn {
  flex: 1;
  justify-content: center;
  text-align: center;
  min-height: 34px;
  font-size: 12px;
}

/* ── Red flag checklist ── */
.red-flag-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.red-flag-card {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.95), rgba(4,9,20,.97));
  border: 1px solid rgba(239,68,68,.12);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  transition: transform .2s, border-color .2s;
}
.red-flag-card:hover {
  border-color: rgba(239,68,68,.25);
  transform: translateY(-2px);
}
.red-flag-card .flag-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.red-flag-card .flag-header .flag-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(239,68,68,.1);
  color: #ef4444;
  font-size: 14px;
}
.red-flag-card .flag-header h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}
.red-flag-card p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 8px;
  line-height: 1.5;
}
.red-flag-card .flag-advice {
  font-size: 11px;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(56,189,248,.04);
  border: 1px solid rgba(56,189,248,.08);
}
.red-flag-card .flag-advice strong { color: #38bdf8; }

/* ── Process timeline ── */
.reviews-process {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.08);
  background: rgba(8,15,28,.6);
  margin-bottom: 28px;
}
.reviews-process h2 {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 16px;
}
.reviews-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.reviews-process-step {
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(2,6,23,.4);
  border: 1px solid rgba(148,163,184,.06);
  position: relative;
}
.reviews-process-step .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin: 0 auto 10px;
  background: rgba(56,189,248,.12);
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,.2);
}
.reviews-process-step h4 {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
}
.reviews-process-step p {
  font-size: 10px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ── Submit card ── */
.reviews-submit {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,18,33,.95), rgba(4,9,20,.97));
  border: 1px solid rgba(245,185,66,.15);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  margin-bottom: 24px;
  text-align: center;
}
.reviews-submit h2 {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}
.reviews-submit p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-submit-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Firms being reviewed ── */
.reviews-firms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.reviews-firm-card {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(4,9,20,.96));
  border: 1px solid rgba(148,163,184,.08);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
}
.reviews-firm-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 6px;
}
.reviews-firm-card .status {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.reviews-firm-card .status.eval { background: rgba(245,185,66,.1); color: #f5b942; border: 1px solid rgba(245,185,66,.15); }
.reviews-firm-card .status.research { background: rgba(56,189,248,.1); color: #38bdf8; border: 1px solid rgba(56,189,248,.15); }
.reviews-firm-card .status.pending { background: rgba(148,163,184,.1); color: #94a3b8; border: 1px solid rgba(148,163,184,.15); }
.reviews-firm-card p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 0 4px;
  line-height: 1.5;
}
.reviews-firm-card .updated {
  font-size: 11px;
  color: #64748b;
}

/* ── Disclosure ── */
.reviews-disclosure {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.06);
  background: rgba(8,15,28,.4);
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.6;
}
.reviews-disclosure a { color: #38bdf8; text-decoration: underline; }

/* ── Mobile ── */
@media (max-width: 1000px) {
  .reviews-hero { grid-template-columns: 1fr; }
  .reviews-snapshot { order: -1; }
  .reviews-category-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .reviews-page { padding: 16px 12px 90px; }
  .reviews-hero h1 { font-size: 28px; }
  .reviews-category-grid { grid-template-columns: 1fr; }
  .reviews-editorial-grid { grid-template-columns: 1fr; }
  .red-flag-section { grid-template-columns: 1fr; }
  .reviews-process-grid { grid-template-columns: 1fr; }
  .reviews-process-step { display: flex; gap: 12px; text-align: left; align-items: center; }
  .reviews-process-step .step-num { margin: 0; flex-shrink: 0; }
}
@media (max-width: 480px) {
  .reviews-hero-actions { flex-direction: column; }
  .reviews-hero-actions .pfs-btn { width: 100%; justify-content: center; }
  .reviews-notice-actions { flex-direction: column; }
  .reviews-notice-actions .pfs-btn { width: 100%; justify-content: center; }
  .reviews-submit-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════
   Premium Animations & Micro-interactions
   ═══════════════════════════════════════════ */

/* ── Page entrance ── */
@keyframes pfsFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pfsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pfsSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pfsScaleIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Card entrance stagger ── */
.premium-deal-card,
.firm-card-premium,
.pfs-card,
.pfs-glass-card,
.guide-card,
.reviews-ed-card,
.compare-firm-card,
.compare-selector-card,
.compare-insight-card,
.popular-compare-card,
.compare-method-card,
.blog-featured-card,
.blog-snapshot,
.reviews-cat-card,
.red-flag-card,
.reviews-firm-card {
  animation: pfsFadeUp .5s ease both;
}
.premium-deal-card:nth-child(1),
.firm-card-premium:nth-child(1),
.guide-card:nth-child(1),
.reviews-ed-card:nth-child(1) { animation-delay: .05s; }
.premium-deal-card:nth-child(2),
.firm-card-premium:nth-child(2),
.guide-card:nth-child(2),
.reviews-ed-card:nth-child(2) { animation-delay: .1s; }
.premium-deal-card:nth-child(3),
.guide-card:nth-child(3),
.reviews-ed-card:nth-child(3) { animation-delay: .15s; }
.premium-deal-card:nth-child(4),
.guide-card:nth-child(4),
.reviews-ed-card:nth-child(4) { animation-delay: .2s; }
.premium-deal-card:nth-child(5),
.guide-card:nth-child(5),
.reviews-ed-card:nth-child(5) { animation-delay: .25s; }
.premium-deal-card:nth-child(6),
.guide-card:nth-child(6),
.reviews-ed-card:nth-child(6) { animation-delay: .3s; }
.premium-deal-card:nth-child(7),
.guide-card:nth-child(7) { animation-delay: .35s; }
.premium-deal-card:nth-child(8),
.guide-card:nth-child(8) { animation-delay: .4s; }

/* ── Hero entrance ── */
.blog-hero-left,
.reviews-hero-left,
.compare-hero,
.home-hero-left {
  animation: pfsFadeUp .6s ease both;
}
.blog-snapshot,
.reviews-snapshot,
.home-hero-right {
  animation: pfsFadeUp .6s .15s ease both;
}
.blog-hero-actions,
.reviews-hero-actions,
.hero-actions,
.home-hero-actions {
  animation: pfsFadeUp .5s .25s ease both;
}
.compare-hero-trust,
.reviews-hero-trust,
.home-trust-row {
  animation: pfsFadeUp .5s .35s ease both;
}

/* ── Button glow pulse ── */
.pfs-btn-primary,
.btn-premium {
  position: relative;
  overflow: hidden;
}
.pfs-btn-primary::after,
.btn-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.08), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.pfs-btn-primary:hover::after,
.btn-premium:hover::after {
  opacity: 1;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(56,189,248,.2); }
  50% { box-shadow: 0 0 20px rgba(56,189,248,.4); }
}
.pfs-btn-primary:not(:hover),
.btn-premium:not(:hover) {
  animation: btnPulse 3s ease-in-out infinite;
}

/* ── Card hover lift ── */
.premium-deal-card,
.firm-card-premium,
.guide-card,
.reviews-ed-card,
.reviews-cat-card,
.popular-compare-card {
  transition: transform .25s cubic-bezier(.17,.67,.35,1), border-color .25s ease, box-shadow .25s ease;
}
.premium-deal-card:hover,
.firm-card-premium:hover,
.guide-card:hover,
.reviews-ed-card:hover,
.reviews-cat-card:hover,
.popular-compare-card:hover {
  transform: translateY(-4px);
}

/* ── Nav link hover glow ── */
.ref-nav a {
  position: relative;
  transition: color .2s;
}
.ref-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #155dfc);
  transition: width .25s ease, left .25s ease;
  border-radius: 2px;
}
.ref-nav a:hover::after,
.ref-nav a.active::after {
  width: 100%;
  left: 0;
}
.ref-nav a:hover {
  color: #f8fafc;
  text-shadow: 0 0 20px rgba(56,189,248,.2);
}

/* ── Filter chip active glow ── */
.filter-chip.active,
.blog-filter-pill.active {
  animation: chipGlow 2.5s ease-in-out infinite;
}
@keyframes chipGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(245,185,66,.08); }
  50% { box-shadow: 0 0 16px rgba(245,185,66,.18); }
}

/* ── Gold badge pulse ── */
.guide-new-badge,
.blog-featured-tag.guide {
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 4px rgba(245,185,66,.1); }
  50% { box-shadow: 0 0 14px rgba(245,185,66,.25); }
}

/* ── Stats counter pop ── */
@keyframes countPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.home-snapshot-item em {
  display: inline-block;
  animation: countPop .4s ease-out;
}

/* ── Glass card shimmer overlay ── */
.premium-deal-card::after,
.pfs-glass-card::after,
.guide-card::after,
.reviews-ed-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.03), transparent);
  transform: translateX(-120%);
  animation: cardShine 8s ease-in-out infinite;
}
@keyframes cardShine {
  0%, 100% { transform: translateX(-120%); }
  30% { transform: translateX(120%); }
}

/* ── Scroll reveal ── */
.pfs-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.pfs-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Skeleton loading shimmer ── */
@keyframes pfsShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.pfs-skeleton {
  background: linear-gradient(90deg, rgba(88,166,255,.06) 25%, rgba(88,166,255,.14) 50%, rgba(88,166,255,.06) 75%);
  background-size: 200% 100%;
  animation: pfsShimmer 1.8s ease-in-out infinite;
  border-radius: 8px;
}

/* ── Featured card gold border glow ── */
.blog-featured-card {
  animation: featuredGlow 4s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 20px rgba(245,185,66,.04); }
  50% { box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 30px rgba(245,185,66,.1); }
}

/* ── Tag/scrollbar subtle pulse ── */
.guide-tag,
.blog-tag {
  transition: background .2s, border-color .2s;
}
.guide-tag:hover,
.blog-tag:hover {
  background: rgba(56,189,248,.08);
  border-color: rgba(56,189,248,.15);
  color: #cbd5e1;
}

/* ── Pause animations for reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════
   Reviews Page Styles
   ═══════════════════════════════════════════ */

.reviews-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}
.reviews-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  border: 1px solid rgba(88,166,255,.18);
}
.reviews-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.reviews-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px;
  letter-spacing: -.03em;
}
.reviews-hero h1 .gold { color: #f5b942; }
.reviews-hero p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px;
  max-width: 480px;
  line-height: 1.6;
}
.reviews-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.reviews-hero-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.reviews-hero-trust span {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.reviews-hero-trust .chk { color: #22c55e; font-weight: 700; }
.reviews-snapshot {
  padding: 16px;
  background: rgba(2,6,23,.3);
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.1);
}
.reviews-snapshot h3 {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.reviews-snap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
  color: #64748b;
}
.snap-tag { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.snap-tag.gold { background: rgba(245,158,11,.12); color: #f5b942; border: 1px solid rgba(245,158,11,.2); }
.snap-tag.blue { background: rgba(56,189,248,.12); color: #38bdf8; border: 1px solid rgba(56,189,248,.2); }
.snap-tag.green { background: rgba(34,197,94,.12); color: #22c55e; border: 1px solid rgba(34,197,94,.2); }
.snap-tag.red { background: rgba(239,68,68,.12); color: #ef4444; border: 1px solid rgba(239,68,68,.2); }

.reviews-notice {
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.2);
  margin-bottom: 24px;
}
.reviews-notice h2 { font-size: 16px; font-weight: 700; color: #f5b942; margin: 0 0 6px; }
.reviews-notice p { font-size: 13px; color: #94a3b8; margin: 0 0 12px; line-height: 1.6; }
.reviews-notice-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.reviews-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.reviews-cat-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
}
.reviews-cat-card .cat-icon { font-size: 24px; margin-bottom: 10px; }
.reviews-cat-card h3 { font-size: 14px; font-weight: 700; color: #f8fafc; margin: 0 0 8px; }
.reviews-cat-card p { font-size: 12px; color: #64748b; margin: 0 0 12px; line-height: 1.5; }
.cat-badge { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.cat-badge.blue { background: rgba(56,189,248,.12); color: #38bdf8; border: 1px solid rgba(56,189,248,.2); }
.cat-badge.green { background: rgba(34,197,94,.12); color: #22c55e; border: 1px solid rgba(34,197,94,.2); }
.cat-badge.gold { background: rgba(245,158,11,.12); color: #f5b942; border: 1px solid rgba(245,158,11,.2); }

.reviews-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.reviews-ed-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
  transition: .2s;
}
.reviews-ed-card:hover {
  border-color: rgba(56,189,248,.2);
  transform: translateY(-2px);
}
.reviews-ed-card .ed-badge-row { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.ed-badge {
  font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .03em;
}
.ed-badge.editorial { background: rgba(148,163,184,.1); color: #94a3b8; border: 1px solid rgba(148,163,184,.15); }
.ed-badge.source-checked { background: rgba(34,197,94,.1); color: #22c55e; border: 1px solid rgba(34,197,94,.15); }
.ed-badge.profile { background: rgba(245,158,11,.1); color: #f5b942; border: 1px solid rgba(245,158,11,.15); }
.reviews-ed-card h3 { font-size: 15px; font-weight: 700; color: #f8fafc; margin: 0 0 8px; }
.reviews-ed-card p { font-size: 13px; color: #94a3b8; margin: 0 0 10px; line-height: 1.6; }
.ed-recommend { font-size: 12px; color: #38bdf8; font-weight: 700; margin-bottom: 12px; }
.ed-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.red-flag-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.red-flag-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(239,68,68,.04);
  border: 1px solid rgba(239,68,68,.12);
}
.red-flag-card .flag-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.red-flag-card .flag-icon { font-size: 18px; }
.red-flag-card h3 { font-size: 14px; font-weight: 700; color: #ef4444; margin: 0; }
.red-flag-card p { font-size: 12px; color: #94a3b8; margin: 0 0 10px; line-height: 1.6; }
.flag-advice { font-size: 12px; color: #cbd5e1; padding: 10px; border-radius: 8px; background: rgba(0,0,0,.2); }
.flag-advice strong { color: #f5b942; }

.reviews-process {
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
}
.reviews-process h2 { font-size: 18px; font-weight: 700; color: #f8fafc; margin: 0 0 16px; }
.reviews-process-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.reviews-process-step { display: flex; gap: 10px; align-items: start; }
.reviews-process-step .step-num {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(56,189,248,.1); color: #38bdf8;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.reviews-process-step h4 { font-size: 13px; font-weight: 700; color: #f8fafc; margin: 0 0 2px; }
.reviews-process-step p { font-size: 11px; color: #64748b; margin: 0; line-height: 1.4; }

.reviews-submit {
  text-align: center;
  padding: 32px 24px;
  border-radius: 14px;
  border: 1px solid rgba(56,189,248,.15);
  background: radial-gradient(circle at 50% 0, rgba(56,189,248,.06), transparent 60%);
  margin-bottom: 28px;
}
.reviews-submit h2 { font-size: 18px; font-weight: 700; color: #f8fafc; margin: 0 0 8px; }
.reviews-submit p { font-size: 13px; color: #94a3b8; margin: 0 0 16px; max-width: 500px; margin-left: auto; margin-right: auto; }
.reviews-submit-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.reviews-firms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.reviews-firm-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
}
.reviews-firm-card h3 { font-size: 14px; font-weight: 700; color: #f8fafc; margin: 0 0 8px; }
.reviews-firm-card .status { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .03em; }
.reviews-firm-card .status.eval { background: rgba(56,189,248,.1); color: #38bdf8; border: 1px solid rgba(56,189,248,.15); }
.reviews-firm-card .status.research { background: rgba(245,158,11,.1); color: #f5b942; border: 1px solid rgba(245,158,11,.15); }
.reviews-firm-card .status.pending { background: rgba(148,163,184,.1); color: #94a3b8; border: 1px solid rgba(148,163,184,.15); }
.reviews-firm-card p { font-size: 12px; color: #64748b; margin: 8px 0; line-height: 1.5; }
.reviews-firm-card .updated { font-size: 11px; color: #475569; }

.reviews-disclosure {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid rgba(148,163,184,.08);
  border-radius: 10px;
  background: rgba(8,15,28,.4);
  line-height: 1.6;
}
.reviews-disclosure a { color: #38bdf8; }

/* ═══════════════════════════════════════════
   Compare Page Styles
   ═══════════════════════════════════════════ */

.compare-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}
.compare-hero {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  border: 1px solid rgba(88,166,255,.18);
  margin-bottom: 20px;
}
.compare-hero h1 {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
}
.compare-hero h1 .gold-highlight {
  color: #f5b942;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.compare-hero p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 14px;
  max-width: 520px;
  line-height: 1.6;
}
.compare-hero-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.compare-hero-trust span { font-size: 11px; font-weight: 700; color: #64748b; }
.compare-hero-trust .check { color: #22c55e; font-weight: 700; }
.compare-hero-trust em { color: #38bdf8; font-style: normal; }

.compare-selector-card {
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
  margin-bottom: 20px;
}
.compare-selector-card h2 { font-size: 16px; font-weight: 700; color: #f8fafc; margin: 0 0 16px; }
.compare-select-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.compare-select-field {
  display: grid;
  gap: 4px;
}
.compare-select-field label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.compare-select-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 10px;
  background: rgba(2,6,23,.4);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: .15s;
}
.compare-select-field select:hover, .compare-select-field select:focus {
  border-color: rgba(56,189,248,.3);
}
.compare-select-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.compare-quick-add {
  margin-bottom: 20px;
}
.compare-quick-add-title { font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.quick-add-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-add-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 20px;
  background: rgba(2,6,23,.4);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.quick-add-chip:hover {
  border-color: rgba(56,189,248,.3);
  color: #f8fafc;
  background: rgba(56,189,248,.06);
}
.quick-add-chip img { width: 16px; height: 16px; border-radius: 3px; }
.quick-add-chip .chip-market { font-weight: 600; color: #64748b; font-size: 10px; text-transform: uppercase; }

.compare-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.compare-insight-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.1);
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
}
.compare-insight-card h4 { font-size: 13px; font-weight: 700; color: #f8fafc; margin: 0 0 4px; }
.compare-insight-card p { font-size: 12px; color: #64748b; margin: 0; line-height: 1.5; }

.compare-empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed rgba(148,163,184,.15);
  border-radius: 14px;
  margin-bottom: 20px;
}
.compare-empty-state h2 { font-size: 18px; font-weight: 700; color: #94a3b8; margin: 0 0 8px; }
.compare-empty-state p { font-size: 13px; color: #64748b; margin: 0 0 16px; }

.compare-table-card {
  border-radius: 14px;
  border: 1px solid rgba(88,166,255,.18);
  overflow: hidden;
  margin-bottom: 20px;
}
.compare-table-card .table-header {
  padding: 16px 20px;
  background: rgba(12,22,38,.8);
  border-bottom: 1px solid rgba(88,166,255,.1);
}
.compare-table-card .table-header h2 { font-size: 16px; font-weight: 700; color: #f8fafc; margin: 0 0 2px; }
.compare-table-card .table-header p { font-size: 12px; color: #64748b; margin: 0; }
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th {
  padding: 12px 16px;
  text-align: left;
  background: rgba(12,22,38,.9);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(88,166,255,.1);
  white-space: nowrap;
}
.compare-table td {
  padding: 12px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(88,166,255,.06);
  background: rgba(2,6,23,.2);
}
.compare-table tr:hover td { background: rgba(56,189,248,.04); }
.compare-table td:first-child { font-weight: 700; color: #64748b; white-space: nowrap; }
.compare-table .best-row td { background: rgba(245,158,11,.04); }
.compare-table .gold-value { color: #f5b942; font-weight: 700; }
.compare-table .green-value { color: #22c55e; font-weight: 700; }
.compare-table .code-badge {
  display: inline-block;
  background: rgba(245,158,11,.1);
  color: #f5b942;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(245,158,11,.2);
}
.compare-table .needs-verification { color: #64748b; font-style: italic; font-size: 12px; }
.compare-table .firm-cell { display: flex; align-items: center; gap: 8px; }
.compare-table .firm-cell img { width: 22px; height: 22px; border-radius: 4px; object-fit: contain; }
.compare-table .firm-cell strong { color: #f8fafc; }

.popular-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.popular-compare-card {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
  transition: .2s;
}
.popular-compare-card:hover { border-color: rgba(56,189,248,.2); transform: translateY(-2px); }
.popular-compare-card h3 { font-size: 14px; font-weight: 700; color: #f8fafc; margin: 0 0 6px; }
.popular-compare-card p { font-size: 12px; color: #64748b; margin: 0 0 12px; line-height: 1.5; }

.compare-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.compare-method-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(2,6,23,.3);
  border: 1px solid rgba(148,163,184,.08);
}
.compare-method-card h3 { font-size: 13px; font-weight: 700; color: #f8fafc; margin: 0 0 6px; }
.compare-method-card p { font-size: 12px; color: #64748b; margin: 0; line-height: 1.5; }

.compare-disclosure {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid rgba(148,163,184,.08);
  border-radius: 10px;
  background: rgba(8,15,28,.4);
  line-height: 1.6;
}

/* ── Sticky Compare Drawer ── */
.compare-sticky-drawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(3,7,17,.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(56,189,248,.2);
  padding: 12px 20px 12px;
  box-shadow: 0 -12px 48px rgba(0,0,0,.44);
  animation: drawerSlideUp .3s ease;
}
.compare-sticky-drawer.open { display: block; }
@keyframes drawerSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.compare-drawer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.compare-drawer-inner .drawer-label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.drawer-chips { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.drawer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.15);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
}
.drawer-highlights { display: flex; gap: 16px; }
.drawer-highlights span { font-size: 11px; color: #64748b; }
.drawer-highlights strong { color: #f5b942; }
.drawer-highlights .green { color: #22c55e; }
.drawer-actions { display: flex; gap: 8px; }
@media (max-width: 640px) {
  .compare-sticky-drawer.open { padding: 10px 12px; }
  .compare-drawer-inner { flex-direction: column; align-items: stretch; gap: 8px; }
  .drawer-chips { order: 2; }
  .drawer-highlights { order: 3; }
  .drawer-actions { order: 4; }
}

/* ═══════════════════════════════════════════
   Payouts Page Styles
   ═══════════════════════════════════════════ */

.payout-leaderboard {
  background: rgba(4,10,22,.68);
  border: 1px solid rgba(88,166,255,.15);
  border-radius: 12px;
  overflow: hidden;
}
.lb-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(88,166,255,.08);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #94a3b8;
}
.lb-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  border-top: 1px solid rgba(88,166,255,.08);
  transition: background .15s;
}
.lb-row:hover { background: rgba(88,166,255,.05); }
.lb-fast .lb-days { color: #34d399; font-weight: 700; }
.lb-moderate .lb-days { color: #fbbf24; font-weight: 700; }
.lb-name { font-weight: 700; color: #f8fafc; }
.lb-days { color: #cbd5e1; }
.lb-count { color: #64748b; font-size: 12px; }
.lb-split { color: #f5b942; font-weight: 600; }

.payout-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.payout-report-card { padding: 16px; }
.pr-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pr-days { font-size: 13px; font-weight: 700; color: #34d399; }
.pr-amount { font-size: 13px; color: #f5b942; margin-bottom: 4px; }
.pr-note { font-size: 13px; color: #cbd5e1; margin: 0 0 8px; line-height: 1.5; }
.pr-proof { font-size: 12px; color: #38bdf8; text-decoration: none; display: inline-block; margin-bottom: 6px; }
.pr-proof:hover { text-decoration: underline; }
.pr-date { color: #475569; font-size: 11px; }

.payout-submit-card { padding: 24px; }
.payout-loading { text-align: center; padding: 32px; color: #64748b; font-size: 14px; }

.splits-table {
  display: grid;
  gap: 0;
}
.splits-header, .splits-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(148,163,184,.06);
}
.splits-header {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(2,6,23,.3);
  border-radius: 8px 8px 0 0;
}
.splits-row { font-size: 13px; color: #cbd5e1; }
.splits-row:last-child { border-bottom: none; }

.premium-shell {
  margin-bottom: 32px;
}
.premium-shell .section-title {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px;
  letter-spacing: -.02em;
}
.premium-shell .section-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 14px;
}

/* ═══════════════════════════════════════════
   Tools Page Styles
   ═══════════════════════════════════════════ */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.tool-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: .2s;
}
.tool-card:hover {
  border-color: rgba(56,189,248,.2);
  transform: translateY(-2px);
}
.tool-card .tool-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tool-card .tool-header h3 { font-size: 14px; font-weight: 700; color: #f8fafc; margin: 0; }
.tool-status {
  font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
}
.tool-status.live { background: rgba(34,197,94,.1); color: #22c55e; border: 1px solid rgba(34,197,94,.15); }
.tool-status.external-tool { background: rgba(56,189,248,.1); color: #38bdf8; border: 1px solid rgba(56,189,248,.15); }
.tool-card .tool-description { font-size: 13px; color: #94a3b8; line-height: 1.6; margin: 0; flex: 1; }
.tool-card .tool-actions { margin-top: auto; }

/* ── Tool Modal form styles ── */
.pfs-form-row { margin-bottom: 14px; }
.pfs-form-row label { display: block; font-size: 12px; font-weight: 700; color: #94a3b8; margin-bottom: 4px; }
.pfs-form-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 8px;
  background: rgba(2,6,23,.4);
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: .15s;
  box-sizing: border-box;
}
.pfs-form-row input:focus { border-color: rgba(245,158,11,.5); }
.pfs-tool-result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(88,166,255,.15);
  background: rgba(2,6,23,.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pfs-tool-result .pfs-label { font-size: 11px; color: #64748b; font-weight: 600; }
.pfs-tool-result .pfs-value { font-size: 16px; font-weight: 700; color: #f8fafc; }
.pfs-tool-result .pfs-stat-highlight { color: #38bdf8; font-size: 20px; }
.pfs-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.pfs-checklist li {
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: rgba(2,6,23,.3);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}
.pfs-checklist li::before { content: "✓ "; color: #22c55e; font-weight: 700; }
.pfs-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.pfs-info-item {
  padding: 10px;
  border-radius: 8px;
  background: rgba(2,6,23,.3);
}
.pfs-info-item strong { display: block; font-size: 14px; }
.pfs-info-item span { display: block; font-size: 11px; color: #64748b; margin-top: 2px; }
.pfs-note {
  font-size: 12px;
  color: #64748b;
  padding: 10px;
  border-radius: 8px;
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.1);
  margin-top: 12px;
  line-height: 1.5;
}
.pfs-compare-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 12px 0;
}
.pfs-compare-col {
  padding: 14px;
  border-radius: 10px;
  background: rgba(2,6,23,.3);
}
.pfs-compare-col h4 { font-size: 13px; font-weight: 700; color: #38bdf8; margin: 0 0 6px; }
.pfs-compare-col p { font-size: 12px; color: #94a3b8; margin: 0; line-height: 1.5; }

/* ═══════════════════════════════════════════
   Blog Page Styles
   ═══════════════════════════════════════════ */

.blog-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}
.blog-hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  border: 1px solid rgba(88,166,255,.18);
}
.blog-hero-left { }
.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.blog-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px;
  letter-spacing: -.03em;
}
.blog-hero h1 .gold { color: #f5b942; }
.blog-hero p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 18px;
  max-width: 480px;
  line-height: 1.6;
}
.blog-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.blog-snapshot {
  padding: 16px;
  background: rgba(2,6,23,.3);
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.1);
}
.blog-snapshot h3 {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.blog-snapshot-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 12px;
  color: #64748b;
}
.blog-snapshot-item strong { font-weight: 700; }
.snap-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.snap-badge.gold { background: rgba(245,158,11,.12); color: #f5b942; border: 1px solid rgba(245,158,11,.2); }
.snap-badge.green { background: rgba(34,197,94,.12); color: #22c55e; border: 1px solid rgba(34,197,94,.2); }
.snap-badge.blue { background: rgba(56,189,248,.12); color: #38bdf8; border: 1px solid rgba(56,189,248,.2); }
.snap-badge.muted { background: rgba(148,163,184,.12); color: #94a3b8; border: 1px solid rgba(148,163,184,.2); }

.blog-featured { margin-bottom: 24px; }
.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12,22,38,.92), rgba(4,9,19,.96));
  border: 1px solid rgba(245,158,11,.25);
  align-items: center;
}
.blog-featured-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.blog-featured-tag.guide { background: rgba(245,158,11,.1); color: #f5b942; padding: 3px 10px; border-radius: 6px; border: 1px solid rgba(245,158,11,.2); }
.blog-featured-card h2 { font-size: 20px; font-weight: 700; color: #f8fafc; margin: 8px 0; }
.blog-featured-card p { font-size: 14px; color: #94a3b8; margin: 0 0 12px; line-height: 1.6; }
.blog-featured-meta { display: flex; gap: 12px; font-size: 11px; color: #64748b; margin-bottom: 12px; }
.blog-featured-meta span { }
.blog-featured-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-featured-visual {
  font-size: 48px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,158,11,.06);
  border-radius: 16px;
  border: 1px solid rgba(245,158,11,.15);
}

.blog-tools-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.blog-tool-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.9), rgba(5,9,20,.94));
  border: 1px solid rgba(148,163,184,.1);
  text-decoration: none;
  text-align: center;
  transition: .2s;
}
.blog-tool-tile:hover {
  border-color: rgba(56,189,248,.25);
  transform: translateY(-2px);
}
.blog-tool-tile .tile-icon { font-size: 20px; }
.blog-tool-tile .tile-label { font-size: 11px; font-weight: 700; color: #f8fafc; }
.blog-tool-tile .tile-desc { font-size: 10px; color: #64748b; }

.blog-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.blog-filter-pill {
  padding: 7px 14px;
  border: 1px solid rgba(88,166,255,.2);
  border-radius: 20px;
  background: rgba(4,10,22,.68);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.blog-filter-pill:hover, .blog-filter-pill.active {
  border-color: rgba(245,158,11,.78);
  color: #f5b942;
  background: rgba(245,158,11,.1);
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.guide-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,18,33,.94), rgba(5,9,20,.96));
  border: 1px solid rgba(148,163,184,.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: .2s;
}
.guide-card:hover {
  border-color: rgba(56,189,248,.2);
  transform: translateY(-2px);
}
.guide-card .guide-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.guide-cat-badge {
  font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  background: rgba(56,189,248,.1); color: #38bdf8; border: 1px solid rgba(56,189,248,.15);
  text-transform: uppercase; letter-spacing: .03em;
}
.guide-read-time { font-size: 10px; color: #64748b; font-weight: 600; }
.guide-new-badge {
  font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
  background: rgba(34,197,94,.12); color: #22c55e; border: 1px solid rgba(34,197,94,.2);
}
.guide-card h3 { font-size: 15px; font-weight: 700; color: #f8fafc; margin: 0; line-height: 1.4; }
.guide-card p { font-size: 12px; color: #94a3b8; margin: 0; line-height: 1.6; flex: 1; }
.guide-card .guide-card-footer { margin-top: auto; }
.guide-date { font-size: 11px; color: #475569; margin-bottom: 6px; }
.guide-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.guide-tag { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: rgba(148,163,184,.08); color: #64748b; }
.guide-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.blog-policy {
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(56,189,248,.04);
  border: 1px solid rgba(56,189,248,.12);
  margin-bottom: 20px;
}
.blog-policy h3 { font-size: 14px; font-weight: 700; color: #38bdf8; margin: 0 0 12px; }
.blog-policy-items { display: grid; gap: 6px; }
.blog-policy-items span { font-size: 12px; color: #94a3b8; line-height: 1.5; }
.blog-policy-items span::before { content: "✓ "; color: #22c55e; font-weight: 700; }

.blog-disclosure {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid rgba(148,163,184,.08);
  border-radius: 10px;
  background: rgba(8,15,28,.4);
  line-height: 1.6;
}
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: #64748b;
}
.blog-empty h3 { color: #94a3b8; margin: 0 0 8px; }
.blog-empty p { font-size: 13px; margin: 0 0 16px; }

/* ═══════════════════════════════════════════
   Loading / Skeleton States
   ═══════════════════════════════════════════ */

.pfs-loading {
  text-align: center;
  padding: 48px 24px;
  color: #64748b;
  font-size: 14px;
}
.pfs-loading::after {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  margin: 12px auto 0;
  border: 3px solid rgba(148,163,184,.15);
  border-top: 3px solid #38bdf8;
  border-radius: 50%;
  animation: pfs-spin .8s linear infinite;
}
@keyframes pfs-spin {
  to { transform: rotate(360deg); }
}

.pfs-error {
  text-align: center;
  padding: 48px 24px;
  color: #94a3b8;
}
.pfs-error h3 { color: #ef4444; margin: 0 0 8px; font-size: 16px; }
.pfs-error p { font-size: 13px; margin: 0 0 16px; }

/* ═══════════════════════════════════════════
   Toast Notification System
   ═══════════════════════════════════════════ */

.pfs-toast {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: pfs-toast-in .3s ease;
  border: 1px solid;
  max-width: 400px;
  text-align: center;
}
.pfs-toast.show {
  display: block;
}
.pfs-toast.success {
  background: rgba(5,15,8,.96);
  color: #22c55e;
  border-color: rgba(34,197,94,.3);
}
.pfs-toast.error {
  background: rgba(20,5,5,.96);
  color: #ef4444;
  border-color: rgba(239,68,68,.3);
}
.pfs-toast.info {
  background: rgba(5,10,20,.96);
  color: #38bdf8;
  border-color: rgba(56,189,248,.3);
}
@keyframes pfs-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════
   Responsive: Reviews / Compare / Tools / Blog / Payouts
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .reviews-hero { grid-template-columns: 1fr; }
  .reviews-category-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-insight-grid { grid-template-columns: 1fr; }
  .compare-method-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero { grid-template-columns: 1fr; }
  .blog-tools-strip { grid-template-columns: repeat(3, 1fr); }
  .compare-select-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .reviews-page, .compare-page, .blog-page {
    padding: 12px 12px 90px;
  }
  .reviews-hero h1, .blog-hero h1 {
    font-size: 22px;
  }
  .reviews-category-grid { grid-template-columns: 1fr; }
  .reviews-editorial-grid { grid-template-columns: 1fr; }
  .red-flag-section { grid-template-columns: 1fr; }
  .reviews-process-grid { grid-template-columns: 1fr; }
  .compare-selector-card { padding: 16px; }
  .compare-select-grid { grid-template-columns: 1fr; }
  .compare-insight-grid { grid-template-columns: 1fr; }
  .compare-method-grid { grid-template-columns: 1fr; }
  .popular-compare-grid { grid-template-columns: 1fr; }
  .compare-hero h1 { font-size: 20px; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-tools-strip { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .guide-card-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .payout-reports-grid { grid-template-columns: 1fr; }
  .lb-header, .lb-row { grid-template-columns: 1fr 1fr; }
  .lb-header span:nth-child(3), .lb-row span:nth-child(3),
  .lb-header span:nth-child(4), .lb-row span:nth-child(4) { display: none; }
  .splits-header, .splits-row { grid-template-columns: 1fr; }
  .pfs-modal-body { padding: 16px; }
  .pfs-tool-result { grid-template-columns: 1fr; }
  .pfs-info-grid, .pfs-compare-visual { grid-template-columns: 1fr; }
}

/* ═══ Challenge Prices & Key Rules ═══ */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.prices-card {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  background: rgba(8,15,28,0.6);
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: 14px;
  padding: 20px;
  transition: border-color .2s, transform .2s;
}
.prices-card:hover {
  border-color: rgba(56,189,248,0.3);
  transform: translateY(-2px);
}
.prices-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.prices-account-size {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -.02em;
}
.prices-challenge-type {
  font-size: 10px;
  font-weight: 700;
  color: #f5b942;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(245,185,66,0.1);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(245,185,66,0.2);
}
.prices-price-row {
  margin-bottom: 6px;
}
.prices-official-price {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -.02em;
}
.prices-official-price.muted {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  font-style: italic;
}
.prices-price-label {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-left: 4px;
}
.prices-space-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 10px;
  background: rgba(245,185,66,0.06);
  border-radius: 8px;
  border: 1px solid rgba(245,185,66,0.15);
}
.prices-save-badge {
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
}
.prices-space-code {
  font-size: 10px;
  font-weight: 700;
  color: #f5b942;
  background: rgba(245,185,66,0.12);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: .05em;
}
.prices-final-price {
  font-size: 12px;
  font-weight: 700;
  color: #f8fafc;
  margin-left: auto;
}
.prices-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.prices-rule-chip {
  display: flex;
  flex-direction: column;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(148,163,184,0.04);
  border: 1px solid rgba(148,163,184,0.06);
}
.prices-rule-chip.verified {
  border-color: rgba(34,197,94,0.2);
  background: rgba(34,197,94,0.04);
}
.prices-rule-chip.verified .prices-rule-value {
  color: #22c55e;
}
.prices-rule-label {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 2px;
  overflow-wrap: break-word;
}
.prices-rule-value {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  overflow-wrap: break-word;
}
.prices-unverified-note {
  text-align: center;
  padding: 8px 0;
  font-size: 11px;
  color: #64748b;
  font-style: italic;
}
.prices-empty {
  text-align: center;
  padding: 32px 16px;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
}
.prices-empty p {
  margin: 0 0 8px;
}
.prices-empty .pfs-btn {
  margin-top: 8px;
}
.prices-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.prices-skeleton-card {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.1);
  background: rgba(8,15,28,0.6);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg,rgba(88,166,255,0.06) 25%,rgba(88,166,255,0.14) 50%,rgba(88,166,255,0.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w30 { width: 30%; }
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@media (max-width:640px) {
  .prices-grid { grid-template-columns: 1fr; }
  .prices-card { padding: 16px; }
  .prices-account-size { font-size: 18px; }
  .prices-official-price { font-size: 20px; word-break: break-word; }
  .prices-rules { grid-template-columns: 1fr 1fr; gap: 4px; }
  .prices-rule-chip { padding: 4px 6px; }
  .prices-rule-value { font-size: 11px; }
}

/* ═══ Firm Listing Cards ═══ */
.firm-card { display:flex; flex-direction:column; gap:0; padding:18px; border:1px solid rgba(148,163,184,0.1); border-radius:14px; background:linear-gradient(180deg,rgba(8,15,28,0.7),rgba(5,9,20,0.85)); transition:border-color .2s,transform .2s }
.firm-card:hover { border-color:rgba(56,189,248,0.3); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.3) }
.firm-card-header { display:flex; align-items:center; gap:12px; margin-bottom:10px }
.firm-card-header .firm-logo-box { width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,0.04); border:1px solid rgba(148,163,184,0.08); display:flex; align-items:center; justify-content:center; overflow:hidden; flex-shrink:0 }
.firm-card-header .firm-logo-box img { width:100%; height:100%; object-fit:contain; padding:4px }
.firm-card-header .firm-card-header-text { flex:1; min-width:0 }
.firm-card-header .firm-card-header-text .firm-name { font-size:14px; font-weight:800; color:#f8fafc }
.firm-card-header .firm-card-header-text .firm-sub { font-size:11px; color:#64748b; font-weight:600 }
.firm-card .firm-star-btn { background:none; border:none; color:#64748b; font-size:20px; cursor:pointer; padding:0 2px; line-height:1 }
.firm-card .firm-star-btn:hover { color:#f5b942 }
.firm-card-promo { display:flex; align-items:center; gap:8px; padding:6px 10px; background:rgba(245,185,66,0.06); border-radius:8px; border:1px solid rgba(245,185,66,0.12); margin-bottom:8px }
.firm-card-code-badge { font-weight:800; font-size:11px; color:#f5b942; letter-spacing:.05em; background:rgba(245,185,66,0.12); padding:2px 8px; border-radius:4px; border:1px solid rgba(245,185,66,0.2) }
.firm-card-code-badge.tracked { color:#38bdf8; background:rgba(56,189,248,0.12); border-color:rgba(56,189,248,0.2) }
.firm-card-code-label { font-size:10px; color:#64748b; font-weight:600 }
.firm-card-stats { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:4px }
.firm-card-stat { display:flex; flex-direction:column; gap:1px; padding:6px 8px; border-radius:8px; background:rgba(148,163,184,0.04); border:1px solid rgba(148,163,184,0.06) }
.firm-card-stat .stat-label { font-size:9px; font-weight:700; color:#64748b; text-transform:uppercase; letter-spacing:.04em }
.firm-card-price { font-size:16px; font-weight:900; color:#f8fafc }
.firm-card-value { font-size:12px; font-weight:700; color:#94a3b8 }
@media (max-width:640px) {
  .firm-card { padding:14px }
  .firm-card-header .firm-card-header-text .firm-name { font-size:13px }
  .firm-card-stats { grid-template-columns:1fr 1fr; gap:4px }
  .firm-card-stat { padding:4px 6px }
  .firm-card-stat .stat-label { font-size:8px }
  .firm-card-value { font-size:11px }
}


