/* ============================================================
   Component: Changes / The Manager's Job (changes.css)
   BEM Notation: block_element--modifier
   Matched to Figma Node 0:5300
   "The manager is not removed. The job changes."
   2-card comparison with hero manager vs leader as facilitator
   ============================================================ */

/* Section Shell */
.changes {
  width: 100%;
  padding-block: 72px 0;
  background-color: var(--color-surface, #ffffff);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .changes {
    padding-block: 72px 88px;
  }
}

@media (min-width: 992px) {
  .changes {
    padding-block: 104px 120px;
  }
}

/* 1280px Centered Container */
.changes_container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .changes_container {
    padding-inline: 40px;
  }
}

@media (min-width: 1200px) {
  .changes_container {
    padding-inline: 80px;
  }
}

/* Header Area (Figma Node 0:5301) */
.changes_header {
  max-width: 765px;
  margin-bottom: 48px;
}

@media (min-width: 992px) {
  .changes_header {
    margin-bottom: 56px;
  }
}

/* Eyebrow */
.changes_eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: var(--font-size-eyebrow, 13px);
  font-weight: var(--font-weight-bold, 700);
  letter-spacing: var(--letter-spacing-eyebrow, 0.12em);
  text-transform: uppercase;
  color: var(--color-eyebrow, #7339D4);
}

/* Main Section Heading */
.changes_title {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 48px);
  font-weight: var(--font-weight-extrabold, 700);
  line-height: 1.15;
  letter-spacing: var(--letter-spacing-tighter, -0.02em);
  color: var(--color-text-primary, #0F0D15);
}

@media (max-width: 767px) {
  .changes_title {
    font-size: 40px;
    font-weight: var(--font-weight-medium, 500);
  }
}

/* 2-Card Comparison Grid (Figma Node 0:5306) */
.changes_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

@media (min-width: 992px) {
  .changes_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
  }
}

/* Individual Comparison Card (Figma Node 0:5307, 0:5373) */
.changes_card {
  width: 100%;
  background-color: #FFFFFF;
  border-radius: var(--hero-card-radius, 24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 36px -10px rgba(131, 74, 224, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-fast, 0.25s) var(--ease-out-smooth),
              box-shadow var(--duration-fast, 0.25s) var(--ease-out-smooth);
}

.changes_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px -10px rgba(131, 74, 224, 0.14);
}

/* Card Visual Header Box (264px tall in Figma) */
.changes_card-visual {
  width: 100%;
  height: 264px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Card 1 Visual: Light Grid Background */
.changes_card-visual--hero {
  background-color: #FAF9FD;
  background-image: 
    linear-gradient(to right, rgba(131, 74, 224, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(131, 74, 224, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  background-position: center center;
}

/* Card 2 Visual: User-Supplied Gradient Background (changes-bg.png / .webp) */
.changes_card-visual--facilitator {
  background: url('../../../assets/images/sections/changes-bg.webp') no-repeat center center / cover;
}

/* Embedded Illustration SVG */
.changes_card-img {
  max-width: 85%;
  max-height: 85%;
  height: auto;
  position: relative;
  z-index: 2;
}

/* Card Content Area */
.changes_card-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 768px) {
  .changes_card-content {
    padding: 36px 32px 40px;
  }
}

/* Card Title (Figma Node 0:5350, 0:5440) */
.changes_card-title {
  margin: 0 0 8px 0;
  font-size: clamp(1.35rem, 1.8vw, 24px);
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.3;
  color: var(--color-text-primary, #0F0D15);
}

/* Card Subtitle */
.changes_card-subtitle {
  margin: 0 0 28px 0;
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-regular, 400);
  line-height: 1.5;
  color: var(--color-text-primary, #0F0D15);
}

/* Bullet List */
.changes_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual List Item */
.changes_item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-regular, 400);
  line-height: 1.5;
  color: var(--color-text-primary, #0F0D15);
}

/* Card 1 Subtle Dot Icon */
.changes_dot-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #BDB5CD;
  margin-top: 8px;
  flex-shrink: 0;
}

/* Card 2 Purple Checkmark Icon */
.changes_check-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Bottom Callout Quote (Figma Node 0:5463) */
.changes_callout {
  max-width: 780px;
  border-left: 4px solid var(--color-eyebrow, #7339D4);
  padding-left: 24px;
  margin-top: 16px;
}

.changes_callout-quote {
  margin: 0;
  font-size: clamp(1.2rem, 1.7vw, 24px);
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--color-text-primary, #0F0D15);
}

/* ============================================================
   Subtle Staggered Entrance Reveal on Scroll
   ============================================================ */
.changes_header.changes_animate,
.changes_card.changes_animate,
.changes_callout.changes_animate {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.65s var(--ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1)),
              transform 0.65s var(--ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1));
  will-change: opacity, transform;
}

/* Triggered State */
.changes.is-visible .changes_header.changes_animate,
.changes.is-visible .changes_card.changes_animate,
.changes.is-visible .changes_callout.changes_animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger Delays */
.changes.is-visible .changes_header {
  transition-delay: 0.08s;
}

.changes.is-visible .changes_card--1 {
  transition-delay: 0.20s;
}

.changes.is-visible .changes_card--2 {
  transition-delay: 0.35s;
}

.changes.is-visible .changes_callout {
  transition-delay: 0.50s;
}

/* ============================================================
   Accessibility: Prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .changes_header.changes_animate,
  .changes_card.changes_animate,
  .changes_callout.changes_animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .changes_card {
    transition: none;
  }
}
