/* ============================================================
   The Art of Prompting — Landing Page Styles (book.html)
   Palette: Electric Blue (#1b6df9), Cyan Glow (#38bdf8), Dark Navy (#070b14)
============================================================ */

:root {
  --book-blue: #1b6df9;
  --book-blue-hover: #1557c0;
  --book-blue-glow: rgba(27, 109, 249, 0.35);
  --book-cyan: #38bdf8;
  --book-dark: #070b14;
  --book-card: #0e1526;
  --book-card-border: rgba(27, 109, 249, 0.18);
  --book-text-muted: #94a3b8;
}

body.art-of-prompting-page {
  background-color: var(--book-dark) !important;
  color: #e2e8f0;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* Hero Section */
.book-hero {
  position: relative;
  min-height: 85vh;
  padding: 100px 0 80px;
  background-color: var(--book-dark);
  background-image: url('../img/book-hero-bg.png');
  background-repeat: no-repeat;
  background-position: right 8% center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.book-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 20, 0.97) 0%, rgba(7, 11, 20, 0.88) 50%, rgba(7, 11, 20, 0.3) 100%);
  pointer-events: none;
}

.book-hero .container {
  position: relative;
  z-index: 2;
}

.aop-back-link {
  color: var(--book-cyan);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.aop-back-link:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

.tag-line {
  color: var(--book-blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  background: rgba(27, 109, 249, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(27, 109, 249, 0.28);
}

.tag-line.center {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
  width: fit-content;
}

.book-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.aop-highlight {
  color: var(--book-blue);
  background: linear-gradient(135deg, #60a5fa, #1b6df9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(27, 109, 249, 0.25);
}

.book-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  color: #cbd5e1;
  margin-bottom: 22px;
  line-height: 1.35;
}

.book-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.book-divider .line {
  height: 2px;
  width: 45px;
  background: linear-gradient(90deg, var(--book-blue), transparent);
}

.book-divider .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--book-cyan);
}

.book-desc {
  color: var(--book-text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 35px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.btn-selar {
  background: linear-gradient(135deg, #1b6df9, #0d52c7);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(96, 165, 250, 0.3);
  box-shadow: 0 8px 24px var(--book-blue-glow);
}

.btn-selar:hover {
  background: linear-gradient(135deg, #2563eb, #1545a1);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(27, 109, 249, 0.55);
}

.btn-outline-custom {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: rgba(27, 109, 249, 0.12);
  color: var(--book-cyan);
  border-color: var(--book-blue);
}

.aop-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-chip {
  font-size: 13px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-chip i {
  color: var(--book-cyan);
}

.mobile-book-mockup {
  display: none;
  margin-top: 35px;
  text-align: center;
}

.mobile-book-mockup img {
  width: 100%;
  max-width: 260px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Quote Strip */
.aop-quote-strip {
  background: linear-gradient(180deg, #0b101c 0%, #0d1424 100%);
  padding: 60px 0;
  border-top: 1px solid rgba(27, 109, 249, 0.15);
  border-bottom: 1px solid rgba(27, 109, 249, 0.15);
}

.quote-mark {
  font-size: 38px;
  color: var(--book-cyan);
  line-height: 1;
  margin-bottom: 12px;
}

.aop-quote {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.55;
  font-style: italic;
  max-width: 820px;
  margin: 0 auto 16px;
}

.quote-author {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--book-blue);
  margin-bottom: 0;
}

.quote-author span {
  color: #64748b;
  font-weight: 400;
}

/* About the Book Strip */
.about-strip {
  background-color: #090e1a;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-book-card {
  background: var(--book-card);
  border: 1px solid var(--book-card-border);
  border-radius: 16px;
  padding: 40px;
}

.book-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(27, 109, 249, 0.12);
  border: 1px solid rgba(27, 109, 249, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--book-blue);
}

.about-strip h3 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.about-strip p {
  color: var(--book-text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* What you'll learn (Light / White Section) */
.learn-section {
  padding: 85px 0;
  background-color: #ffffff !important;
  border-top: 1px solid #e2e8f0;
}

.learn-section .section-head-tag {
  color: var(--book-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.learn-section .section-head-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: #0f172a !important;
  margin-bottom: 12px;
}

.learn-section .section-head-subtitle {
  color: #64748b;
  font-size: 15.5px;
  max-width: 620px;
  margin: 0 auto;
}

.learn-section .feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 22px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.learn-section .feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--book-blue);
  box-shadow: 0 12px 30px rgba(27, 109, 249, 0.15);
}

.learn-section .feature-icon-wrap {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: rgba(27, 109, 249, 0.08);
  border: 1px solid rgba(27, 109, 249, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--book-blue);
  transition: 0.3s;
}

.learn-section .feature-box:hover .feature-icon-wrap {
  background: var(--book-blue);
  color: #ffffff;
  box-shadow: 0 0 20px var(--book-blue-glow);
}

.learn-section .feature-box h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 12px;
}

.learn-section .feature-box p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Audience Section (Soft Light Contrast) */
.aop-audience-section {
  padding: 85px 0;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.aop-audience-section .section-head-tag {
  color: var(--book-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.aop-audience-section .section-head-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: #0f172a !important;
  margin-bottom: 12px;
}

.aop-audience-section .section-head-subtitle {
  color: #64748b;
  font-size: 15.5px;
  max-width: 620px;
  margin: 0 auto;
}

.audience-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 30px 24px;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: 0.3s ease;
}

.audience-card:hover {
  border-color: var(--book-blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(27, 109, 249, 0.1);
}

.audience-icon {
  font-size: 32px;
  color: var(--book-blue);
  margin-bottom: 16px;
}

.audience-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 0;
}

/* About Author (Pure White Section) */
.author-section {
  padding: 85px 0;
  background-color: #ffffff !important;
}

.author-section .tag-line {
  background: rgba(27, 109, 249, 0.08);
  border: 1px solid rgba(27, 109, 249, 0.2);
}

.author-img {
  border-radius: 14px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 3px solid #ffffff;
}

.author-name {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: #0f172a !important;
  margin-bottom: 16px;
}

.author-bio {
  color: #475569 !important;
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 18px;
}

.author-link {
  color: var(--book-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: 0.2s;
}

.author-link:hover {
  color: var(--book-blue-hover);
  text-decoration: underline;
}

/* CTA Banner Wrapper */
.cta-section-wrapper {
  padding: 60px 0 90px;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0;
}

.cta-banner {
  background: linear-gradient(135deg, #0e172a 0%, #172554 100%);
  border: 1px solid rgba(27, 109, 249, 0.35);
  border-radius: 16px;
  padding: 45px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.cta-icon-wrapper {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #1b6df9, #0284c7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--book-blue-glow);
}

.cta-text h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.cta-text p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14.5px;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
  .book-hero {
    background-position: center top;
    padding: 85px 0 50px;
    text-align: center;
  }

  .book-hero::before {
    background: rgba(7, 11, 20, 0.94);
  }

  .book-desc {
    margin: 0 auto 30px;
  }

  .hero-btn-group {
    justify-content: center;
  }

  .aop-meta-chips {
    justify-content: center;
  }

  .book-divider {
    justify-content: center;
  }

  .tag-line {
    margin: 0 auto 16px;
  }

  .mobile-book-mockup {
    display: block;
  }

  .about-strip .row {
    text-align: center;
  }

  .book-icon-wrapper {
    margin: 0 auto 20px;
  }

  .author-section .row {
    text-align: center;
  }

  .author-section .author-img {
    margin: 0 auto 25px;
  }

  .author-section .d-flex {
    justify-content: center;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 35px 25px;
  }

  .cta-left {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-text {
    text-align: center !important;
  }
}
