/* ============================================
   Book Landing Page — Cognitive Architecture
   ============================================ */

/* ---- Hero ---- */
.book-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.book-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(196, 135, 77, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(107, 63, 160, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(0, 212, 184, 0.05) 0%, transparent 60%);
  animation: nebulaShift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

.book-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.book-hero-cover {
  position: relative;
  perspective: 1000px;
}

.book-hero-cover img {
  width: 100%;
  border-radius: 8px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(196, 135, 77, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.book-hero-cover:hover img {
  transform: rotateY(0deg) rotateX(0deg);
}

.book-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dune);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.book-hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.book-hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--dune);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.book-hero-tagline {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--star);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.book-hero-status {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---- Sections ---- */
.book-section {
  padding: 7rem 2.5rem;
  position: relative;
}

.book-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.book-section .section-label {
  color: var(--dune);
}

.book-section .section-headline {
  margin-bottom: 3rem;
}

/* Premise */
.book-premise {
  background: var(--abyss-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.premise-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.premise-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--star-muted);
  margin-bottom: 1.25rem;
}

.premise-callout {
  background: var(--nebula-slate);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(196, 135, 77, 0.2);
  position: relative;
}

.callout-stat {
  display: flex;
  flex-direction: column;
}

.callout-number {
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--dune), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.callout-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--star);
  margin-bottom: 1rem;
}

.callout-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--star-muted);
}

/* Inside */
.book-inside {
  background: var(--abyss);
}

.inside-intro,
.for-whom-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--star-muted);
  max-width: 800px;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.inside-card {
  background: var(--abyss-light);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.inside-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 135, 77, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.inside-num {
  font-family: var(--serif);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--dune), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.75rem;
}

.inside-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--star);
  margin-bottom: 0.75rem;
}

.inside-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--star-muted);
}

/* For Whom */
.book-for-whom {
  background: var(--abyss-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.for-whom-card {
  background: var(--nebula-slate);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s;
}

.for-whom-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
}

.for-whom-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--dune);
  margin-bottom: 0.75rem;
}

.for-whom-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--star-muted);
}

/* Author */
.book-author {
  background: var(--abyss);
}

.author-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
}

.author-photo img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.author-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--star-muted);
  margin-bottom: 1.25rem;
}

/* Preorder */
.book-preorder {
  background: var(--abyss-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.preorder-inner {
  max-width: 700px;
  margin: 0 auto;
}

.book-preorder .section-headline {
  margin-bottom: 1.5rem;
}

.preorder-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--star-muted);
  margin-bottom: 3rem;
}

/* Value Stack */
.value-stack {
  background: var(--nebula-slate);
  border-radius: 20px;
  border: 1px solid rgba(196, 135, 77, 0.25);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(196, 135, 77, 0.05);
}

.stack-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stack-label {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dune);
  margin: 0;
}

.stack-item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stack-item:last-of-type {
  border-bottom: none;
}

.stack-num {
  font-family: var(--serif);
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--dune), var(--peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  padding-top: 0.25rem;
}

.stack-content h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--star);
  margin-bottom: 0.5rem;
}

.stack-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--star-muted);
  margin: 0;
}

.stack-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 0.25rem;
}

.stack-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(196, 135, 77, 0.3);
}

.stack-total-label {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--star);
}

.stack-total-value {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--star);
}

.stack-total-value s {
  color: var(--star-dim);
  font-size: 1.2rem;
  margin-right: 0.5rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .value-stack { padding: 1.75rem 1.5rem; }
  .stack-item { grid-template-columns: 40px 1fr; gap: 1rem; }
  .stack-value { grid-column: 2; padding-top: 0.5rem; font-size: 1.2rem; }
  .stack-total { flex-direction: column; gap: 0.5rem; text-align: center; }
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-input {
  flex: 1;
  min-width: 250px;
  padding: 1.1rem 1.5rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--nebula-slate);
  color: var(--star);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--dune);
}

.waitlist-input::placeholder {
  color: var(--star-dim);
}

.preorder-note {
  font-size: 0.9rem;
  color: var(--star-dim);
  margin-top: 1.5rem;
}

.preorder-note a {
  color: var(--dune);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.architects-success {
  display: none;
  background: linear-gradient(135deg, rgba(0, 212, 184, 0.08), rgba(196, 135, 77, 0.05));
  border: 1px solid rgba(0, 212, 184, 0.25);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.architects-success h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.architects-success p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--star-muted);
  margin: 0;
}

.architects-success p a {
  color: var(--dune);
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form input { max-width: 100% !important; width: 100%; }
}

/* Bulk + Speaking */
.book-bulk {
  background: var(--abyss);
}

.bulk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.bulk-card {
  background: var(--nebula-slate);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s;
}

.bulk-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 135, 77, 0.2);
}

.bulk-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--star);
  margin: 0.75rem 0 1rem;
}

.bulk-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--star-muted);
  margin-bottom: 1.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .book-hero-inner { grid-template-columns: 280px 1fr; gap: 3rem; }
  .premise-grid { grid-template-columns: 1fr; gap: 2rem; }
  .inside-grid { grid-template-columns: repeat(2, 1fr); }
  .author-inner { grid-template-columns: 280px 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .book-hero { padding: 6rem 1.25rem 3rem; min-height: auto; }
  .book-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .book-hero-cover { max-width: 240px; margin: 0 auto; }
  .book-hero-tagline { margin-left: auto; margin-right: auto; }
  .book-hero-actions { justify-content: center; }
  .book-section { padding: 4rem 1.25rem; }
  .book-section .section-headline { margin-bottom: 2rem; }
  .inside-grid { grid-template-columns: 1fr; }
  .for-whom-grid { grid-template-columns: 1fr; }
  .author-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .author-photo { max-width: 240px; margin: 0 auto; }
  .bulk-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-input { min-width: 0; width: 100%; }
}
