/* ==========================================================================
   Prepare for Impact — Book Page Styles
   ========================================================================== */

/* ==========================================================================
   1. Hero
   ========================================================================== */

.book-hero {
  padding: 200px 120px 40px;
  background: var(--color-white);
  min-height: 700px;
}

.book-hero__inner {
  max-width: 1588px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.book-hero__text {
  flex: 0 0 42%;
  max-width: 42%;
}

.book-hero__photo {
  flex: 1;
  text-align: center;
}

.book-hero__photo img {
  max-width: 100%;
  height: auto;
}

.book-hero__prepare {
  font-size: 58px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 0.8;
  margin-left: 20px;
}

.book-hero__title {
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 0.9;
  margin: 0;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  margin-top: -20px;
}

.book-hero__title .gradient-text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.book-hero__subtitle {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 20px 40px 30px 0;
}

.book-hero__btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 60px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 120px;
  background: var(--color-lime);
  color: var(--color-dark);
  transition: opacity var(--transition-normal);
  border: 2px solid var(--color-lime);
}

.book-hero__btn:hover {
  background: transparent;
  border: 2px solid var(--color-lime);
  color: var(--color-dark);
}

/* ==========================================================================
   2. Retailer Links (shared — dark and light variants)
   ========================================================================== */

.book-retailers {
  padding: 12vh 20px;
  text-align: center;
}

.book-retailers--dark {
  background-color: var(--color-dark);
}

.book-retailers--light {
  background-color: var(--color-light-gray);
}

.book-retailers__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.book-retailers__logo {
  display: inline-block;
}

.book-retailers__logo img {
  height: auto;
}

.book-retailers__logo--amazon img {
  width: 232px;
}

.book-retailers__logo--bn img {
  width: 228px;
}

.book-retailers__logo--amplify img {
  width: 211px;
}

.book-retailers__contact {
  display: inline-block;
  padding: 14px 60px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 120px;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
  transition: background var(--transition-normal);
}

.book-retailers__contact:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
}

.book-retailers__cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.book-retailers__bulk {
  font-size: 28px;
  font-weight: 400;
  color: var(--color-lime);
  margin: 0;
}

.book-retailers__bulk-link {
  color: var(--color-lime);
  font-weight: 700;
  text-decoration: none;
}

.book-retailers__bulk-link: hover {
  color: var(--color-lime);
}

.book-retailers--light .book-retailers__logo img {
  filter: brightness(0);
}

/* ==========================================================================
   3–5. Book Stats (photo background rows)
   ========================================================================== */

.book-stat {
  padding: 40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 228px;
  text-align: center;
}

.book-stat__inner {
  max-width: 1242px;
  margin: 0;
}

.book-stat__small {
  font-size: 90px;
  font-weight: 900;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  padding: 0;
}

.book-stat__bold {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1;
  margin: 0;
}

/* ==========================================================================
   6. Book Description
   ========================================================================== */

.book-description {
  padding: 80px;
  background: var(--color-white);
}

.book-description__inner {
  max-width: 1394px;
  margin: 0 auto;
}

.book-description__columns {
  display: flex;
  align-items: center;
  gap: 40px;
}

.book-description__text {
  flex: 1;
  padding: 80px;
}

.book-description__lead {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 40px;
}

.book-description__body {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark);
  line-height: 1.5;
  margin: 0 0 20px;
}

.book-description__photo {
  flex: 1;
  text-align: center;
  z-index: 2;
}

.book-description__photo img {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 100%;
  border: 4px solid var(--color-red);
}

.book-description__closing {
  margin: 0;
  text-align: center;
  padding: 0;
}

.book-description__statement {
  font-size: 58px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 1.0;
  margin: 20px 0;
  padding: 20px 120px;
}

.book-description__statement .gradient-text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.book-description__btn {
  display: inline-block;
  padding: 12px 60px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 120px;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
  transition: background var(--transition-normal);
}

.book-description__btn:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
}

/* ==========================================================================
   7. Download Free Chapter
   ========================================================================== */

.book-download {
  padding: 80px 0 0 200px;
  background: var(--color-white);
}

.book-download__inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  overflow: hidden;
}

.book-download__image {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  width: 1000px;
  z-index: 1;
}

.book-download__image img {
  width: 100%;
  height: auto;
  display: block;
}

.book-download__content {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: max(600px, 45vw);
  z-index: 2;
  background-color: var(--color-lime);
  padding: 60px 80px 80px 80px;
}

/* HubSpot form overrides */
.book-download__form .hs-form {
  margin-top: 10px;
}

.book-download__form .hs-form .hs-form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.book-download__form .hs-form .hs-input {
  width: 100% !important;
  padding: 12px 18px !important;
  font-family: var(--font-family) !important;
  font-size: 0.875rem !important;
  background-color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius-input) !important;
  color: var(--color-dark) !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
}

.book-download__form .hs-form .hs-input:focus {
  outline: 2px solid var(--color-dark) !important;
}

.book-download__form .hs-form .hs-button,
.book-download__form .hs-form input[type="submit"] {
  display: block !important;
  width: 100% !important;
  padding: 14px 30px !important;
  font-family: var(--font-family) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta)) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: 120px !important;
  cursor: pointer !important;
  -webkit-appearance: none;
  appearance: none;
  transition: opacity var(--transition-fast);
  box-shadow: none !important;
}

.book-download__form .hs-form .hs-button:hover,
.book-download__form .hs-form input[type="submit"]:hover {
  opacity: 0.9;
}

.book-download__form .hs-form .hs-error-msgs {
  color: var(--color-dark);
  font-size: 12px;
  margin-top: 4px;
  list-style: none;
  padding: 0;
}

.book-download__content > * {
  max-width: 500px;
}

.book-download__heading {
  font-size: 58px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.book-download__text {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 1.4;
  margin: 0 0 30px;
}

/* ==========================================================================
   8. Praise for the Book
   ========================================================================== */

.book-praise {
  padding: 12vh 60px;
  background-color: var(--color-dark);
}

.book-praise__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 60px;
}

.book-praise__left {
  flex: 1;
  margin-bottom: 0;
}

.book-praise__right {
  flex: 1;
}

.book-praise__title {
  font-size: 240px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 0.9;
  margin: 0;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.book-praise__title .gradient-text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.book-praise__subtitle {
  font-size: 90px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 0.9;
  margin: 0 0 40px 40px;
}

.book-praise__quote {
  margin: 40px;
}

.book-praise__quote-icon {
  width: 54px;
  height: auto;
  margin-bottom: 10px;
}

.book-praise__quote-text {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  line-height: 1.5;
  margin: 0 0 10px;
}

.book-praise__quote-author {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* ==========================================================================
   9. About the Authors
   ========================================================================== */

.book-authors {
  padding: 20px;
  background: var(--color-white);
}

.book-authors__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.book-authors__columns {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
}

.book-authors__photo-col {
  flex: 0 0 32%;
  max-width: 35%;
  position: relative;
  padding-bottom: 0;
}

.book-authors__main-photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  border: 1.5px solid #EE4161;
}

.book-authors__story-btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 120px;
  background-color: var(--color-lime);
  border: 2px solid var(--color-lime);
  color: var(--color-dark);
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
  transition: all var(--transition-normal);
}

.book-authors__story-btn:hover {
  background: transparent;
  border-color: var(--color-lime);
  color: var(--color-white);
}

.book-authors__bios-col {
  flex: 1;
  width: 58%;
}

.book-authors__heading {
  font-size: 65px;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -1px;
  line-height: 0.9;
  margin: 0 0 30px;
  text-align: center;
}

.book-authors__heading .gradient-text {
  font-size: 90px;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.book-authors__bio {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 80px;
}

.book-authors__bio-photo {
  width: 100%;
  max-width: 210px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.book-authors__bio-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
}

.book-authors__bio-content p {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark);
  line-height: 1.4;
  margin: 20px 0 0 0;
}

.book-authors__buy {
  text-align: center;
  margin-top: 30px;
}

.book-authors__buy-btn {
  display: inline-block;
  padding: 12px 60px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 120px;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
  transition: background var(--transition-normal);
}

.book-authors__buy-btn:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
}

/* ==========================================================================
   10–11. Handled by shared retailers + home-cta reuse
   ========================================================================== */

/* ==========================================================================
   Scroll Animations (IntersectionObserver-triggered)
   ========================================================================== */

.book-anim-scale {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.book-anim-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.book-anim-stagger-1 { transition-delay: 0.1s; }
.book-anim-stagger-2 { transition-delay: 0.2s; }

/* ==========================================================================
   Responsive — ≤1590px
   ========================================================================== */

@media (max-width: 1590px) {
  /* Hero */
  .book-hero__prepare {
    font-size: 40px;
  }
  .book-hero__title {
    font-size: 90px;
  }
  .book-hero__subtitle {
    font-size: 22px;
  }
  .book-retailers__bulk {
    font-size: 22px;
  }

  /* Book Stats */
  .book-stat__bold {
    font-size: 48px;
  }

  /* Book Description */
  .book-description__statement {
    font-size: 40px;
  }

  /* Download */
  .book-download__heading {
    font-size: 40px;
  }

  /* Praise */
  .book-praise__title {
    font-size: 180px;
  }
  .book-praise__subtitle {
    font-size: 65px;
  }

}

/* ==========================================================================
   Responsive — ≤1200px
   ========================================================================== */

@media (max-width: 1400px) {
  .book-authors__bio {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1200px) {
  .book-hero {
    padding: 200px 80px 20px;
    min-height: 600px;
  }
  .book-hero__prepare {
    font-size: 40px;
  }
  .book-hero__title {
    font-size: 90px;
  }
  
    /* Book Stats */
  .book-stat__bold {
    font-size: 32px;
  }
  .book-stat__small {
  font-size: 90px;
  }
  
    /* Book Description */
  .book-description {
    padding: 40px 20px 80px;
  }
  
  .book-description__lead {
    font-size: 22px;
  }
  
  .book-description__statement {
    font-size: 32px;
    padding: 80px 40px;
  }
  
    /* Download */
  .book-download {
    padding: 40px 0 0 20px;
  }
  
  .book-download__heading {
    font-size: 32px;
  }

  /* Praise */
  .book-praise__title {
    font-size: 68px;
  }
  .book-praise__subtitle {
    font-size: 40px;
  }
  .book-praise__quote {
    margin: 20px;
  }

  /* Download */
    /* Authors — more padding, smaller bio text */
  .book-authors {
    padding: 40px 20px;
    margin: 0;
  }
  
  .book-authors__bios-col {
    flex: 1;
    width: 100%;
    margin: 0;
  }
  
  .book-authors__bio {
    flex: 1;
    width: 100%;
    margin: 20px;
  }

  .book-authors__bio-content p {
    font-size: 18px;
  }
  
  .book-authors__bio-content {
    margin: 20px;
  }
  
  .book-authors__heading {
    font-size: 58px;
    padding: 20px;
  }
  
  .book-authors__bio-content h4 {
    font-size: 24px;
    margin: 0;
    padding: 0;
    line-height: 0.7;
  }
  
  .book-authors__columns {
    padding: 0;
  }
  
  .book-authors__heading .gradient-text {
    font-size: 65px;
  }

  /* Praise — less padding */
  .book-praise {
    padding: 6vh 30px;
  }

  .book-praise__inner {
    padding: 30px;
  }

  /* Description columns — less padding on text */
  .book-description__text {
    padding: 40px;
  }
}

/* ==========================================================================
   Responsive — ≤890px
   ========================================================================== */

@media (max-width: 1100px) {
  .book-authors__columns {
    flex-direction: column;
    align-items: center;
  }
  .book-authors__photo-col {
    flex: none;
    max-width: none;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
  }
  .book-authors__main-photo {
    max-width: 100%;
    width: 100%;
  }
  .book-authors__story-btn {
    bottom: 10rem;
  }
}

@media (max-width: 1000px) {
  .book-download {
    padding: 40px 0 0;
  }
  .book-download__image {
    grid-row: 1;
    width: 100%;
    max-width: none;
    justify-self: center;
    align-self: start;
  }
  .book-download__content {
    grid-row: 2;
    width: 100%;
    justify-self: center;
    padding: 40px;
    text-align: center;
  }
  .book-download__content > * {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .book-authors__columns {
    text-align: center;
  }
  .book-authors__bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 20px 40px;
  }
  .book-authors__bio-photo {
    max-width: 100%;
    width: 300px;
  }
  .book-authors__buy {
    margin-top: 0;
  }
}

@media (max-width: 890px) {
  /* Hero */
  .book-hero {
    padding: 120px 20px;
    min-height: unset;
    display: flex;
    justify-content: center;
  }
  
  .book-hero__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .book-hero__text {
    font-size: 22px;
    margin: 0;
    padding: 0;
  }
  .book-hero__prepare {
    font-size: 32px;
  }
  .book-hero__title {
    font-size: 65px;
    margin-bottom: 20px;
  }
  .book-hero__subtitle {
    font-size: 22px;
    margin: 20px;
  }

  /* Retailers */
  .book-retailers__logo--amazon img,
  .book-retailers__logo--bn img,
  .book-retailers__logo--amplify img {
    width: 160px;
  }

  /* Book Stats */
  .book-stat__bold {
    font-size: 32px;
  }
  .book-stat__small {
    font-size: 90px;
  }

  /* Book Description */
  .book-description__columns {
    flex-direction: column;
    text-align: center;
  }
  .book-description__lead {
    font-size: 22px;
  }
  .book-description__body {
    font-size: 17px;
  }
  .book-description__statement {
    font-size: 32px;
    padding: 20px;
  }

  .book-download__content > * {
    max-width: none;
  }
  .book-download__heading {
    font-size: 32px;
  }
  .book-download__text {
    font-size: 22px;
  }

  /* Praise */
  .book-praise__inner {
    flex-direction: column;
  }
  .book-praise__title {
    font-size: 68px;
    text-align: center;
  }
  .book-praise__subtitle {
    font-size: 40px;
    text-align: center;
  }
  .book-praise__quote {
    text-align: center;
  }
  .book-praise__quote-icon {
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
  }
  .book-praise__inner {
    gap: 0;
  }
  .book-praise__quote-text,
  .book-praise__quote-author {
    font-size: 17px;
    margin-bottom: 2rem;
  }

  /* Authors */
  .book-authors__heading {
    font-size: 32px;
  }
  .book-authors__heading .gradient-text {
    font-size: 40px;
  }
  .book-authors__photo-col {
    width: 100%;
  }
  
  .book-authors__bio-content p {
    margin: 20px 0 0;
    font-size: 17px;
  }
  .book-authors__bios-col {
    flex: 1;
    width: 100%;
    padding: 0 40px;
  }
}

/* ==========================================================================
   Responsive — ≤768px
   ========================================================================== */

@media (max-width: 767px) {
  .book-authors__bio {
    padding: 20px 0;
  }
  .book-authors__bios-col {
    padding: 0;
  }
  .book-authors__story-btn {
    padding: 12px 24px;
    font-size: 12px;
    max-width: 80%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .book-hero__text {
    flex: none;
    max-width: 100%;
    padding: 40px 0;
    text-align: center;
  }
  .book-hero__subtitle {
    margin: 16px 0 24px;
    font-size: 22px;
  }

  /* Book Stats */
  .book-stat__small {
    font-size: 60px;
  }
  .book-stat__bold {
    font-size: 24px;
  }

  /* Book Description */
  .book-description {
    padding: 5vh 20px;
  }
  .book-description__text {
    padding: 20px;
  }
  .book-description__closing {
    padding: 0;
    margin: 0;
  }
  .book-description__statement {
    font-size: 32px;
    padding: 40px 0;
  }

  /* Download */
  .book-download {
    padding: 20px 0 0;
  }
  .book-download__content {
    padding: 30px 20px;
  }

  /* Praise */
  .book-praise {
    padding: 6vh 20px;
  }
  .book-praise__inner {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .book-authors__story-btn {
    bottom: 5rem;
    white-space: nowrap;
  }
}

@media (max-width: 500px) {
  .book-praise__inner {
    padding: 20px 0;
  }
  .book-authors__photo-col {
    padding: 0 1rem;
  }
  .book-authors__bios-col {
    padding: 0;
  }
}