/* HiringReach — Shared Styles
   Extracted from index.html + extended for multi-page site */

:root {
  --ink: #0D0F12;
  --paper: #FAFAF8;
  --accent: #1A6CFF;
  --accent-dark: #0B4FCC;
  --muted: #4B5563;
  --faint: #E5E7EB;
  --warm: #FFF7ED;
  --red: #DC2626;
  --green: #16A34A;
  --red-bg: #FEF2F2;
  --green-bg: #F0FDF4;
  --stat-bg: #F1F5F9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 108, 255, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(26, 108, 255, 0.03), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--warm);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #92400E;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease-out both;
}
.hero-badge::before {
  content: '\1F525';
}
h1 {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease-out both;
}
h1 .serif-italic {
  font-style: normal !important;
  color: var(--ink) !important;
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease-out both;
}
.hero-cta-group {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  animation: fadeUp 0.8s 0.3s ease-out both;
}
.cta-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.25s;
  border: none; cursor: pointer;
}
.cta-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26, 108, 255, 0.25); }
.cta-note { font-size: 0.8rem; color: var(--muted); }

/* ─── HERO FEATURE (subpages) ─── */
.hero--feature {
  min-height: auto;
  padding: 8rem 2rem 3rem;
}
.hero--feature::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 108, 255, 0.08), transparent);
}
.hero--feature h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.hero--brand {
  min-height: auto;
  padding: 8rem 2rem 3rem;
}
.hero--brand::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 108, 255, 0.05), transparent);
}
.hero--brand h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.hero--pseo {
  min-height: auto;
  padding: 7rem 2rem 2.5rem;
}
.hero--pseo::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 108, 255, 0.04), transparent);
}
.hero--pseo h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  max-width: 700px;
}

/* ─── STAT BAR ─── */
.stat-bar {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  padding: 3rem 2rem;
  background: var(--ink);
  color: #fff;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}
.stat-num.red { color: #F87171; }
.stat-num.green { color: #4ADE80; }
.stat-num.yellow { color: #FBBF24; }
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
  max-width: 160px;
}

/* ─── SECTIONS ─── */
section { padding: 5rem 2rem; }
.container { max-width: 960px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
h2 {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
h2 .serif-italic { font-style: normal !important; font-weight: 700; color: var(--ink) !important; }

/* ─── PAIN SECTION ─── */
.pain-section { background: #FAFAF8; }
.pain-section .section-label,
.pain-section h2 { text-align: center; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--faint);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s;
}
.pain-card:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(220, 38, 38, 0.06); }
.pain-icon {
  width: 44px; height: 44px;
  background: var(--red-bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.pain-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pain-card:hover .pain-icon { background: var(--red); }
.pain-card:hover .pain-icon svg { stroke: #fff; }
.pain-title { font-weight: 700; margin-bottom: 0.5rem; font-size: 0.95rem; }
.pain-quote {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  border-left: 2px solid var(--faint);
  padding-left: 0.75rem;
  margin-top: 0.75rem;
  line-height: 1.5;
}
.pain-source {
  font-size: 0.7rem;
  color: #6B7280;
  margin-top: 0.35rem;
  font-style: normal;
}

/* ─── BROKEN LOOP ─── */
.loop-section {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.loop-section h2 { color: #fff; }
.loop-section .section-label { color: #60A5FA; }
.loop-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0rem;
  margin: 3rem auto 1.5rem;
  max-width: 800px;
}
.loop-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-align: center;
  min-width: 140px;
}
.loop-step .step-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.5rem;
}
.loop-step .step-icon svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.loop-step:last-child .step-icon { background: rgba(248,113,113,0.15); }
.loop-step:last-child .step-icon svg { stroke: #F87171; }
.loop-step .step-label { display: block; font-weight: 500; }
.loop-arrow {
  color: rgba(255,255,255,0.25);
  font-size: 1.2rem;
  padding: 0 0.25rem;
}
.loop-note {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.loop-note strong { color: #F87171; }

/* ─── COMPARE ─── */
.compare-section { background: var(--paper); }
.compare-section .section-label,
.compare-section h2,
.compare-section > .container > p { text-align: center; }
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--faint);
}
.compare-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.compare-table th:first-child { background: var(--red-bg); color: var(--red); }
.compare-table th:last-child { background: var(--green-bg); color: var(--green); }
.compare-table td {
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--faint);
  vertical-align: top;
}
.compare-table tr td:first-child { color: var(--muted); }
.compare-table tr td:last-child { font-weight: 500; }
.compare-table tr:hover td { background: rgba(26, 108, 255, 0.02); }

/* ─── HOW IT WORKS ─── */
.how-section { background: #fff; }
.how-section .section-label,
.how-section h2 { text-align: center; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.step {
  text-align: center;
  padding: 1.5rem;
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── SPRINT ─── */
.sprint-section {
  background: linear-gradient(135deg, #0D0F12, #1A2332);
  color: #fff;
  text-align: center;
}
.sprint-section .section-label { color: #FBBF24; }
.sprint-section h2 { color: #fff; }
.sprint-subtitle {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}
.sprint-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}
.phase {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}
.phase-week {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FBBF24;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.phase h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.phase p { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ─── FAQ ─── */
.faq-section { background: var(--paper); }
.faq-section .section-label,
.faq-section h2 { text-align: center; }
.faq-list { max-width: 680px; margin: 2rem auto 0; }
.faq-item {
  border-bottom: 1px solid var(--faint);
  padding: 1.25rem 0;
}
.faq-q {
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.25rem; color: var(--muted); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 0.75rem; }

/* ─── FINAL CTA ─── */
.final-cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; }
.cta-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff;
  color: var(--ink);
  padding: 1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.25s;
  border: none; cursor: pointer;
}
.cta-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
}
footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
footer a:hover { color: #fff; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-links a {
  font-size: 0.8rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── BREADCRUMBS ─── */
.breadcrumbs {
  padding: 5.5rem 2rem 0;
  max-width: 960px;
  margin: 0 auto;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.4rem;
  color: var(--faint);
}

/* ─── ARTICLE CONTENT (feature + brand pages) ─── */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}
.article-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.article-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.article-content ul, .article-content ol {
  margin: 0.5rem 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.75;
}
.article-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(26, 108, 255, 0.03);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

/* ─── TEMPLATE BOX (pSEO pages) ─── */
.template-box {
  background: #fff;
  border: 1px solid var(--faint);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  font-family: 'DM Sans', monospace;
}
.template-box .template-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.template-box .template-content {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink);
  white-space: pre-wrap;
}
.template-box .template-content .placeholder {
  background: rgba(26, 108, 255, 0.08);
  color: var(--accent);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-weight: 500;
}

/* ─── RELATED PAGES GRID ─── */
.related-section {
  background: var(--stat-bg);
  padding: 3rem 2rem;
}
.related-section h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.related-card {
  background: #fff;
  border: 1px solid var(--faint);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s;
}
.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(26, 108, 255, 0.08);
  transform: translateY(-2px);
}
.related-card .related-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.related-card .related-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── FEATURE CHECKLIST ─── */
.feature-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}
.feature-list li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ─── DATA TABLE (pSEO pages) ─── */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--faint);
  margin: 1.5rem 0;
}
.data-table th {
  background: var(--stat-bg);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--muted);
}
.data-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--faint);
}
.data-table tr:hover td {
  background: rgba(26, 108, 255, 0.02);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0.75rem 1rem; }
  .logo { font-size: 1.25rem; }
  .nav-links { display: none; }
  section { padding: 3.5rem 1.25rem; }
  .stat-bar { gap: 1.5rem; padding: 2rem 1rem; }
  .stat-num { font-size: 2rem; }
  .loop-flow { flex-direction: column; gap: 0; }
  .loop-arrow { transform: rotate(90deg); }
  .compare-table th, .compare-table td { padding: 0.7rem 0.85rem; font-size: 0.8rem; }
  .sprint-phases { grid-template-columns: 1fr 1fr; }
  .article-content { padding: 0 1.25rem 2rem; }
  .breadcrumbs { padding: 5rem 1.25rem 0; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sprint-phases { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
