/* ── SEO Landing Pages — /specialists/* ──────────────────────────────
   Skill, industry, geo, and combo pages.
   Extends app.css tokens — must load after app.css.
   ─────────────────────────────────────────────────────────────────── */

/* ── Layout ──────────────────────────────────────────────────────── */
.seo-page {
  min-height: 100vh;
}

.seo-hero {
  background: linear-gradient(135deg, var(--bg) 0%, #0d1a0d 50%, var(--bg) 100%);
  border-bottom: 1px solid var(--border-accent);
  padding: 64px 24px 48px;
}

.seo-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.seo-breadcrumb {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 16px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.seo-breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.seo-breadcrumb a:hover { color: var(--accent); }

.seo-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 12px 0 16px;
  line-height: 1.2;
}

.seo-intro {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 24px;
}

.seo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.seo-stat-pill {
  background: rgba(0, 230, 138, 0.08);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.seo-stat-pill strong {
  font-weight: 700;
}

.seo-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.seo-cta-btn:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* ── Body (main + sidebar) ───────────────────────────────────────── */
.seo-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.seo-main {
  min-width: 0;
}

/* ── Hire CTA box ────────────────────────────────────────────────── */
.seo-hire-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 48px 0;
}

.seo-hire-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.seo-hire-desc {
  color: var(--fg-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.seo-hire-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.seo-hire-btn:hover { background: var(--accent-dim); }

/* ── FAQ section ─────────────────────────────────────────────────── */
.seo-faq {
  margin-top: 40px;
}

.seo-faq-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: var(--border-accent); }

.faq-q {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.4;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.seo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
}

.seo-sidebar-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.seo-sidebar-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.seo-sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-sidebar-link {
  font-size: 0.88rem;
  color: var(--fg-muted);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.4;
}
.seo-sidebar-link:hover {
  color: var(--accent);
  border-bottom-color: var(--border-accent);
}

.seo-sidebar-cta {
  background: linear-gradient(135deg, rgba(0, 230, 138, 0.08), rgba(0, 230, 138, 0.03));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.seo-sidebar-cta h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.seo-sidebar-cta p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.seo-sidebar-cta-btn {
  display: block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.seo-sidebar-cta-btn:hover { background: var(--accent-dim); }

/* ── Newsletter subscribe block ──────────────────────────────────── */
.seo-sidebar-subtext {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.seo-sidebar-nl-input {
  width: 100%;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.seo-sidebar-nl-input:focus {
  border-color: var(--accent);
}

.seo-sidebar-nl-btn {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: background 0.2s;
}

.seo-sidebar-nl-btn:hover {
  background: var(--accent-dim);
}

.seo-sidebar-nl-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sidebar-nl-success {
  font-size: 0.8rem;
  color: var(--accent);
  text-align: center;
  padding: 8px;
  background: var(--accent-glow);
  border-radius: 8px;
  margin-top: 4px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .seo-body {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }

  .seo-sidebar {
    position: static;
  }

  .seo-hero {
    padding: 40px 16px 32px;
  }
}

/* ── Cross-link sections (related industries, skills, locations) ──── */
.seo-related-section {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}

.seo-related-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 8px;
}

.seo-related-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.seo-related-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.seo-related-card:hover {
  border-color: var(--border-accent);
  background: rgba(0,230,138,0.04);
}

.seo-related-card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}

.seo-related-card-sub {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.seo-related-card-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 0.9rem;
}

/* Tags row */
.seo-related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-related-tag {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.83rem;
  padding: 5px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.seo-related-tag:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}

.seo-related-tag--all {
  color: var(--accent);
  border-color: var(--border-accent);
}

.seo-related-all-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* ── Homepage skills/locations strips ────────────────────────────── */
.skills-strip {
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.skills-strip-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a6a7a;
  margin: 0 0 12px;
}

.skills-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills-strip-tag {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #a0a0b0;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.skills-strip-tag:hover {
  border-color: rgba(0,230,138,0.3);
  color: #00e68a;
}

@media (max-width: 600px) {
  .skills-strip { padding: 20px 16px; }
}

/* ── Profile page: related categories ────────────────────────────── */
.profile-related-categories {
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.profile-related-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a6a7a;
  margin: 0 0 14px;
}

.profile-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-related-tag {
  display: inline-block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--fg-muted, #a0a0b0);
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.profile-related-tag:hover {
  border-color: rgba(0,230,138,0.35);
  color: #00e68a;
}

.profile-related-tag--all {
  color: #00e68a;
  border-color: rgba(0,230,138,0.3);
}

/* ── Blog: Explore AI Links section ──────────────────────────────── */
.blog-explore-section {
  margin: 40px 0 0;
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

.blog-explore-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg, #e8e8ed);
  margin: 0 0 6px;
}

.blog-explore-desc {
  font-size: 0.875rem;
  color: var(--fg-muted, #8a8a9a);
  margin: 0 0 20px;
}

.blog-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.blog-explore-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.blog-explore-card:hover,
.blog-explore-card--featured {
  border-color: rgba(0,230,138,0.3);
  background: rgba(0,230,138,0.04);
}

.blog-explore-label {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--fg, #e8e8ed);
}

.blog-explore-sub {
  font-size: 0.77rem;
  color: var(--fg-muted, #8a8a9a);
}

.blog-explore-all {
  display: inline-block;
  background: rgba(0,230,138,0.1);
  border: 1px solid rgba(0,230,138,0.25);
  color: #00e68a;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.blog-explore-all:hover { background: rgba(0,230,138,0.18); }

/* ── Expanded app footer ─────────────────────────────────────────── */
.app-footer-expanded .app-footer-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

.app-footer-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.footer-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a6a7a;
  margin-bottom: 10px;
}

.footer-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-group-link {
  font-size: 0.82rem;
  color: #8a8a9a;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-group-link:hover { color: #e8e8ed; }

@media (max-width: 700px) {
  .app-footer-groups {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .app-footer-groups {
    grid-template-columns: 1fr;
  }
}
