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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:        #09090b;
  --bg-2:      #0e0e11;
  --bg-card:   #18181b;
  --bg-hover:  #222227;

  /* Borders */
  --border-subtle: #1c1c20;
  --border:        #27272a;
  --border-strong: #3f3f46;

  /* Text */
  --text:   #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #52525b;

  /* Accent — muted blue */
  --blue:       #4f8ef7;
  --blue-hover: #3d7ef6;
  --blue-dim:   rgba(79, 142, 247, 0.10);
  --blue-glow:  rgba(79, 142, 247, 0.05);

  /* Status */
  --green:     #34d399;
  --green-dim: rgba(52, 211, 153, 0.10);
  --amber:     #fbbf24;
  --amber-dim: rgba(251, 191, 36, 0.10);

  /* Radii */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 20px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 58px;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.nav-logo .accent { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-hover); }
.nav-links a.active { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.125rem;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
}
.btn-ghost:hover { color: var(--text); background: var(--bg-hover); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--bg-hover); border-color: var(--border-strong); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-hover); filter: brightness(1.06); }

.btn-lg {
  padding: 0.6875rem 1.5rem;
  font-size: 0.9375rem;
  border-radius: var(--r);
}

.btn-sm {
  padding: 0.3125rem 0.75rem;
  font-size: 0.8125rem;
  border-radius: var(--r-sm);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1875rem 0.625rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}
.badge-green  { background: var(--green-dim); color: var(--green); }
.badge-blue   { background: var(--blue-dim);  color: var(--blue);  }
.badge-amber  { background: var(--amber-dim); color: var(--amber); }
.badge-muted  { background: var(--bg-hover);  color: var(--text-3); }

.badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.625rem, 3vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
}

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

/* ============================================================
   HERO (index.html)
   ============================================================ */
.hero {
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.07) 0%, transparent 68%);
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-dim);
  border: 1px solid rgba(79,142,247,0.22);
  color: var(--blue);
  padding: 0.3125rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.875rem;
}
.hero-pill svg { width: 12px; height: 12px; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
  max-width: 840px;
  margin-bottom: 1.375rem;
}
.hero h1 .accent { color: var(--blue); }
.hero h1 .dim { color: var(--text-2); }

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-3);
  font-size: 0.8125rem;
}
.hero-trust-avatars {
  display: flex;
}
.trust-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg-card);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.trust-avatar:first-child { margin-left: 0; }

/* ============================================================
   LOGOS STRIP
   ============================================================ */
.logos-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 2rem;
  text-align: center;
}
.logos-strip p {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.375rem;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  flex-wrap: wrap;
}
.logo-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: -0.025em;
}

/* ============================================================
   HOW IT WORKS (index.html)
   ============================================================ */
.hiw { text-align: center; }

.tab-switcher {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 4px;
  margin: 2rem 0 3rem;
  gap: 4px;
}
.tab-btn {
  padding: 0.5rem 1.375rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--bg-hover);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.step-card {
  background: var(--bg-card);
  padding: 2rem;
}
.step-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.step-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.625rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(79,142,247,0.28); }
.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-cell {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-num .accent { color: var(--blue); }
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.testi-text {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testi-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid rgba(79,142,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.testi-author strong { font-size: 0.875rem; font-weight: 600; display: block; }
.testi-author span   { font-size: 0.8125rem; color: var(--text-3); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at bottom, rgba(79,142,247,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(1.875rem, 4vw, 3.125rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.cta-band p {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-row {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 3rem;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 0.75rem; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.65;
  max-width: 230px;
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-3);
  margin-bottom: 0.6rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-2); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   PAGE HERO (companies.html / individuals.html)
   ============================================================ */
.page-hero {
  padding: 4rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(79,142,247,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 640px;
  margin-bottom: 1rem;
}
.page-hero h1 .accent { color: var(--blue); }
.page-hero p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.page-hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   BROWSE / SEARCH BAR
   ============================================================ */
.browse-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}
.browse-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.5625rem 1rem;
  color: var(--text-2);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: text;
  transition: border-color 0.15s;
}
.search-input svg { flex-shrink: 0; opacity: 0.5; }
.search-input span { color: var(--text-3); }

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover { color: var(--text); border-color: var(--border-strong); }
.filter-chip.active { background: var(--blue-dim); border-color: rgba(79,142,247,0.3); color: var(--blue); }
.filter-chip svg { opacity: 0.6; }

.results-count {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-left: auto;
  flex-shrink: 0;
}

/* ============================================================
   BROWSE LAYOUT
   ============================================================ */
.browse-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem 0 4rem;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 78px;
  height: fit-content;
}
.sidebar-section { margin-bottom: 1.75rem; }
.sidebar-section h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}
.sidebar-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.5rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.sidebar-option:hover { color: var(--text); background: var(--bg-hover); }
.sidebar-option.checked { color: var(--text); }
.sidebar-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.sidebar-option.checked .sidebar-check {
  background: var(--blue);
  border-color: var(--blue);
}
.sidebar-check-inner { color: #fff; font-size: 10px; line-height: 1; }

/* ============================================================
   PROFILE CARDS (companies browse talent)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.125rem;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.profile-card:hover {
  border-color: rgba(79,142,247,0.25);
  transform: translateY(-2px);
}

.profile-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.profile-avatar-wrap { display: flex; align-items: center; gap: 0.875rem; }
.profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid rgba(79,142,247,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.profile-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.profile-title {
  font-size: 0.8125rem;
  color: var(--text-2);
  margin-top: 0.125rem;
}

.profile-rate {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.profile-rate span { font-size: 0.75rem; color: var(--text-3); font-weight: 400; }

.profile-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-3);
}
.profile-meta-item { display: flex; align-items: center; gap: 0.25rem; }

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  display: inline-block;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.125rem 0.5rem;
  border-radius: var(--r-sm);
}

.profile-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================
   PROJECT CARDS (individuals browse projects)
   ============================================================ */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.project-card:hover {
  border-color: rgba(79,142,247,0.25);
  transform: translateY(-2px);
}
.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.project-company-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--bg-hover);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--text-2);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.project-title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.project-company { font-size: 0.8125rem; color: var(--text-2); }

.project-posted { font-size: 0.75rem; color: var(--text-3); white-space: nowrap; }

.project-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.project-detail {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-3);
}
.project-detail span { color: var(--text-2); }

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
}
.project-rate {
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ============================================================
   INDIVIDUAL PAGE — PROFILE STEPS
   ============================================================ */
.profile-setup-band {
  background: var(--bg-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.profile-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.profile-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.625rem;
}
.profile-step-num {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--blue-dim);
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.profile-step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.profile-step p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   INDIVIDUAL PAGE — PERKS LIST
   ============================================================ */
.perks-band { background: var(--bg-2); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.perks-list { margin-top: 1.5rem; }
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.perk-item:last-child { border-bottom: none; }
.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.125rem;
}
.perk-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.perk-item p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* Mock profile showcase card */
.profile-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
}
.showcase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.showcase-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 2px solid rgba(79,142,247,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue);
}
.showcase-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.125rem; }
.showcase-title { font-size: 0.875rem; color: var(--text-2); }

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.showcase-stat {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  padding: 0.875rem;
  text-align: center;
}
.showcase-stat .num {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}
.showcase-stat .lbl { font-size: 0.6875rem; color: var(--text-3); margin-top: 0.125rem; }

.showcase-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.showcase-tag {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.1875rem 0.5625rem;
  border-radius: var(--r-sm);
}

.showcase-rec {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r);
  padding: 1rem;
}
.showcase-rec p {
  font-size: 0.8125rem;
  color: var(--text-2);
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.showcase-rec-author { font-size: 0.75rem; color: var(--text-3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .browse-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stat-cell:nth-child(even) { border-right: none; }
  .perks-grid { grid-template-columns: 1fr; }
  .features-header-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.25rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .browse-controls { flex-direction: column; align-items: stretch; }
  .results-count { margin-left: 0; }
}
