/* InLinked — Main Stylesheet
 * Design tokens: LinkedIn blue #0a66c2, cool paper grays, Geist font stack
 * No build step — vanilla CSS with custom properties
 */

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

/* Geist Sans & Mono via CDN (nearest equivalent) */
:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* ── Color tokens ── */
  --blue:         #0a66c2;
  --blue-dark:    #004182;
  --blue-light:   #e8f0fb;
  --blue-hover:   #095fb5;

  /* Paper grays */
  --gray-50:      #f8f7f5;
  --gray-100:     #f1efec;
  --gray-200:     #e5e1db;
  --gray-300:     #ccc8c1;
  --gray-400:     #a09a91;
  --gray-500:     #7a7470;
  --gray-600:     #5a5550;
  --gray-700:     #3d3935;
  --gray-800:     #27231f;
  --gray-900:     #1a1714;

  --white:        #ffffff;
  --off-white:    #faf9f7;

  /* Semantic */
  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --border:         var(--gray-200);
  --bg:             var(--off-white);
  --surface:        var(--white);

  /* ── Spacing & radius ── */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo span em {
  font-style: normal;
  color: var(--blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--gray-100);
  text-decoration: none;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(10,102,194,0.25);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(10,102,194,0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--text-primary);
}

.btn-linkedin {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(10,102,194,0.25);
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
}
.btn-linkedin:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(10,102,194,0.35);
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 15px 32px;
}
.btn-sm {
  font-size: 0.8125rem;
  padding: 8px 16px;
}
.btn-full { width: 100%; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 80px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 820px;
  margin: 0 auto 20px;
}
.hero h1 .accent { color: var(--blue); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.hero-illustration {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-illustration img {
  width: 100%;
  border-radius: var(--radius-xl);
}

/* ── Social proof strip ──────────────────────────────────────────────────── */
.social-proof {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--gray-50);
}
.social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.social-stat {
  text-align: center;
}
.social-stat-num {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.social-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.social-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features {
  padding: 96px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How it works ────────────────────────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  background: var(--gray-50);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 60px;
}
.step {
  text-align: center;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--blue);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Pricing (home teaser) ───────────────────────────────────────────────── */
.pricing-teaser {
  padding: 96px 0;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 60px auto 0;
}
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10,102,194,0.08);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.plan-price sup { font-size: 1.25rem; vertical-align: top; margin-top: 8px; }
.plan-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 6px 0;
}
.plan-check {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  text-align: center;
  color: white;
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.0625rem;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.btn-white {
  background: white;
  color: var(--blue);
  border-color: white;
  font-weight: 700;
}
.btn-white:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-name em {
  font-style: normal;
  color: var(--blue-light);
}
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--gray-400);
}
.footer-contact {
  font-size: 0.875rem;
}
.footer-contact a {
  color: var(--gray-300);
}
.footer-contact a:hover { color: white; }
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9375rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: white; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 0.875rem;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.875rem;
  color: var(--gray-500);
}
.footer-legal a:hover { color: var(--gray-300); text-decoration: none; }

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal-page { padding: 88px 0 96px; }
.legal-page h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 8px; color: var(--text-primary); }
.legal-updated { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 36px; }
.legal-page h2 { font-size: 1.375rem; font-weight: 700; margin: 40px 0 12px; }
.legal-page p { font-size: 1rem; line-height: 1.7; color: var(--gray-600); margin-bottom: 16px; }
.legal-page ul { margin: 0 0 16px 24px; }
.legal-page ul li { font-size: 1rem; line-height: 1.7; color: var(--gray-600); margin-bottom: 6px; }
.legal-page a { color: var(--blue); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.legal-page .container { max-width: 740px; }

/* ── Pricing page ────────────────────────────────────────────────────────── */
.pricing-page { padding: 88px 0 96px; }
.pricing-page-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 960px;
  margin: 64px auto 48px;
}
.pricing-page-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
}
.pricing-page-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(10,102,194,0.09);
}
.plan-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.pricing-addons {
  max-width: 640px;
  margin: 0 auto 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.pricing-addons h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.addon-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.addon-row:last-child { border-bottom: none; }
.addon-name {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 2px;
}
.addon-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.addon-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.pricing-faq { max-width: 700px; margin: 0 auto; }
.pricing-faq h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 40px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.faq-a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Login page ──────────────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}
.login-logo a em { font-style: normal; color: var(--blue); }
.login-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.login-card .subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.5;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.login-terms {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 20px;
}
.login-terms a { color: var(--blue); }

/* ── Error / 404 pages ───────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 8px;
}
.error-code span { color: var(--blue); }
.error-page h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.error-page p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ── Utility classes ─────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-blue { color: var(--blue); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .pricing-page-cards { grid-template-columns: 1fr; }
  .nav-links .nav-link:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .features, .how-it-works, .pricing-teaser { padding: 64px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-cards, .pricing-page-cards { grid-template-columns: 1fr; }
}
