/* ================================================
   LinkedIn Visibility Scorecard — Premium Dark UI
   Social Horse Power · liscorecard.com
   ================================================ */

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

/* ── Variables ─────────────────────────────────── */
:root {
  --bg-primary:    #0a0a0f;
  --bg-secondary:  #0f0f1a;
  --bg-card:       #13131f;
  --bg-card-hover: #1a1a2e;
  --bg-light:      #0d0d18;
  --bg-glass:      rgba(255,255,255,0.03);

  --accent-primary:   #4f8ef7;
  --accent-secondary: #7c3aed;
  --accent-green:     #10b981;
  --accent-amber:     #f59e0b;
  --accent-red:       #ef4444;

  --text-primary:   #f0f0ff;
  --text-secondary: #8b8ba8;
  --text-muted:     #4a4a6a;

  --border:        rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);

  --gradient-hero:  linear-gradient(135deg, #0a0a0f 0%, #0d0d2b 50%, #0a0a1a 100%);
  --gradient-brand: linear-gradient(135deg, #4f8ef7, #7c3aed);
  --gradient-glow:  radial-gradient(ellipse at 50% 0%, rgba(79,142,247,0.15) 0%, transparent 70%);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-primary); text-decoration: none; }

main { padding-top: 64px; }

/* ── Container ─────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ════════════════════════════════════════════════
   NAVBAR — both HTML (.site-header) and JS (.navbar)
════════════════════════════════════════════════ */
.navbar,
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: border-color 0.3s;
}
.navbar .container,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar-logo,
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img,
.nav-logo img { height: 28px; }
.navbar-logo span,
.nav-logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.navbar-cta,
.nav-cta {
  background: var(--gradient-brand);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.18s;
  font-family: inherit;
}
.navbar-cta:hover,
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ════════════════════════════════════════════════
   LOADING + ERROR
════════════════════════════════════════════════ */
.loading-screen,
.error-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  background: var(--bg-primary);
  padding: 40px;
}
.loading-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.loading-logo img { height: 32px; }
.loading-logo span { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.loading-spinner {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent-primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 15px; color: var(--text-secondary); }

.error-screen h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px; font-weight: 800;
  color: var(--text-primary);
}
.error-screen p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.6;
}
.btn-retry {
  background: var(--gradient-brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}
.btn-retry:hover { opacity: 0.85; }

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,142,247,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,142,247,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Decorative orbs */
.hero-orb-1 {
  position: absolute;
  top: -160px; right: -160px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  bottom: -240px; left: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  display: block;
  width: 6px; height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.6); }
}

.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 40px;
  max-width: 800px;
}
.blue-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 48px;
  margin-top: -20px;
}

/* Prepared card */
.prepared-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.prepared-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.client-info-name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.client-info-title {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
}
.client-avatar-wrap { flex-shrink: 0; }
.client-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  object-fit: cover;
}
.client-initials-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* ════════════════════════════════════════════════
   SECTION BASE
════════════════════════════════════════════════ */
.section { padding: 100px 0; }
.bg-light { background: var(--bg-light); }

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-title span { color: var(--accent-primary); }
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ════════════════════════════════════════════════
   VISIBILITY SCORE
════════════════════════════════════════════════ */
.score-section { text-align: center; }
.score-inner { display: flex; flex-direction: column; align-items: center; }
.score-badge-outer { margin: 48px 0 32px; }

.score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  padding: 32px 48px;
  border: 1px solid;
  position: relative;
  overflow: hidden;
}
.score-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: currentColor;
  pointer-events: none;
}
.score-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.score-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}
.score-rate { font-size: 14px; font-weight: 500; opacity: 0.8; }

.score-low    { color: var(--accent-red);   border-color: rgba(239,68,68,0.3); }
.score-medium { color: var(--accent-amber); border-color: rgba(245,158,11,0.3); }
.score-high   { color: var(--accent-green); border-color: rgba(16,185,129,0.3); }

.score-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.score-desc strong { color: var(--text-primary); font-weight: 600; }

/* Score meter bar */
.score-meter {
  width: 480px;
  max-width: 100%;
  margin: 0 auto 40px;
}
.score-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.score-meter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.score-meter-label.low    { color: var(--accent-red); }
.score-meter-label.medium { color: var(--accent-amber); }
.score-meter-label.high   { color: var(--accent-green); }
.score-meter-track {
  height: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-amber) 40%, var(--accent-green));
  position: relative;
  opacity: 0.7;
}
.score-meter-cursor {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  background: #fff;
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent-primary), 0 4px 12px rgba(0,0,0,0.4);
  transition: left 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ════════════════════════════════════════════════
   NETWORK GAP
════════════════════════════════════════════════ */
.network-section { text-align: center; }
.network-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  margin: 40px 0 24px;
}
.network-col { text-align: center; }
.network-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.network-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.multiplier-pill {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}
.network-footnote {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* ════════════════════════════════════════════════
   PEER RANKING
════════════════════════════════════════════════ */
.ranking-section { text-align: center; }
.ranking-text {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.ranking-text strong { color: var(--text-primary); font-weight: 700; }
.urgency-box {
  display: inline-block;
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 12px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-primary);
  max-width: 600px;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════
   DARK CARDS
════════════════════════════════════════════════ */
.dark-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.dark-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.card-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.card-eyebrow.accent { color: var(--accent-primary); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.metric { text-align: center; }
.metric-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.metric-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.3;
}

/* ════════════════════════════════════════════════
   PROJECTED RESULTS
════════════════════════════════════════════════ */
.gap-callout {
  margin-top: 32px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  border-radius: 12px;
  padding: 20px 28px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.gap-callout strong { color: var(--accent-green); font-weight: 600; }

/* ════════════════════════════════════════════════
   PROBLEM SECTION
════════════════════════════════════════════════ */
.problem-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.pain-points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  max-width: 780px;
}
.pain-point {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: transform 0.2s;
}
.pain-point:last-child { border-bottom: none; }
.pain-point:hover { transform: translateX(4px); }
.pain-number {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
}
.pain-content strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pain-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════
   SOLUTION SECTION
════════════════════════════════════════════════ */
.solution-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
}
.step-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: rgba(79,142,247,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.step h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.step ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step ul li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.step ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 12px;
}

/* ════════════════════════════════════════════════
   IMPACT STATS
════════════════════════════════════════════════ */
.impact-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 0;
}
.impact-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.impact-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.impact-stat:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.impact-stat-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1;
}
.impact-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════ */
.cta-section {
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-title { color: var(--text-primary); }
.cta-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-subtitle strong { color: var(--text-primary); font-weight: 600; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-brand);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 32px rgba(79,142,247,0.3);
  font-family: inherit;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { opacity: 0.9; transform: translateY(-2px); color: #fff; }
.btn-cta::after { content: '→'; font-size: 18px; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 24px; opacity: 0.5; }
.footer-logo span { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.footer-text { font-size: 13px; color: var(--text-muted); }

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .section { padding: 64px 0; }
  .hero-sub { display: none; }
  .prepared-card { flex-direction: column; text-align: center; gap: 12px; }
  .network-compare { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .multiplier-pill { margin: 0 auto; display: block; width: fit-content; }
  .steps-grid { grid-template-columns: 1fr; }
  .impact-stats { grid-template-columns: repeat(2, 1fr); }
  .card-metrics { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .hero-title { font-size: 36px; }
  .nav-logo-text { display: none; }
}

@media (max-width: 480px) {
  .impact-stats { grid-template-columns: 1fr 1fr; }
  .card-metrics { grid-template-columns: repeat(2, 1fr); }
  .score-badge { padding: 28px 36px; }
  .score-value { font-size: 44px; }
}

/* ── Misc ────────────────────────────────────── */
.count-animating { transition: none; }
