/* Proposals Feature Page Overrides */

/* ===================================
   HERO: BLUE THEME
   =================================== */

.secondary-hero--blue {
  background-color: var(--brand-fun-green);
  background-image: url("/assets/for-creative-pros/wallpaper-background-white.svg");
  background-size: var(--cutting-mat-bg-size);
  background-position: center top;
  background-repeat: repeat;
}

.secondary-hero--layered {
  position: relative;
  overflow: visible;
  min-height: clamp(460px, 42vw, 660px);
}

.hero-fg-img {
  position: absolute;
  inset: auto;
  top: 120px;
  right: 60px;
  bottom: -60px;
  left: auto;
  width: 44%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  transform: none;
}

.hero-layered-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 50%;
}

/* ===================================
   SOUND FAMILIAR (PAIN POINTS)
   =================================== */

.pain-section {
  position: relative;
  z-index: 1;
  background: #e5eaed;
  padding: var(--spacing-2xl) var(--layout-inset-fluid);
}

.pain-section__header {
  max-width: 625px;
  margin-bottom: var(--spacing-2xl);
}

.pain-section__label {
  display: block;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--type-40);
  margin-bottom: 4px;
}

.pain-section__header h2 {
  font-size: clamp(32px, 3.5vw, 45px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--type);
  margin: 0 0 8px;
}

.pain-section__header p {
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--type-60);
  margin: 0;
}

.pain-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.pain-section__icon {
  width: 108px;
  height: 108px;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}

.pain-section__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pain-section__card:hover .pain-section__icon img {
  animation: wiggle 0.5s ease;
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-6deg); }
  40% { transform: rotate(5deg); }
  60% { transform: rotate(-3deg); }
  80% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.pain-section__card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--type);
}

.pain-section__card p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  color: var(--type);
}

/* ===================================
   FEATURE HIGHLIGHT OVERRIDES
   =================================== */

.feature-highlight-media {
  background: none;
  border-radius: 0;
  overflow: visible;
}

/* ===================================
   TABLET
   =================================== */

@media (max-width: 1024px) {
  .pain-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */

@media (max-width: 768px) {
  .secondary-hero {
    padding: 100px var(--layout-inset-fluid-sm) var(--spacing-lg);
    min-height: auto;
  }

  .secondary-hero--layered {
    min-height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .hero-layered-text {
    max-width: 100%;
    order: 1;
  }

  .hero-fg-img {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 90%;
    margin: var(--spacing-sm) auto 0;
    order: 2;
  }

  .pain-section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .pain-section__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}
