/* ============================================================
   Component: Bottleneck Section (bottleneck.css)
   BEM Notation: block_element--modifier
   Matched to Figma Node 0:5069
   "The old way of working is becoming the bottleneck."
   3 static cards with subtle staggered entrance animation
   ============================================================ */

/* Section Wrapper */
.bottleneck {
  width: 100%;
  padding-block: 72px 88px;
  background-color: var(--color-surface, #ffffff);
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .bottleneck {
    padding-block: 104px 120px;
  }
}

/* Centered 1280px Container */
.bottleneck_container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .bottleneck_container {
    padding-inline: 40px;
  }
}

@media (min-width: 1200px) {
  .bottleneck_container {
    padding-inline: 80px;
  }
}

/* Header Content (Figma Node 0:5070: 765px max-width) */
.bottleneck_header {
  max-width: 765px;
  margin-bottom: 48px;
}

@media (min-width: 992px) {
  .bottleneck_header {
    margin-bottom: 64px;
  }
}

/* Eyebrow Tag */
.bottleneck_eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  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 Title */
.bottleneck_title {
  margin: 0 0 20px 0;
  font-size: clamp(2rem, 3.6vw, 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) {
  .bottleneck_title {
    font-size: 40px;
    font-weight: var(--font-weight-medium, 500);
  }
}

/* Section Description */
.bottleneck_desc {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 18px);
  font-weight: var(--font-weight-regular, 400);
  line-height: 1.55;
  color: var(--color-text-primary, #0F0D15);
  max-width: 765px;
}

/* 3-Column Card Grid (Figma Node 0:5075) */
.bottleneck_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .bottleneck_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bottleneck_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Card Component (Figma Node 0:5076, 0:5122, 0:5148) */
.bottleneck_card {
  background-color: #F8F8FA;
  border-radius: var(--hero-card-radius, 24px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 32px 20px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  transition: transform var(--duration-base, 0.3s) var(--ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1)),
              box-shadow var(--duration-base, 0.3s) var(--ease-out-smooth, cubic-bezier(0.16, 1, 0.3, 1));
}

@media (min-width: 768px) {
  .bottleneck_card {
    padding: 32px 28px 36px;
  }
}

@media (min-width: 1200px) {
  .bottleneck_card {
    padding: 36px 32px 40px;
    min-height: 458px;
  }
}

.bottleneck_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 13, 21, 0.06);
}

/* Card Visual Container */
.bottleneck_card-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin-bottom: 24px;
}

.bottleneck_card-img {
  width: 100%;
  max-width: 352px;
  max-height: 177px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Card Typography Content */
.bottleneck_card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bottleneck_card-title {
  margin: 0;
  font-size: clamp(1.25rem, 1.6vw, 24px);
  font-weight: var(--font-weight-bold, 700);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-text-primary, #0F0D15);
}

.bottleneck_card-text {
  margin: 0;
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-regular, 400);
  line-height: 1.55;
  color: var(--color-text-primary, #0F0D15);
}

/* ============================================================
   Subtle Staggered Entrance Animations on Scroll
   ============================================================ */
.bottleneck_header.bottleneck_animate,
.bottleneck_card.bottleneck_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;
}

/* When in viewport: reveal elements */
.bottleneck.is-visible .bottleneck_header.bottleneck_animate,
.bottleneck.is-visible .bottleneck_card.bottleneck_animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger Delays */
.bottleneck.is-visible .bottleneck_header {
  transition-delay: 0.05s;
}

.bottleneck.is-visible .bottleneck_stagger-1 {
  transition-delay: 0.12s;
}

.bottleneck.is-visible .bottleneck_stagger-2 {
  transition-delay: 0.24s;
}

.bottleneck.is-visible .bottleneck_stagger-3 {
  transition-delay: 0.36s;
}

/* ============================================================
   Accessibility: Prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .bottleneck_header.bottleneck_animate,
  .bottleneck_card.bottleneck_animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .bottleneck_card {
    transition: none;
  }
}
