/* === COMP DECK — LINEAR/VERCEL LIGHT THEME === */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --border: #E4E4E7;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --text: #18181B;
  --text-muted: #71717A;
  --text-dim: #A1A1AA;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }

/* === LAYOUT === */
.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 48px 0; }

/* === TYPOGRAPHY === */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-primary { color: var(--primary); }
.tracking-tight { letter-spacing: -0.025em; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: var(--radius); font-size: 0.875rem;
  font-weight: 500; transition: all 0.15s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn-outline:hover { border-color: #D4D4D8; background: #F4F4F5; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: #F4F4F5; }
.btn-danger { background: transparent; color: #EF4444; border: 1px solid #FECACA; }
.btn-danger:hover { background: #FEF2F2; }
.btn-lg { padding: 12px 24px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 6px 12px; font-size: 0.8125rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,250,250,0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1152px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; color: var(--text);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.875rem; color: var(--text-muted); font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; }

/* === HERO === */
.hero {
  padding: 80px 0 64px; position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1152px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  border-radius: 999px; padding: 6px 14px; font-size: 0.8125rem;
  color: var(--primary); font-weight: 500; margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.035em; margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.0625rem; color: var(--text-muted); margin-bottom: 32px;
  line-height: 1.7; max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* === BATTLECARD MOCK === */
.battlecard-mock {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  font-size: 0.8125rem;
}
.battlecard-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.battlecard-company { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.battlecard-badge {
  display: inline-block; background: #EFF6FF; color: var(--primary);
  font-size: 0.6875rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px;
}
.battlecard-section { margin-bottom: 16px; }
.battlecard-section-label {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim); font-weight: 600; margin-bottom: 8px;
}
.battlecard-pricing-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #F4F4F5; }
.battlecard-pricing-row:last-child { border-bottom: none; }
.battlecard-pricing-label { color: var(--text-muted); }
.battlecard-pricing-value { font-weight: 600; font-family: 'SF Mono', Monaco, monospace; }
.battlecard-pricing-highlight { color: #F59E0B; }
.battlecard-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; font-size: 0.8125rem; color: var(--text-muted);
}
.battlecard-item-icon { color: #10B981; flex-shrink: 0; margin-top: 1px; }
.battlecard-rebuttal {
  background: #FFFBEB; border-left: 3px solid #F59E0B;
  padding: 10px 12px; border-radius: 0 6px 6px 0;
  font-size: 0.8rem; color: #92400E; line-height: 1.5; font-style: italic;
}
.battlecard-footer {
  display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.battlecard-tag {
  background: #F4F4F5; font-size: 0.6875rem; color: var(--text-muted);
  padding: 3px 10px; border-radius: 6px; font-weight: 500;
}
.battlecard-tag-blue { background: #EFF6FF; color: var(--primary); }
.battlecard-cta {
  margin-left: auto;
  background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}
.battlecard-cta:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* === FEATURES === */
.features { padding: 80px 0; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px; display: block;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; line-height: 1.2;
  letter-spacing: -0.025em; margin-bottom: 12px;
}
.section-sub { font-size: 1rem; color: var(--text-muted); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1152px; margin: 0 auto; padding: 0 24px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: #EFF6FF; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--primary);
}
.feature-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* === HOW IT WORKS === */
.how { padding: 80px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { max-width: 1152px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { display: flex; flex-direction: column; }
.step-number {
  font-size: 0.875rem; font-weight: 700; color: var(--primary);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.step-number-circle {
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700; flex-shrink: 0;
}
.step-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* === PRICING === */
.pricing { padding: 80px 0; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 40px; text-align: center; max-width: 440px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.pricing-popular {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 0.6875rem; font-weight: 600; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.pricing-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 4px; }
.pricing-amount { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; }
.pricing-period { font-size: 1rem; color: var(--text-muted); }
.pricing-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 32px; }
.pricing-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature { font-size: 0.875rem; display: flex; align-items: center; gap: 10px; }
.pricing-feature-icon-yes { color: #10B981; flex-shrink: 0; }
.pricing-note { font-size: 0.8125rem; color: var(--text-dim); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* === CLOSING CTA === */
.closing { padding: 80px 0; text-align: center; }
.closing-inner { max-width: 560px; margin: 0 auto; padding: 0 24px; }
.closing-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; line-height: 1.2;
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.closing-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.closing-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.closing-footnote { font-size: 0.8125rem; color: var(--text-dim); }

/* === FOOTER === */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  max-width: 1152px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.875rem; }
.footer-copy { font-size: 0.8125rem; color: var(--text-dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8125rem; color: var(--text-dim); transition: color 0.15s; }
.footer-links a:hover { color: var(--text-muted); }

/* === DASHBOARD LAYOUT === */
.dashboard-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 224px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.sidebar-logo {
  padding: 20px 20px 16px; border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 8px;
}
.sidebar-nav { flex: 1; padding: 16px 12px; }
.sidebar-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px; font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted); transition: all 0.15s; margin-bottom: 2px;
}
.sidebar-nav-item:hover { background: #F4F4F5; color: var(--text); }
.sidebar-nav-item.active { background: #EFF6FF; color: var(--primary); }
.sidebar-nav-item svg { flex-shrink: 0; }
.sidebar-bottom { padding: 16px 12px; border-top: 1px solid var(--border); }
.sidebar-user {
  display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px;
}
.sidebar-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; flex-shrink: 0;
}
.sidebar-user-name { font-size: 0.8125rem; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-signout { font-size: 0.75rem; color: var(--text-dim); }

/* === MAIN CONTENT === */
.main-content { flex: 1; padding: 32px; overflow-y: auto; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.page-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.page-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }

/* === COMPETITOR GRID === */
.competitor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.competitor-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px; transition: box-shadow 0.2s;
}
.competitor-card:hover { box-shadow: var(--shadow-md); }
.competitor-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.competitor-card-name { font-size: 1.0625rem; font-weight: 700; }
.competitor-card-badge {
  display: inline-block; background: #F4F4F5; color: var(--text-muted);
  font-size: 0.6875rem; font-weight: 600; padding: 3px 8px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px;
}
.competitor-card-actions { display: flex; gap: 8px; }
.competitor-card-date { font-size: 0.75rem; color: var(--text-dim); margin-top: 12px; }

/* === EMPTY STATE === */
.empty-state {
  text-align: center; padding: 80px 24px; max-width: 480px; margin: 0 auto;
}
.empty-state-icon {
  width: 64px; height: 64px; border-radius: 16px; background: #F4F4F5;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
  color: var(--text-dim);
}
.empty-state-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.empty-state-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }

/* === ADD COMPETITOR MODAL === */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center; z-index: 100;
  padding: 24px;
}
.modal {
  background: var(--surface); border-radius: 12px; padding: 32px;
  width: 100%; max-width: 440px; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.modal-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.875rem; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.875rem; font-family: inherit; background: var(--surface); }
.form-error { font-size: 0.8125rem; color: #EF4444; margin-bottom: 16px; padding: 12px; background: #FEF2F2; border-radius: 8px; }

/* === BATTLECARD VIEW === */
.battlecard-container { max-width: 768px; margin: 0 auto; }
.battlecard-view-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.battlecard-view-company { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.battlecard-view-badge { display: inline-block; background: #EFF6FF; color: var(--primary); font-size: 0.6875rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 8px; }
.battlecard-actions { display: flex; gap: 10px; }
.battlecard-section-view {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.battlecard-section-title { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); font-weight: 600; margin-bottom: 12px; }
.battlecard-section-body { font-size: 0.9375rem; line-height: 1.7; color: var(--text); }
.battlecard-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.battlecard-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.5; }
.battlecard-list-icon { color: #10B981; flex-shrink: 0; margin-top: 2px; }
.battlecard-list-icon-warn { color: #F59E0B; flex-shrink: 0; margin-top: 2px; }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table td { padding: 10px 0; font-size: 0.9375rem; border-bottom: 1px solid #F4F4F5; }
.pricing-table td:last-child { text-align: right; font-weight: 600; font-family: 'SF Mono', Monaco, monospace; }
.pricing-table tr:last-child td { border-bottom: none; }
.objection-item { margin-bottom: 20px; }
.objection-label { font-size: 0.8125rem; font-weight: 600; color: #EF4444; margin-bottom: 6px; }
.objection-rebuttal {
  background: #F8FAFC; border: 1px solid var(--border); border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0; padding: 12px 16px; font-size: 0.875rem; line-height: 1.6;
  color: var(--text);
}

/* === SETTINGS === */
.settings-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 24px; max-width: 600px; margin-bottom: 16px;
}
.settings-title { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.settings-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 16px; }
.plan-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
}
.plan-free { background: #F4F4F5; color: var(--text-muted); }
.plan-pro { background: #DBEAFE; color: var(--primary); }

/* === FORMS === */
.form-row { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .sidebar { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .battlecard-view-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* === FORM AUTH PAGES === */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--bg); }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 40px; width: 100%; max-width: 400px; box-shadow: var(--shadow-sm); }
.auth-logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.125rem; margin-bottom: 32px; }
.auth-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.auth-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-divider { text-align: center; font-size: 0.8125rem; color: var(--text-dim); margin: 16px 0; }
.auth-divider::before, .auth-divider::after { content: ''; display: inline-block; width: 40%; height: 1px; background: var(--border); vertical-align: middle; margin: 0 8px; }
.oauth-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.875rem; font-weight: 500; font-family: inherit; background: var(--surface); cursor: pointer; transition: background 0.15s; }
.oauth-btn:hover { background: #F9F9F9; }
.auth-footer { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin-top: 20px; }
.auth-footer a { color: var(--primary); font-weight: 500; }

/* === ALERTS === */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 0.875rem; margin-bottom: 20px; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

/* === DISCOVERY SIDEBAR === */
.discovery-sidebar {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 24px; margin-bottom: 24px;
}
.discovery-sidebar-title {
  font-size: 0.8125rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px;
}
.discovery-search {
  width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.875rem; font-family: inherit; margin-bottom: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.discovery-search:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.discovery-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.discovery-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 500;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  cursor: pointer; transition: all 0.15s;
}
.discovery-chip:hover { border-color: var(--primary); color: var(--primary); background: #EFF6FF; }
.discovery-chip-industry {
  font-size: 0.6875rem; color: var(--text-dim); font-weight: 400;
}

/* === TOP COMPETITORS SECTION === */
.top-competitors-section {
  margin-top: 32px;
}
.top-competitors-title {
  font-size: 0.8125rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px;
}
.top-competitors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.top-competitor-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 0.2s;
}
.top-competitor-card:hover { box-shadow: var(--shadow-md); }
.top-competitor-card-name {
  font-size: 0.9375rem; font-weight: 700; color: var(--text);
}

/* === DASHBOARD UPGRADE PROMPT === */
.upgrade-prompt {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  border: 1px solid #BFDBFE; border-radius: 10px; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px;
}
.upgrade-prompt-text { font-size: 0.9375rem; color: #1E40AF; }
.upgrade-prompt-text strong { font-weight: 600; }

/* === SETUP PROMPT (FIRST-TIME USER ONBOARDING) === */
.setup-prompt {
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFF 100%);
  border: 1px solid #BFDBFE; border-radius: 10px; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px;
}
.setup-prompt-text {
  display: flex; align-items: flex-start; gap: 14px; flex: 1;
}
.setup-prompt-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.setup-prompt-headline { font-size: 1rem; font-weight: 700; color: #1E40AF; margin-bottom: 4px; }
.setup-prompt-sub { font-size: 0.875rem; color: #3B82F6; line-height: 1.5; }

/* === SOCIAL PROOF LOGO STRIP === */
.social-proof { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.social-proof-inner { max-width: 1152px; margin: 0 auto; padding: 0 24px; text-align: center; }
.social-proof-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); font-weight: 600; margin-bottom: 20px; }
.logo-strip { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.logo-item { font-size: 0.875rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; }
.logo-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

/* === TESTIMONIALS === */
.testimonials { padding: 64px 0; }
.testimonials-inner { max-width: 1152px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.testimonial-quote { font-size: 0.9375rem; line-height: 1.7; color: var(--text); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; flex-shrink: 0; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; }
.testimonial-role { font-size: 0.75rem; color: var(--text-dim); }

@media (max-width: 768px) {
  .testimonials-inner { grid-template-columns: 1fr; }
  .logo-strip { gap: 20px; }
}

/* === UPGRADE CTA BANNER === */
.upgrade-cta-banner {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%);
  color: #fff;
  padding: 14px 20px;
  margin-top: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -4px 20px rgba(37,99,235,0.3);
  z-index: 50;
}

.upgrade-cta-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.upgrade-cta-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upgrade-cta-text { flex: 1; }

.upgrade-cta-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.upgrade-cta-subtitle {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
  margin-top: 2px;
}

.upgrade-cta-actions { flex-shrink: 0; }

.upgrade-cta-btn {
  background: #fff;
  color: #2563EB;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.upgrade-cta-btn:hover { background: #F0F4FF; transform: translateY(-1px); }
.upgrade-cta-btn:active { transform: translateY(0); }

.upgrade-cta-close {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}

.upgrade-cta-close:hover { color: #fff; }

@media (max-width: 600px) {
  .upgrade-cta-banner { flex-direction: column; align-items: flex-start; }
  .upgrade-cta-content { width: 100%; }
  .upgrade-cta-btn { width: 100%; text-align: center; }
  .upgrade-cta-close { position: absolute; top: 8px; right: 12px; }
}

/* === ONBOARDING TOOLTIP TOUR === */
.tour-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3);
  z-index: 200; pointer-events: none;
}

.tour-highlight {
  position: absolute; border-radius: 10px;
  box-shadow: 0 0 0 3px var(--primary), 0 0 0 6px rgba(37,99,235,0.2);
  pointer-events: none; z-index: 201;
  transition: all 0.3s ease;
}

.tour-tooltip {
  position: fixed; z-index: 202;
  background: var(--text); color: #fff;
  border-radius: 12px; padding: 16px 20px;
  max-width: 280px; width: 260px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  pointer-events: all;
  transform-origin: top left;
  animation: tour-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tour-pop {
  from { opacity: 0; transform: scale(0.9) translateY(4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.tour-tooltip-step {
  font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 8px;
}
.tour-tooltip-title {
  font-size: 0.9375rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px;
}
.tour-tooltip-body {
  font-size: 0.8125rem; color: #A1A1AA; line-height: 1.5; margin-bottom: 14px;
}
.tour-dots {
  display: flex; gap: 6px; margin-bottom: 14px;
}
.tour-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #52525B; transition: background 0.2s;
}
.tour-dot.active { background: var(--primary); transform: scale(1.2); }
.tour-actions { display: flex; align-items: center; gap: 10px; }
.tour-next {
  background: var(--primary); color: #fff;
  border: none; border-radius: 6px;
  padding: 7px 16px; font-size: 0.8125rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.tour-next:hover { background: var(--primary-hover); }
.tour-skip {
  background: transparent; color: #71717A;
  border: none; font-size: 0.75rem; cursor: pointer;
  padding: 4px 8px; border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.tour-skip:hover { color: #fff; background: rgba(255,255,255,0.1); }

.tour-arrow {
  position: fixed; z-index: 201; pointer-events: none;
}
.tour-arrow-line {
  stroke: var(--primary); stroke-width: 2;
  stroke-dasharray: 4 3;
  animation: tour-dash 0.6s linear infinite;
}
@keyframes tour-dash {
  from { stroke-dashoffset: 14; }
  to { stroke-dashoffset: 0; }
}

/* === NOTIFICATION BANNER === */
.notification-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FEF9C3;
  border: 1px solid #FDE047;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.notification-banner-icon {
  color: #CA8A04;
  flex-shrink: 0;
}
.notification-banner-text {
  flex: 1;
  color: #713F12;
}
.notification-banner-dismiss {
  background: none;
  border: none;
  font-size: 1.125rem;
  color: #A16207;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.notification-banner-dismiss:hover { color: #713F12; }