/* ============================================================
   HYPERCRUIT — LANDING PAGE STYLES
   hc-landing.css  |  Drop into /static/css/
   Import AFTER: hc-tokens.css, hc-portal.css, hc-components.css
   
   Used by: global_portal.html (candidate landing screen)
            employer_landing.html (employer landing page)
   
   Landing pages are intentionally ALWAYS dark — the animated
   background is a brand signature. The light/dark toggle only
   applies to the authenticated dashboard, not the public landing.
   All tokens here use the raw dark palette vars, not hc-tokens,
   to stay immune to theme switching on the landing screen.
   ============================================================ */

/* ── Local palette (landing always dark) ── */
.hc-bg-layer,
.hc-landing-nav,
.hc-landing-hero,
.hc-landing-features,
.hc-landing-section,
.hc-landing-stats-band,
.hc-landing-how-it-works,
.hc-landing-cta-band,
.hc-landing-footer {
  --ld-navy:   #0a1628;
  --ld-navy2:  #0d1e35;
  --ld-steel:  #5B82A8;
  --ld-wine:   #8B3060;
  --ld-gold:   #c9a84c;
  --ld-gold-l: #e2c069;
  --ld-white:  #ffffff;
  --ld-soft:   rgba(255,255,255,0.75);
  --ld-dim:    rgba(255,255,255,0.4);
  --ld-dimmer: rgba(255,255,255,0.2);
  --ld-border: rgba(255,255,255,0.07);
  --ld-card:   rgba(255,255,255,0.03);
  --ld-card2:  rgba(255,255,255,0.06);
}

/* ════════════════════════════════════════════════════════════
   ANIMATED BACKGROUND
   ════════════════════════════════════════════════════════════ */
.hc-bg-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.hc-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(91,130,168,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(139,48,96,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 60%),
    linear-gradient(160deg, #0a1628 0%, #0d1e35 50%, #0a1628 100%);
}
.hc-landing-mesh { position: absolute; inset: 0; overflow: hidden; }
.hc-landing-mesh-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.06), transparent);
  height: 1px; width: 100%;
  animation: hcMeshFloat linear infinite;
}
@keyframes hcMeshFloat {
  0%   { transform: translateY(100vh) scaleX(0.5); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-20px) scaleX(1.2); opacity: 0; }
}
.hc-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: hcOrbFloat ease-in-out infinite;
}
.hc-orb-1 { width:500px;height:500px;background:rgba(91,130,168,0.08);top:-100px;left:-100px;animation-duration:15s; }
.hc-orb-2 { width:400px;height:400px;background:rgba(139,48,96,0.07);bottom:-80px;right:-80px;animation-duration:18s;animation-delay:-6s; }
.hc-orb-3 { width:300px;height:300px;background:rgba(201,168,76,0.05);top:40%;left:40%;animation-duration:20s;animation-delay:-10s; }
@keyframes hcOrbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(30px,-20px) scale(1.05); }
  66%     { transform: translate(-20px,30px) scale(0.95); }
}

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.hc-landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(10,22,40,0.75);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--ld-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.hc-landing-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}
.hc-landing-nav__logo-mark { width: 38px; height: 38px; }
.hc-landing-nav__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ld-white);
}
.hc-landing-nav__logo-text span { color: var(--ld-gold); }
.hc-landing-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hc-landing-nav__link {
  font-size: 0.82rem;
  color: var(--ld-dim);
  cursor: pointer;
  transition: color 0.2s;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hc-landing-nav__link:hover { color: var(--ld-white); }
.hc-landing-nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hc-landing-btn-ghost {
  background: transparent;
  border: 1px solid var(--ld-border);
  color: var(--ld-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.hc-landing-btn-ghost:hover { border-color: var(--ld-gold); color: var(--ld-gold); }
.hc-landing-btn-primary {
  background: var(--ld-gold);
  color: var(--ld-navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.hc-landing-btn-primary:hover { background: var(--ld-gold-l); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hc-landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 3rem;
  text-align: center;
  position: relative;
}
.hc-landing-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--ld-gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: hcFadeUp 0.8s ease-out;
}
.hc-landing-eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ld-gold);
  animation: hcPulse 2s ease-in-out infinite;
}
@keyframes hcPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%     { opacity:0.5; transform:scale(0.8); }
}
.hc-landing-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ld-white);
  margin-bottom: 1.5rem;
  animation: hcFadeUp 0.8s ease-out 0.1s both;
}
.hc-landing-hero__line2 {
  display: block;
  background: linear-gradient(135deg, var(--ld-steel) 0%, var(--ld-gold) 50%, var(--ld-wine) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hc-landing-hero__line3 {
  display: block;
  font-style: italic;
  color: var(--ld-soft);
  -webkit-text-fill-color: var(--ld-soft);
}
/* Employer landing accent */
.hc-landing-accent {
  background: linear-gradient(135deg, var(--ld-steel) 0%, var(--ld-gold) 50%, var(--ld-wine) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hc-landing-hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ld-soft);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: hcFadeUp 0.8s ease-out 0.2s both;
}
.hc-landing-hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: hcFadeUp 0.8s ease-out 0.3s both;
}
.hc-landing-btn-primary-lg {
  background: linear-gradient(135deg, var(--ld-gold), var(--ld-gold-l));
  color: var(--ld-navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 30px rgba(201,168,76,0.25);
}
.hc-landing-btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.35); }
.hc-landing-btn-ghost-lg {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--ld-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 2.25rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
}
.hc-landing-btn-ghost-lg:hover { border-color: var(--ld-steel); color: var(--ld-white); background: rgba(91,130,168,0.08); }

/* ── Trust bar ── */
.hc-landing-trust-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: hcFadeUp 0.8s ease-out 0.4s both;
}
.hc-landing-trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--ld-dim); }
.hc-landing-trust-icon { font-size: 0.9rem; }
.hc-landing-trust-divider { width: 1px; height: 20px; background: var(--ld-border); }

/* ── Scroll hint ── */
.hc-landing-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; color: var(--ld-dimmer); letter-spacing: 0.1em; text-transform: uppercase;
  animation: hcFadeUp 1s ease-out 0.8s both;
}
.hc-landing-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--ld-gold), transparent);
  animation: hcScrollAnim 2s ease-in-out infinite;
}
@keyframes hcScrollAnim {
  0%,100% { opacity:0.3; transform:scaleY(0.5); }
  50%     { opacity:1; transform:scaleY(1); }
}

/* ════════════════════════════════════════════════════════════
   STATS BAND
   ════════════════════════════════════════════════════════════ */
.hc-landing-stats-band {
  border-top: 1px solid var(--ld-border);
  border-bottom: 1px solid var(--ld-border);
  background: rgba(255,255,255,0.02);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}
.hc-landing-stat-item { text-align: center; }
.hc-landing-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--ld-gold);
  line-height: 1;
}
.hc-landing-stat-label { font-size: 0.78rem; color: var(--ld-dim); margin-top: 0.4rem; }

/* ════════════════════════════════════════════════════════════
   SECTION WRAPPER
   ════════════════════════════════════════════════════════════ */
.hc-landing-section,
.hc-landing-features,
.hc-landing-how-it-works {
  position: relative;
  z-index: 1;
  padding: 5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.hc-landing-section__label {
  font-size: 0.7rem;
  color: var(--ld-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hc-landing-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--ld-white);
}
.hc-landing-section__sub {
  font-size: 1rem;
  color: var(--ld-soft);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ════════════════════════════════════════════════════════════
   FEATURE CARDS
   ════════════════════════════════════════════════════════════ */
.hc-landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.hc-landing-feature-card {
  background: var(--ld-card);
  border: 1px solid var(--ld-border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.hc-landing-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}
.hc-landing-fc-steel::before { background: linear-gradient(90deg, var(--ld-steel), transparent); }
.hc-landing-fc-wine::before  { background: linear-gradient(90deg, var(--ld-wine), transparent); }
.hc-landing-fc-gold::before  { background: linear-gradient(90deg, var(--ld-gold), transparent); }
.hc-landing-feature-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); }
.hc-landing-feature-card:hover::before { opacity: 1; }
.hc-landing-feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.hc-landing-fi-steel { background: rgba(91,130,168,0.15); color: var(--ld-steel); }
.hc-landing-fi-wine  { background: rgba(139,48,96,0.15);  color: var(--ld-wine); }
.hc-landing-fi-gold  { background: rgba(201,168,76,0.12); color: var(--ld-gold); }
.hc-landing-feature-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--ld-white); }
.hc-landing-feature-body  { font-size: 0.82rem; color: var(--ld-soft); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS / STEPS
   ════════════════════════════════════════════════════════════ */
.hc-landing-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.hc-landing-steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ld-gold), transparent);
  z-index: 0;
}
.hc-landing-step-item { text-align: center; position: relative; z-index: 1; }
.hc-landing-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ld-navy2);
  border: 1px solid var(--ld-gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--ld-gold);
}
.hc-landing-step-title { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--ld-white); }
.hc-landing-step-body  { font-size: 0.78rem; color: var(--ld-dim); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   PRICING CARDS
   ════════════════════════════════════════════════════════════ */
.hc-landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.hc-landing-pricing-card {
  background: var(--ld-card);
  border: 1px solid var(--ld-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}
.hc-landing-pricing-card:hover { transform: translateY(-4px); }
.hc-landing-featured {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.04);
}
.hc-landing-pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ld-gold);
  color: var(--ld-navy);
  font-size: 0.68rem; font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hc-landing-pricing-tier {
  font-size: 0.72rem;
  color: var(--ld-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.hc-landing-pricing-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ld-white);
}
.hc-landing-pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ld-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hc-landing-pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--ld-dim); }
.hc-landing-pricing-desc { font-size: 0.8rem; color: var(--ld-dim); margin-bottom: 1.5rem; line-height: 1.5; }
.hc-landing-pricing-divider { height: 1px; background: var(--ld-border); margin-bottom: 1.5rem; }
.hc-landing-pricing-feature {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.82rem; color: var(--ld-soft);
  margin-bottom: 0.6rem; line-height: 1.5;
}
.hc-landing-pricing-check { color: var(--ld-gold); flex-shrink: 0; margin-top: 2px; }
.hc-landing-pricing-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.8rem;
  border-radius: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.hc-landing-pricing-btn--primary {
  background: var(--ld-gold);
  color: var(--ld-navy);
  border: none;
}
.hc-landing-pricing-btn--primary:hover { background: var(--ld-gold-l); transform: translateY(-1px); }
.hc-landing-pricing-btn--ghost {
  background: transparent;
  border: 1px solid var(--ld-border);
  color: var(--ld-soft);
}
.hc-landing-pricing-btn--ghost:hover { border-color: var(--ld-gold); color: var(--ld-gold); }

/* ════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════ */
.hc-landing-cta-band {
  position: relative; z-index: 1;
  margin: 5rem 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(91,130,168,0.1), rgba(139,48,96,0.08));
  border: 1px solid rgba(201,168,76,0.2);
  padding: 4rem;
  text-align: center;
}
.hc-landing-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ld-white);
}
.hc-landing-cta-sub { font-size: 1rem; color: var(--ld-soft); margin-bottom: 2rem; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.hc-landing-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--ld-border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hc-landing-footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--ld-white);
}
.hc-landing-footer__logo span { color: var(--ld-gold); }
.hc-landing-footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--ld-dim);
}
.hc-landing-footer__links a {
  color: var(--ld-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.hc-landing-footer__links a:hover { color: var(--ld-gold); }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes hcFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hc-fade-up { animation: hcFadeUp 0.8s ease-out both; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hc-landing-features-grid { grid-template-columns: 1fr 1fr; }
  .hc-landing-pricing-grid  { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .hc-landing-steps-grid    { grid-template-columns: 1fr 1fr; }
  .hc-landing-stats-band    { grid-template-columns: 1fr 1fr; }
  .hc-landing-nav__links    { display: none; }
  .hc-landing-cta-band      { padding: 2.5rem 1.5rem; margin: 3rem 1rem; }
}
@media (max-width: 600px) {
  .hc-landing-features-grid { grid-template-columns: 1fr; }
  .hc-landing-steps-grid    { grid-template-columns: 1fr; }
  .hc-landing-nav           { padding: 1rem 1.25rem; }
  .hc-landing-hero          { padding: 3rem 1.25rem 2rem; }
  .hc-landing-section,
  .hc-landing-features,
  .hc-landing-how-it-works  { padding: 3rem 1.25rem; }
  .hc-landing-trust-bar     { gap: 1.25rem; }
  .hc-landing-trust-divider { display: none; }
}
