/* industry-hr-tech.html — page-specific styles (prefix: hrt-) */

/* ══════════════════════════════════════════════
   HERO (dark)
   ══════════════════════════════════════════════ */
.hrt-hero {
  background: var(--dark);
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hrt-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 85% 35%, rgba(60,234,199,0.09) 0%, transparent 62%);
  pointer-events: none;
}
.hrt-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0,26,21,0.55));
  pointer-events: none;
}
.hrt-hero > .container {
  padding-top: calc(var(--nav-h, 80px) + 2.5rem);
  padding-bottom: 3rem;
  width: 100%;
  position: relative; z-index: 1;
}
.hrt-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
}
.hrt-hero .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}
.hrt-hero h1 {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--cream);
  margin: 0.85rem 0 0;
}
.hrt-hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(246,246,242,0.62);
  margin: 1.15rem 0 0;
  max-width: 46ch;
}
.hrt-hero-sub2 {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246,246,242,0.38);
  margin: 0.75rem 0 0;
  max-width: 50ch;
}
.hrt-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}
.hrt-hero-cta .btn-ghost {
  color: var(--teal-light);
  border-color: rgba(60,234,199,0.25);
}

/* Trust pills */
.hrt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}
.hrt-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(60,234,199,0.18);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: rgba(168,240,227,0.65);
  letter-spacing: 0.03em;
}
.hrt-trust-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal-bright);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Illustration wrapper */
.hrt-ill-wrap {
  position: relative;
  filter: drop-shadow(0 0 60px rgba(60,234,199,0.1)) drop-shadow(0 32px 64px rgba(0,0,0,0.4));
}
.hrt-ill-svg { display: block; width: 100%; height: auto; }

/* ── Hero SVG Animations ── */
@keyframes hrtPanelIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hrtCardIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hrtFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hrtFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hrtFlowDash {
  0%   { stroke-dashoffset: 40; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes hrtGlow {
  0%, 100% { opacity: 0.07; }
  50%       { opacity: 0.18; }
}
@keyframes hrtDotPulse {
  0%, 100% { transform: scale(1);   opacity: 0.85; }
  50%       { transform: scale(2.2); opacity: 0.15; }
}
@keyframes hrtLiveBlink {
  0%, 80%, 100% { opacity: 0.85; }
  88%            { opacity: 0.3; }
}
@keyframes hrtRingFill {
  from { stroke-dashoffset: 113; }
  to   { stroke-dashoffset: 68; }
}
@keyframes hrtSparkDraw {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}
@keyframes hrtBarRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.hrt-anim-panel  { animation: hrtPanelIn 0.6s var(--ease-spring) 0.4s both; }
.hrt-anim-c1     { animation: hrtCardIn 0.45s var(--ease-spring) 1.0s both; }
.hrt-anim-c2     { animation: hrtCardIn 0.45s var(--ease-spring) 1.25s both; }
.hrt-anim-c3     { animation: hrtCardIn 0.45s var(--ease-spring) 1.5s both; }

/* Funnel stages appear sequentially */
.hrt-stage-1     { animation: hrtFadeUp 0.45s ease-out 0.85s both; }
.hrt-stage-2     { animation: hrtFadeUp 0.45s ease-out 1.15s both; }
.hrt-stage-3     { animation: hrtFadeUp 0.45s ease-out 1.45s both; }
.hrt-stage-4     { animation: hrtFadeUp 0.45s ease-out 1.75s both; }

/* Connector arrows flow */
.hrt-flow-1 { stroke-dasharray: 10; animation: hrtFlowDash 2s linear 1.8s infinite; }
.hrt-flow-2 { stroke-dasharray: 10; animation: hrtFlowDash 2s linear 2.0s infinite; }
.hrt-flow-3 { stroke-dasharray: 10; animation: hrtFlowDash 2s linear 2.2s infinite; }

/* Time-to-hire appears last */
.hrt-tth    { animation: hrtFadeIn 0.4s ease-out 2.0s both; }

/* Hired dot pulse */
.hrt-hired-dot {
  transform-box: fill-box; transform-origin: center;
  animation: hrtDotPulse 1.8s ease-in-out 2.3s infinite;
}

/* Live indicator */
.hrt-live-dot {
  animation: hrtLiveBlink 2.5s ease-in-out 1s infinite;
}

/* Sparkline draws in */
.hrt-spark-1 {
  stroke-dasharray: 100;
  animation: hrtSparkDraw 1.2s ease-out 1.4s both;
}

/* Bars rise sequentially */
.hrt-bars-2 rect {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: hrtBarRise 0.5s var(--ease-spring) both;
}
.hrt-bars-2 rect:nth-child(1) { animation-delay: 1.7s; }
.hrt-bars-2 rect:nth-child(2) { animation-delay: 1.8s; }
.hrt-bars-2 rect:nth-child(3) { animation-delay: 1.9s; }
.hrt-bars-2 rect:nth-child(4) { animation-delay: 2.0s; }
.hrt-bars-2 rect:nth-child(5) { animation-delay: 2.1s; }
.hrt-bars-2 rect:nth-child(6) { animation-delay: 2.2s; }
.hrt-bars-2 rect:nth-child(7) { animation-delay: 2.3s; }

/* Ring fills */
.hrt-ring-3 {
  animation: hrtRingFill 1.1s var(--ease-spring) 1.9s both;
}

/* Connector lines */
.hrt-conn { stroke-dasharray: 10; animation: hrtFlowDash 2.2s linear infinite; }
.hrt-conn-1 { animation-delay: 2.4s; }
.hrt-conn-2 { animation-delay: 2.6s; }
.hrt-conn-3 { animation-delay: 2.8s; }

.hrt-glow   { animation: hrtGlow 3.5s ease-in-out infinite; }

/* ══════════════════════════════════════════════
   RECRUITMENT (cream)
   ══════════════════════════════════════════════ */
.hrt-recruit {
  background: var(--cream);
  padding: 6.5rem 0;
}
.hrt-section-header { max-width: 820px; margin-bottom: 3rem; }
.hrt-section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 0.75rem;
}
.hrt-section-p {
  font-size: 1.05rem;
  line-height: 1.875;
  color: var(--ink-60);
  margin-top: 1rem;
}

/* Feature grid */
.hrt-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.hrt-feature-card {
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  border-top: 3px solid var(--teal-deep);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.hrt-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,26,21,0.08);
}
.hrt-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.hrt-feature-card p {
  font-size: 0.9rem;
  line-height: 1.825;
  color: var(--ink-60);
  margin: 0;
}

/* ══════════════════════════════════════════════
   RETENTION (cream-soft)
   ══════════════════════════════════════════════ */
.hrt-retain {
  background: var(--cream-soft);
  padding: 6.5rem 0;
}
.hrt-retain .hrt-feature-card {
  background: var(--cream);
}

/* ══════════════════════════════════════════════
   BUILD PROCESS (cream)
   ══════════════════════════════════════════════ */
.hrt-process {
  background: var(--cream);
  padding: 6.5rem 0;
}
.hrt-process-header { max-width: 720px; margin-bottom: 3rem; }

.hrt-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.hrt-process-card {
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid rgba(24,15,6,0.07);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.hrt-process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,107,101,0.25);
}
.hrt-process-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}
.hrt-process-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.hrt-process-card p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-60);
  margin: 0;
}

/* ══════════════════════════════════════════════
   REALITY / WHY (dark)
   ══════════════════════════════════════════════ */
.hrt-why {
  background: var(--dark);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}
.hrt-why::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent);
}
.hrt-why::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse at 85% 80%, rgba(60,234,199,0.05), transparent 65%);
  pointer-events: none;
}
.hrt-why-header { max-width: 860px; position: relative; z-index: 1; }
.hrt-why-header .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}
/* Cream-section section-label override (dark green on white bg) */
.hrt-recruit .section-label,
.hrt-retain .section-label,
.hrt-process .section-label,
.hrt-proof .section-label {
  color: var(--dark-mid);
  border-color: rgba(0,46,34,0.45);
  background: transparent;
}
.hrt-why-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cream);
  margin-top: 0.75rem;
}
.hrt-why-header p {
  font-size: 1.05rem;
  line-height: 1.875;
  color: rgba(246,246,242,0.62);
  margin-top: 1.25rem;
  max-width: 76ch;
}

/* ══════════════════════════════════════════════
   PROOF (cream)
   ══════════════════════════════════════════════ */
.hrt-proof {
  background: var(--cream);
  padding: 6.5rem 0;
  text-align: center;
}
.hrt-proof-header { margin-bottom: 3rem; }
.hrt-proof-header .hrt-section-h2 { margin-top: 0.75rem; }

.hrt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.hrt-stat {
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 2rem 1rem;
  border: 1px solid rgba(24,15,6,0.06);
}
.hrt-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--teal-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.hrt-stat-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-60);
  letter-spacing: 0.06em;
}

.hrt-proof-cta { margin-top: 2rem; }

/* ══════════════════════════════════════════════
   CLOSE / NEXT STEP CTA (dark)
   ══════════════════════════════════════════════ */
.hrt-close {
  background: var(--dark);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}
.hrt-close::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(60,234,199,0.06), transparent 60%);
  pointer-events: none;
}
.hrt-close-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative; z-index: 1;
}
.hrt-close-inner .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}
.hrt-close-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cream);
  margin-top: 0.75rem;
}
.hrt-close-inner p {
  font-size: 1.05rem;
  line-height: 1.875;
  color: rgba(246,246,242,0.62);
  margin: 1.25rem auto 2rem;
  max-width: 60ch;
}
.hrt-close-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hrt-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hrt-hero-sub, .hrt-hero-sub2 { max-width: none; }
  .hrt-process-grid { grid-template-columns: repeat(2, 1fr); }
  .hrt-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hrt-hero { min-height: auto; }
  .hrt-hero > .container { padding-top: 6rem; padding-bottom: 3rem; }
  .hrt-recruit, .hrt-retain, .hrt-process, .hrt-why, .hrt-proof, .hrt-close { padding: 4rem 0; }
  .hrt-features { grid-template-columns: 1fr; }
  .hrt-hero-cta .btn, .hrt-close-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .hrt-process-grid { grid-template-columns: 1fr; }
  .hrt-stats { grid-template-columns: 1fr 1fr; }
  .hrt-feature-card { padding: 1.5rem; }
}
