/* ==========================================================================
   SALES.CSS
   Toilet Issues to Toilet Tissues — Sales Page Styles
   Requires: shared.css (loaded first)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. HERO SECTION  (split layout: text left, book cover right)
   -------------------------------------------------------------------------- */
.hero {
  display: flex;
  background-color: var(--dark-bg);
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 40px 50px;
  gap: 60px;
  align-items: flex-start;
}

.hero-left {
  flex: 1;
  min-width: 0;
}

/* Pill tags above the headline */
.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--orange-brown);
  padding: 4px 10px;
}

.hero-tag.outline {
  background: transparent;
  color: var(--orange-brown);
  border: 1px solid var(--orange-brown);
}

/* Main headline */
h1.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--light-tan);
  line-height: 1.15;
  margin-bottom: 20px;
}

h1.hero-title em {
  font-style: italic;
  color: var(--orange-brown);
}

.hero-sub {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 480px;
}

/* Pull-quote with left border rule */
.hero-quote-small {
  font-family: 'Source Serif 4', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 28px;
  padding-left: 14px;
  border-left: 2px solid var(--border-light);
  line-height: 1.7;
}

/* Book cover column */
.hero-right {
  width: 220px;
  flex-shrink: 0;
}

/* Book cover wrapper — scales to 80 % and floats slightly */
.book-wrap {
  position: relative;
  width: 240px;
  transform: scale(0.80);
  transform-origin: top left;
  margin-top: 60px;
}

.book-cover {
  width: 100%;
  border-radius: 12px;
  animation: float 6s ease-in-out infinite;
}

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


/* --------------------------------------------------------------------------
   2. FEATURED QUOTE BAND
   -------------------------------------------------------------------------- */
.featured-quote-band {
  background-color: var(--orange-brown);
  padding: 36px 40px;
  text-align: center;
}

.featured-quote-band blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  color: #fff;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   3. BODY SIGNALS SECTION
   -------------------------------------------------------------------------- */
.signals-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 40px;
}

.signals-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 14px;
  line-height: 1.2;
  max-width: 580px;
}

.signals-section .intro-text {
  font-size: 13.5px;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.signal-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.signal-item {
  display: flex;
  gap: 20px;
  border: 1px solid var(--border-light);
  border-left: 3px solid rgba(212, 131, 10, 0.4);
  padding: 26px 30px;
  margin-bottom: -1px;
  align-items: flex-start;
}

.signal-icon {
  font-size: 18px;
  color: var(--orange-brown);
  flex-shrink: 0;
  margin-top: 2px;
}

.signal-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 6px;
}

.signal-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   4. FOUR PILLARS (dark background)
   -------------------------------------------------------------------------- */
.pillars-dark {
  background-color: var(--dark-bg);
  padding: 70px 40px;
}

.pillars-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Override section-label colour for dark surface */
.pillars-dark .section-label { color: #c4853a; }

.pillars-dark h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: #f0e0c8;
  margin-bottom: 12px;
}

.pillars-dark .sub-text {
  font-size: 13px;
  color: #9a8060;
  max-width: 380px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* Master-framework highlighted box */
.master-framework {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  margin-bottom: 6px;
  text-align: left;
}

.master-framework-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a8060;
  margin-bottom: 8px;
}

.master-framework-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #f0e0c8;
  margin-bottom: 6px;
}

.master-framework-sub { font-size: 12px; color: #9a8060; }

/* Ghost button within master framework */
.btn-flow-protocol {
  background-color: transparent;
  color: #c8a878;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1.5px solid #c8a878;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-flow-protocol:hover {
  border-color: #f0e0c8;
  color: #f0e0c8;
  transform: translateY(-2px);
}

/* Pillar item list */
.pillar-items {
  text-align: left;
  margin-top: 16px;
}

.pillar-item {
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon-circle {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c8a878;
  font-size: 12px;
  margin-top: 2px;
}

.pillar-item-content h4 {
  font-size: 13px;
  font-weight: 700;
  color: #f0e0c8;
  margin-bottom: 5px;
}

.pillar-item-content p {
  font-size: 12.5px;
  color: #9a8060;
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   5. FLOW PROTOCOL DETAIL BLOCK
   -------------------------------------------------------------------------- */
.flow-protocol {
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 44px 24px;
  margin-top: 40px;
  text-align: left;
}

.flow-protocol .fp-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a8060;
  margin-bottom: 10px;
  text-align: center;
}

.flow-protocol h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #f0e0c8;
  margin-bottom: 14px;
  line-height: 1.3;
  text-align: center;
}

.flow-protocol .fp-intro {
  font-size: 13px;
  color: #9a8060;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
  text-align: center;
}

.fp-btn-wrap {
  text-align: center;
  margin-bottom: 40px;
}

/* Four-week grid */
.fp-weeks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.fp-week {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
}

.fp-week-num {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-brown);
  margin-bottom: 4px;
}

.fp-week-title {
  font-size: 13px;
  font-weight: 700;
  color: #f0e0c8;
  margin-bottom: 6px;
}

.fp-week-desc {
  font-size: 11.5px;
  color: #9a8060;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   6. AUTHOR SECTION (dark variant)
   -------------------------------------------------------------------------- */
.author-dark {
  background-color: var(--dark-bg);
  padding: 60px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.author-dark-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.author-dark-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #f0e0c8;
  margin-bottom: 4px;
}

.author-dark-role {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a8060;
  margin-bottom: 24px;
}

/* Author-stats figures row */
.author-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.author-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: #f0e0c8;
  display: block;
  line-height: 1;
}

.author-stat-desc {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9a8060;
  display: block;
  margin-top: 4px;
}

.author-dark-bio {
  font-size: 13.5px;
  color: #9a8060;
  max-width: 600px;
  margin: 0 auto 14px;
  line-height: 1.8;
}

.author-dark-bio em {
  font-style: italic;
  color: #c8a878;
}


/* --------------------------------------------------------------------------
   7. "WHO THIS BOOK IS FOR" — audience grid
   -------------------------------------------------------------------------- */
.for-section {
  background-color: var(--cream);
  padding: 20px 40px 60px;
}

.for-inner {
  max-width: 860px;
  margin: 0 auto;
}

.for-section h3 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange-brown);
  margin-bottom: 24px;
}

.for-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 28px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.audience-card {
  border: 1px solid var(--border-light);
  padding: 18px 20px;
  margin: -1px -1px 0 0;
}

.audience-card-label {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange-brown);
  margin-bottom: 6px;
}

.audience-card h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 11.5px;
  color: var(--text-light);
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   8. FINAL CALL-TO-ACTION (orange background)
   -------------------------------------------------------------------------- */
.final-cta {
  background-color: var(--orange-brown);
  padding: 70px 40px;
  text-align: center;
}

.final-cta .section-label {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}

.final-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 400px;
  margin: 0 auto 32px;
  line-height: 1.75;
}


/* --------------------------------------------------------------------------
   9. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero                   { flex-direction: column; padding: 40px 24px; gap: 40px; }
  .hero-right             { width: 180px; }
  h1.hero-title           { font-size: 32px; }
  .featured-quote-band blockquote { font-size: 15px; }
  .signals-section h2     { font-size: 26px; }
  .pillars-dark h2        { font-size: 24px; }
  .final-cta h2           { font-size: 28px; }
  .signals-section,
  .for-section            { padding-left: 24px; padding-right: 24px; }
  .pillars-dark,
  .author-dark            { padding-left: 24px; padding-right: 24px; }
  .audience-grid          { grid-template-columns: 1fr 1fr; }
  .fp-weeks               { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1.hero-title           { font-size: 26px; }
  .featured-quote-band blockquote { font-size: 14px; }
  .signals-section h2     { font-size: 22px; }
  .pillars-dark h2        { font-size: 20px; }
  .final-cta h2           { font-size: 24px; }
  .audience-grid          { grid-template-columns: 1fr; }
  .author-stats           { gap: 28px; }
}
