/* ============================================================
   talent-flow.css — G1Careers Talent Flow Banner
   Fonts: var(--title-font) = Outfit | var(--text-font) = Inter
   Colors: single brand palette throughout all 3 zones
     --theme-color:    #78EB54  (brand green)
     --theme-color-2:  #45A735  (medium green)
     --secondary-color:#26472B  (dark green)
     Banner BG:        #0b1a0c  (near-black forest green)
   ============================================================ */

/* ── Banner wrapper ── */
.talent-flow-banner {
  position: relative;
  background: #0b1a0c;
  overflow: hidden;
  padding: 80px 0 90px;
}

/* Subtle green grid overlay */
.talent-flow-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69, 167, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 167, 53, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Radial center glow */
.talent-flow-banner::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(120, 235, 84, 0.07) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.talent-flow-banner .auto-container {
  position: relative;
  z-index: 1;
}

/* ── Banner Header ── */
.tf-header {
  text-align: center;
  margin-bottom: 52px;
}

.tf-eyebrow {
  display: inline-block;
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--theme-color);
  background: rgba(120, 235, 84, 0.08);
  border: 1px solid rgba(120, 235, 84, 0.25);
  border-radius: 50px;
  padding: 6px 20px;
  margin-bottom: 20px;
}

.tf-headline {
  font-family: var(--title-font);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.tf-gold {
  color: var(--theme-color);
}

.tf-sub {
  font-family: var(--text-font);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Primary CTAs ── */
.tf-primary-ctas {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  flex-wrap: wrap;
}

.tf-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 36px;
  border-radius: 16px;
  min-width: 240px;
  max-width: 280px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tf-cta-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.tf-cta-card--seeker {
  background: var(--theme-color);
  box-shadow: 0 8px 32px rgba(120, 235, 84, 0.3);
}

.tf-cta-card--seeker:hover {
  box-shadow: 0 12px 48px rgba(120, 235, 84, 0.45);
}

.tf-cta-card--seeker .tf-cta-role,
.tf-cta-card--seeker .tf-cta-action,
.tf-cta-card--seeker .tf-cta-note { color: #0b1a0c !important; }

.tf-cta-card--employer {
  background: rgba(120, 235, 84, 0.06);
  border: 2px solid rgba(120, 235, 84, 0.35);
}

.tf-cta-card--employer:hover {
  background: rgba(120, 235, 84, 0.1);
  border-color: var(--theme-color);
}

.tf-cta-card--employer .tf-cta-role { color: rgba(255,255,255,0.6) !important; }
.tf-cta-card--employer .tf-cta-action { color: var(--theme-color) !important; }
.tf-cta-card--employer .tf-cta-note { color: rgba(255,255,255,0.4) !important; }

.tf-cta-role {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tf-cta-action {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tf-cta-action i { transition: transform 0.25s ease; }
.tf-cta-card:hover .tf-cta-action i { transform: translateX(4px); }

.tf-cta-note {
  font-family: var(--text-font);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}

.tf-cta-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  position: relative;
}

.tf-cta-divider span {
  font-family: var(--text-font);
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  background: #0b1a0c;
  padding: 4px;
  position: relative;
  z-index: 1;
}

.tf-cta-divider::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.1);
}

/* ── Flow label ── */
.tf-flow-label {
  text-align: center;
  font-family: var(--text-font);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 44px 0 32px;
}

/* ── Flow Wrapper: 3 zones ── */
.tf-flow-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

/* ── ZONES: unified style across all 3 ── */
.tf-zone {
  flex: 1;
  position: relative;
  z-index: 1;
}

.tf-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(120, 235, 84, 0.12);
  border-radius: 16px;
  height: 100%;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.tf-zone-inner:hover {
  background: rgba(120, 235, 84, 0.05);
  border-color: rgba(120, 235, 84, 0.25);
}

/* Sources zone: left rounded */
.tf-zone--sources .tf-zone-inner { border-radius: 16px 8px 8px 16px; }
/* Transform zone: flat sides */
.tf-zone--transform .tf-zone-inner { border-radius: 8px; }
/* Deploy zone: right rounded */
.tf-zone--deploy .tf-zone-inner { border-radius: 8px 16px 16px 8px; }

.tf-zone-icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}

.tf-zone-title {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.tf-zone-desc {
  font-family: var(--text-font);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── Zone 1: Sources ── */
.tf-sources-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
}

.tf-source-tag {
  font-family: var(--text-font);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.tf-source-tag:hover { background: rgba(120, 235, 84, 0.08); }
.tf-source-tag i { color: var(--theme-color); font-size: 12px; width: 14px; }

.tf-funnel-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(120, 235, 84, 0.1);
  width: 100%;
}

.tf-count {
  font-family: var(--title-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-color);
  line-height: 1;
}

.tf-count-label {
  font-family: var(--text-font);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ── Zone 2: Transformation ── */
.tf-transform-badge {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--theme-color);
  background: rgba(120, 235, 84, 0.08);
  border: 1px solid rgba(120, 235, 84, 0.2);
  border-radius: 50px;
  padding: 5px 16px;
  margin-bottom: 12px;
}

.tf-stone-to-gold {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tf-stone { color: rgba(255,255,255,0.4); }
.tf-goldtext { color: var(--theme-color); }

.tf-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 16px;
}

.tf-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}

.tf-step-num {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--theme-color);
  background: rgba(120, 235, 84, 0.1);
  border-radius: 6px;
  padding: 3px 8px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.tf-step-content strong {
  font-family: var(--title-font);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: block;
  line-height: 1.3;
}

.tf-step-content span {
  font-family: var(--text-font);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.tf-step--community {
  border-color: rgba(120, 235, 84, 0.15);
  position: relative;
}

.tf-community-badge {
  font-family: var(--title-font);
  font-size: 9px;
  font-weight: 700;
  color: var(--theme-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(120, 235, 84, 0.1);
  border-radius: 50px;
  padding: 2px 8px;
  margin-top: 6px;
  align-self: flex-start;
}

/* ── Zone 3: Deployment ── */
.tf-golden-cv {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.tf-golden-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(120, 235, 84, 0.15);
  animation: golden-pulse 3s ease-in-out infinite;
}

@keyframes golden-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.2); opacity: 1; }
}

.tf-golden-icon {
  position: relative;
  z-index: 1;
  font-size: 36px;
  line-height: 64px;
  text-align: center;
}

.tf-golden-label {
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--theme-color);
  margin-bottom: 8px;
}

.tf-deploy-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
  margin: 16px 0;
}

.tf-deploy-stat {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  background: rgba(120, 235, 84, 0.06);
  border: 1px solid rgba(120, 235, 84, 0.12);
  border-radius: 10px;
}

.tf-deploy-num {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--theme-color);
  display: block;
  line-height: 1.2;
}

.tf-deploy-label {
  font-family: var(--text-font);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 3px;
}

/* ── Deploy zone CTA button ── */
.tf-deploy-cta,
.tf-cta-buttons .theme-btn,
.tf-cta-buttons .tf-hire-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--theme-color);
  color: #0b1a0c !important;
  border-radius: 50px;
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(120, 235, 84, 0.25);
}

.tf-deploy-cta:hover,
.tf-cta-buttons .theme-btn:hover {
  background: #65d046;
  box-shadow: 0 8px 32px rgba(120, 235, 84, 0.4);
  transform: translateY(-2px);
  color: #0b1a0c !important;
}

.tf-deploy-cta i { transition: transform 0.25s ease; }
.tf-deploy-cta:hover i { transform: translateX(4px); }

/* ── Connectors ── */
.tf-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  position: relative;
}

.tf-connector-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right,
    rgba(120, 235, 84, 0.3),
    rgba(120, 235, 84, 0.6),
    rgba(120, 235, 84, 0.3));
}

.tf-connector-dot,
.tf-connector-dot--2,
.tf-connector-dot--3 {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-color);
  animation: flow-dot 2s linear infinite;
}

.tf-connector-dot--2 { animation-delay: 0.66s; }
.tf-connector-dot--3 { animation-delay: 1.33s; }

@keyframes flow-dot {
  0%   { left: 0;    opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: stack flow vertically */
@media only screen and (max-width: 991px) {
  .tf-flow-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .tf-connector { display: none; }

  .tf-zone-inner,
  .tf-zone--sources .tf-zone-inner,
  .tf-zone--transform .tf-zone-inner,
  .tf-zone--deploy .tf-zone-inner {
    border-radius: 12px;
  }

  .tf-primary-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }

  .tf-cta-card {
    min-width: unset;
    max-width: 100%;
    padding: 22px 24px;
  }

  .tf-cta-divider {
    flex-direction: row;
    width: 100%;
    height: 28px;
    justify-content: center;
  }

  .tf-cta-divider::before {
    width: 80px;
    height: 1px;
  }

  .tf-header { margin-bottom: 36px; }
  .tf-flow-label { margin: 28px 0 20px; }
}

/* Mobile: full center-alignment */
@media only screen and (max-width: 767px) {
  .talent-flow-banner { padding: 56px 0 64px; }

  .tf-headline { font-size: 30px; line-height: 1.2; }
  .tf-sub { font-size: 15px; }

  /* Force center-align ALL banner text on mobile */
  .tf-zone-inner,
  .tf-header,
  .tf-step,
  .tf-sources-list,
  .tf-stone-to-gold {
    text-align: center;
    align-items: center;
  }

  .tf-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

  .tf-step-content strong,
  .tf-step-content span { text-align: center; }

  .tf-sources-list { align-items: center; }
  .tf-source-tag { justify-content: center; }

  .tf-deploy-stats { gap: 8px; }
  .tf-deploy-num { font-size: 18px; }

  .tf-cta-action { font-size: 15px; }
}

@media only screen and (max-width: 499px) {
  .tf-headline { font-size: 26px; }
  .tf-zone-inner { padding: 28px 18px; }
  .tf-zone-title { font-size: 18px; }
}


/* ── MOBILE CENTER-ALIGN: aggressive overrides ── */
@media only screen and (max-width: 767px) {
  /* Every text element inside the banner forces center */
  .talent-flow-banner,
  .talent-flow-banner * {
    text-align: center !important;
  }

  /* Steps: stack vertically and center content */
  .tf-step {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .tf-step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Source tags: center their content */
  .tf-source-tag {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Stone-to-gold: center inline-flex */
  .tf-stone-to-gold {
    justify-content: center !important;
  }

  /* Deploy stats: center */
  .tf-deploy-stats {
    justify-content: center !important;
  }

  /* CTA cards: full width, centered */
  .tf-primary-ctas {
    align-items: stretch !important;
  }

  .tf-cta-card {
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
  }

  /* Funnel indicator */
  .tf-funnel-indicator {
    align-items: center !important;
  }

  /* Golden CV: center */
  .tf-golden-cv {
    margin: 0 auto 12px !important;
  }

  /* Zone inner: override any left-alignment */
  .tf-zone-inner {
    text-align: center !important;
    align-items: center !important;
  }

  /* Headline line break on mobile */
  .tf-headline br { display: block; }
}


/* ── Deploy zone CTA buttons container: flex with gap ── */
.tf-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

/* Override: buttons inside tf-cta-buttons should not have margin-top:auto */
.tf-cta-buttons .theme-btn,
.tf-cta-buttons .tf-hire-btn {
  margin-top: 0;
  width: 100%;
}

/* tf-hire-btn: outlined style to differentiate from primary */
.tf-cta-buttons .tf-hire-btn {
  background: transparent !important;
  border: 2px solid rgba(120, 235, 84, 0.4) !important;
  color: var(--theme-color) !important;
  box-shadow: none !important;
}

.tf-cta-buttons .tf-hire-btn:hover {
  background: rgba(120, 235, 84, 0.08) !important;
  border-color: var(--theme-color) !important;
}
