/**
 * Candidate Screening Landing Page — CSS
 *
 * Minimal, focused page for outbound lead gen.
 * Uses ThemeProvider tokens from landing.css.
 * Inspired by high-conversion consulting-style landing pages.
 */

/* ============================================
   Layout
   ============================================ */
.cs-page {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Hero — "STOP!" disruption pattern
   ============================================ */
.cs-hero {
  text-align: center;
  padding: 14rem 0 3rem;
}

.cs-hero__stop {
  font-size: 4.5rem;
  font-weight: 900;
  color: #ff3b30;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1;
}

.cs-hero__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.cs-hero__sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

/* ============================================
   Vertical Video Short — 9:16 frame
   ============================================ */
.cs-video-short {
  width: 100%;
  max-width: 16rem;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cs-video-short__frame {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 aspect ratio */
  background: var(--bg-secondary);
}

/* Ensure YouTube iframe inherits rounded corners after load */
.cs-video-short iframe {
  border-radius: 16px;
}

.cs-video-short__frame .video-placeholder {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.cs-video-short__frame .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-video-short__frame .play-button-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease;
}

.cs-video-short__frame:hover .play-button-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.cs-video-short__frame .play-icon {
  width: 3.5rem;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ============================================
   Split Layout — text + vertical video side-by-side
   ============================================ */
.cs-story__split {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.cs-story__split-content {
  flex: 1;
  min-width: 0;
}

.cs-story__split-video {
  flex-shrink: 0;
  width: 16rem;
}

/* ============================================
   Story Sections — hero's journey beats
   ============================================ */
.cs-story {
  padding: 2.5rem 0;
}

.cs-story__section {
  margin-bottom: 3rem;
}

.cs-story__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-orange);
  margin-bottom: 0.75rem;
}

.cs-story__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cs-story__text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cs-story__text em {
  color: var(--text-primary);
  font-style: italic;
}

.cs-story__text strong {
  color: var(--text-primary);
}

/* Highlighted pull-quote */
.cs-story__highlight {
  border-left: 3px solid var(--text-orange);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-secondary);
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================
   Social Proof
   ============================================ */
.cs-social-proof {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 2rem 0 0;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   Divider
   ============================================ */
.cs-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem auto;
  max-width: 12rem;
}

/* ============================================
   Testimonial Video
   ============================================ */
.cs-testimonial {
  text-align: center;
  padding: 2rem 0 3rem;
}

.cs-testimonial__heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cs-testimonial__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cs-cta {
  text-align: center;
  padding: 3rem 0;
}

.cs-cta__headline {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cs-cta__headline-sub {
  font-weight: 400;
  color: var(--text-secondary);
}

.cs-cta__sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.cs-cta__value {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 1.5rem auto 1.5rem;
  max-width: 32rem;
}

.cs-cta__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-orange);
  margin: 0.75rem 0 0.25rem;
}

.cs-cta__price-period {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.cs-cta__price-annual {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cs-cta__trial {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* CTA buttons use .main-cta-button.button-animated from landing.css.
   Force block display (the <a> tag is inline by default — background/padding/border-radius
   break on inline elements). Disable the fadeInScale entrance animation — only keep hover effects. */
.cs-inline-cta .main-cta-button.button-animated,
.cs-cta .main-cta-button.button-animated {
  display: inline-block;
  text-align: center;
  animation: none;
  opacity: 1;
  transform: none;
  margin-bottom: 0;
}

.cs-cta__guarantee {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ============================================
   Inline CTA (mid-page)
   ============================================ */
.cs-inline-cta {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

/* ============================================
   AI Recruiter mention
   ============================================ */
.cs-ai-note {
  text-align: center;
  padding: 1rem 0 2rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.cs-ai-note a {
  color: var(--text-orange);
  text-decoration: none;
  font-weight: 600;
}

.cs-ai-note a:hover {
  text-decoration: underline;
}

/* ============================================
   Custom Footer (no links, like /hire)
   ============================================ */
.cs-footer {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
}

.cs-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cs-footer__logo svg {
  color: var(--text-orange);
}

.cs-footer__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.cs-footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.cs-footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .cs-story__split {
    flex-direction: column;
  }

  .cs-story__split-video {
    width: 14rem;
    order: -1; /* video on top on mobile */
  }

  /* Testimonial: keep video first on mobile too */
  .cs-testimonial.cs-story__split {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .cs-hero {
    padding: 10rem 0 2rem;
  }

  .cs-hero__stop {
    font-size: 3rem;
  }

  .cs-hero__headline {
    font-size: 1.25rem;
  }

  .cs-hero__sub {
    font-size: 0.95rem;
  }

  .cs-story__title {
    font-size: 1.25rem;
  }

  .cs-cta__headline {
    font-size: 1.35rem;
  }

  .cs-cta__price {
    font-size: 2rem;
  }

  .cs-story__split-video {
    width: 12rem;
  }
}
