/* ============================================
   INSIDEREDGE — Bloomberg × Linear × Vercel
   v5.0 — Maximum premium, Forbes-level polish
   Inspired by: Koyfin, TradingView, Linear,
   Vercel, Stripe, Unusual Whales
   ============================================ */

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

:root {
  /* Backgrounds — neutral near-black (Robinhood style, no blue tint) */
  --bg:           #0a0a0a;
  --bg-deepest:   #050505;
  --bg2:          #111111;
  --bg3:          #171717;
  --panel:        #0f0f0f;
  --surface:      #1a1a1a;
  --surface2:     #222222;

  /* Glass panels */
  --glass-bg:     rgba(10, 10, 10, 0.88);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-hover:  rgba(255, 255, 255, 0.03);

  /* Borders — alpha-white for premium feel */
  --border:       rgba(255, 255, 255, 0.07);
  --border2:      rgba(255, 255, 255, 0.12);
  --border3:      rgba(255, 255, 255, 0.18);

  /* Text */
  --text:         #f0f0f0;
  --text2:        #808080;
  --text3:        #404040;

  /* Brand accent — warm gold */
  --accent:       #c8a04a;
  --accent2:      #a88038;
  --accent3:      #ead070;
  --accent-glow:  rgba(200, 160, 74, 0.18);
  --accent-dim:   rgba(200, 160, 74, 0.07);

  /* Semantic — more vivid than before */
  --buy:          #0dcc68;
  --buy-vivid:    #10e870;
  --buy-dim:      rgba(13, 204, 104, 0.08);
  --buy-glow:     rgba(13, 204, 104, 0.22);
  --sell:         #f53b4e;
  --sell-dim:     rgba(245, 59, 78, 0.08);
  --sell-glow:    rgba(245, 59, 78, 0.22);
  --warn:         #e09a20;
  --gold:         #c8a04a;
  --gold-light:   #ead070;
  --cluster-color:#d4a820;
  --alert-color:  #e86840;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,.6), 0 0 0 1px var(--glass-border);
  --shadow-md:  0 4px 16px rgba(0,0,0,.7), 0 0 0 1px var(--glass-border);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.8), 0 0 0 1px var(--glass-border);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.06);

  /* Typography */
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', 'Courier New', monospace;

  /* Layout */
  --header-h:   62px;
  --ease:       cubic-bezier(.25,.8,.25,1);
  --ease-out:   cubic-bezier(.0,.0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --radius-xs:  3px;
  --radius-sm:  5px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  18px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Numeric elements always tabular */
.stat-value, .td-value, .card-value, .price-num,
.alert-card-value, .hv-alert-value, .conviction-item-value,
.conviction-chip-value, .perf-winrate-pct, .landing-hero-stat-num {
  font-variant-numeric: tabular-nums;
}

::selection { background: rgba(200,160,74,.25); color: var(--text); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes pulse         { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes spin          { to { transform: rotate(360deg); } }
@keyframes ring-pulse    { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes row-in        { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade-up       { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stat-in       { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-in       { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes text-shimmer  { 0% { background-position: -300% center; } 100% { background-position: 300% center; } }
@keyframes shimmer-load  { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }
@keyframes slide-in-left { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes glow-pulse    {
  0%,100% { box-shadow: 0 0 8px var(--accent-glow); }
  50%     { box-shadow: 0 0 22px rgba(200,160,74,.35); }
}
@keyframes border-glow   {
  0%,100% { opacity: .5; }
  50%     { opacity: 1; }
}

/* ── TOP ACCENT BAR (Vercel/Linear style) ── */
.top-accent-bar {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, var(--accent2) 20%,
    var(--accent) 40%, var(--accent3) 50%,
    var(--accent) 60%, var(--accent2) 80%, transparent 100%);
  flex-shrink: 0;
}

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 24px;
  background: var(--glass-bg);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border-bottom: 1px solid var(--glass-border);
}
.header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(200,160,74,.22) 25%, rgba(200,160,74,.45) 50%, rgba(200,160,74,.22) 75%, transparent 100%);
  pointer-events: none;
  animation: border-glow 4s ease-in-out infinite;
}

.header-logo { display: flex; align-items: center; gap: 14px; user-select: none; }
.logo-icon {
  color: var(--accent);
  font-size: 24px;
  filter: drop-shadow(0 0 12px rgba(200,160,74,.55));
  transition: filter .3s;
}
.header-logo:hover .logo-icon { filter: drop-shadow(0 0 18px rgba(200,160,74,.75)); }
.logo-name {
  font-size: 15px; font-weight: 700; color: var(--text);
  letter-spacing: 4px; text-transform: uppercase;
  font-family: var(--font-display);
}
.logo-sub { font-size: 8px; color: var(--text3); letter-spacing: 2.5px; text-transform: uppercase; margin-top: 2px; }

.header-nav { display: flex; }
.nav-link {
  position: relative; padding: 8px 16px;
  color: var(--text3); text-decoration: none;
  font-size: 10px; letter-spacing: 1.5px; font-weight: 600; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color .2s;
}
.nav-link:hover { color: var(--text2); }
.nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 12px; }

/* Status pill (Unusual Whales style) */
.status-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  transition: background .2s;
}
.status-pill:hover { background: var(--glass-hover); }

.status-dot {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--warn); flex-shrink: 0;
  animation: pulse 2s infinite;
}
.status-dot.live {
  background: var(--buy);
  box-shadow: 0 0 6px rgba(13,204,104,.5);
  animation: none;
}
.status-dot.live::after {
  content: '';
  position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--buy);
  animation: ring-pulse 2.4s ease-out infinite;
}
.status-text { font-size: 10px; color: var(--text3); letter-spacing: .5px; }

.btn-refresh {
  padding: 6px 14px; background: transparent;
  border: 1px solid var(--border2); color: var(--text2);
  font-family: var(--font); font-size: 10px; letter-spacing: .8px;
  cursor: pointer; border-radius: var(--radius-sm);
  transition: all .2s var(--ease);
}
.btn-refresh:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 12px var(--accent-glow);
}
.btn-refresh.spinning { animation: spin .65s linear infinite; }

/* ── CORS BANNER ── */
.cors-banner {
  background: rgba(224,154,32,.06); border-bottom: 1px solid rgba(224,154,32,.25);
  color: var(--warn); padding: 6px 22px; font-size: 10px; letter-spacing: .8px;
}
.hidden { display: none !important; }

/* ── CONVICTION STRIP ── */
.conviction-strip {
  display: flex; align-items: center;
  height: 40px;
  background: linear-gradient(180deg, var(--bg3) 0%, var(--bg2) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 0 20px;
}
.conviction-label {
  font-size: 9px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase;
  white-space: nowrap; padding-right: 18px;
  border-right: 1px solid var(--border2); margin-right: 18px;
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
}
.conviction-label::before {
  content: '';
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--buy); box-shadow: 0 0 8px var(--buy-glow);
  flex-shrink: 0; animation: pulse 2s infinite;
}
.conviction-items { display: flex; gap: 5px; overflow-x: auto; overflow-y: hidden; flex: 1; }
.conviction-items::-webkit-scrollbar { display: none; }
.conviction-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 4px 12px;
  /* Gradient border technique (Stripe/Linear) */
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg3), var(--bg3)) padding-box,
    linear-gradient(135deg, rgba(200,160,74,.22), rgba(255,255,255,.05)) border-box;
  border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: all .18s var(--ease);
}
.conviction-chip:hover {
  background:
    linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(135deg, rgba(200,160,74,.5), rgba(200,160,74,.2)) border-box;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
  transform: translateY(-1px);
}
.conviction-chip-ticker { color: var(--accent); font-weight: 700; font-size: 11px; }
.conviction-chip-name   { color: var(--text3); font-size: 9px; }
.conviction-chip-value  { color: var(--buy); font-size: 10px; font-weight: 700; }

/* ── MAIN LAYOUT ── */
.main-layout {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  min-height: calc(100vh - var(--header-h) - 42px);
  align-items: start;
}

/* ── SIDEBARS ── */
.sidebar-left, .sidebar-right {
  background: var(--bg2);
  border-right: 1px solid var(--border);
  position: sticky; top: var(--header-h);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.sidebar-right { border-right: none; border-left: 1px solid var(--border); }
.sidebar-section { padding: 14px 12px 16px; border-bottom: 1px solid var(--border); }
.sidebar-section:last-child { border-bottom: none; }
.sidebar-title {
  font-size: 9px; font-weight: 700; color: var(--text3);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px; padding-left: 10px;
  border-left: 2px solid var(--accent);
  display: flex; align-items: center; gap: 4px;
}
.sidebar-sub { font-size: 8px; font-weight: 400; color: var(--text3); margin-left: 4px; opacity: .6; }

/* ── SECTOR HEATMAP ── */
.sector-heatmap { display: flex; flex-direction: column; gap: 3px; }
.heatmap-cell {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 8px; border: 1px solid transparent;
  background:
    linear-gradient(var(--bg3), var(--bg3)) padding-box,
    linear-gradient(90deg, var(--cell-color, rgba(255,255,255,.05)) 0%, transparent 100%) border-box;
  border-left: 3px solid var(--cell-color, var(--border2));
  border-radius: var(--radius-xs); cursor: pointer; transition: all .15s;
}
.heatmap-cell:hover { background: rgba(255,255,255,.03); border-color: var(--border2); }
.heatmap-cell-name  { font-size: 9px; font-weight: 700; color: var(--text2); letter-spacing: .5px; min-width: 36px; }
.heatmap-cell-count { font-size: 10px; font-weight: 700; color: var(--cell-color, var(--text)); margin: 0 5px; }
.heatmap-cell-value { font-size: 8px; color: var(--text3); }

/* ── HIGH VALUE ALERTS ── */
.hv-alert-card {
  padding: 9px 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(224,104,64,.04), rgba(224,104,64,.04)) padding-box,
    linear-gradient(135deg, rgba(224,104,64,.3), rgba(255,255,255,.04)) border-box;
  border-left: 2px solid var(--alert-color);
  border-radius: var(--radius-sm); margin-bottom: 6px; cursor: pointer;
  transition: all .2s var(--ease);
}
.hv-alert-card:hover {
  background:
    linear-gradient(rgba(224,104,64,.08), rgba(224,104,64,.06)) padding-box,
    linear-gradient(135deg, rgba(224,104,64,.5), rgba(255,255,255,.06)) border-box;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  transform: translateX(2px);
}
.hv-alert-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.hv-alert-ticker  { font-size: 13px; font-weight: 700; color: var(--text); font-family: var(--font-display); }
.hv-alert-value   { font-size: 13px; font-weight: 700; color: var(--buy); font-family: var(--font-display); }
.hv-alert-insider { font-size: 11px; color: var(--text2); margin-top: 2px; }
.hv-alert-meta    { font-size: 9px; color: var(--text3); margin-top: 2px; }
.hv-pulse {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--alert-color); box-shadow: 0 0 6px var(--alert-color);
  animation: pulse 1.2s infinite; flex-shrink: 0;
}

/* ── PERFORMANCE METRICS ── */
.perf-winrate-block { text-align: center; padding: 8px 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.perf-winrate-pct   { font-size: 38px; font-weight: 800; font-family: var(--font-display); color: var(--buy); line-height: 1; text-shadow: 0 0 30px var(--buy-glow); }
.perf-winrate-label { font-size: 8px; color: var(--text3); letter-spacing: 1px; margin-top: 4px; }
.perf-winrate-sub   { font-size: 8px; color: var(--text3); margin-top: 2px; }
.perf-ticker-row    { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.perf-ticker-sym    { font-size: 9px; font-weight: 700; color: var(--accent); min-width: 36px; }
.perf-bar-track     { flex: 1; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.perf-bar-fill      { height: 100%; border-radius: 2px; transition: width .5s var(--ease); }
.perf-ticker-ret    { font-size: 9px; font-weight: 700; min-width: 36px; text-align: right; }

/* ── ALPHA LEADERBOARD ── */
.alpha-item { display: flex; align-items: center; gap: 7px; padding: 6px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: all .15s; }
.alpha-item:hover { padding-left: 4px; }
.alpha-item:hover .alpha-ticker { color: var(--accent); }
.alpha-item:last-child { border-bottom: none; }
.alpha-rank    { font-size: 9px; color: var(--text3); min-width: 14px; font-variant-numeric: tabular-nums; }
.alpha-ticker  { font-size: 11px; font-weight: 700; color: var(--text); min-width: 40px; transition: color .15s; }
.alpha-info    { flex: 1; min-width: 0; }
.alpha-company { font-size: 9px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alpha-sub     { font-size: 8px; color: var(--text3); margin-top: 1px; }

/* ── CLUSTER ALERTS ── */
.cluster-alert {
  padding: 9px 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(212,168,32,.03), rgba(212,168,32,.03)) padding-box,
    linear-gradient(135deg, rgba(212,168,32,.28), rgba(255,255,255,.04)) border-box;
  border-left: 2px solid var(--cluster-color);
  border-radius: var(--radius-sm); margin-bottom: 6px; cursor: pointer;
  transition: all .2s var(--ease);
}
.cluster-alert:hover {
  background:
    linear-gradient(rgba(212,168,32,.07), rgba(212,168,32,.05)) padding-box,
    linear-gradient(135deg, rgba(212,168,32,.5), rgba(255,255,255,.06)) border-box;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  transform: translateX(2px);
}
.cluster-badge   { font-size: 8px; font-weight: 700; color: var(--cluster-color); letter-spacing: .5px; }
.cluster-ticker  { font-size: 12px; font-weight: 700; color: var(--accent); }
.cluster-company { font-size: 9px; color: var(--text2); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cluster-detail  { font-size: 8px; color: var(--text3); margin-top: 2px; }

/* ── CONVICTION SIDEBAR ── */
.conviction-item { padding: 7px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: padding-left .15s; }
.conviction-item:hover { padding-left: 4px; }
.conviction-item:last-child { border-bottom: none; }
.conviction-item-header  { display: flex; justify-content: space-between; align-items: center; }
.conviction-item-ticker  { font-size: 11px; font-weight: 700; color: var(--accent); }
.conviction-item-value   { font-size: 10px; color: var(--buy); font-weight: 700; }
.conviction-item-insider { font-size: 9px; color: var(--text2); margin-top: 3px; }
.conviction-item-title   { font-size: 8px; color: var(--text3); margin-top: 1px; }

/* ── RECENT SIGNALS ── */
.signal-item { display: flex; flex-direction: column; padding: 5px 0; border-bottom: 1px solid var(--border); }
.signal-item:last-child { border-bottom: none; }
.signal-dot  { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 5px; flex-shrink: 0; }
.signal-dot.buy  { background: var(--buy); box-shadow: 0 0 5px var(--buy-glow); }
.signal-dot.sell { background: var(--sell); box-shadow: 0 0 5px var(--sell-glow); }
.signal-text { font-size: 10px; color: var(--text); display: flex; align-items: center; }
.signal-time { font-size: 8px; color: var(--text3); margin-top: 2px; margin-left: 10px; }

/* ── MAIN CONTENT ── */
.content-main { padding: 0; min-width: 0; overflow: hidden; }

/* ── STATS BAR — Bloomberg-style large numbers ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg3) 0%, var(--bg2) 100%);
}
.stat-item {
  padding: 14px 16px 12px; border-right: 1px solid var(--border);
  position: relative; cursor: default;
  transition: background .18s;
}
.stat-item:hover { background: rgba(255,255,255,.018); }
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  transform-origin: left; animation: slide-in-left .6s var(--ease) both;
}
.stat-item:has(.buy)::after  {
  background: linear-gradient(90deg, var(--buy) 0%, rgba(13,204,104,.3) 60%, transparent 100%);
}
.stat-item:has(.sell)::after {
  background: linear-gradient(90deg, var(--sell) 0%, rgba(245,59,78,.3) 60%, transparent 100%);
}
.stat-label {
  font-size: 8px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 6px; font-weight: 600; font-family: var(--font-display);
}
.stat-value {
  font-size: 36px; font-weight: 800; font-family: var(--font-mono);
  color: var(--text); line-height: 1;
  animation: stat-in .45s var(--ease) backwards;
}
.stat-item:nth-child(1) .stat-value { animation-delay: .05s; }
.stat-item:nth-child(2) .stat-value { animation-delay: .10s; }
.stat-item:nth-child(3) .stat-value { animation-delay: .15s; }
.stat-item:nth-child(4) .stat-value { animation-delay: .20s; }
.stat-item:nth-child(5) .stat-value { animation-delay: .25s; }
.stat-item:nth-child(6) .stat-value { animation-delay: .30s; }
.stat-item:nth-child(7) .stat-value { animation-delay: .35s; font-size: 14px; padding-top: 4px; color: var(--text2); }
.stat-value.buy  { color: var(--buy); text-shadow: 0 0 40px var(--buy-glow); }
.stat-value.sell { color: var(--sell); text-shadow: 0 0 40px var(--sell-glow); }

/* ── FILTERS BAR ── */
.filters-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 14px; background: var(--bg3); border-bottom: 1px solid var(--border);
}
.filter-group  { display: flex; align-items: center; gap: 6px; }
.filter-label  { font-size: 9px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; font-weight: 600; }
.toggle-group  { display: flex; }
.toggle-btn {
  padding: 5px 11px; background: transparent; border: 1px solid var(--border);
  color: var(--text3); font-family: var(--font); font-size: 9px;
  cursor: pointer; letter-spacing: .8px; transition: all .18s var(--ease); border-right: none;
}
.toggle-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.toggle-btn:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-right: 1px solid var(--border); }
.toggle-btn:hover  { color: var(--text2); border-color: var(--border2); background: rgba(255,255,255,.03); }
.toggle-btn.active {
  background: var(--accent-dim); color: var(--accent);
  border-color: rgba(200,160,74,.35);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}
.toggle-btn.active + .toggle-btn { border-left-color: rgba(200,160,74,.35); }

.filter-search { flex: 1; min-width: 120px; }
.search-input {
  width: 100%; padding: 5px 11px; background: var(--bg);
  border: 1px solid var(--border); color: var(--text);
  font-family: var(--font); font-size: 11px;
  border-radius: var(--radius-sm); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search-input:focus { border-color: rgba(200,160,74,.5); box-shadow: 0 0 0 3px rgba(200,160,74,.08); }
.search-input::placeholder { color: var(--text3); }
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-decoration { display: none; }
div.search-input:empty::before { content: 'AAPL, Amazon \2026'; color: var(--text3); pointer-events: none; }
div.search-input { line-height: 1.6; cursor: text; white-space: nowrap; overflow: hidden; }

.view-toggle { margin-left: auto; }
.view-btn {
  padding: 5px 11px; background: transparent; border: 1px solid var(--border);
  color: var(--text3); font-family: var(--font); font-size: 9px;
  cursor: pointer; letter-spacing: .8px; transition: all .15s; border-right: none;
}
.view-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.view-btn:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-right: 1px solid var(--border); }
.view-btn.active { background: var(--accent-dim); color: var(--accent); border-color: rgba(200,160,74,.35); }

/* ── TABLE META ── */
.table-meta {
  padding: 6px 14px; font-size: 10px; color: var(--text3);
  background: var(--bg2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}
.table-meta::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--text3); flex-shrink: 0; }

/* ── FILINGS TABLE — Robinhood-clean ── */
.table-wrapper { overflow-x: auto; }
.filings-table { width: 100%; border-collapse: collapse; }
.filings-table thead {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.filings-table thead tr {
  background: rgba(7, 7, 14, 0.96);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Column headers: whisper-quiet, out of the way */
.filings-table th {
  padding: 11px 14px; text-align: left; font-size: 8px; font-weight: 600;
  color: rgba(255,255,255,.22); letter-spacing: 1.5px; text-transform: uppercase;
  white-space: nowrap; user-select: none; font-family: var(--font-display);
}
.filings-table th.sortable { cursor: pointer; transition: color .15s; }
.filings-table th.sortable:hover { color: rgba(255,255,255,.5); }
.filings-table th.sort-active { color: var(--accent); }
.sort-indicator { opacity: .5; font-size: 8px; margin-left: 2px; }

/* Rows: generous breathing room, near-invisible dividers */
.filings-table td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 12px; color: var(--text2); white-space: nowrap;
  vertical-align: middle;
}

/* Staggered row entrance animation */
#table-body tr { animation: row-in .28s var(--ease) backwards; }
#table-body tr:nth-child(1)  { animation-delay: .03s; }
#table-body tr:nth-child(2)  { animation-delay: .06s; }
#table-body tr:nth-child(3)  { animation-delay: .09s; }
#table-body tr:nth-child(4)  { animation-delay: .12s; }
#table-body tr:nth-child(5)  { animation-delay: .15s; }
#table-body tr:nth-child(6)  { animation-delay: .18s; }
#table-body tr:nth-child(7)  { animation-delay: .21s; }
#table-body tr:nth-child(8)  { animation-delay: .24s; }
#table-body tr:nth-child(9)  { animation-delay: .27s; }
#table-body tr:nth-child(10) { animation-delay: .30s; }
#table-body tr:nth-child(n+11) { animation: none; }

.filings-table tbody tr { transition: background .1s; }
.filings-table tbody tr:hover { background: rgba(255,255,255,.028); }
/* Subtle left type indicator — only color on this column */
.filings-table tbody tr td:first-child {
  position: relative; padding-left: 16px;
  border-left: 2px solid transparent; transition: border-color .15s;
}
.filings-table tbody tr.row-buy  td:first-child { border-left-color: rgba(13,204,104,.35); }
.filings-table tbody tr.row-sell td:first-child { border-left-color: rgba(245,59,78,.3); }
.filings-table tbody tr.row-cluster td:first-child { border-left-color: rgba(212,168,32,.35); }
/* Cluster rows: barely a tint, not a shout */
.filings-table tbody tr.row-cluster { background: rgba(212,168,32,.015); }

/* Primary data columns: white, prominent */
.td-ticker {
  color: var(--text); font-weight: 700; font-size: 13px;
  font-family: var(--font-mono); letter-spacing: .5px;
}
/* Company / title: muted, secondary */
.td-company, .td-title {
  max-width: 160px; overflow: hidden; text-overflow: ellipsis;
  color: var(--text3); font-size: 11px;
}
/* Insider name inherits accent from JS (clickable) — keep */

/* VALUE: the only cell that screams */
.td-value   { font-weight: 700; font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.td-value.buy  { color: var(--buy); }
.td-value.sell { color: var(--sell); }

/* Loading state */
.loading-cell {
  text-align: center; color: var(--text3); padding: 56px 20px;
  font-size: 11px; letter-spacing: 1px; font-family: var(--font-display);
}
.loading-cell::after {
  content: '';
  display: block; width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,.06);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 16px auto 0;
  animation: spin .9s linear infinite;
}

/* TXN: dot indicator only — no pill, no background */
.txn-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 700; letter-spacing: .8px;
  background: none; border: none; padding: 0;
}
.txn-buy  { color: var(--buy); }
.txn-sell { color: rgba(245,59,78,.8); }
.txn-buy::before, .txn-sell::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
}
.txn-buy::before  { background: var(--buy); box-shadow: 0 0 5px rgba(13,204,104,.5); }
.txn-sell::before { background: var(--sell); box-shadow: 0 0 5px rgba(245,59,78,.4); }

/* CLUSTER tag: near-invisible, doesn't compete */
.cluster-tag {
  display: inline-block; padding: 0 4px; margin-left: 5px;
  font-size: 7px; font-weight: 600; letter-spacing: .3px;
  color: rgba(212,168,32,.5); border: none;
  vertical-align: middle;
}

/* ALPHA badge: very subtle, just a hint */
.alpha-badge { display: inline-block; padding: 1px 6px; font-size: 8px; font-weight: 600; border-radius: 3px; cursor: pointer; }
.alpha-strong { background: transparent; color: rgba(13,204,104,.65); border: 1px solid rgba(13,204,104,.18); }
.alpha-mod    { background: transparent; color: rgba(224,154,32,.6); border: 1px solid rgba(224,154,32,.16); }
.alpha-weak   { background: transparent; color: var(--text3); border: 1px solid rgba(255,255,255,.06); }

.filing-link  { color: var(--text3); font-size: 10px; text-decoration: none; transition: color .15s; }
.filing-link:hover { color: var(--accent); }

/* ── CARDS VIEW — screenshot-1 style ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2px; padding: 8px; background: var(--bg); }
.insider-card {
  background: var(--bg2);
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0;
  padding: 14px 18px;
  cursor: pointer;
  transition: background .15s;
  animation: card-in .35s var(--ease) backwards;
}
.cards-grid .insider-card:nth-child(1) { animation-delay: .04s; }
.cards-grid .insider-card:nth-child(2) { animation-delay: .08s; }
.cards-grid .insider-card:nth-child(3) { animation-delay: .12s; }
.cards-grid .insider-card:nth-child(n+4) { animation: none; }
.insider-card:hover { background: rgba(255,255,255,.03); }
/* Type indicator via left border + dot */
.card-buy  { border-left-color: rgba(13,204,104,.5); }
.card-sell { border-left-color: rgba(245,59,78,.45); }
.card-cluster { border-left-color: rgba(212,168,32,.5); }

.card-header  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.card-ticker-block, .card-value-block { display: flex; flex-direction: column; gap: 2px; }
.card-value-block { align-items: flex-end; }
/* Ticker: big, white + dot before for buy/sell feel */
.card-ticker  { font-size: 18px; font-weight: 700; font-family: var(--font-display); color: var(--text); letter-spacing: .3px; }
.card-company { font-size: 10px; color: var(--text3); }
/* Value: the only green/red, nice and big */
.card-value   { font-size: 18px; font-weight: 700; font-family: var(--font-display); }
.card-value.buy  { color: var(--buy); }
.card-value.sell { color: var(--sell); }
.card-date    { font-size: 9px; color: var(--text3); margin-top: 2px; }
.card-body    { margin-bottom: 6px; }
.card-insider { font-size: 12px; color: var(--text); font-weight: 500; }
.card-title   { font-size: 9px; color: var(--text3); margin-top: 2px; }
.card-footer  { border-top: 1px solid rgba(255,255,255,.05); padding-top: 7px; margin-top: 4px; }
.card-shares  { font-size: 9px; color: var(--text3); }
.fwd-chip { display: inline-block; font-size: 8px; padding: 1px 5px; border-radius: 3px; font-weight: 700; }
.fwd-pos { background: transparent; color: rgba(13,204,104,.8); }
.fwd-neg { background: transparent; color: rgba(245,59,78,.8); }

/* ── SIGNAL CATEGORY BENCHMARK (Alpha modal) ── */
.signal-benchmark-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 12px; margin: 6px 0 10px;
}
.signal-bench-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
}
.signal-cat-label {
  font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .02em;
}
.signal-sample-pill {
  font-family: var(--font-mono); font-size: 9px; color: var(--text2);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 1px 7px;
}
.signal-building {
  font-family: var(--font-mono); font-size: 9px; color: var(--text2); margin-top: 4px;
}
.signal-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.signal-stat { text-align: center; }
.signal-stat-val {
  font-family: var(--font-mono); font-size: 15px; font-weight: 700; line-height: 1;
}
.signal-stat-key {
  font-family: var(--font-mono); font-size: 8px; color: var(--text2);
  letter-spacing: .06em; margin-top: 3px;
}
.signal-stat-pos { color: var(--buy); }
.signal-stat-neg { color: var(--sell); }

/* ── MODALS ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fade-up .25s var(--ease) backwards;
}
.modal-box {
  background: var(--bg2);
  border: 1px solid transparent;
  background-clip: padding-box;
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 540px; max-height: 88vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: card-in .3s var(--ease-spring) backwards;
}
.modal-box-wide { max-width: 840px; }
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 22px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg3) 0%, transparent 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-title { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-display); }
.modal-close {
  background: transparent; border: none; color: var(--text3); cursor: pointer;
  font-size: 15px; padding: 4px 8px; border-radius: var(--radius-sm); transition: all .15s;
  line-height: 1;
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,.07); }
.modal-body   { padding: 20px 22px; }
.modal-row    { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 11px; }
.modal-label  { color: var(--text3); }
.modal-value  { color: var(--text); font-weight: 700; }
.score-bar-wrap { margin: 14px 0 4px; }
.score-bar-bg   { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.score-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent2), var(--accent3));
  transition: width .6s var(--ease);
}

/* ── INSIDER MODAL ── */
.insider-stat-box   { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.insider-stat-label { font-size: 8px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; font-family: var(--font-display); }
.insider-stat-value { font-size: 20px; font-weight: 700; color: var(--text); font-family: var(--font-display); }
.insider-txn-list   { margin-top: 10px; }
.insider-txn-row    { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 10px; }
.insider-txn-date   { color: var(--text3); min-width: 72px; }
.insider-txn-ticker { color: var(--accent); font-weight: 700; min-width: 44px; }
.insider-txn-shares { color: var(--text2); flex: 1; }
.insider-txn-value  { font-weight: 700; min-width: 70px; text-align: right; }

/* ── UTILITY ── */
.buy  { color: var(--buy);  }
.sell { color: var(--sell); }

/* ── FEATURE GATING ── */
.feat-locked { position: relative; pointer-events: none; user-select: none; }
.feat-locked::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(7,7,14,.8); border-radius: 3px; z-index: 2;
  backdrop-filter: blur(2px);
}
.gate-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 13px; background: var(--accent-dim);
  border: 1px solid rgba(200,160,74,.18); border-radius: var(--radius-sm); margin-top: 6px;
}
.gate-cta-text { font-size: 9px; color: var(--text2); line-height: 1.4; }
.gate-cta-text strong { color: var(--accent); }
.gate-cta-btn {
  flex-shrink: 0; padding: 5px 13px; background: var(--accent); border: none;
  color: #060606; font-family: var(--font); font-size: 9px; font-weight: 700;
  letter-spacing: .8px; cursor: pointer; border-radius: var(--radius-sm); transition: all .18s;
}
.gate-cta-btn:hover { background: var(--accent3); box-shadow: 0 2px 8px var(--accent-glow); }
.toggle-btn.plan-locked { opacity: .4; position: relative; }
.toggle-btn.plan-locked .lock-icon { font-size: 8px; margin-left: 3px; }

/* ── LTD PRICING CARD ── */
.pricing-card-ltd { border-color: var(--gold) !important; background: rgba(200,160,74,.025); }
.pricing-card-ltd:hover { border-color: var(--gold-light) !important; }
.ltd-badge { font-size: 8px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 12px; text-transform: uppercase; }
.ltd-spots { font-size: 9px; color: var(--warn); margin-top: 8px; text-align: center; padding: 6px; background: rgba(200,160,74,.08); border-radius: var(--radius-sm); }
.ltd-spots-num { font-weight: 700; color: var(--sell); font-size: 13px; }
.ltd-sold-out { padding: 9px; text-align: center; font-size: 10px; font-weight: 700; color: var(--text3); letter-spacing: 1px; border: 1px solid var(--border); border-radius: var(--radius-sm); }

/* ── PLAN BADGE ── */
.plan-badge { display: inline-block; padding: 2px 9px; border-radius: 100px; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border: 1px solid; font-family: var(--font-display); }
.plan-free  { color: var(--text3); border-color: var(--border2); background: transparent; }
.plan-pro   { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.plan-elite { color: var(--gold-light); border-color: var(--gold); background: rgba(200,160,74,.08); }
.plan-api   { color: #b4a0e0; border-color: #9080cc; background: rgba(144,128,204,.08); }

/* ── AUTH BUTTON ── */
.btn-auth {
  padding: 7px 20px; background: transparent;
  border: 1px solid rgba(200,160,74,.45); color: var(--accent);
  font-family: var(--font); font-size: 10px; font-weight: 600;
  cursor: pointer; letter-spacing: 1px; border-radius: var(--radius);
  transition: all .2s var(--ease);
}
.btn-auth:hover {
  background: var(--accent-dim); border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* ── AUTH MODAL ── */
.modal-auth { max-width: 390px; width: 100%; }
.auth-tabs  { display: flex; border-bottom: 1px solid var(--border); }
.auth-tab   {
  flex: 1; padding: 11px; background: transparent; border: none; color: var(--text3);
  font-family: var(--font); font-size: 10px; cursor: pointer;
  letter-spacing: 1.2px; text-transform: uppercase;
  border-bottom: 2px solid transparent; transition: all .15s;
}
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.auth-tab:hover  { color: var(--text2); }
#auth-login-fields, #auth-signup-fields { padding: 20px 22px 22px; }
.auth-field { margin-bottom: 15px; }
.auth-label { display: block; font-size: 9px; color: var(--text3); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px; font-family: var(--font-display); }
.auth-input {
  width: 100%; padding: 9px 13px; background: var(--bg);
  border: 1px solid var(--border); color: var(--text);
  font-family: var(--font); font-size: 12px;
  border-radius: var(--radius-sm); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-input:focus { border-color: rgba(200,160,74,.55); box-shadow: 0 0 0 3px rgba(200,160,74,.09); }
.auth-error { font-size: 10px; color: var(--sell); min-height: 16px; margin-bottom: 8px; }

/* Premium CTA button (Stripe style) */
.auth-submit-btn {
  position: relative; overflow: hidden;
  width: 100%; padding: 12px; background: var(--accent); border: none;
  color: #060606; font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; cursor: pointer; text-transform: uppercase;
  border-radius: var(--radius); transition: all .2s var(--ease);
}
.auth-submit-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .45s var(--ease);
}
.auth-submit-btn:hover { background: var(--accent3); box-shadow: 0 6px 20px var(--accent-glow); transform: translateY(-1px); }
.auth-submit-btn:hover::after { transform: translateX(100%); }
.auth-submit-btn:active { transform: translateY(0); }
.auth-submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.auth-legal { font-size: 9px; color: var(--text3); margin-top: 12px; text-align: center; }

/* ── ACCOUNT MODAL ── */
.acct-row     { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px; border-bottom: 1px solid var(--border); }
.acct-label   { font-size: 9px; color: var(--text3); letter-spacing: 1.2px; text-transform: uppercase; font-family: var(--font-display); }
.acct-value   { font-size: 11px; color: var(--text); }
.acct-actions { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.btn-signout  {
  width: 100%; padding: 10px; background: transparent;
  border: 1px solid var(--border2); color: var(--text2);
  font-family: var(--font); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer;
  border-radius: var(--radius-sm); transition: all .15s;
}
.btn-signout:hover { border-color: var(--sell); color: var(--sell); background: var(--sell-dim); }

/* ── PRICING PAGE ── */
.pricing-wrap { padding: 36px 30px 72px; max-width: 1200px; margin: 0 auto; }

.pricing-hero {
  display: flex; margin-bottom: 40px; overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg2), var(--bg2)) padding-box,
    linear-gradient(135deg, rgba(200,160,74,.25), rgba(255,255,255,.06) 50%, transparent) border-box;
  border-radius: var(--radius-lg);
}
.pricing-hero-stat { flex: 1; padding: 26px 30px; text-align: center; border-right: 1px solid var(--border); position: relative; }
.pricing-hero-stat:last-child { border-right: none; }
.pricing-hero-stat::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200,160,74,.4), transparent);
}
.pricing-hero-stat-num { font-size: 40px; font-weight: 800; font-family: var(--font-display); color: var(--accent); line-height: 1; margin-bottom: 10px; }
.pricing-hero-stat-num.green { color: var(--buy); text-shadow: 0 0 30px var(--buy-glow); }
.pricing-hero-stat-label { font-size: 10px; color: var(--text3); letter-spacing: 1.5px; text-transform: uppercase; font-family: var(--font-display); }

.pricing-context       { margin-bottom: 36px; }
.pricing-context-label { font-size: 9px; color: var(--text3); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; display: block; font-family: var(--font-display); }
.pricing-competitors   { display: flex; flex-wrap: wrap; gap: 8px; }
.comp-item   { padding: 7px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); font-size: 10px; display: flex; gap: 10px; align-items: center; }
.comp-us     { border-color: rgba(200,160,74,.35); background: var(--accent-dim); }
.comp-name   { color: var(--text2); }
.comp-price  { color: var(--text3); }
.comp-accent { color: var(--buy); font-weight: 700; }

.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 56px; }
@media (max-width:1100px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px)  { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(160deg, rgba(255,255,255,.08) 0%, transparent 60%) border-box;
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column; position: relative;
  transition: all .28s var(--ease);
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(160deg, rgba(255,255,255,.14) 0%, transparent 60%) border-box;
}
.pricing-card-popular {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(200,160,74,.45) 0%, rgba(200,160,74,.1) 50%, transparent) border-box;
  box-shadow: 0 0 0 1px rgba(200,160,74,.12), var(--shadow-sm);
}
.pricing-card-popular:hover {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(200,160,74,.7) 0%, rgba(200,160,74,.2) 60%, transparent) border-box;
  box-shadow: 0 0 0 1px rgba(200,160,74,.2), 0 0 40px rgba(200,160,74,.12), var(--shadow-md);
  animation: glow-pulse 2s ease-in-out infinite;
}
.pricing-card-current {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(13,204,104,.4) 0%, rgba(13,204,104,.1) 50%, transparent) border-box;
}
.pricing-popular             { font-size: 9px; font-weight: 700; color: var(--accent); letter-spacing: 2px; margin-bottom: 16px; text-transform: uppercase; font-family: var(--font-display); }
.pricing-popular-placeholder { height: 18px; margin-bottom: 16px; }
.pricing-plan-name { font-size: 16px; font-weight: 700; font-family: var(--font-display); color: var(--text); letter-spacing: .3px; margin-bottom: 14px; }
.pricing-price     { margin-bottom: 24px; }
.price-num { font-size: 44px; font-weight: 800; font-family: var(--font-display); color: var(--accent); line-height: 1; }
.price-sub { font-size: 12px; color: var(--text3); margin-left: 4px; }
.pricing-features { flex: 1; margin-bottom: 24px; }
.pricing-feature  { display: flex; align-items: flex-start; gap: 9px; padding: 6px 0; font-size: 11px; color: var(--text2); font-family: var(--font-display); }
.feat-ok .feat-icon { color: var(--buy); font-weight: 700; flex-shrink: 0; }
.feat-no .feat-icon { color: var(--text3); flex-shrink: 0; }
.feat-no            { opacity: .38; }
.pricing-ctas { display: flex; flex-direction: column; gap: 8px; }
.pricing-cta-btn {
  position: relative; overflow: hidden;
  padding: 13px; background: var(--accent); border: none;
  color: #060606; font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  border-radius: var(--radius); transition: all .22s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pricing-cta-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .5s var(--ease);
}
.pricing-cta-btn:hover    { background: var(--accent3); box-shadow: 0 6px 22px var(--accent-glow); transform: translateY(-2px); }
.pricing-cta-btn:hover::after { transform: translateX(120%); }
.pricing-cta-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.cta-note           { font-size: 9px; background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 3px; font-weight: 400; letter-spacing: .5px; }
.pricing-cta-current{ padding: 11px; text-align: center; font-size: 10px; font-weight: 700; color: var(--buy); letter-spacing: 1px; border: 1px solid rgba(13,204,104,.28); border-radius: var(--radius); font-family: var(--font-display); }
.pricing-login-note { font-size: 9px; color: var(--text3); text-align: center; margin-top: 7px; }

/* ── PRICING FAQ ── */
.pricing-faq       { max-width: 740px; }
.pricing-faq-title { font-size: 9px; color: var(--text3); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-display); }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.faq-q    { font-size: 13px; color: var(--text); font-weight: 700; margin-bottom: 8px; font-family: var(--font-display); }
.faq-a    { font-size: 12px; color: var(--text2); line-height: 1.75; font-family: var(--font-display); }

/* ── UPGRADE PROMPT ── */
.upgrade-prompt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 16px; background: var(--bg3); border-bottom: 1px solid var(--border);
}
.upgrade-prompt-text { font-size: 9px; color: var(--text3); font-family: var(--font-display); }
.upgrade-prompt-text strong { color: var(--text2); font-weight: 600; }
.upgrade-prompt-btn {
  padding: 4px 12px; background: transparent;
  border: 1px solid rgba(200,160,74,.3); color: var(--accent);
  font-family: var(--font); font-size: 9px; letter-spacing: .8px; cursor: pointer;
  border-radius: var(--radius-sm); white-space: nowrap; transition: all .15s;
}
.upgrade-prompt-btn:hover { border-color: var(--accent); background: var(--accent-dim); box-shadow: 0 0 10px var(--accent-glow); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--surface);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(13,204,104,.5), rgba(13,204,104,.1)) border-box;
  color: var(--buy); padding: 14px 24px; font-size: 11px;
  border-radius: var(--radius); opacity: 0; transform: translateY(10px);
  transition: all .32s var(--ease); z-index: 9999; pointer-events: none; max-width: 350px;
  box-shadow: var(--shadow-lg), 0 0 30px var(--buy-glow);
}
.toast-show { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .main-layout { grid-template-columns: 210px 1fr; }
  .sidebar-right { display: none; }
  .stats-bar { grid-template-columns: repeat(4,1fr); }
  .stat-value { font-size: 28px; }
  .pricing-hero { flex-wrap: wrap; }
  .pricing-hero-stat { min-width: 50%; }
}
@media (max-width: 700px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar-left { display: none; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-value { font-size: 26px; }
  .pricing-hero-stat { min-width: 100%; }
  .header { padding: 0 16px; }
  .logo-name { letter-spacing: 2px; }
}

/* ── SECTION SWITCHING ── */
.full-section { min-height: calc(100vh - var(--header-h) - 40px); }

/* ── SECTION HEADERS ── */
.section-header {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 22px; background: var(--bg2); border-bottom: 1px solid var(--border);
}
.section-title-text { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-display); }
.section-sub { font-size: 9px; color: var(--text3); letter-spacing: .8px; }

/* ── ALERTS GRID ── */
.alerts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(315px,1fr)); gap: 18px; padding: 22px; }
.alert-card {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(13,204,104,.28) 0%, rgba(255,255,255,.06) 50%, transparent) border-box;
  border-radius: var(--radius); padding: 20px; cursor: pointer;
  transition: all .22s var(--ease); box-shadow: var(--shadow-sm);
  animation: card-in .35s var(--ease) backwards;
}
.alert-card:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(13,204,104,.5) 0%, rgba(13,204,104,.15) 50%, transparent) border-box;
  box-shadow: var(--shadow-md), 0 0 20px var(--buy-glow);
  transform: translateY(-3px);
}
.alert-card-header  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.alert-card-ticker  { font-size: 24px; font-weight: 700; font-family: var(--font-display); color: var(--accent); letter-spacing: .5px; }
.alert-card-value   { font-size: 22px; font-weight: 700; font-family: var(--font-display); color: var(--buy); }
.alert-card-company { font-size: 11px; color: var(--text2); margin-bottom: 6px; font-family: var(--font-display); }
.alert-card-insider { font-size: 11px; color: var(--accent); margin-bottom: 3px; }
.alert-card-meta    { font-size: 9px; color: var(--text3); }

/* ── PROFILE SECTION ── */
.profile-search-wrap { padding: 26px 22px 0; max-width: 720px; }
.profile-search-bar  { display: flex; align-items: center; gap: 10px; }
.profile-suggestions { margin-top: 14px; padding-bottom: 6px; }
.profile-card {
  max-width: 840px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(200,160,74,.18), rgba(255,255,255,.06) 50%, transparent) border-box;
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.profile-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.profile-name   { font-size: 24px; font-weight: 700; font-family: var(--font-display); color: var(--text); letter-spacing: .3px; }
.profile-titles { font-size: 10px; color: var(--text3); margin-top: 5px; font-family: var(--font-display); }
.profile-stats  { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.profile-stat   {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg3), var(--bg3)) padding-box,
    linear-gradient(135deg, rgba(255,255,255,.08), transparent) border-box;
  border-radius: var(--radius-sm); padding: 14px;
}

/* ── LANDING HERO (Koyfin-inspired dot grid + Stripe headline shimmer) ── */
.landing-hero {
  background-color: var(--bg2);
  /* Koyfin-style dot grid */
  background-image: radial-gradient(circle, rgba(200,160,74,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  border-bottom: 1px solid var(--border);
  padding: 72px 28px 60px;
  position: relative; overflow: hidden;
}
/* Ambient radial glow (TradingView style) */
.landing-hero::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,160,74,.06) 0%, transparent 70%);
  pointer-events: none;
}
/* Gradient top line (Vercel style) */
.landing-hero::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,160,74,.5), transparent);
  pointer-events: none;
}
.landing-hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 64px; flex-wrap: wrap;
  position: relative;
}
.landing-hero-text  { flex: 1; min-width: 300px; }
.landing-hero-eyebrow {
  font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: 3.5px;
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px; font-family: var(--font-display);
}
.landing-hero-eyebrow::before {
  content: ''; display: inline-block; width: 32px; height: 1px; background: var(--accent);
  flex-shrink: 0;
}
.landing-hero-headline {
  font-size: 46px; font-weight: 800; font-family: var(--font-display);
  color: var(--text); line-height: 1.12; margin-bottom: 20px;
  letter-spacing: -.5px;
}
/* Animated shimmer gradient text (Stripe signature style) */
.landing-hero-headline em {
  font-style: normal;
  background: linear-gradient(90deg,
    var(--accent2) 0%, var(--accent) 25%, var(--accent3) 45%,
    #ffffff 50%, var(--accent3) 55%, var(--accent) 75%, var(--accent2) 100%
  );
  background-size: 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(200,160,74,.3));
}
.landing-hero-sub {
  font-size: 14px; color: var(--text2); line-height: 1.8; font-family: var(--font-display);
  max-width: 520px; margin-bottom: 30px;
}
.landing-hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.landing-hero-cta {
  position: relative; overflow: hidden;
  padding: 14px 34px; background: var(--accent); border: none;
  color: #060606; font-family: var(--font); font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer;
  border-radius: var(--radius); transition: all .25s var(--ease);
}
.landing-hero-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .55s var(--ease);
}
.landing-hero-cta:hover { background: var(--accent3); box-shadow: 0 8px 28px var(--accent-glow); transform: translateY(-3px); }
.landing-hero-cta:hover::after { transform: translateX(120%); }
.landing-hero-note { font-size: 11px; color: var(--text3); font-family: var(--font-display); }

/* Stat cards with gradient borders */
.landing-hero-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; flex-shrink: 0; }
.landing-hero-stat {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(200,160,74,.28) 0%, rgba(255,255,255,.07) 60%, transparent) border-box;
  border-radius: var(--radius); padding: 22px 24px; min-width: 160px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .22s var(--ease);
}
.landing-hero-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.landing-hero-stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,160,74,.45), transparent);
}
.landing-hero-stat-num {
  font-size: 34px; font-weight: 800; font-family: var(--font-display);
  color: var(--accent); line-height: 1; margin-bottom: 7px;
  text-shadow: 0 0 30px rgba(200,160,74,.25);
}
.landing-hero-stat-label { font-size: 9px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-display); }

@media (max-width:700px) {
  .landing-hero { padding: 48px 20px 44px; }
  .landing-hero-inner { flex-direction: column; gap: 36px; }
  .landing-hero-stats { grid-template-columns: repeat(2,1fr); width: 100%; }
  .landing-hero-headline { font-size: 34px; }
}

/* Pagination */
.pagination-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 14px 0 6px; font-family: var(--font-mono);
}
.page-btn {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text2); font-family: var(--font-mono); font-size: 11px;
  padding: 5px 14px; cursor: pointer; border-radius: 3px; transition: all .15s;
}
.page-btn:hover:not(:disabled) { background: var(--accent); color: #000; border-color: var(--accent); }
.page-btn:disabled { opacity: .35; cursor: default; }
.page-info { font-size: 11px; color: var(--text3); letter-spacing: .05em; }
.page-btn-load { border-color: var(--accent); color: var(--accent); }
.page-btn-load:hover { background: var(--accent); color: #000; }
