/* ============================================================
   THE SIMPLICITY TRAP — Landing Page
   Publication-quality design with cinematic 3D effects
   ============================================================ */

/* Override font variables globally for this page */
:root {
  --font-display:  'Playfair Display', 'Georgia', serif;
  --font-editorial: 'Cormorant Garamond', 'Georgia', serif;
  --font-ui:       'Inter', system-ui, sans-serif;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050c1a;
}

/* Vanta animated background container */
#vantaBg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Cinematic overlay — vignette + gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(10,20,60,0.8) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(5,12,26,0.3) 0%, rgba(5,12,26,0.2) 50%, rgba(5,12,26,0.9) 100%);
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1280px;
  width: 100%;
  padding: 60px 60px;
}

/* ── BOOK STAGE ── */
.book-stage {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-3d {
  position: relative;
  width: 280px;
  height: 400px;
  transform-style: preserve-3d;
  perspective: 1200px;
  transform: rotateX(6deg) rotateY(-18deg);
  transition: transform 0.12s ease-out;
  will-change: transform;
}

/* Front face */
.book-face {
  position: absolute;
  inset: 0;
  border-radius: 2px 8px 8px 2px;
  overflow: hidden;
}

.book-front {
  box-shadow:
    8px 16px 50px rgba(0,0,0,0.8),
    0 0 0 1px rgba(201,168,76,0.15),
    inset 3px 0 8px rgba(0,0,0,0.3);
}

.book-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Gloss overlay */
.book-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255,255,255,0.22) 0%,
    rgba(255,255,255,0.06) 25%,
    transparent 55%,
    rgba(0,0,0,0.12) 100%
  );
  pointer-events: none;
  border-radius: 2px 8px 8px 2px;
}

/* Spine */
.book-spine {
  position: absolute;
  top: 0;
  left: -28px;
  width: 28px;
  height: 100%;
  background: linear-gradient(to right, #0a1428, #121e3a, #0d1830);
  border-radius: 6px 0 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transform: rotateY(-90deg) translateX(-14px);
  transform-origin: right center;
  transform-style: preserve-3d;
  box-shadow:
    inset -4px 0 10px rgba(0,0,0,0.6),
    -4px 0 20px rgba(0,0,0,0.5);
}

.spine-title,
.spine-author {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-ui);
  letter-spacing: 0.2em;
  font-size: 8px;
  color: rgba(201,168,76,0.7);
  text-transform: uppercase;
}

.spine-title {
  transform: rotate(180deg);
  font-weight: 600;
}

.spine-author {
  transform: rotate(180deg);
  font-weight: 400;
  opacity: 0.6;
}

/* Top edge */
.book-top {
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(to bottom, #eee 0%, #ccc 100%);
  transform: rotateX(90deg) translateZ(6px);
  transform-origin: bottom center;
}

/* Ground shadow */
.book-shadow {
  width: 220px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55) 0%, transparent 70%);
  margin-top: 24px;
  border-radius: 50%;
  transform: scaleX(1.2);
}

/* Reflection — faint upside-down book */
.book-reflection {
  width: 280px;
  height: 60px;
  margin-top: 6px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.08), transparent);
  border-radius: 0 0 8px 8px;
  transform: scaleY(-1) rotateY(0deg);
  opacity: 0.4;
  filter: blur(4px);
}

/* Publisher tag */
.pub-tag {
  margin-top: 20px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
  text-align: center;
}

/* ── HERO TEXT ── */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 20px;
  opacity: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  font-style: italic;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  opacity: 0;
}

.hero-subtitle {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: rgba(201,168,76,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
  opacity: 0;
}

/* Ornamental rule */
.hero-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
}

.rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.6), transparent);
  max-width: 120px;
}

.rule-ornament {
  font-size: 10px;
  color: var(--gold, #C9A84C);
  letter-spacing: 0;
}

/* By-line */
.hero-byline {
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  opacity: 0;
}

.hero-byline span {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-style: italic;
}

/* CTA button */
.cta-button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #050c1a;
  background: var(--gold, #C9A84C);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.cta-button:hover::before { transform: scaleX(1); }
.cta-button:hover {
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
  transform: translateY(-2px);
}

.cta-arrow {
  transition: transform 0.3s ease;
  font-style: normal;
}
.cta-button:hover .cta-arrow { transform: translateX(5px); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cue-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.7));
  animation: cueDrop 1.5s ease-in-out infinite;
}

@keyframes cueDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  80%  { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ── ARGUMENT SECTION ── */
.section-argument {
  background: var(--dark-card, #0d1830);
  padding: 120px 60px;
}

.section-argument .container {
  max-width: 1100px;
  margin: 0 auto;
}

.argument-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  align-items: flex-start;
}

.argument-number {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(201,168,76,0.08);
  line-height: 1;
  user-select: none;
  letter-spacing: -0.04em;
}

.pull-quote {
  border-left: 2px solid rgba(201,168,76,0.35);
  padding-left: 48px;
}

.pull-quote p {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  color: #c8c8c8;
  line-height: 1.9;
  margin-bottom: 24px;
}

.pull-quote p:last-child { margin-bottom: 0; }


/* ── QUOTE SECTION ── */
.section-quote {
  position: relative;
  padding: 140px 60px;
  background: #050c1a;
  text-align: center;
  overflow: hidden;
}

.quote-bg-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 65%),
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(201,168,76,0.02) 60px, rgba(201,168,76,0.02) 61px);
  pointer-events: none;
}

.section-quote .container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(201,168,76,0.12);
  line-height: 0.6;
  margin-bottom: 20px;
  letter-spacing: -0.05em;
}

.defining-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

.quote-rule {
  width: 80px;
  height: 1px;
  background: var(--gold, #C9A84C);
  margin: 0 auto 28px;
  opacity: 0.6;
}

.quote-attribution {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
}


/* ── AUTHOR SECTION ── */
.section-author {
  padding: 100px 60px;
  background: #070e1f;
  overflow: hidden;
}

.section-author .container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;
  align-items: start;
}

/* Portrait column */
.author-portrait-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.portrait-frame {
  position: relative;
  width: 280px;
}

.author-portrait-img {
  width: 280px;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 2px solid rgba(201,168,76,0.25);
  background: linear-gradient(135deg, #0d1a30 0%, #0a1428 100%);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.6));
}

.portrait-frame:hover .author-portrait-img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}

/* Gold accent border on right edge */
.portrait-border-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.6), transparent);
}

/* Name badge below portrait */
.portrait-name-badge {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-name {
  font-family: var(--font-editorial);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}

.badge-title {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
}

/* Content column */
.author-content-col {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background: #070e1f;
}

.author-section-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 32px;
  position: relative;
  padding-left: 36px;
}

.author-section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--gold, #C9A84C);
}

/* Highlights */
.author-highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 56px;
}

.highlight-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.highlight-item:first-child { border-top: 1px solid rgba(255,255,255,0.05); }

.highlight-item:hover { padding-left: 8px; }

.highlight-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  background: rgba(201,168,76,0.06);
  margin-top: 2px;
}

.highlight-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--gold, #C9A84C);
}

.highlight-text strong {
  display: block;
  font-family: var(--font-editorial);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.highlight-text p {
  font-family: var(--font-ui);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
}

.highlight-text em {
  color: rgba(201,168,76,0.85);
  font-style: normal;
  font-weight: 500;
}

/* Stats */
.author-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 28px 12px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s ease;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(201,168,76,0.05); }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold, #C9A84C);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number .suffix {
  font-size: 0.55em;
  vertical-align: super;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 60px 40px;
  background: #050c1a;
  border-top: 1px solid rgba(201,168,76,0.08);
}

.footer-ornament {
  font-size: 12px;
  color: rgba(201,168,76,0.4);
  margin-bottom: 20px;
}

.footer-publisher {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.15);
}


/* ── GSAP INITIAL STATES ── */
.gsap-fade-left  { opacity: 0; transform: translateX(-40px); }
.gsap-fade-right { opacity: 0; transform: translateX(40px); }
.gsap-fade-up    { opacity: 0; transform: translateY(30px); }
.gsap-stagger    { opacity: 0; transform: translateY(16px); }


/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: auto 1fr;
    gap: 50px;
    padding: 60px 40px;
  }
  .book-3d {
    width: 220px;
    height: 315px;
  }
  .section-author .container {
    grid-template-columns: 340px 1fr;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .book-stage { align-self: center; justify-self: center; }
  .cta-button { align-self: center; }
  .hero-rule { justify-content: center; }
  .section-author { padding: 60px 30px; }
  .section-author .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .author-portrait-col { align-items: center; }
  .portrait-frame { width: 240px; }
  .author-portrait-img { width: 240px; }
  .author-content-col {
    padding: 0;
  }
  .author-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .argument-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .argument-number {
    font-size: 5rem;
  }
}

@media (max-width: 600px) {
  .section-quote { padding: 80px 30px; }
  .hero-content { padding: 60px 24px; }
  .section-argument { padding: 80px 24px; }
  .author-content-col { padding: 50px 24px; }
  .author-stats { grid-template-columns: repeat(2, 1fr); }
  .defining-quote { font-size: 1.5rem; }
}
