/* =========================================
   HERO SECTION REDESIGN
   Existing background is preserved
========================================= */

.hero-redesign {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 0 90px;
  background: transparent;
}

.hero-redesign .hero-layout {
  position: relative;
  width: min(1240px, 90%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(35px, 6vw, 90px);
}

/* =========================================
   LEFT CONTENT
========================================= */

.hero-redesign .hero-content {
  position: relative;
  z-index: 2;
}

.hero-redesign .hero-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 35px;
}

.hero-redesign .docket {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-redesign .stamp {
  border: 1px solid rgba(190, 92, 92, 0.55);
  color: #d78b83;
  padding: 7px 12px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.hero-redesign .hero-heading h1 {
  margin: 0;
  max-width: 750px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(55px, 7.2vw, 100px);
  font-weight: 900;
  line-height: 0.99;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.35);
}

.hero-redesign .hero-heading .l2 {
  display: block;
  font-weight: 900;
  color: #d7b5a0;
  margin-top: 8px;
}

.hero-redesign .sub {
  margin-top: 25px;
  margin-bottom: 0;
  color: #d6a69a;
  font-size: 15px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-redesign .hero-description {
  max-width: 460px;
  margin-top: 24px;
  color: rgba(235, 231, 226, 0.65);
  font-size: 20px;
  line-height: 1.9;
}

/* =========================================
   BUTTONS
========================================= */

.hero-redesign .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-redesign .hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.35s ease;
}

.hero-redesign .hero-actions .btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-redesign .hero-actions .btn:hover svg {
  transform: translateX(5px);
}

/* =========================================
   AUTHOR
========================================= */

.hero-redesign .hero-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 55px;
}

.hero-redesign .author-line {
  width: 40px;
  height: 1px;
  background: #b77b6d;
}

.hero-redesign .byline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================
   3D BOOK PRESENTATION
========================================= */

.hero-redesign .hero-book-area {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
}

.hero-redesign .book-float {
  position: relative;
  z-index: 1;
  width: min(340px, 82%);
  transform-style: preserve-3d;
  animation: bookFloat 5s ease-in-out infinite;
}

.hero-redesign .book-3d {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(3deg);
  filter: drop-shadow(25px 30px 25px rgba(0, 0, 0, 0.5));
  will-change: transform;
}

.hero-redesign .book-cover {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px 7px 7px 3px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
 
}

/* BOOK SPINE */

.hero-redesign .book-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 100%;
  transform: translateX(-18px) rotateY(-90deg);
  transform-origin: right center;
  background: linear-gradient(90deg, #251a1a, #69413b, #251a1a);
  border-radius: 2px 0 0 2px;
}

/* BOOK CAPTION */

.hero-redesign .book-caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 38px;
  color: rgba(220, 192, 179, 0.7);
  font-size: 9px;
  letter-spacing: 3px;
  text-align: center;
}

.hero-redesign .caption-line {
  width: 30px;
  height: 1px;
  background: rgba(190, 130, 110, 0.55);
}

/* =========================================
   BOOK FLOATING ANIMATION
========================================= */

@keyframes bookFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-13px);
  }
}

/* =========================================
   SCROLL INDICATOR
========================================= */

.hero-redesign .hero-scroll {
  position: absolute;
  left: 0;
  bottom: -75px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-redesign .scroll-line {
  width: 75px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero-redesign .scroll-line span {
  display: block;
  height: 100%;
  width: 35%;
  background: #d7a18f;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(300%);
  }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .hero-redesign {
    padding: 110px 0 100px;
  }

  .hero-redesign .hero-layout {
    grid-template-columns: 1fr 0.75fr;
    gap: 25px;
  }

  .hero-redesign .hero-heading h1 {
    font-size: clamp(48px, 7vw, 70px);
    letter-spacing: -2px;
  }

  .hero-redesign .book-float {
    width: min(280px, 95%);
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
  .hero-redesign {
    min-height: auto;
    padding: 115px 0 85px;
  }

  .hero-redesign .hero-layout {
    width: min(100% - 38px, 480px);
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-redesign .hero-top {
    gap: 13px;
    margin-bottom: 28px;
  }

  .hero-redesign .docket {
    font-size: 9px;
    line-height: 1.8;
  }

  .hero-redesign .hero-heading h1 {
    font-size: clamp(47px, 12vw, 68px);
    line-height: 1.02;
    letter-spacing: -2px;
  }

  .hero-redesign .sub {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .hero-redesign .hero-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-redesign .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-redesign .hero-actions .btn {
    width: 100%;
  }

  .hero-redesign .hero-author {
    margin-top: 35px;
  }

  .hero-redesign .hero-book-area {
    margin-top: 5px;
  }

  .hero-redesign .book-float {
    width: min(260px, 72%);
  }

  .hero-redesign .book-caption {
    margin-top: 30px;
    font-size: 8px;
  }

  .hero-redesign .hero-scroll {
    position: relative;
    bottom: auto;
    margin-top: 15px;
  }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
  .hero-redesign .book-float,
  .hero-redesign .scroll-line span {
    animation: none;
  }
}
.cta .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta .rule {
  width: 100%;
}

.cta .row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}