/*
Theme Name: Mavacy Book Landing
Theme URI: https://mavacy.com
Author: Black Bottle IT
Author URI: https://blackbottle.io
Description: Custom landing page theme for "Don't Die Before You Sell Your Law Firm" by Michael S. Melfi
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: mavacy-book
*/

/* ============================================================
   DESIGN TOKENS — Mavacy Brand
   ============================================================ */
:root {
  /* Colors */
  --navy:         #0D2E58;
  --navy-dark:    #091E3A;
  --navy-light:   #1A4B8C;
  --blue-medium:  #3D6BA3;
  --blue-light:   #6B9BD1;
  --blue-pale:    #A8C5E8;
  --blue-mist:    #E8F0F8;
  --orange:       #D4883A;
  --orange-dark:  #B87230;
  --white:        #FFFFFF;
  --cream:        #F8F5F0;
  --text-muted:   #4A6B8A;
  --border:       #E8F0F8;

  /* Typography */
  --font-base: 'Open Sans', sans-serif;
  --fw-normal: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Spacing */
  --section-py: 5rem;
  --section-py-lg: 8rem;
  --container-max: 1200px;
  --container-px: 1.5rem;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13,46,88,.08), 0 1px 2px rgba(13,46,88,.06);
  --shadow-md: 0 4px 12px rgba(13,46,88,.10), 0 2px 4px rgba(13,46,88,.08);
  --shadow-lg: 0 10px 30px rgba(13,46,88,.15), 0 4px 8px rgba(13,46,88,.08);
  --shadow-xl: 0 25px 60px rgba(13,46,88,.20);
  --shadow-orange: 0 8px 24px rgba(212,136,58,.25);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-base);
  font-weight: var(--fw-normal);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-py { padding-top: var(--section-py); padding-bottom: var(--section-py); }
@media (min-width: 1024px) {
  .section-py { padding-top: var(--section-py-lg); padding-bottom: var(--section-py-lg); }
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.eyebrow {
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(212,136,58,.35);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(13,46,88,.3);
}
.btn-outline:hover {
  background: rgba(13,46,88,.05);
}

.btn-lg { padding: 1.025rem 2rem; font-size: 1.025rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(212,136,58,.25);
}

/* ============================================================
   TOP BAR
   ============================================================ */
#topbar {
  background: var(--orange);
  padding: 0.875rem 1rem;
  text-align: center;
}
#topbar p {
  color: var(--white);
  font-weight: var(--fw-semibold);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
  padding: 5rem 0;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%230D2E58' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--orange); }
.hero-title .light  { color: var(--navy); }

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-bullets { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.875rem; }
.hero-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: rgba(13,46,88,.8);
}
.hero-bullet-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(212,136,58,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.hero-bullet-icon svg { width: 0.875rem; height: 0.875rem; color: var(--orange); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Book Cover */
.hero-book-wrap {
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-book-wrap { justify-content: flex-end; } }

.hero-book-inner {
  position: relative;
  display: inline-block;
}
.hero-book-glow {
  position: absolute;
  inset: -2rem;
  background: radial-gradient(ellipse at center, rgba(107,155,209,.3) 0%, rgba(13,46,88,.1) 60%, transparent 80%);
  border-radius: 2rem;
  filter: blur(2rem);
  opacity: 0.7;
}
.hero-book-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s ease;
  width: clamp(260px, 40vw, 480px);
}
.hero-book-img:hover { transform: scale(1.02) rotate(-0.5deg); }
.hero-book-img img { width: 100%; height: auto; }

.hero-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  font-size: 0.9375rem;
  box-shadow: var(--shadow-orange);
  white-space: nowrap;
  will-change: transform;
  animation: badgePulse 2.5s ease-in-out infinite;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1.8s ease-in-out infinite;
  opacity: 0.4;
}
.scroll-cue svg { width: 1.5rem; height: 1.5rem; color: var(--navy); }

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
#stats-bar {
  background: var(--navy-dark);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  transition: background 0.2s;
}
.stat-item:hover .stat-icon { background: rgba(212,136,58,.25); }
.stat-value {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--blue-mist); }

.testimonials-track-wrap { position: relative; }
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-slide {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
}
@media (min-width: 768px)  { .testimonial-slide { flex: 0 0 min(340px, 50vw); } }
@media (min-width: 1024px) { .testimonial-slide { flex: 0 0 calc(25% - 1.125rem); } }

.testimonial-card { height: 100%; display: flex; flex-direction: column; padding: 1.5rem; }

.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.stars svg { width: 1.25rem; height: 1.25rem; fill: var(--orange); }

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-result {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background: rgba(13,46,88,.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: var(--fw-semibold);
  font-size: 0.8125rem;
  flex-shrink: 0;
}
.author-name { font-weight: var(--fw-semibold); font-size: 0.9375rem; color: var(--navy); }

/* Carousel nav */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(13,46,88,.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--navy); }

.carousel-arrows {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 0.5rem;
}
@media (min-width: 768px) { .carousel-arrows { display: flex; } }

.carousel-arrow {
  pointer-events: all;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.carousel-arrow:hover { background: var(--navy); color: var(--white); }
.carousel-arrow svg { width: 1.5rem; height: 1.5rem; }

/* ============================================================
   CHAPTER BREAKDOWN
   ============================================================ */
#chapters { background: var(--white); }

.chapters-list-card { padding: 2rem; margin-bottom: 2rem; }
.chapters-list-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.chapters-list-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: rgba(13,46,88,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.chapters-list-title { font-size: 1.125rem; font-weight: var(--fw-bold); }
.chapters-list-sub { font-size: 0.875rem; color: var(--text-muted); }

.chapters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) { .chapters-grid { grid-template-columns: 1fr 1fr; gap: 0 3rem; } }

.chapter-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(232,240,248,.7);
}
.chapter-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(13,46,88,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
}
.chapter-text { font-size: 0.875rem; color: rgba(13,46,88,.8); line-height: 1.5; }

/* Book Parts */
.book-parts { background: var(--blue-mist); border-radius: var(--radius-2xl); padding: 2.5rem; margin-bottom: 2rem; }
.book-parts-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.book-parts-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.book-parts-icon svg { width: 1.25rem; height: 1.25rem; color: var(--white); }
.book-parts-title { font-size: 1.125rem; font-weight: var(--fw-bold); }
.book-parts-sub { font-size: 0.875rem; color: var(--text-muted); }

/* .parts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
@media (min-width: 1024px) { .parts-grid { grid-template-columns: repeat(5, 1fr); } } */
.parts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 600px) { .parts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .parts-grid { grid-template-columns: repeat(5, 1fr); } }

.part-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.part-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.part-label {
  font-size: 0.6875rem;
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.part-label::after { content: ''; flex: 1; height: 1px; background: rgba(212,136,58,.25); }
.part-title { font-size: 0.8125rem; font-weight: var(--fw-semibold); color: var(--navy); line-height: 1.4; }

/* Community Banner */
.community-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
  border-radius: var(--radius-2xl);
  padding: 3rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .community-banner { grid-template-columns: 1fr auto; } }
.community-banner h3 {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.community-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
}
.community-icon svg { width: 1.25rem; height: 1.25rem; color: var(--white); }
.community-banner p { color: rgba(255,255,255,.75); font-size: 0.9375rem; line-height: 1.7; }
.community-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.community-tag {
  padding: 0.5rem 1.25rem;
  background: var(--orange);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--white);
  transition: background 0.2s;
  cursor: default;
}
.community-tag:hover { background: var(--orange-dark); }

/* ============================================================
   COMMUNITY TAG TOOLTIPS
   ============================================================ */
.community-tag {
  position: relative;
}

.community-tag::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #e8f1f8;
  color: #000000;
  font-size: 0.8125rem;
  font-weight: var(--fw-normal);
  line-height: 1.6;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  width: 220px;
  text-align: center;
  white-space: normal;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(4px);
  z-index: 100;
}

/* Arrow pointing down */
.community-tag::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
}

/* Show on hover */
.community-tag:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.community-tag:hover::before {
  opacity: 1;
}

/* ============================================================
   AUTHOR JOURNEY
   ============================================================ */
#author-journey { background: var(--white); }

.journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .journey-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.journey-photo-wrap { position: relative; }
.journey-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.journey-photo-frame::before,
.journey-photo-frame::after {
  content: '';
  position: absolute;
  inset: -1rem;
  border: 2px solid;
  border-radius: calc(var(--radius-xl) + 1rem);
  pointer-events: none;
}
.journey-photo-frame::before { border-color: rgba(13,46,88,.15); }
.journey-photo-frame::after  { border-color: rgba(212,136,58,.15); transform: translate(1rem, 1rem); }
.journey-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.journey-content { display: flex; flex-direction: column; gap: 1.5rem; }
.journey-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  color: var(--navy);
}
.journey-title .accent { color: var(--navy-light); }
.journey-body { font-size: 1rem; color: var(--text-muted); line-height: 1.75; }

/* Timeline */
.timeline { position: relative; padding-top: 1rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--navy), var(--blue-light));
}
.timeline-items { display: flex; flex-direction: column; gap: 1.25rem; }
.timeline-item { position: relative; padding-left: 2rem; }
.timeline-dot {
  position: absolute;
  left: -3px;
  top: 0.4rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
}
.timeline-year { font-weight: var(--fw-bold); color: var(--orange); margin-right: 0.5rem; }
.timeline-label { font-weight: var(--fw-semibold); color: var(--navy); }
.timeline-desc { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ============================================================
   ABOUT AUTHOR
   ============================================================ */
#about-author { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 2fr 3fr; gap: 4rem; } }

/* .author-photo-col { position: sticky; top: 2rem; } */
.author-photo-col { position: static; }

@media (min-width: 1024px) {
  .author-photo-col { position: sticky; top: 2rem; }
}
.author-photo-wrap { position: relative; margin-bottom: 2.5rem; }
.author-photo-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1/1;
}

.author-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.author-name-badge {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  font-size: 0.9375rem;
  white-space: nowrap;
  box-shadow: var(--shadow-orange);
}
.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  margin-top: 1.5rem;
}
.author-stat {
  background: var(--blue-mist);
  border-radius: var(--radius-lg);
  padding: 1rem 0.5rem;
  text-align: center;
}
.author-stat-value { font-size: 1.375rem; font-weight: var(--fw-extrabold); color: var(--navy); display: block; }
.author-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }

.author-bio { display: flex; flex-direction: column; gap: 1.25rem; }
.author-bio p { font-size: 1rem; color: var(--navy); line-height: 1.8; }
.author-bio .highlight { color: var(--orange); font-weight: var(--fw-semibold); }

.author-quote {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  background: linear-gradient(135deg, rgba(13,46,88,.04), rgba(107,155,209,.08));
  border-radius: var(--radius-xl);
  margin-top: 0.5rem;
}
.author-quote-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2rem;
  height: 2rem;
  color: rgba(212,136,58,.25);
  fill: currentColor;
}
.author-quote p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.author-quote cite { font-size: 0.875rem; color: var(--text-muted); font-style: normal; }

/* ============================================================
   BONUS MATERIALS
   ============================================================ */
#bonus { background: var(--cream); }

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px)  { .bonus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bonus-grid { grid-template-columns: repeat(3, 1fr); } }

.bonus-card { padding: 1.5rem; }
.bonus-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.bonus-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(212,136,58,.1), rgba(212,136,58,.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.2s;
}
.bonus-card:hover .bonus-icon { transform: scale(1.1); }
.bonus-value {
  padding: 0.25rem 0.875rem;
  background: rgba(212,136,58,.12);
  color: var(--orange);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}
.bonus-title {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.bonus-card:hover .bonus-title { color: var(--orange); }
.bonus-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.bonus-total {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
}
.bonus-total-label { font-size: 1rem; margin-bottom: 0.5rem; opacity: 0.9; }
.bonus-total-amount { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: var(--fw-extrabold); margin-bottom: 1rem; }
.bonus-total-note { font-size: 0.9375rem; opacity: 0.8; max-width: 500px; margin: 0 auto; line-height: 1.6; }

/* ============================================================
   PRICING - New CTA 
   ============================================================ */

#pricing.path-cta{
  box-sizing: border-box;
  width: 100%;
  background: var(--navy);
  padding: 80px 24px;
}
#pricing.path-cta *{
  box-sizing: border-box;
}
.path-cta__wrap{
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.path-cta__eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.path-cta__title{
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 16px;
}
.path-cta__sub{
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 48px;
}

.path-cta__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
}

.path-card{
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border-radius: 18px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.path-card:hover{
  transform: translateY(-4px);
}

.path-card--primary{
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.5);
}
.path-card--primary:hover{
  box-shadow: 0 34px 70px -22px rgba(0,0,0,0.55);
}

.path-card--secondary{
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.16);
}
.path-card--secondary:hover{
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.28);
}

.path-card__icon{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}
.path-card--primary .path-card__icon{
  background: rgba(226,120,42,0.12);
  color: var(--orange);
}
.path-card--secondary .path-card__icon{
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.path-card__icon svg{
  width: 24px;
  height: 24px;
}

.path-card__tag{
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(226,120,42,0.1);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.path-card__tag--alt{
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
}

.path-card--primary .path-card__title{
  color: var(--navy);
}
.path-card--secondary .path-card__title{
  color: #fff;
}
.path-card__title{
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.path-card--primary .path-card__body{
  color: #5b6472;
}
.path-card--secondary .path-card__body{
  color: rgba(255,255,255,0.68);
}
.path-card__body{
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 28px;
  flex-grow: 1;
}

.path-card__cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--orange);
}
.path-card__cta--alt{
  color: #fff;
}
.path-card__arrow{
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}
.path-card:hover .path-card__arrow{
  transform: translateX(4px);
}

/* Tablet / mobile */
@media (max-width: 760px){
  #pricing.path-cta{
    padding: 60px 20px;
  }
  .path-cta__grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .path-card{
    padding: 32px 26px;
  }
  .path-cta__sub{
    margin-bottom: 36px;
  }
}





/* 
 #pricing { background: var(--navy-dark); }
#pricing .section-title { color: var(--white); }
#pricing .section-subtitle { color: rgba(255,255,255,.65); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto 4rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }

.pricing-card { position: relative; overflow: hidden; padding: 2rem; }
.pricing-card-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.pricing-card-stripe.olive  { background: linear-gradient(90deg, #6B7C3A, #8A9E4A); }
.pricing-card-stripe.orange { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }

.pricing-badge {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 1rem;
  border: 1px solid;
}
.pricing-badge.olive  { background: rgba(107,124,58,.1); color: #6B7C3A; border-color: rgba(107,124,58,.25); }
.pricing-badge.orange { background: rgba(212,136,58,.1); color: var(--orange); border-color: rgba(212,136,58,.25); }

.pricing-card h3 { font-size: 1.125rem; font-weight: var(--fw-semibold); margin-bottom: 0.25rem; }
.pricing-card-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.pricing-amount { margin-bottom: 0.375rem; }
.pricing-was { font-size: 1.25rem; color: var(--text-muted); text-decoration: line-through; margin-right: 0.5rem; }
.pricing-now { font-size: 3rem; font-weight: var(--fw-extrabold); color: var(--navy); }
.pricing-per { font-size: 1.125rem; color: var(--text-muted); }
.pricing-note { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 2rem; }

.pricing-features { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(13,46,88,.8);
}
.pricing-feature svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; }
.pricing-feature svg.olive  { color: #6B7C3A; }
.pricing-feature svg.orange { color: var(--orange); }

.pricing-footer { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,.55);
  font-size: 0.875rem;
}
.trust-badge svg { width: 1.375rem; height: 1.375rem; }
 */



/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--white); }

.faq-list { max-width: 760px; margin: 0 auto 4rem; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--blue-mist);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--shadow-sm); }

.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-question {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--navy);
  line-height: 1.5;
  flex: 1;
  transition: color 0.2s;
}
.faq-trigger:hover .faq-question { color: var(--orange); }
.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(13,46,88,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); background: var(--orange); }
.faq-icon svg { width: 0.875rem; height: 0.875rem; color: var(--navy); }
.faq-item.open .faq-icon svg { color: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-cta { text-align: center; }
.faq-cta p { color: var(--text-muted); margin-bottom: 1rem; }
.faq-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-weight: var(--fw-semibold);
  transition: text-decoration 0.15s;
}
.faq-cta a:hover { text-decoration: underline; }
.faq-cta a svg { width: 1.25rem; height: 1.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand-title { font-size: 1.25rem; font-weight: var(--fw-bold); margin-bottom: 1rem; }
.footer-brand-title .accent { color: var(--orange); }
.footer-brand-desc { font-size: 0.9rem; color: rgba(255,255,255,.6); line-height: 1.7; max-width: 380px; }

.footer-col h4 { font-size: 0.9375rem; font-weight: var(--fw-semibold); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer-sample-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--orange);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  transition: background 0.2s, transform 0.2s;
}
.footer-sample-btn:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   MODAL / PRE-ORDER POPUP
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(9,30,58,.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-xl);
}
.modal-overlay.open .modal-box { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--navy); background: var(--blue-mist); }
.modal-close svg { width: 1.25rem; height: 1.25rem; }

.modal-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(212,136,58,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}
.modal-box h3 { text-align: center; font-size: 1.5rem; font-weight: var(--fw-extrabold); color: var(--navy); margin-bottom: 0.5rem; }
.modal-box p.modal-sub { text-align: center; font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: var(--fw-semibold); color: var(--navy); margin-bottom: 0.5rem; }
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-base);
  font-size: 0.9375rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,46,88,.12); }
.form-input::placeholder { color: rgba(13,46,88,.35); }

.form-privacy { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }
.form-error { font-size: 0.875rem; color: #DC2626; text-align: center; margin-bottom: 0.75rem; }

.modal-success { text-align: center; padding: 1.5rem 0; }
.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.success-icon svg { width: 2rem; height: 2rem; color: #16A34A; }
.modal-success h4 { font-size: 1.25rem; font-weight: var(--fw-bold); color: var(--navy); margin-bottom: 0.5rem; }
.modal-success p { color: var(--text-muted); font-size: 0.9375rem; }

/* ============================================================
   SAMPLE CHAPTER PAGE
   ============================================================ */
.page-header { background: var(--navy-dark); padding: 1.25rem 0; }
.page-header-inner { display: flex; align-items: center; }
.page-header-logo {
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  transition: color 0.2s;
}
.page-header-logo:hover { color: var(--orange); }
.page-header-logo .accent { color: var(--orange); }

.sample-chapter-section {
  padding: 5rem 0;
  background: var(--white);
  min-height: calc(100vh - 200px);
}
.sample-form-card { max-width: 560px; margin: 0 auto; }

.chapter-benefits { margin-top: 3rem; }
.chapter-benefits h3 { font-size: 1.0625rem; font-weight: var(--fw-bold); text-align: center; margin-bottom: 1.5rem; }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 0.875rem; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--blue-mist);
  border-radius: var(--radius-lg);
}
.benefit-check {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: rgba(13,46,88,.08);
  display: flex; align-items: center; justify-content: center;
}
.benefit-check svg { width: 0.875rem; height: 0.875rem; color: var(--navy); }
.benefit-text { font-size: 0.875rem; color: var(--navy); line-height: 1.5; }

.page-footer { background: var(--navy-dark); padding: 2rem 0; text-align: center; }
.page-footer p { font-size: 0.8125rem; color: rgba(255,255,255,.4); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-orange); }
  50% { transform: scale(1.03); box-shadow: 0 12px 32px rgba(212,136,58,.4); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-orange); }
  50% { transform: scale(1.03); box-shadow: 0 12px 32px rgba(212,136,58,.4); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .stats-grid { gap: 1rem; }
}


/* ======== CF7 Form Styles ========== */
   .cf7-success-card {
  text-align: center;
  margin-top: 1rem;
}

.cf7-success-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cf7-success-icon svg {
  width: 2rem;
  height: 2rem;
  color: #16A34A;
}

.cf7-success-card h2 {
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  color: var(--navy);
  margin-bottom: 1rem;
}

.cf7-success-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* VIP Page textarea */
.wpcf7 textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-base);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
  min-height: 60px !important;
}

.wpcf7 textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,46,88,.12);
}

.wpcf7 textarea::placeholder {
  color: rgba(13,46,88,.35);
}



/* ============================================================
   FREE CHAPTER BUTTON — Fill Animation
   ============================================================ */
.btn-free-chapter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  padding: 1.25rem 3rem;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-size: 18px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(212,136,58,.45);
  transition: all 0.3s ease;
  animation: floatBtn 2s ease-in-out infinite; 
}

/* Hover effects limited to desktops/devices that actually support hover pointer */
@media (hover: hover) {
  .btn-free-chapter:hover {
    background: linear-gradient(135deg, var(--orange-dark), var(--orange));
    box-shadow: 0 12px 32px rgba(212,136,58,.6);
    transform: translateY(-2px);
    color: var(--white);
    animation-play-state: paused; 
  }
}

.btn-free-chapter__content {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
}

.btn-free-chapter__content svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  top: -1px;
}

@keyframes floatBtn {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@media (max-width: 855px) {
  .btn-free-chapter {
    width: 100%;
    font-size: 14px;
    padding: 1rem 1.25rem; 
    animation: none !important; 
    transform: none !important; 
    white-space: normal; 
    box-shadow: 0 6px 16px rgba(212,136,58,.3);
  }
  
  .btn-free-chapter:hover {
    transform: none !important; 
  }
}