/* =============================================================================
   RESOLABS.IO — PERSONA AI LANDING PAGE
   =============================================================================
   Static mirror of reso-persona-ui/src/pages/Landing (React) flattened to
   plain CSS. Everything is scoped under .personaLanding_view.

   Design tokens (from Figma "Persona AI — Landing Page"):
     Dark bg        #1a1830      Card / deep bg   #100f1e
     Mid navy bg    #2d2b50      Light bg         #f7f6ff
     Coral accent   #f07050      Coral gradient   #f07050 → #cc3535
     Muted (dark)   #9395c4      Heading (light)  #1a1830
     Body (light)   #4a4870      Card border      rgba(45, 43, 80, 0.5)
   ========================================================================== */

.personaLanding_view {
  width: 100%;
  min-height: 100%;
  /* The persona app renders in reso-ui's default font stack. */
  font-family: "Poppins", "Roboto", sans-serif;
}

/* ── Shared section frame ─────────────────────────────────────────────────── */

.personaLanding_view .personaSection {
  width: 100%;
  overflow: hidden;
}

/* CenterContainer (reso-ui) equivalents: margin auto + max-width. */
.personaLanding_view .personaContainer {
  width: 100%;
  margin: 0 auto;
}

.personaLanding_view .personaContainer--760 {
  max-width: 760px;
}

.personaLanding_view .personaContainer--1000 {
  max-width: 1000px;
}

.personaLanding_view .personaContainer--1120 {
  max-width: 1120px;
}

.personaLanding_view .personaContainer--1200 {
  max-width: 1200px;
}

/* ── Shared typography ────────────────────────────────────────────────────── */

.personaLanding_view .eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.personaLanding_view .section_heading {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: normal;
}

.personaLanding_view .section_body {
  font-size: 17px;
  line-height: 28px;
  margin: 0;
}

/* ── Screenshot frame (matches Figma card chrome) ─────────────────────────── */

.personaLanding_view .shot_frame {
  background-color: #100f1e;
  border: 1px solid rgba(45, 43, 80, 0.5);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

.personaLanding_view .shot_frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ── Scroll Reveal Animations ─────────────────────────────────────────────── */

.personaLanding_view .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.personaLanding_view .reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.personaLanding_view .reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.personaLanding_view .reveal-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: none;
}

.personaLanding_view .reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 80ms;
  opacity: 1;
  transform: none;
}

.personaLanding_view .reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 160ms;
  opacity: 1;
  transform: none;
}

.personaLanding_view .reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 240ms;
  opacity: 1;
  transform: none;
}

.personaLanding_view .reveal-stagger.is-visible > *:nth-child(5) {
  transition-delay: 320ms;
  opacity: 1;
  transform: none;
}

.personaLanding_view .reveal-stagger.is-visible > *:nth-child(6) {
  transition-delay: 400ms;
  opacity: 1;
  transform: none;
}

/* =============================================================================
   HERO SECTION
   ========================================================================== */

.personaLanding_view .heroSection {
  position: relative;
  background-color: #1a1830;
  background-image: url("../public/images/persona/persona-AI-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Transparent black backdrop over the hero image. */
.personaLanding_view .heroSection_overlay {
  width: 100%;
  padding: 120px 24px;
  background-color: rgba(16, 15, 30, 0.9);
}

.personaLanding_view .heroSection_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

/* Badge */
.personaLanding_view .heroSection_badge {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(240, 112, 80, 0.95);
  background-color: rgba(240, 112, 80, 0.1);
  border: 1px solid rgba(240, 112, 80, 0.35);
}

/* Headings */
.personaLanding_view .heroSection_title {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: normal;
  color: #ffffff;
}

.personaLanding_view .heroSection_sub {
  margin: 0;
  font-size: clamp(16px, 2vw, 19px);
  color: #9395c4;
}

.personaLanding_view .heroSection_lede {
  margin: 0;
  max-width: 560px;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.7;
  color: #9395c4;
}

/* CTAs */
.personaLanding_view .heroSection_ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.personaLanding_view .heroSection_cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.personaLanding_view .heroSection_cta--primary {
  color: #ffffff;
  background-image: linear-gradient(to right, #f07050, #cc3535);
  box-shadow: 0 10px 24px -10px rgba(240, 112, 80, 0.7);
}

.personaLanding_view .heroSection_cta--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(240, 112, 80, 0.85);
}

.personaLanding_view .heroSection_cta--ghost {
  color: #c7c8e6;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.personaLanding_view .heroSection_cta--ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Divider */
.personaLanding_view .heroSection_divider {
  width: 100%;
  max-width: 560px;
  height: 1px;
  margin: 16px 0;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Stats */
.personaLanding_view .heroSection_stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 64px;
}

.personaLanding_view .heroSection_stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.personaLanding_view .heroSection_stat_value {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: #f07050;
}

.personaLanding_view .heroSection_stat_label {
  margin-top: 4px;
  font-size: 13px;
  color: #9395c4;
}

/* =============================================================================
   RESUMES-ARE-DEAD SECTION
   ========================================================================== */

.personaLanding_view .resumesSection {
  background-color: #f7f6ff;
  padding: 120px 24px;
}

.personaLanding_view .resumesSection_grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

/* Image (single full-chat shot, enlarged) */
.personaLanding_view .resumesSection_images {
  width: 100%;
  max-width: 660px;
  flex-shrink: 0;
}

/* Frame matches the source aspect ratio (3036 × 1818) so it isn't cropped. */
.personaLanding_view .resumesSection_shot {
  width: 100%;
  aspect-ratio: 3036 / 1818;
}

/* Content */
.personaLanding_view .resumesSection_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 440px;
  flex-shrink: 0;
}

.personaLanding_view .resumesSection_eyebrow {
  color: #7b35cc;
}

.personaLanding_view .resumesSection_heading {
  color: #1a1830;
}

.personaLanding_view .resumesSection_body {
  color: rgba(74, 72, 112, 0.85);
}

.personaLanding_view .resumesSection_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.personaLanding_view .resumesSection_tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(123, 53, 204, 0.9);
  background-color: rgba(123, 53, 204, 0.1);
  border: 1px solid rgba(123, 53, 204, 0.25);
}

/* =============================================================================
   PERSONA EDITOR SECTION
   ========================================================================== */

.personaLanding_view .editorSection {
  background-color: #1a1830;
  padding: 120px 24px;
}

.personaLanding_view .editorSection_grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.personaLanding_view .editorSection_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 440px;
  flex-shrink: 0;
}

.personaLanding_view .editorSection_eyebrow {
  color: #f07050;
}

.personaLanding_view .editorSection_heading {
  color: #ffffff;
}

.personaLanding_view .editorSection_body {
  color: rgba(147, 149, 196, 0.7);
}

.personaLanding_view .editorSection_quote {
  margin: 0;
  padding-left: 15px;
  border-left: 3px solid #f07050;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
}

.personaLanding_view .editorSection_shot {
  width: 100%;
  max-width: 660px;
  flex-shrink: 0;
  /* Matches the source image aspect ratio (2844 × 1818) so it isn't cropped. */
  aspect-ratio: 2844 / 1818;
}

/* =============================================================================
   KNOWLEDGE SECTION
   ========================================================================== */

.personaLanding_view .knowledgeSection {
  background-color: #f7f6ff;
  padding: 120px 24px;
}

.personaLanding_view .knowledgeSection_grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

/* Image composition (list + overlapping modal) */
.personaLanding_view .knowledgeSection_images {
  position: relative;
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
}

/* Resources list — in normal flow, sets the block height.
   Frame matches the source aspect ratio (2424 × 1926) so it isn't cropped. */
.personaLanding_view .knowledgeSection_shot--list {
  width: 84%;
  aspect-ratio: 2424 / 1926;
}

/* Add-knowledge modal — overlaps the list's bottom-right corner.
   Frame matches the source aspect ratio (1411 × 565). */
.personaLanding_view .knowledgeSection_shot--modal {
  position: absolute;
  right: -7px;
  bottom: -16%;
  width: 74%;
  aspect-ratio: 1411 / 565;
}

/* Content */
.personaLanding_view .knowledgeSection_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 480px;
  flex-shrink: 0;
}

.personaLanding_view .knowledgeSection_eyebrow {
  color: #2ba6ab;
}

.personaLanding_view .knowledgeSection_heading {
  color: #1a1830;
}

.personaLanding_view .knowledgeSection_body {
  color: #4a4870;
}

.personaLanding_view .knowledgeSection_types {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.personaLanding_view .knowledgeSection_type {
  display: flex;
  align-items: center;
  gap: 12px;
}

.personaLanding_view .knowledgeSection_type_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 46px;
  height: 28px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #2ba6ab;
  background-color: rgba(78, 201, 206, 0.15);
}

.personaLanding_view .knowledgeSection_type_desc {
  font-size: 14px;
  line-height: 22px;
  color: #4a4870;
}

/* =============================================================================
   TRANSCRIPTS SECTION
   ========================================================================== */

.personaLanding_view .transcriptsSection {
  background-color: #2d2b50;
  padding: 120px 24px;
}

.personaLanding_view .transcriptsSection_grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.personaLanding_view .transcriptsSection_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 440px;
  flex-shrink: 0;
}

.personaLanding_view .transcriptsSection_eyebrow {
  color: #f07050;
}

.personaLanding_view .transcriptsSection_heading {
  color: #ffffff;
}

.personaLanding_view .transcriptsSection_body {
  color: rgba(147, 149, 196, 0.7);
}

.personaLanding_view .transcriptsSection_checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.personaLanding_view .transcriptsSection_check {
  font-size: 13px;
  font-weight: 500;
  color: rgba(240, 112, 80, 0.95);
  white-space: nowrap;
}

.personaLanding_view .transcriptsSection_shot {
  width: 100%;
  max-width: 660px;
  flex-shrink: 0;
  /* Matches the source image aspect ratio (2938 × 1816) so it isn't cropped. */
  aspect-ratio: 2938 / 1816;
}

/* =============================================================================
   ANALYTICS SECTION
   ========================================================================== */

.personaLanding_view .analyticsSection {
  background-color: #1a1830;
  padding: 120px 24px;
}

.personaLanding_view .analyticsSection_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 60px;
}

.personaLanding_view .analyticsSection_eyebrow {
  color: #f07050;
}

.personaLanding_view .analyticsSection_heading {
  color: #ffffff;
}

.personaLanding_view .analyticsSection_body {
  color: #9395c4;
}

/* Grid */
.personaLanding_view .analyticsSection_grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.personaLanding_view .analyticsSection_row {
  display: grid;
  gap: 20px;
}

.personaLanding_view .analyticsSection_row--top {
  grid-template-columns: repeat(3, 1fr);
}

.personaLanding_view .analyticsSection_row--bottom {
  grid-template-columns: repeat(2, 1fr);
}

.personaLanding_view .analyticsSection_shot--top {
  /* Uniform row height; matches dashboard-overview (2936 × 1600). */
  aspect-ratio: 2936 / 1600;
}

.personaLanding_view .analyticsSection_shot--bottom {
  aspect-ratio: 2000 / 1000;
}

/* =============================================================================
   EXPLORE SECTION
   ========================================================================== */

.personaLanding_view .exploreSection {
  background-color: #f7f6ff;
  padding: 120px 24px;
}

.personaLanding_view .exploreSection_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 60px;
}

.personaLanding_view .exploreSection_eyebrow {
  color: #7b35cc;
}

.personaLanding_view .exploreSection_heading {
  color: #1a1830;
}

.personaLanding_view .exploreSection_body {
  color: #4a4870;
}

.personaLanding_view .exploreSection_shot {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  /* Matches the source image aspect ratio (3166 × 1816) so it isn't cropped. */
  aspect-ratio: 3166 / 1816;
}

/* =============================================================================
   CTA BANNER SECTION
   ========================================================================== */

.personaLanding_view .ctaBannerSection {
  background-image: linear-gradient(to right, #f07050, #cc3535);
  padding: 120px 24px;
}

.personaLanding_view .ctaBannerSection_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.personaLanding_view .ctaBannerSection_heading {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  color: #ffffff;
}

.personaLanding_view .ctaBannerSection_sub {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
}

.personaLanding_view .ctaBannerSection_buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.personaLanding_view .ctaBannerSection_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 150ms ease,
    background-color 150ms ease;
}

.personaLanding_view .ctaBannerSection_btn:hover {
  transform: translateY(-1px);
}

.personaLanding_view .ctaBannerSection_btn--solid {
  color: #f07050;
  background-color: #ffffff;
}

.personaLanding_view .ctaBannerSection_btn--ghost {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.personaLanding_view .ctaBannerSection_btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* =============================================================================
   FOOTER SECTION
   ========================================================================== */

.personaLanding_view .footerSection {
  background-color: #100f1e;
  padding: 50px 24px;
}

.personaLanding_view .footerSection_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.personaLanding_view .footerSection_brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.personaLanding_view .footerSection_brand_name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.personaLanding_view .footerSection_brand_tagline {
  margin: 0;
  font-size: 13px;
  color: rgba(147, 149, 196, 0.7);
}

.personaLanding_view .footerSection_brand_copyright {
  margin: 0;
  font-size: 12px;
  color: rgba(147, 149, 196, 0.35);
}

.personaLanding_view .footerSection_links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 46px;
}

.personaLanding_view .footerSection_link {
  font-size: 13px;
  color: rgba(147, 149, 196, 0.7);
  text-decoration: none;
  transition: color 150ms ease;
}

.personaLanding_view .footerSection_link:hover {
  color: #ffffff;
}

/* =============================================================================
   RESPONSIVE — TABLET / LAPTOP COLLAPSE (< 1196px)
   =============================================================================
   Once the split (image + copy) sections no longer fit side-by-side they
   overflow on tablet/laptop. Below 1196px, collapse them into the same
   centered, full-width treatment as the Explore / Analytics sections: copy on
   top (centered), wide centered image below.
   ========================================================================== */

@media (max-width: 1196px) {
  .personaLanding_view .resumesSection_grid,
  .personaLanding_view .editorSection_grid,
  .personaLanding_view .knowledgeSection_grid,
  .personaLanding_view .transcriptsSection_grid {
    flex-direction: column;
    gap: 40px;
  }

  /* Image-first sections → put the copy on top, image below (like Explore). */
  .personaLanding_view .resumesSection_grid,
  .personaLanding_view .knowledgeSection_grid {
    flex-direction: column-reverse;
  }

  /* Centered, wider copy — mirrors the Explore / Analytics centered header. */
  .personaLanding_view .resumesSection_content,
  .personaLanding_view .editorSection_content,
  .personaLanding_view .knowledgeSection_content,
  .personaLanding_view .transcriptsSection_content {
    align-items: center;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
  }

  /* Wide centered image — mirrors Explore's 1000px shot. */
  .personaLanding_view .resumesSection_images,
  .personaLanding_view .editorSection_shot,
  .personaLanding_view .knowledgeSection_images,
  .personaLanding_view .transcriptsSection_shot {
    max-width: 1000px;
    margin: 0 auto;
  }

  /* Knowledge: the modal shot is absolutely positioned and hangs below the
     image (bottom: -16%). With the image now at the section's bottom, add
     extra bottom padding so the overhang doesn't crowd the section edge. */
  .personaLanding_view .knowledgeSection {
    padding-bottom: 200px;
  }
}

/* =============================================================================
   RESPONSIVE — MOBILE (< 640px, mirrors ResponsiveContext isMobile)
   ========================================================================== */

@media (max-width: 639px) {
  .personaLanding_view .heroSection_overlay {
    padding: 72px 20px;
  }

  .personaLanding_view .resumesSection_grid,
  .personaLanding_view .editorSection_grid,
  .personaLanding_view .knowledgeSection_grid,
  .personaLanding_view .transcriptsSection_grid {
    gap: 40px;
  }

  .personaLanding_view .resumesSection_content {
    max-width: 520px;
  }

  .personaLanding_view .analyticsSection_row--top,
  .personaLanding_view .analyticsSection_row--bottom {
    grid-template-columns: 1fr;
  }

  /* On mobile the modal overhang is smaller, so trim the extra padding. */
  .personaLanding_view .knowledgeSection {
    padding-bottom: 140px;
  }

  .personaLanding_view .footerSection_inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* =============================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .personaLanding_view .reveal,
  .personaLanding_view .reveal-stagger > * {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
