/* GLOBALINK — Design Tokens & Swiss 2 System
   Based on Swiss 2 Typography, Grid, and Color Architecture
*/

:root {
  /* Colors */
  --gesso-canvas: #ffffff;
  --gesso-surface: #f4f4f4;
  --gesso-surface-recessed: #f5f5f5;
  --gesso-surface-elevated: #eaeaea;
  --gesso-divider: #cfcfcf;
  --gesso-divider-subtle: rgba(0, 0, 0, 0.06);
  --gesso-fg: #0a0a0a;
  --gesso-fg-muted: #595959;
  --gesso-accent: #d9220f;
  --gesso-on-accent: #ffffff;
  --gesso-accent-2: #1a1a1a;
  --gesso-accent-text: #d9220f;
  
  --gesso-success: #149343;
  --gesso-warning: #c36b05;
  --gesso-error: #dc2626;

  /* Typography */
  --font-display: "Schibsted Grotesk", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-body: "Switzer", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist", ui-monospace, "SF Mono", monospace;

  /* Spacing & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --transition-fast: 150ms cubic-bezier(0.2, 0, 0, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: var(--gesso-canvas);
  color: var(--gesso-fg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Base Utility Classes */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.num {
  font-family: var(--font-display);
  font-weight: 600;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gesso-fg-muted);
  font-weight: 500;
}

.rule {
  border: none;
  border-top: 1px solid var(--gesso-divider);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Icons */
.ic {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -0.125em;
  flex-shrink: 0;
  line-height: 0;
}
.ic svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 2;
}
.ic-lg { width: 20px; height: 20px; }
.ic-xl { width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gesso-accent);
  color: var(--gesso-on-accent);
}
.btn-primary:hover {
  background: #bd1a0a;
}

.btn-dark {
  background: var(--gesso-accent-2);
  color: #ffffff;
}
.btn-dark:hover {
  background: #333333;
}

.btn-ghost {
  border: 1px solid var(--gesso-divider);
  color: var(--gesso-fg);
  background: var(--gesso-canvas);
}
.btn-ghost:hover {
  background: var(--gesso-surface);
  border-color: #999;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-xs {
  padding: 4px 8px;
  font-size: 11px;
}

/* ============ NAVIGATION BAR ============ */
.nav {
  border-bottom: 1px solid var(--gesso-divider);
  background: var(--gesso-canvas);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 5fr) minmax(0, 4.5fr);
  align-items: center;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 11px;
  color: var(--gesso-fg-muted);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gesso-fg-muted);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.on {
  color: var(--gesso-fg);
}

.nav-links a.on::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gesso-fg);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gesso-surface);
  border: 1px solid var(--gesso-divider);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.token-pill:hover {
  border-color: var(--gesso-fg);
}
.token-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gesso-success);
}
.token-pill .val {
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Language selector */
.lang-selector {
  position: relative;
  font-size: 12px;
  font-weight: 500;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: var(--gesso-fg-muted);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
}
.lang-btn:hover {
  color: var(--gesso-fg);
  border-color: var(--gesso-divider);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 4px;
  min-width: 110px;
  display: none;
  z-index: 150;
}
.lang-dropdown.show {
  display: block;
}
.lang-dropdown a {
  display: block;
  padding: 6px 12px;
  color: var(--gesso-fg);
  font-size: 12px;
  border-radius: 2px;
}
.lang-dropdown a:hover, .lang-dropdown a.active {
  background: var(--gesso-surface);
  font-weight: 600;
}

/* ============ BREADCRUMB / BACKBAR ============ */
.backbar {
  border-bottom: 1px solid var(--gesso-divider);
  background: #fafafa;
}

.backbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gesso-fg-muted);
}

.backbar-inner a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gesso-fg-muted);
  cursor: pointer;
}

.backbar-inner a:hover {
  color: var(--gesso-fg);
}

.backbar-inner .crumb-sep {
  color: var(--gesso-divider);
}

.backbar-inner .crumb-here {
  color: var(--gesso-fg);
}

/* ============ PAGE 1: HERO / LANDING SECTION ============ */
#view-hero {
  display: block;
}

.hero {
  border-bottom: 1px solid var(--gesso-divider);
  padding: 64px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 64px;
}

.hero-left .eyebrow {
  margin-bottom: 8px;
}

.hero-left h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-top: 16px;
}

.hero-left h1 em {
  font-style: normal;
  color: var(--gesso-fg-muted);
}

.hero-left h1 .dot {
  color: var(--gesso-accent);
}

.hero-lead {
  font-size: 15px;
  color: var(--gesso-fg-muted);
  max-width: 52ch;
  margin-top: 24px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-ctas .btn-dark {
  padding: 13px 26px;
  font-size: 14px;
}

.hero-ctas .btn-ghost {
  padding: 12px 24px;
  font-size: 14px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gesso-fg-muted);
  margin-top: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--gesso-divider);
  margin-top: 40px;
  max-width: 520px;
}

.hero-stat {
  padding: 18px 16px 0 0;
  border-right: 1px solid var(--gesso-divider);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat .num {
  font-size: 28px;
  display: block;
  line-height: 1.1;
}

.hero-stat span {
  font-size: 11px;
  color: var(--gesso-fg-muted);
  display: block;
  margin-top: 4px;
  letter-spacing: 0.06em;
}

/* Hero Index Panel (Leaderboard) */
.hero-panel {
  border-left: 1px solid var(--gesso-divider);
  padding-left: 40px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gesso-fg);
}

.panel-head strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.panel-head .side {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gesso-fg-muted);
  font-weight: 500;
}

.panel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 72px);
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--gesso-divider);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.panel-row:hover {
  background: #fdfdfd;
}

.panel-row .who {
  min-width: 0;
}

.panel-row .who strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-row .who span {
  font-size: 12px;
  color: var(--gesso-fg-muted);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-row .niche {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--gesso-fg);
}

.panel-row .match {
  text-align: right;
}

.panel-row .match .num {
  font-size: 20px;
  line-height: 1;
  display: block;
}

.match-bar {
  height: 2px;
  background: var(--gesso-divider);
  margin-top: 6px;
  position: relative;
  width: 100%;
}

.match-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--gesso-fg);
}

.panel-row.hot .match .num {
  color: var(--gesso-accent);
}

.panel-row.hot .match-bar i {
  background: var(--gesso-accent);
}

.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 12px;
  color: var(--gesso-fg-muted);
}

.panel-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gesso-fg);
  cursor: pointer;
}

.panel-foot a:hover {
  color: var(--gesso-accent);
}

/* Niche Ticker Strip */
.ticker {
  border-top: 1px solid var(--gesso-divider);
  border-bottom: 1px solid var(--gesso-divider);
  background: var(--gesso-surface);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 52px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.ticker-inner::-webkit-scrollbar {
  display: none;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gesso-fg);
  font-weight: 600;
  padding-right: 28px;
  border-right: 1px solid var(--gesso-divider);
  flex: none;
  height: 100%;
}

.ticker-inner .tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--gesso-fg-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.ticker-inner .tag:hover {
  color: var(--gesso-fg);
}

.ticker-inner .tag b {
  font-weight: 600;
  color: var(--gesso-fg);
  margin-left: 4px;
}

.ticker-inner .sep {
  color: var(--gesso-divider);
}

/* 3 Process Steps */
.steps {
  border-bottom: 1px solid var(--gesso-divider);
}

.steps-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  padding: 40px 40px 48px 0;
  border-right: 1px solid var(--gesso-divider);
}

.step:last-child {
  border-right: none;
  padding-right: 0;
}

.step + .step {
  padding-left: 40px;
}

.step .idx {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--gesso-accent);
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
}

.step p {
  font-size: 13px;
  color: var(--gesso-fg-muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* ============ PAGE 2: CREATOR SEARCH & DASHBOARD ============ */
#view-search {
  display: block;
}

.hero-compact {
  border-bottom: 1px solid var(--gesso-divider);
  padding: 40px 0 32px;
}

.hero-compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
  gap: 48px;
  align-items: end;
}

.hero-compact h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 12px;
}

.hero-compact h1 em {
  font-style: normal;
  color: var(--gesso-fg-muted);
}

.hero-compact-right p {
  font-size: 14px;
  color: var(--gesso-fg-muted);
  line-height: 1.5;
}

.hero-compact .hero-stats {
  margin-top: 24px;
  max-width: 100%;
}

/* Main Dashboard 2-Column Layout */
.main-dashboard {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 64px;
}

/* Left Sidebar Filters */
.filters {
  border-right: 1px solid var(--gesso-divider);
  padding-right: 32px;
}

.filters-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gesso-divider);
}

.fgroup {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--gesso-divider-subtle);
}

.fgroup h3 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gesso-fg-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.fopt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  cursor: pointer;
  user-select: none;
  color: var(--gesso-fg);
}

.fopt:hover {
  color: var(--gesso-accent);
}

.fopt input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--gesso-accent-2);
}

.fopt span.label {
  flex: 1;
}

.fopt .cnt {
  font-size: 11px;
  color: var(--gesso-fg-muted);
  font-family: var(--font-mono);
}

.range-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--gesso-fg-muted);
  margin-top: 8px;
}

.range-track {
  flex: 1;
  height: 4px;
  background: var(--gesso-surface-elevated);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.range-fill {
  position: absolute;
  left: 15%;
  right: 10%;
  top: 0;
  bottom: 0;
  background: var(--gesso-accent);
}

.reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gesso-fg-muted);
  margin-top: 20px;
  padding: 6px 10px;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  width: 100%;
  justify-content: center;
  transition: all var(--transition-fast);
}

.reset-btn:hover {
  color: var(--gesso-fg);
  border-color: var(--gesso-fg);
  background: var(--gesso-surface);
}

/* Results Content Area */
.results {
  min-width: 0;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gesso-canvas);
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  transition: border-color var(--transition-fast);
}

.searchbox:focus-within {
  border-color: var(--gesso-fg);
}

.searchbox input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  outline: none;
  color: var(--gesso-fg);
}

.sortbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gesso-fg-muted);
  white-space: nowrap;
}

.sortbox select {
  border: 1px solid var(--gesso-divider);
  background: var(--gesso-canvas);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gesso-fg);
  outline: none;
  cursor: pointer;
}

/* Active Chips */
.chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  min-height: 32px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gesso-surface);
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gesso-fg);
}

.chip svg {
  cursor: pointer;
  width: 14px;
  height: 14px;
  color: var(--gesso-fg-muted);
}
.chip svg:hover {
  color: var(--gesso-accent);
}

.chip-clear {
  font-size: 12px;
  font-weight: 500;
  color: var(--gesso-accent);
  padding: 4px 8px;
}
.chip-clear:hover {
  text-decoration: underline;
}

/* Result Meta Strip */
.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--gesso-divider);
  border-bottom: 1px solid var(--gesso-divider);
  font-size: 13px;
  margin-bottom: 12px;
}

.result-meta .num {
  font-size: 20px;
  font-weight: 600;
}

.result-meta .side {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gesso-fg-muted);
}

/* Influencer Table Layout */
/* Influencer Table Layout (Matches Uploaded Screenshot Spec & Pro Outreach) */
.rowgrid {
  display: grid;
  grid-template-columns: 3fr 2.1fr 0.9fr 0.9fr 1fr 1.1fr 2fr;
  gap: 16px;
  align-items: center;
}

.list-head {
  padding: 12px 16px;
  background: var(--gesso-surface);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gesso-fg-muted);
  font-weight: 600;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid var(--gesso-divider);
  border-bottom: 1px solid var(--gesso-divider);
}

.creator-table-list {
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  margin-bottom: 24px;
}

.creator-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gesso-divider);
  transition: background var(--transition-fast);
  background: #ffffff;
}

.creator-row:last-child {
  border-bottom: none;
}

.creator-row:hover {
  background: #f8fafc;
}

.creator-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.avatar-square {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.c-info-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.c-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.c-name-link {
  color: var(--gesso-fg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.c-name-link:hover {
  color: var(--gesso-accent);
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #ea580c;
  border: 1px solid #fed7aa;
  background: #fffaf5;
  padding: 1px 7px;
  border-radius: 9999px;
  white-space: nowrap;
}

.verified-pill .ic {
  width: 12px;
  height: 12px;
}

.c-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c-submetrics {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.niche-cell {
  min-width: 0;
}

.niche-cell .niche-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gesso-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.niche-cell .mail-masked {
  font-size: 12px;
  color: #94a3b8;
  font-family: var(--font-mono);
  margin-top: 3px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.niche-cell .mail-masked:hover {
  color: var(--gesso-accent);
}

.mail-revealed {
  font-size: 12px;
  color: var(--gesso-fg);
  font-family: var(--font-mono);
  margin-top: 3px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mail-revealed span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.copy-pill {
  cursor: pointer;
  color: var(--gesso-accent);
  font-size: 10px;
  border: 1px solid rgba(217, 34, 15, 0.3);
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.3;
}

.stat-cell {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.stat-cell.stat-er {
  font-size: 16px;
}

.match-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 68px;
}

.match-score-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.match-line-track {
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}

.match-line-bar {
  height: 100%;
  background: #0f172a;
  border-radius: 2px;
}

.price-cell {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.price-cell small {
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  font-family: var(--font-body);
}

.actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.link-preview-home {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.link-preview-home:hover {
  color: #0f172a;
}

.link-preview-home .ic {
  width: 14px;
  height: 14px;
}

.btn-table-pitch {
  background: #d9220f;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(217, 34, 15, 0.2);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-table-pitch:hover {
  background: #b51b0b;
  transform: translateY(-1px);
}

.btn-table-pitch .ic {
  width: 14px;
  height: 14px;
}

.btn-unlocked {
  background: var(--gesso-surface);
  border: 1px solid var(--gesso-divider);
  color: var(--gesso-fg);
  padding: 6px 10px;
  font-size: 11px;
}

.btn-outreach-direct {
  background: var(--gesso-accent-2);
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-outreach-direct:hover {
  background: #000;
}

/* Pagination */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 0;
  font-size: 12px;
  color: var(--gesso-fg-muted);
}

.pager-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pg {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gesso-divider);
  background: var(--gesso-canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.pg.on {
  background: var(--gesso-accent-2);
  color: #fff;
  border-color: var(--gesso-accent-2);
}

/* ============ PRICING SECTION & CARDS ============ */
.pricing-section {
  padding: 64px 0;
  border-top: 1px solid var(--gesso-divider);
  background: #fafafa;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -0.01em;
  margin-top: 12px;
}

.section-head p {
  color: var(--gesso-fg-muted);
  font-size: 15px;
  margin-top: 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.price-card.featured {
  border: 2px solid var(--gesso-accent);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gesso-accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}

.card-desc {
  font-size: 13px;
  color: var(--gesso-fg-muted);
  margin-top: 6px;
  min-height: 38px;
}

.card-price {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-price .currency {
  font-size: 20px;
  font-weight: 600;
}

.card-price .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.card-price .period {
  font-size: 13px;
  color: var(--gesso-fg-muted);
}

.card-token-box {
  background: var(--gesso-surface);
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 24px;
}

.card-token-box .tokens {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--gesso-fg);
  display: flex;
  justify-content: space-between;
}

.card-token-box .rule-note {
  font-size: 11px;
  color: var(--gesso-fg-muted);
  margin-top: 4px;
  display: block;
}

.card-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gesso-fg);
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-features li svg {
  color: var(--gesso-accent);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Extra Token Packs Strip */
.packs-box {
  background: var(--gesso-canvas);
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 24px;
}

.packs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.packs-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.packs-head .tag-green {
  background: #e6f4ea;
  color: #137333;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pack-card {
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  transition: border-color var(--transition-fast);
}

.pack-card:hover {
  border-color: var(--gesso-fg);
}

.pack-tokens {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}

.pack-price {
  font-size: 13px;
  color: var(--gesso-fg-muted);
  margin-top: 2px;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--gesso-divider);
  background: var(--gesso-canvas);
}

.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  padding: 48px 0 40px;
  gap: 40px;
}

.foot-brand p {
  font-size: 13px;
  color: var(--gesso-fg-muted);
  margin-top: 12px;
  max-width: 32ch;
  line-height: 1.6;
}

.foot-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gesso-fg-muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.foot-col a {
  display: block;
  font-size: 13px;
  color: var(--gesso-fg);
  padding: 5px 0;
  transition: color var(--transition-fast);
}

.foot-col a:hover {
  color: var(--gesso-accent);
}

.foot-bottom {
  border-top: 1px solid var(--gesso-divider);
  padding: 20px 0 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gesso-fg-muted);
}

/* ============ MODAL SYSTEM ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--gesso-divider);
}

.modal-box-lg {
  max-width: 820px;
}

.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gesso-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.modal-close {
  cursor: pointer;
  padding: 4px;
  color: var(--gesso-fg-muted);
}
.modal-close:hover {
  color: var(--gesso-fg);
}

.modal-body {
  padding: 24px;
}

.modal-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--gesso-divider);
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ============ AI OUTREACH WIZARD & QUESTIONNAIRE ============ */
.wizard-steps {
  display: flex;
  border-bottom: 1px solid var(--gesso-divider);
  background: var(--gesso-surface);
}

.wizard-step {
  flex: 1;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gesso-fg-muted);
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-step.active {
  color: var(--gesso-fg);
  border-color: var(--gesso-accent);
  background: #ffffff;
  font-weight: 600;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--gesso-fg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: var(--gesso-fg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gesso-fg);
}

.form-group .hint {
  font-size: 11px;
  color: var(--gesso-fg-muted);
  margin-top: 4px;
  display: block;
}

/* AI Advice Card */
.ai-advice-card {
  background: #fff8f6;
  border: 1px solid #fbd6d0;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 20px;
}

.ai-advice-card .ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gesso-accent);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}

.ai-advice-card ul {
  padding-left: 20px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
}

/* Email Template Styles Selector */
.style-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.style-tab {
  padding: 10px 8px;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  background: var(--gesso-canvas);
  transition: all var(--transition-fast);
}

.style-tab:hover {
  border-color: var(--gesso-fg);
}

.style-tab.active {
  border-color: var(--gesso-accent);
  background: #fff5f4;
  color: var(--gesso-accent);
  font-weight: 600;
}

.email-preview-box {
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  background: #fafafa;
  padding: 16px;
}

.email-preview-box .email-field {
  margin-bottom: 10px;
  font-size: 13px;
}

.email-preview-box .email-field strong {
  display: inline-block;
  width: 70px;
  color: var(--gesso-fg-muted);
}

.email-body-text {
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  padding: 14px;
  min-height: 180px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  width: 100%;
  font-family: inherit;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 250ms ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-panel {
    border-left: none;
    border-top: 1px solid var(--gesso-divider);
    padding-left: 0;
    padding-top: 32px;
  }
  .main-dashboard {
    grid-template-columns: 1fr;
  }
  .filters {
    border-right: none;
    border-bottom: 1px solid var(--gesso-divider);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .packs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 20px;
  }
  .nav-inner {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 12px 0;
  }
  .nav-links {
    display: none;
  }
  .hero-left h1 {
    font-size: 40px;
  }
  .rowgrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .list-head {
    display: none;
  }
  .steps-inner {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: none;
    border-bottom: 1px solid var(--gesso-divider);
    padding: 24px 0;
  }
  .step + .step {
    padding-left: 0;
  }
  .foot-inner {
    grid-template-columns: 1fr;
  }
}

/* ====================================================================
   CREATOR CARD (Matches Uploaded Screenshot Spec & Pro Outreach)
   ==================================================================== */

.creator-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.creator-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
}

.creator-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.card-creator-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.card-location-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.card-platform-row {
  margin-top: 4px;
}

.card-platform-link {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.card-platform-link:hover {
  text-decoration: underline;
}

.card-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pill-role {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
}

.pill-niche {
  background: #f3f4f6;
  color: #374151;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
}

/* 亮点提示条 (金黄微火) */
.card-highlight-bar {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

/* 官方代发保护/脱敏联系方式栏 */
.card-email-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #475569;
}

.card-email-box .email-protect-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* 2x2 核心参数网格 */
.card-stats-grid {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 10px;
  column-gap: 16px;
  margin-bottom: 12px;
}

.card-stat-item .stat-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.card-stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2px;
}

/* 合作偏好语录框 (左侧深蓝条) */
.card-quote-box {
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  padding: 9px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
}

/* 历史品牌与标签 */
.card-brands-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #475569;
  margin-bottom: 8px;
}

.card-brands-row .check-ic {
  color: #10b981;
  font-weight: 700;
}

.card-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.card-tag-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}

/* 底部双按钮 */
.card-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.btn-card-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.btn-card-profile:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.btn-card-pitch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.btn-card-pitch:hover {
  background: #1e293b;
}

.badge-pro-pill {
  background: #ea580c;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 2px;
}

/* ====================================================================
   ANGELMATCH STYLE HOMEPAGE SECTIONS (For Globalink Creator Outbound)
   ==================================================================== */

.home-sec {
  padding: 80px 0;
  border-bottom: 1px solid var(--gesso-divider);
}

.home-sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px auto;
}

.home-sec-head .eyebrow {
  margin-bottom: 10px;
}

.home-sec-head h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gesso-fg);
  margin-bottom: 14px;
}

.home-sec-head p {
  font-size: 16px;
  color: var(--gesso-fg-muted);
  line-height: 1.6;
}

/* Database Overview Numbers & Breakdown Grid */
.db-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.db-stat-card {
  background: var(--gesso-surface);
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.db-stat-card .num-big {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--gesso-fg);
  line-height: 1.1;
}

.db-stat-card .label-sub {
  font-size: 13px;
  color: var(--gesso-fg-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* Features Grid (4 Matrix Cards) */
.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: all 0.2s ease;
}

.feature-box:hover {
  border-color: #94a3b8;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.05);
}

.feature-box.featured-scale {
  background: #fafafa;
  border: 2px solid #0f172a;
}

.feature-box .feat-badge {
  display: inline-block;
  background: #ea580c;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.feature-box .feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  margin-bottom: 16px;
}

.feature-box h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gesso-fg);
}

.feature-box p {
  font-size: 14px;
  color: var(--gesso-fg-muted);
  line-height: 1.6;
}

/* How It Works Steps (1 to 4) */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.wf-step-card {
  background: var(--gesso-surface);
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  padding: 24px;
}

.wf-step-card .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  background: #dbeafe;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 14px;
}

.wf-step-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wf-step-card p {
  font-size: 13.5px;
  color: var(--gesso-fg-muted);
  line-height: 1.55;
}

/* Comparison Table (Traditional Agency vs DM vs GLOBALINK) */
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.cmp-table th, .cmp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gesso-divider);
}

.cmp-table th {
  background: var(--gesso-surface);
  font-family: var(--font-display);
  font-weight: 700;
}

.cmp-table th.col-highlight, .cmp-table td.col-highlight {
  background: #f0fdf4;
  font-weight: 600;
  color: #14532d;
}

.cmp-table .good {
  color: #15803d;
  font-weight: 700;
}

.cmp-table .bad {
  color: #b91c1c;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-item:hover {
  border-color: #94a3b8;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gesso-fg);
}

.faq-a {
  margin-top: 10px;
  font-size: 14px;
  color: var(--gesso-fg-muted);
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta-box {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 40px 0;
}

.final-cta-box h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 14px;
}

.final-cta-box p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 28px auto;
}

/* ====================================================================
   PITCH WIZARD MODAL (Single-Step Focused Flow + Friendly Pro Tips)
   ==================================================================== */

.pitch-wizard-dialog {
  max-width: 680px;
  width: 95%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pitch-wizard-header {
  padding: 20px 28px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pitch-wizard-target {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pitch-wizard-target img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.pitch-progress-track {
  height: 4px;
  background: #f1f5f9;
  width: 100%;
}

.pitch-progress-fill {
  height: 100%;
  background: #2563eb;
  transition: width 0.3s ease;
}

.pitch-step-body {
  padding: 32px 36px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-indicator-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 12px;
}

/* 友好专业提示框 */
.pro-tip-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #166534;
  line-height: 1.55;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pro-tip-box .tip-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 单选选择卡片 (合作模式、交付物等) */
.options-grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.option-select-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-select-card:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.option-select-card.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.option-select-card .opt-title {
  font-weight: 600;
  font-size: 14px;
  color: #0f172a;
}

.option-select-card .opt-desc {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}

.pitch-wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

/* 成功庆祝卡片 */
.pitch-success-panel {
  text-align: center;
  padding: 40px 20px;
}

.pitch-success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* 响应式适配 */
@media (max-width: 900px) {
  .db-stats-grid, .features-grid-4, .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .creator-cards-grid {
    grid-template-columns: 1fr;
  }
  .pitch-step-body {
    padding: 24px 20px;
  }
}

/* ====================================================================
   USER AUTH & ACCOUNT DROPDOWN
   ==================================================================== */
.user-account-wrap {
  position: relative;
  display: inline-block;
}

.user-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gesso-divider);
  background: #ffffff;
  font-size: 13px;
  font-weight: 500;
  color: var(--gesso-fg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.user-account-pill:hover {
  border-color: var(--gesso-fg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.user-account-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gesso-fg);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.user-account-tier-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--gesso-surface);
  color: var(--gesso-fg-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.user-account-tier-badge.vip {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.user-account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  display: none;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
}

.user-account-dropdown.show {
  display: flex;
}

.user-dropdown-header {
  padding: 14px 16px;
  background: var(--gesso-surface);
  border-bottom: 1px solid var(--gesso-divider);
  font-size: 12px;
}

.user-dropdown-header strong {
  display: block;
  font-size: 13px;
  color: var(--gesso-fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-header span {
  color: var(--gesso-fg-muted);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gesso-fg);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.user-dropdown-item:hover {
  background: var(--gesso-surface);
}

.user-dropdown-item.danger {
  color: var(--gesso-error);
}

.user-dropdown-divider {
  height: 1px;
  background: var(--gesso-divider-subtle);
  margin: 4px 0;
}

/* ====================================================================
   DASHBOARD TAB NAVIGATION & TOOLBAR ENHANCEMENTS
   ==================================================================== */
.dashboard-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gesso-divider);
  margin-bottom: 24px;
  padding-bottom: 0;
}

.dash-tabs {
  display: flex;
  gap: 8px;
}

.dash-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gesso-fg-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dash-tab-btn:hover {
  color: var(--gesso-fg);
}

.dash-tab-btn.active {
  color: var(--gesso-accent);
  border-bottom-color: var(--gesso-accent);
}

.dash-tab-count {
  font-size: 11px;
  background: var(--gesso-surface);
  color: var(--gesso-fg);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
}

.dash-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-export-csv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gesso-fg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-export-csv:hover {
  border-color: var(--gesso-fg);
  background: var(--gesso-surface);
}

/* ====================================================================
   COLLABORATION CRM WORKSPACE
   ==================================================================== */
.crm-workspace {
  background: #ffffff;
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.crm-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.crm-stats-summary {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.crm-stat-chip {
  background: var(--gesso-surface);
  border: 1px solid var(--gesso-divider);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12.5px;
}

.crm-stat-chip strong {
  font-family: var(--font-display);
  font-size: 16px;
  margin-left: 4px;
  color: var(--gesso-fg);
}

.crm-stage-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gesso-divider);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.crm-stage-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gesso-fg-muted);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.crm-stage-btn:hover {
  background: var(--gesso-surface);
  color: var(--gesso-fg);
}

.crm-stage-btn.active {
  background: var(--gesso-fg);
  color: #ffffff;
}

/* CRM Table */
.crm-table-wrap {
  overflow-x: auto;
}

.crm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.crm-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gesso-divider);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gesso-fg-muted);
  background: var(--gesso-surface);
}

.crm-table td {
  padding: 14px;
  border-bottom: 1px solid var(--gesso-divider-subtle);
  vertical-align: middle;
}

.crm-table tr:hover td {
  background: rgba(0,0,0,0.015);
}

/* CRM Status Selectors */
.crm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}

.status-select-wrap {
  position: relative;
  display: inline-block;
}

.status-select-dropdown {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--gesso-divider);
  background: #ffffff;
  cursor: pointer;
}

.status-unlocked { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.status-sent { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.status-followup { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.status-replied { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.status-collaborating { background: #ede9fe; color: #6d28d9; border-color: #ddd6fe; }
.status-completed { background: #f3f4f6; color: #374151; border-color: #e5e7eb; }

/* CRM Empty State */
.crm-empty-box {
  padding: 60px 20px;
  text-align: center;
  color: var(--gesso-fg-muted);
}

.crm-empty-box h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gesso-fg);
  margin-bottom: 8px;
}

.crm-empty-box p {
  font-size: 13.5px;
  max-width: 480px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

/* Quick Note Popover / Edit */
.crm-note-text {
  max-width: 240px;
  font-size: 12px;
  color: var(--gesso-fg-muted);
  line-height: 1.4;
  cursor: pointer;
}
.crm-note-text:hover {
  color: var(--gesso-fg);
  text-decoration: underline;
}


/* Google Native Sign-In Button (Swiss 2 Design) */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm, 6px);
  color: #1f2937;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  padding: 0 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

.btn-google:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-google:active {
  background: #f3f4f6;
  transform: translateY(1px);
}

.btn-google svg {
  flex-shrink: 0;
  margin-right: 10px;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0 16px 0;
  color: var(--gesso-fg-muted, #94a3b8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--gesso-divider, #e2e8f0);
}

.auth-divider span {
  padding: 0 12px;
}

.user-avatar-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
