/* =============================================
   WHEN DATA SPEAKS — Luxury Landing Page CSS
   ============================================= */

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy-deep:    #071326;
  --navy-mid:     #0B1F3A;
  --navy-light:   #112949;
  --navy-glass:   rgba(11,31,58,0.65);
  --gold:         #D4AF37;
  --gold-soft:    #F6D365;
  --gold-dim:     #A8883C;
  --gold-glow:    rgba(212,175,55,0.35);
  --white:        #FFFFFF;
  --text-muted:   rgba(255,255,255,0.55);
  --glass-bg:     rgba(255,255,255,0.05);
  --glass-border: rgba(212,175,55,0.2);

  --font-serif:   'Playfair Display', 'Cormorant Garamond', serif;
  --font-sans:    'Inter', sans-serif;

  --radius:       12px;
  --transition:   0.45s cubic-bezier(0.23,1,0.32,1);
  --transition-fast: 0.25s ease;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
.gold { color: var(--gold); }
.gold-text { color: var(--gold); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ── NAV ───────────────────────────────────── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition-fast), backdrop-filter var(--transition-fast);
}
#main-nav.scrolled {
  background: rgba(7,19,38,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo .logo-text {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)) !important;
  color: var(--navy-deep) !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--gold-glow);
}
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  transition: var(--transition-fast);
}
.mobile-menu {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0; z-index: 999;
  background: rgba(7,19,38,0.97);
  backdrop-filter: blur(20px);
  padding: 20px;
  flex-direction: column; gap: 20px;
  border-bottom: 1px solid var(--glass-border);
}
.mobile-menu a {
  font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 0; border-bottom: 1px solid rgba(212,175,55,0.1);
  color: rgba(255,255,255,0.8);
}
.mobile-menu.open { display: flex; }

/* ── SHARED SECTION ELEMENTS ───────────────── */
.section-eyebrow {
  display: block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-header {
  text-align: center;
  padding: 100px 20px 60px;
  position: relative; z-index: 2;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 580px; margin: 0 auto;
  line-height: 1.75;
}

/* ── BUTTONS ──────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  background-size: 200% 200%;
  color: var(--navy-deep);
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 50px;
  position: relative; overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-position 0.5s;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(212,175,55,0.5);
  background-position: 100% 0;
}
.btn-shine {
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.6s;
}
.btn-primary:hover .btn-shine { left: 150%; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 32px;
  background: transparent;
  border: 1.5px solid rgba(212,175,55,0.5);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 50px;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.06);
  box-shadow: 0 0 30px rgba(212,175,55,0.2);
}
.btn-play {
  width: 28px; height: 28px;
  background: var(--gold-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--gold);
}

/* ─────────────────────────────────────────── */
/* HERO                                         */
/* ─────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 80% at 70% 50%, rgba(11,31,58,0.95) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(212,175,55,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #071326 0%, #0B1F3A 40%, #071326 100%);
  animation: heroBgPulse 12s ease-in-out infinite;
}
@keyframes heroBgPulse {
  0%,100% { filter: brightness(1); }
  50%      { filter: brightness(1.06); }
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
#particleCanvas {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.data-streams {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; overflow: hidden;
}
.data-stream {
  position: absolute; left: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  animation: streamFlow 4s linear infinite;
}
@keyframes streamFlow {
  from { transform: translateX(-100%); opacity: 0; }
  30%  { opacity: 0.4; }
  70%  { opacity: 0.4; }
  to   { transform: translateX(200%); opacity: 0; }
}
.city-skyline {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath d='M0,180 L0,120 L30,120 L30,80 L50,80 L50,60 L70,60 L70,80 L90,80 L90,100 L110,100 L110,50 L130,50 L130,70 L150,70 L150,40 L165,40 L165,70 L180,70 L180,100 L200,100 L200,30 L220,30 L220,50 L240,50 L240,70 L260,70 L260,90 L280,90 L280,60 L300,60 L300,20 L315,20 L315,50 L330,50 L330,80 L350,80 L350,110 L370,110 L370,70 L390,70 L390,40 L410,40 L410,60 L430,60 L430,80 L450,80 L450,100 L470,100 L470,50 L490,50 L490,30 L510,30 L510,55 L530,55 L530,80 L550,80 L550,60 L570,60 L570,90 L590,90 L590,110 L610,110 L610,70 L630,70 L630,40 L650,40 L650,20 L665,20 L665,45 L680,45 L680,70 L700,70 L700,90 L720,90 L720,60 L740,60 L740,80 L760,80 L760,100 L780,100 L780,50 L800,50 L800,30 L820,30 L820,55 L840,55 L840,80 L860,80 L860,100 L880,100 L880,70 L900,70 L900,50 L920,50 L920,80 L940,80 L940,100 L960,100 L960,60 L980,60 L980,40 L1000,40 L1000,65 L1020,65 L1020,85 L1040,85 L1040,60 L1060,60 L1060,90 L1080,90 L1080,110 L1100,110 L1100,70 L1120,70 L1120,50 L1140,50 L1140,30 L1155,30 L1155,55 L1170,55 L1170,80 L1190,80 L1190,100 L1210,100 L1210,70 L1230,70 L1230,90 L1250,90 L1250,60 L1270,60 L1270,40 L1290,40 L1290,70 L1310,70 L1310,100 L1330,100 L1330,80 L1350,80 L1350,110 L1370,110 L1370,80 L1395,80 L1395,100 L1420,100 L1420,120 L1440,120 L1440,180 Z' fill='rgba(7,19,38,0.7)'/%3E%3C/svg%3E") center bottom / cover no-repeat;
}

.hero-content {
  position: relative; z-index: 10;
  max-width: 1400px; margin: 0 auto;
  padding: 130px 40px 80px;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 20px; align-items: center;
  width: 100%;
}
.hero-text-col { display: flex; flex-direction: column; gap: 28px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
}
.eyebrow-line { flex: 1; max-width: 60px; height: 1px; background: var(--gold); opacity: 0.5; }
.eyebrow-text {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.hero-title {
  font-family: var(--font-serif);
  line-height: 0.95;
  display: flex; flex-direction: column;
}
.hero-title-line {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  display: block;
  opacity: 0; transform: translateY(40px);
  animation: titleReveal 0.8s var(--transition) forwards;
}
#heroLine1 { animation-delay: 0.2s; }
.hero-title-data {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 50%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(212,175,55,0.5));
  animation-delay: 0.4s !important;
}
#heroLine3 { animation-delay: 0.6s; }
@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  max-width: 480px; line-height: 1.75;
  opacity: 0; animation: fadeUp 0.8s 0.8s var(--transition) forwards;
}
.hero-author-badge {
  display: inline-flex; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 0.8s 1s var(--transition) forwards;
}
.badge-by {
  font-size: 0.75rem; color: var(--text-muted); font-style: italic;
}
.badge-name {
  font-family: var(--font-serif);
  font-size: 1rem; color: var(--gold); font-weight: 600;
  letter-spacing: 0.06em;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 16px;
  opacity: 0; animation: fadeUp 0.8s 1.1s var(--transition) forwards;
}
.hero-stats {
  display: flex; align-items: center; gap: 20px;
  padding-top: 10px;
  opacity: 0; animation: fadeUp 0.8s 1.3s var(--transition) forwards;
}
.stat {
  display: flex; flex-direction: column;
}
.stat-num-row {
  display: flex; align-items: baseline; gap: 1px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 40px; background: rgba(212,175,55,0.3);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL INDICATOR ─────────────────────── */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 1s 2s ease forwards;
}
.scroll-text { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold);
  position: absolute; top: -3px; left: -1px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: -3px; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ═══════════════════════════════════════════
   3D BOOK — MATHEMATICALLY CORRECT GEOMETRY
   Book: W=170px, H=240px, Depth(spine)=40px
   Front:  translateZ(20px)
   Back:   rotateY(180deg) translateZ(20px)
   Spine:  rotateY(90deg) translateZ(85px)   ← half of W=170
   Top:    rotateX(-90deg) translateZ(20px)
   Bottom: rotateX(90deg) translateZ(-20px) translateY(240px)
   ═══════════════════════════════════════════ */
.hero-book-col {
  display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: fadeIn 1.2s 0.5s ease forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* Scene container — sets the perspective; wide to hold orbiting pillar tags */
.book-scene {
  position: relative; width: 560px; height: 560px;
  display: flex; align-items: center; justify-content: center;
  perspective: 900px;
  perspective-origin: 50% 40%;
}
.holo-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.2);
  pointer-events: none;
  animation: holoSpin linear infinite;
}
.ring-1 { width: 320px; height: 320px; animation-duration: 22s; }
.ring-2 { width: 390px; height: 390px; animation-duration: 34s; animation-direction: reverse; border-color: rgba(212,175,55,0.1); }
.ring-3 { width: 460px; height: 460px; animation-duration: 50s; border-color: rgba(212,175,55,0.06); }
@keyframes holoSpin {
  from { transform: rotate(0deg) rotateX(70deg); }
  to   { transform: rotate(360deg) rotateX(70deg); }
}

/* Float wrapper — handles the up-down float only, preserves 3d for children */
.book-wrapper {
  position: relative;
  transform-style: preserve-3d;
  animation: bookFloat 4.5s ease-in-out infinite;
}
@keyframes bookFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-20px); }
}

/* ─────────────────────────────────────────────────────────
   HERO BOOK PHOTO  — real book image, same feel as showcase
   ───────────────────────────────────────────────────────── */
.hero-book-photo-wrap {
  position: relative;
  z-index: 10;
  animation: heroBookFloat 4.5s ease-in-out infinite;
}
@keyframes heroBookFloat {
  0%,100% { transform: translateY(0px);   }
  50%      { transform: translateY(-22px); }
}
.hero-book-photo-inner {
  position: relative;
  cursor: pointer;
  will-change: transform, filter;
  /* JS drives transform — no CSS transition on transform to avoid lag */
  transition: filter 0.4s ease;
  filter: drop-shadow(-18px 24px 55px rgba(0,0,0,0.75))
          drop-shadow(0 0 30px rgba(212,175,55,0.18));
}
.hero-book-photo-inner:hover {
  filter: drop-shadow(-22px 30px 70px rgba(0,0,0,0.85))
          drop-shadow(0 0 55px rgba(212,175,55,0.40));
}
.hero-book-photo-img {
  width: 280px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.hero-book-glow {
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  width: 75%; height: 44px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.38) 0%, transparent 70%);
  filter: blur(16px);
  animation: heroBookFloat 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   PILLAR CENTER BOOK PHOTO
   ───────────────────────────────────────────────────────── */
.pillar-book-photo-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: pillarBookFloat 5s ease-in-out infinite;
}
@keyframes pillarBookFloat {
  0%,100% { transform: translateY(0px);   }
  50%      { transform: translateY(-16px); }
}
.pillar-book-photo-img {
  width: 160px;
  height: auto;
  display: block;
  border-radius: 3px;
  filter: drop-shadow(-10px 14px 35px rgba(0,0,0,0.7))
          drop-shadow(0 0 20px rgba(212,175,55,0.2));
  transition: filter 0.4s, transform 0.4s;
}
.pillar-book-photo-wrap:hover .pillar-book-photo-img {
  filter: drop-shadow(-14px 18px 45px rgba(0,0,0,0.8))
          drop-shadow(0 0 38px rgba(212,175,55,0.42));
  transform: scale(1.05);
}
.pillar-book-photo-glow {
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 30px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.32) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────
   CTA BOOK PHOTO
   ───────────────────────────────────────────────────────── */
.cta-book-photo-float {
  animation: ctaBookPhotoFloat 5s ease-in-out infinite;
}
@keyframes ctaBookPhotoFloat {
  0%,100% { transform: translateY(0px);   }
  50%      { transform: translateY(-24px); }
}
.cta-book-photo-inner {
  position: relative;
  cursor: pointer;
  transition: filter 0.4s ease, transform 0.4s ease;
  filter: drop-shadow(-20px 26px 60px rgba(0,0,0,0.78))
          drop-shadow(0 0 35px rgba(212,175,55,0.22));
}
.cta-book-photo-inner:hover {
  filter: drop-shadow(-26px 34px 80px rgba(0,0,0,0.88))
          drop-shadow(0 0 60px rgba(212,175,55,0.48));
  transform: scale(1.04) rotate(-1.5deg);
}
.cta-book-photo-img {
  width: 300px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.cta-book-photo-glow {
  position: absolute;
  bottom: -24px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 50px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.42) 0%, transparent 70%);
  filter: blur(18px);
  animation: ctaBookPhotoFloat 5s ease-in-out infinite;
  pointer-events: none;
}



/* The actual 3D book — JS drives the rotateY spin */
.book-3d {
  /* W=170, H=240, Depth=40 */
  width: 170px;
  height: 240px;
  position: relative;
  transform-style: preserve-3d;
  cursor: pointer;
  /* NO CSS animation here — JS animates via style.transform */
  will-change: transform;
}
/* Remove the CSS-only spin keyframe — kept only for reference */
/* @keyframes bookAutoSpin removed — JS drives this */

/* All faces — DEFAULT transform-origin (center center) is critical for correct 3D geometry */
.book-face {
  position: absolute;
  top: 0; left: 0;
  backface-visibility: visible;
  /* NO custom transform-origin — default center is required */
}

/* FRONT — translateZ(depth/2) pushes face forward from center; W=170 H=240 D=40 */
.book-front {
  width: 170px; height: 240px;
  transform: translateZ(20px);
  border-radius: 1px 3px 3px 1px;
  overflow: hidden;
  box-shadow: inset -4px 0 12px rgba(0,0,0,0.5);
}
.book-cover-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.book-cover-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0d2347 0%, #071326 60%, #0a1c38 100%);
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  padding: 14px; gap: 5px;
  position: relative;
}
.fallback-top-line { width: 80%; height: 1px; background: var(--gold); opacity: 0.5; }
.fallback-ornament { color: var(--gold); font-size: 1rem; }
.fallback-title {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 800; line-height: 1.1;
  color: var(--gold-soft); text-align: center; letter-spacing: 0.05em;
}
.fallback-divider { width: 50%; height: 1px; background: rgba(212,175,55,0.3); }
.fallback-author { font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(212,175,55,0.7); }
.fallback-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.fallback-bottom-ornament { font-size: 0.55rem; color: var(--gold); letter-spacing: 0.15em; position: relative; z-index: 1; }

/* Specular shine overlay */
.book-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 30%,
    transparent 60%);
  border-radius: inherit;
}

/* BACK — rotateY(180deg) flips face, then translateZ(depth/2) pushes it back */
.book-back {
  width: 170px; height: 240px;
  transform: rotateY(180deg) translateZ(20px);
  overflow: hidden;
  border-radius: 3px 1px 1px 3px;
  background: #06111e;
}
.book-back-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.book-back-fallback {
  width: 100%; height: 100%;
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px; gap: 10px; text-align: center;
  background: linear-gradient(145deg, #0a1c35, #071326);
}
.back-quote {
  font-family: var(--font-serif);
  font-size: 0.55rem; font-style: italic; line-height: 1.6;
  color: rgba(212,175,55,0.7);
}
.back-author { font-size: 0.45rem; color: var(--gold); letter-spacing: 0.08em; display: block; margin-top: 8px; }

/* SPINE — translateX(-W/2) slides face to left edge, rotateY(-90deg) rotates it outward
   W=170, so translateX(-85px). Face width = D = 40px */
.book-spine {
  width: 40px; height: 240px;
  transform: translateX(-85px) rotateY(-90deg);
  background: linear-gradient(to right,
    #020c18 0%,
    #061628 30%,
    #0e2d54 60%,
    #061628 85%,
    #020c18 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 18px 0;
  box-shadow: inset -2px 0 6px rgba(0,0,0,0.6), inset 2px 0 4px rgba(212,175,55,0.08);
}
.spine-title {
  font-family: var(--font-serif);
  font-size: 0.44rem; letter-spacing: 0.14em;
  writing-mode: vertical-rl; transform: rotate(180deg);
  color: var(--gold); text-transform: uppercase;
  white-space: nowrap;
}
.spine-author {
  font-size: 0.38rem; letter-spacing: 0.1em;
  writing-mode: vertical-rl; transform: rotate(180deg);
  color: rgba(212,175,55,0.55); text-transform: uppercase;
  white-space: nowrap;
}

/* TOP — translateY(-H/2) moves to top edge, rotateX(90deg) tilts face upward
   H=240, so translateY(-120px). Face height = D = 40px */
.book-top {
  width: 170px; height: 40px;
  transform: translateY(-120px) rotateX(90deg);
  background: linear-gradient(to bottom,
    #e8e0cc 0%, #d4c9a8 30%, #c8bfa0 60%, #b8af92 100%);
  /* pages texture */
  background-image:
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 1px,
      rgba(0,0,0,0.06) 1px,
      rgba(0,0,0,0.06) 2px
    ),
    linear-gradient(to bottom, #e8e0cc, #c0b890);
}

/* BOTTOM — translateY(H/2) moves to bottom edge, rotateX(-90deg) tilts face downward
   H=240, so translateY(120px). Face height = D = 40px */
.book-bottom {
  width: 170px; height: 40px;
  transform: translateY(120px) rotateX(-90deg);
  background: linear-gradient(to top,
    #c0b890 0%, #d4c9a8 60%, #e0d8b8 100%);
  background-image:
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 1px,
      rgba(0,0,0,0.05) 1px,
      rgba(0,0,0,0.05) 2px
    ),
    linear-gradient(to top, #c0b890, #ddd5b0);
}

/* Particle canvas around the book */
#bookParticles {
  position: absolute; inset: -60px;
  pointer-events: none; z-index: 5;
  width: calc(100% + 120px); height: calc(100% + 120px);
}

/* ─────────────────────────────────────────────────────
   7 PILLAR ORBIT TAGS — elliptical orbit around the book
   ───────────────────────────────────────────────────── */
.pillar-orbit {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 20;
}

/* Each tag: glassmorphism pill with number + name */
.orbit-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(7, 19, 38, 0.82);
  border: 1px solid rgba(212,175,55,0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 7px 14px 7px 10px;
  pointer-events: auto;
  cursor: default;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 0 18px rgba(212,175,55,0.12), 0 4px 16px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.orbit-tag:hover {
  border-color: rgba(212,175,55,0.8);
  box-shadow: 0 0 30px rgba(212,175,55,0.35), 0 4px 20px rgba(0,0,0,0.6);
  transform: scale(1.07);
}
.ot-num {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ot-name {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: #f0e6c0;
  line-height: 1.3;
}

/* ── Position each tag around the book ──────────
   Book is centered in 560×560px scene.
   Center = 280px, 280px.
   Tags positioned on an ellipse Rx=245 Ry=225
   Angles spread evenly: 0°, ~51°, ~103°, ~154°, ~206°, ~257°, ~309°
   x = cx + Rx*cos(angle)  y = cy + Ry*sin(angle)
   We use top/left and translate(-50%,-50%) to center each tag.
   Staggered float animations for organic feel.              */

/* Angle 0° → right-center  (270° = top for CSS = -90° math) */
/* Spread: 360/7 ≈ 51.4°, start from -72° (top-right cluster) */

/* Tag 1 — top right  (−72°) */
.ot-1 {
  top: 14%;  left: 78%;
  transform: translate(-50%, -50%);
  animation: orbitFloat1 4.0s ease-in-out infinite;
}
/* Tag 2 — right (+0° ish) */
.ot-2 {
  top: 36%;  left: 91%;
  transform: translate(-50%, -50%);
  animation: orbitFloat2 4.4s 0.4s ease-in-out infinite;
}
/* Tag 3 — bottom right */
.ot-3 {
  top: 63%;  left: 84%;
  transform: translate(-50%, -50%);
  animation: orbitFloat3 3.8s 0.8s ease-in-out infinite;
}
/* Tag 4 — bottom center */
.ot-4 {
  top: 82%;  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbitFloat4 4.2s 1.2s ease-in-out infinite;
}
/* Tag 5 — bottom left */
.ot-5 {
  top: 66%;  left: 14%;
  transform: translate(-50%, -50%);
  animation: orbitFloat5 4.6s 0.6s ease-in-out infinite;
}
/* Tag 6 — left */
.ot-6 {
  top: 38%;  left: 5%;
  transform: translate(-50%, -50%);
  animation: orbitFloat6 4.1s 1.0s ease-in-out infinite;
}
/* Tag 7 — top left */
.ot-7 {
  top: 13%;  left: 22%;
  transform: translate(-50%, -50%);
  animation: orbitFloat7 4.5s 1.8s ease-in-out infinite;
}

/* Individual float keyframes with different amplitude/phase for organic feel */
@keyframes orbitFloat1 {
  0%,100% { transform: translate(-50%, -50%) translateY(0px); }
  50%      { transform: translate(-50%, -50%) translateY(-10px); }
}
@keyframes orbitFloat2 {
  0%,100% { transform: translate(-50%, -50%) translateY(0px); }
  50%      { transform: translate(-50%, -50%) translateY(-8px); }
}
@keyframes orbitFloat3 {
  0%,100% { transform: translate(-50%, -50%) translateY(0px); }
  50%      { transform: translate(-50%, -50%) translateY(-12px); }
}
@keyframes orbitFloat4 {
  0%,100% { transform: translate(-50%, -50%) translateY(0px); }
  50%      { transform: translate(-50%, -50%) translateY(-9px); }
}
@keyframes orbitFloat5 {
  0%,100% { transform: translate(-50%, -50%) translateY(0px); }
  50%      { transform: translate(-50%, -50%) translateY(-11px); }
}
@keyframes orbitFloat6 {
  0%,100% { transform: translate(-50%, -50%) translateY(0px); }
  50%      { transform: translate(-50%, -50%) translateY(-7px); }
}
@keyframes orbitFloat7 {
  0%,100% { transform: translate(-50%, -50%) translateY(0px); }
  50%      { transform: translate(-50%, -50%) translateY(-13px); }
}

/* Entrance fade-in for each orbit tag (staggered) */
.orbit-tag {
  opacity: 0;
  animation-fill-mode: both;
}
.ot-1 { animation: orbitFloat1 4.0s ease-in-out infinite, orbitAppear 0.7s 1.2s ease forwards; }
.ot-2 { animation: orbitFloat2 4.4s 0.4s ease-in-out infinite, orbitAppear 0.7s 1.5s ease forwards; }
.ot-3 { animation: orbitFloat3 3.8s 0.8s ease-in-out infinite, orbitAppear 0.7s 1.8s ease forwards; }
.ot-4 { animation: orbitFloat4 4.2s 1.2s ease-in-out infinite, orbitAppear 0.7s 2.1s ease forwards; }
.ot-5 { animation: orbitFloat5 4.6s 0.6s ease-in-out infinite, orbitAppear 0.7s 2.4s ease forwards; }
.ot-6 { animation: orbitFloat6 4.1s 1.0s ease-in-out infinite, orbitAppear 0.7s 2.7s ease forwards; }
.ot-7 { animation: orbitFloat7 4.5s 1.8s ease-in-out infinite, orbitAppear 0.7s 3.0s ease forwards; }
@keyframes orbitAppear {
  from { opacity: 0; filter: blur(4px); }
  to   { opacity: 1; filter: blur(0); }
}

/* Connector: thin gold line from each tag's inner edge toward the book center */
.orbit-tag::after {
  content: '';
  position: absolute;
  width: 40px; height: 1px;
  background: linear-gradient(to right, rgba(212,175,55,0.0), rgba(212,175,55,0.25));
  top: 50%;
  pointer-events: none;
}
/* Left-side tags point right toward center */
.ot-5::after, .ot-6::after, .ot-7::after {
  left: 100%; margin-left: 4px;
  transform: translateY(-50%);
  background: linear-gradient(to right, rgba(212,175,55,0.25), rgba(212,175,55,0.0));
}
/* Right-side tags point left toward center */
.ot-1::after, .ot-2::after, .ot-3::after {
  right: 100%; margin-right: 4px;
  transform: translateY(-50%);
  background: linear-gradient(to left, rgba(212,175,55,0.25), rgba(212,175,55,0.0));
}
/* Bottom center: no connector */
.ot-4::after { display: none; }

/* ─────────────────────────────────────────── */
/* 7 PILLARS SECTION                            */
/* ─────────────────────────────────────────── */
#pillars {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 50%, var(--navy-deep) 100%);
  padding-bottom: 80px;
  overflow: hidden;
}
#pillars::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(212,175,55,0.04) 0%, transparent 70%);
}
.pillars-ecosystem {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  padding: 20px 20px 80px;
}
/* ═══════════════════════════════════════
   PILLAR CENTER BOOK  W=110 H=152 D=28
   Front: translateZ(14)
   Back:  rotateY(180) translateZ(14)
   Spine: rotateY(90)  translateZ(55)   ← W/2=55
   ═══════════════════════════════════════ */
.pillars-center-book {
  width: 180px; height: auto;
  margin: 0 auto 50px;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-book-3d {
  width: 110px; height: 152px;
  transform-style: preserve-3d;
  animation: pillarBookSpin 9s linear infinite;
  position: relative;
}
@keyframes pillarBookSpin {
  0%   { transform: rotateY( 20deg); }
  100% { transform: rotateY(-340deg); }
}
.pillar-book-face { position: absolute; top: 0; left: 0; }
.pillar-book-front {
  width: 110px; height: 152px;
  transform: translateZ(14px);
  overflow: hidden; border-radius: 1px 3px 3px 1px;
  box-shadow: inset -3px 0 8px rgba(0,0,0,0.5);
}
.pillar-cover-img  { width: 100%; height: 100%; object-fit: cover; display: block; }
.pillar-cover-fallback {
  width: 100%; height: 100%; display: none;
  background: linear-gradient(145deg, #0f2540, #071326);
  border: 1px solid rgba(212,175,55,0.3);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px; text-align: center;
}
.pf-title {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 800; color: var(--gold); line-height: 1.1;
}
/* PILLAR SPINE — W=110, translateX(-55px) + rotateY(-90deg) */
.pillar-book-spine {
  width: 28px; height: 152px;
  background: linear-gradient(to right, #020c18, #061628, #0e2d54, #061628, #020c18);
  transform: translateX(-55px) rotateY(-90deg);
  box-shadow: inset -2px 0 4px rgba(0,0,0,0.6);
}
.pillar-book-back {
  width: 110px; height: 152px;
  background: #071326;
  transform: rotateY(180deg) translateZ(14px);
  overflow: hidden;
}
/* PILLAR TOP — H=152, translateY(-76px) + rotateX(90deg) */
.pillar-book-top {
  width: 110px; height: 28px;
  transform: translateY(-76px) rotateX(90deg);
  background: repeating-linear-gradient(to right, transparent, transparent 1px, rgba(0,0,0,0.05) 1px, rgba(0,0,0,0.05) 2px), linear-gradient(#e0d8b8, #c8bf98);
}
.center-glow-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,175,55,0.12) 0%, transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1);   opacity: 0.8; }
  50%      { transform: translate(-50%,-50%) scale(1.2); opacity: 0.4; }
}

/* Pillar cards grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  position: relative; z-index: 5;
}
.pillar-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.pillar-card:hover {
  border-color: rgba(212,175,55,0.6);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(212,175,55,0.2), 0 0 0 1px rgba(212,175,55,0.3);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-number {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--gold);
  margin-bottom: 12px;
}
.pillar-icon-wrap {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: all 0.35s;
}
.pillar-card:hover .pillar-icon-wrap {
  background: linear-gradient(135deg, rgba(212,175,55,0.3), rgba(212,175,55,0.1));
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}
.pillar-name {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
  line-height: 1.3;
}
.pillar-name .tm { font-size: 0.6em; vertical-align: super; color: var(--gold); }
.pillar-desc {
  font-size: 0.8rem; color: var(--text-muted);
  line-height: 1.65;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.pillar-card:hover .pillar-desc {
  max-height: 80px; opacity: 1;
}
.pillar-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.pillar-card:hover .pillar-line { transform: scaleX(1); }

/* ─────────────────────────────────────────── */
/* TRANSFORMATION SECTION                       */
/* ─────────────────────────────────────────── */
#transformation {
  position: relative;
  padding: 0 0 100px;
  overflow: hidden;
}
.transform-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #06101e 100%);
}
.transform-container {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  align-items: start;
}
.transform-panel {
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.before-panel {
  background: linear-gradient(145deg, rgba(20,30,50,0.8), rgba(10,18,35,0.9));
  border: 1px solid rgba(80,100,140,0.3);
  backdrop-filter: blur(8px);
}
.after-panel {
  background: linear-gradient(145deg, rgba(10,25,45,0.9), rgba(7,20,38,0.95));
  border: 1px solid rgba(212,175,55,0.35);
  box-shadow: 0 0 60px rgba(212,175,55,0.08);
  backdrop-filter: blur(8px);
}
.panel-badge {
  display: inline-block;
  padding: 5px 16px; border-radius: 20px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 22px;
}
.before-badge { background: rgba(80,100,140,0.25); color: rgba(180,200,230,0.7); border: 1px solid rgba(80,100,140,0.3); }
.after-badge  { background: rgba(212,175,55,0.15); color: var(--gold); border: 1px solid rgba(212,175,55,0.4); }

/* Before visual */
.before-visual, .after-visual {
  margin-bottom: 24px; min-height: 160px;
  border-radius: 12px; padding: 16px; overflow: hidden;
}
.before-visual { background: rgba(10,15,30,0.6); }
.after-visual  { background: rgba(7,20,38,0.7); }

.chaos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 10px;
}
.chaos-chart {
  height: 40px; border-radius: 4px;
  background: rgba(80,100,140,0.25);
  position: relative; overflow: hidden;
}
.chaos-chart::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 3px,
    rgba(80,100,140,0.15) 3px, rgba(80,100,140,0.15) 6px
  );
}
.chaos-chart.c1::before { content: ''; position: absolute; top: 30%; left: 0; right: 0; height: 2px; background: rgba(100,130,180,0.4); transform: rotate(5deg); }
.chaos-chart.c2::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: rgba(100,130,180,0.4); transform: rotate(-8deg); }
.chaos-labels {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px;
}
.chaos-label {
  font-size: 0.48rem; font-family: monospace;
  color: rgba(100,140,200,0.5);
  background: rgba(30,50,80,0.5);
  padding: 2px 6px; border-radius: 3px;
  border: 1px solid rgba(80,110,160,0.2);
}
.exec-silhouette {
  width: 40px; height: 55px;
  background: rgba(60,80,120,0.4);
  border-radius: 8px 8px 0 0;
  position: relative;
}
.exec-silhouette::before {
  content: ''; position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(60,80,120,0.4);
}
.confused-exec { display: flex; align-items: flex-end; gap: 10px; margin-top: 8px; }
.exec-thought-bubble {
  display: flex; gap: 5px; align-items: center;
}
.exec-thought-bubble span {
  font-size: 1rem; color: rgba(100,140,200,0.5);
  animation: confusedThought 1.5s ease-in-out infinite;
}
.exec-thought-bubble span:nth-child(2) { animation-delay: 0.3s; }
.exec-thought-bubble span:nth-child(3) { animation-delay: 0.6s; }
@keyframes confusedThought {
  0%,100% { opacity: 0.3; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1.1); }
}

/* After visual */
.narrative-dash {
  background: rgba(5,15,28,0.8);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 10px; padding: 12px; margin-bottom: 10px;
}
.nd-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.nd-title { font-size: 0.65rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; }
.nd-status { font-size: 0.55rem; color: #4CAF50; }
.nd-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.nd-chart { display: flex; align-items: flex-end; gap: 4px; height: 50px; }
.nc-bar {
  flex: 1; height: var(--h);
  background: linear-gradient(to top, var(--gold-dim), var(--gold-soft));
  border-radius: 3px 3px 0 0;
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: bottom;
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.nd-insight {
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 8px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.insight-label { font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.insight-text  { font-size: 0.6rem; line-height: 1.4; color: rgba(255,255,255,0.75); font-style: italic; }

.after-exec { background: rgba(212,175,55,0.15); }
.inspired-exec { display: flex; align-items: flex-end; gap: 10px; margin-top: 8px; }
.exec-clarity {
  display: flex; flex-direction: column; gap: 3px;
}
.exec-clarity span {
  font-size: 0.6rem; color: var(--gold);
  background: rgba(212,175,55,0.1);
  padding: 2px 8px; border-radius: 10px;
  border: 1px solid rgba(212,175,55,0.2);
}
.panel-items { display: flex; flex-direction: column; gap: 10px; }
.panel-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem;
  padding: 10px 14px; border-radius: 8px;
}
.before-item {
  background: rgba(80,100,140,0.1);
  border: 1px solid rgba(80,100,140,0.15);
  color: rgba(180,200,230,0.7);
}
.after-item {
  background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.15);
  color: rgba(255,255,255,0.85);
}
.before-item .item-icon { color: rgba(150,170,210,0.5); font-size: 1rem; }
.after-item  .item-icon { color: var(--gold); font-size: 1rem; }

/* Energy wave */
.energy-wave-container {
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding-top: 80px; gap: 12px;
}
.wave-core {
  position: relative; width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.wave-pulse {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--gold);
  animation: wavePulse 2.5s ease-out infinite;
}
.w1 { width: 100%; height: 100%; animation-delay: 0s; }
.w2 { width: 100%; height: 100%; animation-delay: 0.6s; }
.w3 { width: 100%; height: 100%; animation-delay: 1.2s; }
@keyframes wavePulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.wave-icon { font-size: 1.5rem; position: relative; z-index: 2; color: var(--gold); }
.wave-label {
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase;
  writing-mode: vertical-rl;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 14px 6px; border-radius: 20px;
}

/* ─────────────────────────────────────────── */
/* AUTHOR SECTION                               */
/* ─────────────────────────────────────────── */
#author {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.author-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(212,175,55,0.06) 0%, transparent 70%),
    linear-gradient(160deg, #071326 0%, var(--navy-mid) 50%, #071326 100%);
}
.author-container {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center;
}
.author-visual-col { position: relative; }
.author-portrait-frame {
  position: relative; width: 280px; margin: 0 auto;
}
.portrait-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.2);
  animation: pringSpin linear infinite;
}
.pr-1 { width: 320px; height: 320px; top: -20px; left: -20px; animation-duration: 25s; }
.pr-2 { width: 370px; height: 370px; top: -45px; left: -45px; animation-duration: 40s; animation-direction: reverse; border-color: rgba(212,175,55,0.1); }
@keyframes pringSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.author-portrait {
  width: 280px; height: 360px;
  border-radius: 20px;
  background: linear-gradient(145deg, #112949, #071f3a);
  border: 1px solid rgba(212,175,55,0.35);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(212,175,55,0.1);
}
.author-monogram {
  font-family: var(--font-serif);
  font-size: 5rem; font-weight: 700;
  color: var(--gold); opacity: 0.8;
  position: relative; z-index: 2;
}
.author-light-beam {
  position: absolute; top: -20%; left: -10%; width: 50%; height: 130%;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
  transform: rotate(-15deg);
  pointer-events: none;
}
.portrait-badge {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  border: 1px solid rgba(212,175,55,0.4);
  padding: 8px 20px; border-radius: 30px;
  white-space: nowrap; box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.pb-icon { color: var(--gold); font-size: 0.8rem; }
.pb-text { font-size: 0.65rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.8); }
.author-credentials {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 50px;
}
.cred-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 10px 16px; border-radius: 10px;
  font-size: 0.75rem; color: rgba(255,255,255,0.8);
  transition: all 0.3s;
  animation: floatLabel 3s ease-in-out infinite;
}
.cc-1 { animation-delay: 0s; }
.cc-2 { animation-delay: 0.8s; }
.cc-3 { animation-delay: 1.6s; }
.cred-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}
.cc-icon { font-size: 1.1rem; }

.author-text-col {
  display: flex; flex-direction: column; gap: 30px;
}
.author-name {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.05;
}
.author-quote-block {
  position: relative; padding: 28px 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  backdrop-filter: blur(12px);
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem; line-height: 1;
  color: var(--gold); opacity: 0.4;
  position: absolute;
}
.quote-mark:first-child { top: 8px; left: 10px; }
.quote-close { bottom: -20px; right: 10px; }
.author-quote {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-style: italic; line-height: 1.75;
  color: rgba(255,255,255,0.9);
}
.author-bio {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.8;
}
.author-stats {
  display: flex; gap: 40px;
  padding: 28px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.a-stat { display: flex; flex-direction: column; gap: 4px; }
.a-stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.a-stat-label {
  font-size: 0.65rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────
   AUTHOR — Academic Degrees Block
   ───────────────────────────────────────────────────────── */
.author-degrees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 44px;
}
.degree-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 4px;
}
.degree-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(7,19,38,0.6);
  border: 1px solid rgba(212,175,55,0.18);
  border-left: 3px solid rgba(212,175,55,0.35);
  border-radius: 10px;
  padding: 10px 14px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateX(-18px);
  animation: degreeSlideIn 0.6s ease forwards;
}
.degree-item:hover {
  border-left-color: var(--gold);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 0 22px rgba(212,175,55,0.12);
  transform: translateX(4px);
}
.di-1 { animation-delay: 0.2s; }
.di-2 { animation-delay: 0.4s; }
.di-3 { animation-delay: 0.6s; }
.di-4 { animation-delay: 0.8s; }
@keyframes degreeSlideIn {
  to { opacity: 1; transform: translateX(0); }
}
/* PhD row glows gold */
.degree-phd {
  border-left-color: var(--gold) !important;
  background: rgba(212,175,55,0.06);
}
.degree-icon {
  font-size: 1.1rem;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.1);
  border-radius: 8px;
  flex-shrink: 0;
}
.degree-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.degree-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}
.degree-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.degree-badge {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.degree-badge-phd {
  background: rgba(212,175,55,0.22);
  border-color: var(--gold);
  animation: phdPulse 2.5s ease-in-out infinite;
}
@keyframes phdPulse {
  0%,100% { box-shadow: 0 0 6px rgba(212,175,55,0.3); }
  50%      { box-shadow: 0 0 18px rgba(212,175,55,0.65); }
}

/* ─────────────────────────────────────────────────────────
   AUTHOR — Bio highlight text
   ───────────────────────────────────────────────────────── */
.bio-highlight {
  color: var(--gold-soft);
  font-weight: 700;
  font-style: normal;
}

/* ─────────────────────────────────────────────────────────
   AUTHOR — Career Journey Timeline
   ───────────────────────────────────────────────────────── */
.author-journey {
  background: rgba(7,19,38,0.55);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
}
.journey-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 16px;
}
.journey-track {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}
.journey-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.jn-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(212,175,55,0.35);
  border: 2px solid rgba(212,175,55,0.5);
  transition: all 0.3s;
  position: relative;
}
.jn-active .jn-dot {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
}
.jn-pulse .jn-dot {
  background: var(--gold);
  border-color: var(--gold);
  animation: jnPulse 2s ease-in-out infinite;
}
@keyframes jnPulse {
  0%,100% { box-shadow: 0 0 8px rgba(212,175,55,0.5), 0 0 0 0 rgba(212,175,55,0.35); }
  50%      { box-shadow: 0 0 20px rgba(212,175,55,0.8), 0 0 0 8px rgba(212,175,55,0); }
}
.jn-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.jn-text span {
  font-size: 0.56rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.journey-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(212,175,55,0.5), rgba(212,175,55,0.2));
  min-width: 20px;
  margin-bottom: 24px; /* align with dot row */
}

/* ─────────────────────────────────────────────────────────
   HERO STATS — suffix span ("+")
   ───────────────────────────────────────────────────────── */
.stat-suffix {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

/* ─────────────────────────────────────────── */
/* FINAL CTA SECTION                            */
/* ─────────────────────────────────────────── */
#cta {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
}
#ctaParticles {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.cta-bg-radial {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(212,175,55,0.06) 0%, transparent 70%);
}
.cta-content {
  position: relative; z-index: 10;
  max-width: 1100px; margin: 0 auto;
  padding: 100px 40px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center;
}
.cta-book-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cta-glow-halo {
  position: absolute; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,175,55,0.18) 0%, transparent 70%);
  animation: ctaHalo 4s ease-in-out infinite;
}
.cta-glow-halo       { width: 300px; height: 300px; }
.cta-glow-halo.h2    { width: 450px; height: 450px; animation-delay: 1s; opacity: 0.5; }
@keyframes ctaHalo {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.15); opacity: 0.4; }
}
/* ═══════════════════════════════════════
   CTA BOOK  W=190 H=265 D=46
   Front: translateZ(23)
   Back:  rotateY(180) translateZ(23)
   Spine: rotateY(90)  translateZ(95)   ← W/2=95
   Top:   rotateX(-90) translateZ(23)
   ═══════════════════════════════════════ */
/* Float wrapper animates translateY; inner book rotates via JS */
.cta-book-float {
  animation: ctaFloat 5s ease-in-out infinite;
}
@keyframes ctaFloat {
  0%,100% { transform: translateY(0px);   }
  50%      { transform: translateY(-22px); }
}
.cta-book-3d {
  width: 190px; height: 265px;
  position: relative; z-index: 5;
  transform-style: preserve-3d;
  will-change: transform;
  /* JS applies rotateY here */
}
.cta-book-face { position: absolute; top: 0; left: 0; }
.cta-front {
  width: 190px; height: 265px;
  transform: translateZ(23px);
  overflow: hidden; border-radius: 1px 3px 3px 1px;
  box-shadow: inset -4px 0 12px rgba(0,0,0,0.5);
}
.cta-cover-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cta-cover-fallback {
  width: 100%; height: 100%; display: none;
  flex-direction: column; gap: 6px; padding: 20px;
  background: linear-gradient(160deg, #0d2347, #071326);
  align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 800; color: var(--gold);
}
/* CTA SPINE — W=190, translateX(-95px) + rotateY(-90deg) */
.cta-spine {
  width: 46px; height: 265px;
  background: linear-gradient(to right, #020c18, #061628, #0e2d54, #061628, #020c18);
  transform: translateX(-95px) rotateY(-90deg);
  box-shadow: inset -2px 0 6px rgba(0,0,0,0.6);
}
.cta-back {
  width: 190px; height: 265px;
  transform: rotateY(180deg) translateZ(23px);
  overflow: hidden; background: #06111e;
}
/* CTA TOP — H=265, translateY(-132.5px) + rotateX(90deg) */
.cta-top {
  width: 190px; height: 46px;
  transform: translateY(-132px) rotateX(90deg);
  background: repeating-linear-gradient(to right, transparent, transparent 1px, rgba(0,0,0,0.05) 1px, rgba(0,0,0,0.05) 2px), linear-gradient(#e0d8b8, #c0b888);
}

.cta-text { display: flex; flex-direction: column; gap: 28px; }
.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
}
.cta-sub {
  font-size: 1rem; color: var(--text-muted); line-height: 1.75;
  max-width: 440px;
}
.btn-cta-main {
  display: inline-flex; align-items: center;
  position: relative; overflow: hidden;
  border-radius: 50px;
  width: fit-content;
  box-shadow: 0 0 40px rgba(212,175,55,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-cta-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(212,175,55,0.5);
}
.btn-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft), var(--gold));
  background-size: 200% 200%;
  color: var(--navy-deep);
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 50px;
  position: relative; z-index: 2;
  transition: background-position 0.5s;
}
.btn-cta-main:hover .btn-inner { background-position: 100% 0; }
.btn-icon-large { font-size: 0.8rem; }
.btn-glow-ring {
  position: absolute; inset: -3px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  filter: blur(12px); opacity: 0.5; z-index: 1;
  animation: glowRing 2s ease-in-out infinite;
}
@keyframes glowRing {
  0%,100% { opacity: 0.4; filter: blur(12px); }
  50%      { opacity: 0.7; filter: blur(18px); }
}
.cta-trust {
  display: flex; align-items: center; gap: 12px;
}
.trust-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.trust-text { font-size: 0.75rem; color: var(--text-muted); }

/* ─────────────────────────────────────────── */
/* FOOTER                                       */
/* ─────────────────────────────────────────── */
#footer {
  background: #04101e;
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 50px 0 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); }
.footer-links {
  display: flex; gap: 30px;
}
.footer-links a {
  font-size: 0.75rem; color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.25); }

/* Images default shown; JS handles fallback logic */
.book-cover-img     { display: block; }
.book-cover-fallback { display: none; }
.pillar-cover-img   { display: block; }
.pillar-cover-fallback { display: none; }
.cta-cover-img      { display: block; }
.cta-cover-fallback  { display: none; }
.book-back-img      { display: block; }
.book-back-fallback { display: none; }
.author-real-photo  { display: block; }

/* ── PREMIUM BOOK FALLBACK COVER ─────────── */
.book-cover-fallback,
.pillar-cover-fallback,
.cta-cover-fallback {
  background: linear-gradient(160deg, #0d2347 0%, #071326 60%, #0a1c38 100%) !important;
}

/* Book fallback ornamental lines */
.book-cover-fallback::before {
  content: '';
  position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 1px;
  pointer-events: none;
}
.book-cover-fallback::after {
  content: '';
  position: absolute; top: 12px; left: 12px; right: 12px; bottom: 12px;
  border: 1px solid rgba(212,175,55,0.08);
  border-radius: 1px;
  pointer-events: none;
}

/* Cta fallback */
.cta-cover-fallback {
  font-family: var(--font-serif) !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 20px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.2em !important;
  font-weight: 800 !important;
}

/* ── ADDITIONAL GLOW EFFECTS ─────────────── */

/* ─────────────────────────────────────────── */
/* HERO SUBTITLE TAG                            */
/* ─────────────────────────────────────────── */
.hero-subtitle-tag {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(212,175,55,0.6);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  margin-top: -10px;
}
.badge-roles {
  font-size: 0.62rem; letter-spacing: 0.1em;
  color: var(--text-muted); font-style: italic;
}

/* ─────────────────────────────────────────── */
/* BOOK REAL IMAGES                             */
/* ─────────────────────────────────────────── */
.book-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.book-back-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.book-back-fallback {
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px; gap: 10px; text-align: center;
}
.book-back-img + .book-back-fallback { display: none; }

/* ─────────────────────────────────────────── */
/* BOOK SHOWCASE SECTION                        */
/* ─────────────────────────────────────────── */
#book-showcase {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.showcase-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 60%);
}
.showcase-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(212,175,55,0.07) 0%, transparent 70%);
}
.showcase-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center;
}
.showcase-book-wrap {
  display: flex; justify-content: center; align-items: center;
}
.showcase-3d-img {
  position: relative;
  filter: drop-shadow(-20px 20px 60px rgba(0,0,0,0.7));
  transition: transform 0.5s ease, filter 0.5s ease;
}
.showcase-3d-img:hover {
  transform: translateY(-12px) rotate(-2deg);
  filter: drop-shadow(-25px 30px 80px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(212,175,55,0.25));
}
.showcase-img {
  max-width: 320px; border-radius: 4px;
  animation: showcaseFloat 5s ease-in-out infinite;
}
@keyframes showcaseFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.showcase-glow {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 40px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.3) 0%, transparent 70%);
  filter: blur(15px);
  animation: showcaseFloat 5s ease-in-out infinite;
}
.showcase-text { display: flex; flex-direction: column; gap: 24px; }
.showcase-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem,4vw,3.2rem); font-weight: 800; line-height: 1.1;
}
.showcase-tagline {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  padding: 10px 18px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px;
  display: inline-block;
  background: rgba(212,175,55,0.05);
}
.showcase-desc {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.8;
}
.showcase-pillars-mini {
  display: flex; flex-direction: column; gap: 8px;
}
.showcase-pillars-mini span {
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}
.showcase-creds {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.cred-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  font-size: 0.75rem; color: rgba(255,255,255,0.8);
  transition: all 0.3s;
}
.cred-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 15px rgba(212,175,55,0.15);
}

/* ─────────────────────────────────────────── */
/* 6 CORE CONCEPTS SECTION                      */
/* ─────────────────────────────────────────── */
#concepts {
  position: relative;
  padding: 0 0 100px;
  overflow: hidden;
}
.concepts-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #060f1c 100%);
}
.concepts-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 80%, rgba(212,175,55,0.04) 0%, transparent 60%);
}
.concepts-grid {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 40px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.concept-card {
  background: linear-gradient(145deg, rgba(17,41,73,0.6), rgba(7,19,38,0.8));
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  cursor: default;
}
.concept-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.concept-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,0.07) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.concept-card:hover {
  border-color: rgba(212,175,55,0.45);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 40px rgba(212,175,55,0.1);
}
.concept-card:hover::before { opacity: 1; }
.concept-card:hover::after  { opacity: 1; }
.concept-number {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 900;
  color: rgba(212,175,55,0.1);
  line-height: 1;
  position: absolute; top: 20px; right: 24px;
  transition: color 0.4s;
}
.concept-card:hover .concept-number { color: rgba(212,175,55,0.2); }
.concept-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all 0.4s;
}
.concept-card:hover .concept-icon {
  background: linear-gradient(135deg, rgba(212,175,55,0.25), rgba(212,175,55,0.1));
  box-shadow: 0 0 25px rgba(212,175,55,0.25);
  transform: scale(1.1);
}
.concept-title {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
  line-height: 1.3;
}
.concept-subtitle {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.concept-desc {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.75;
}
.concept-insight {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(212,175,55,0.06);
  border-left: 2px solid rgba(212,175,55,0.4);
  border-radius: 0 8px 8px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  line-height: 1.6;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  opacity: 0;
}
.concept-card:hover .concept-insight {
  max-height: 100px; opacity: 1;
}

/* ─────────────────────────────────────────── */
/* MANIFESTO QUOTES SECTION                     */
/* ─────────────────────────────────────────── */
#manifesto {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.manifesto-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #060f1c 0%, var(--navy-mid) 50%, #060f1c 100%);
}
.manifesto-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.manifesto-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto; padding: 0 40px;
}
.quotes-carousel {
  position: relative;
  min-height: 200px;
  margin: 20px 0 30px;
}
.quote-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  opacity: 0; transition: opacity 0.8s ease;
  pointer-events: none;
  gap: 20px;
}
.quote-slide.active {
  opacity: 1; pointer-events: auto; position: relative;
}
.qs-mark {
  font-family: var(--font-serif);
  font-size: 5rem; line-height: 0.6;
  color: var(--gold); opacity: 0.35;
  align-self: flex-start;
}
.quote-slide blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic; line-height: 1.7;
  color: rgba(255,255,255,0.9);
}
.quote-slide cite {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
}
.cdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(212,175,55,0.2);
  border: 1px solid rgba(212,175,55,0.4);
  cursor: pointer; transition: all 0.3s;
}
.cdot.active {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(212,175,55,0.5);
  transform: scale(1.2);
}

/* ─────────────────────────────────────────── */
/* AUTHOR SECTION — REAL PHOTO                  */
/* ─────────────────────────────────────────── */
.author-portrait-img-wrap {
  width: 320px; height: 420px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212,175,55,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(212,175,55,0.12);
}
.author-real-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.author-real-photo:hover { transform: scale(1.04); }
.author-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(7,19,38,0.5) 80%,
    rgba(7,19,38,0.9) 100%
  );
  pointer-events: none;
}
.author-portrait-frame {
  position: relative; width: 320px; margin: 0 auto;
}
.portrait-glow-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.25);
  animation: pringSpin linear infinite;
}
.pr-1 { width: 370px; height: 370px; top: 25px; left: -25px; animation-duration: 25s; }
.pr-2 { width: 420px; height: 420px; top: 0px; left: -50px; animation-duration: 40s; animation-direction: reverse; border-color: rgba(212,175,55,0.1); }

.author-tagline-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: -10px;
}
.at-tag {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.at-tag.gold { color: var(--gold); }
.at-dot { color: var(--gold); font-size: 1rem; }

.author-acg-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.acg-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(212,175,55,0.05);
  border: 1px solid rgba(212,175,55,0.1);
  transition: all 0.3s;
}
.acg-item:hover {
  border-color: rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.1);
}
.acg-item span {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.acg-item small {
  font-size: 0.72rem; color: var(--text-muted); line-height: 1.5;
}

/* ─────────────────────────────────────────── */
/* BACK COVER REVEAL SECTION                    */
/* ─────────────────────────────────────────── */
#back-cover {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.bc-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #06101e 0%, var(--navy-mid) 60%, #06101e 100%);
}
.bc-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 30% 50%, rgba(212,175,55,0.06) 0%, transparent 70%);
}
.bc-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center;
}
.bc-text-col { display: flex; flex-direction: column; gap: 28px; }
.bc-quote-box {
  padding: 24px 28px;
  background: var(--glass-bg);
  border: 1px solid rgba(212,175,55,0.25);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  backdrop-filter: blur(12px);
}
.bc-bq {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-style: italic;
  line-height: 1.7; color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}
.bc-cite {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.bc-list { display: flex; flex-direction: column; gap: 10px; }
.bc-list-item {
  display: flex; align-items: center; gap: 12px;
}
.bc-tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 8px 16px; border-radius: 6px;
  transition: all 0.3s;
}
.bc-list-item:hover .bc-tag {
  background: rgba(212,175,55,0.14);
  border-color: rgba(212,175,55,0.45);
  color: var(--gold);
}
.bc-isbn {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.72rem; color: var(--text-muted);
  letter-spacing: 0.08em;
}
.isbn-label {
  background: var(--gold); color: var(--navy-deep);
  padding: 3px 8px; border-radius: 4px;
  font-weight: 700; font-size: 0.65rem;
}
.isbn-web { color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; }
.bc-image-col {
  display: flex; justify-content: center; align-items: center;
}
.bc-img-frame {
  position: relative;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.7));
  transition: transform 0.5s ease;
}
.bc-img-frame:hover { transform: translateY(-10px); }
.bc-cover-img {
  max-width: 280px; border-radius: 4px;
  border: 1px solid rgba(212,175,55,0.2);
}
.bc-img-glow {
  position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 30px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.3) 0%, transparent 70%);
  filter: blur(12px);
}

/* ─────────────────────────────────────────── */
/* CTA ISBN ROW                                 */
/* ─────────────────────────────────────────── */
.cta-isbn-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.08em;
}
.cta-isbn-row a:hover { text-decoration: underline; }

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px);  }
.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }

/* ─────────────────────────────────────────── */
/* RESPONSIVE                                   */
/* ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text-col { order: 2; align-items: center; }
  .hero-book-col { order: 1; }
  .hero-eyebrow { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .author-container { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .author-portrait-frame { margin: 0 auto; }
  .author-stats { justify-content: center; }
  .cta-content { grid-template-columns: 1fr; text-align: center; align-items: center; }
  .cta-text { align-items: center; }
  .transform-container { grid-template-columns: 1fr; gap: 20px; }
  .energy-wave-container { flex-direction: row; padding: 0 20px; }
  .wave-label { writing-mode: horizontal-tb; padding: 6px 14px; }
  .showcase-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .showcase-book-wrap { justify-content: center; }
  .showcase-pillars-mini span { border-left: none; padding-left: 0; text-align: center; }
  .showcase-creds { justify-content: center; }
  .concepts-grid { grid-template-columns: repeat(2, 1fr); }
  .bc-inner { grid-template-columns: 1fr; gap: 40px; }
  .bc-image-col { order: -1; }
  .author-tagline-row { justify-content: center; }
  .author-acg-row { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 110px 20px 60px; }
  .book-scene { width: 320px; height: 360px; }
  /* Mobile orbit: shrink tags */
  .ot-name { font-size: 0.5rem; }
  .ot-num  { width: 18px; height: 18px; font-size: 0.42rem; }
  .orbit-tag { padding: 5px 10px 5px 7px; gap: 5px; }
  /* Mobile book: W=130 H=178 D=30 — correct formula */
  .book-3d  { width: 130px; height: 178px; }
  .book-front { width: 130px; height: 178px; transform: translateZ(15px); }
  .book-back  { width: 130px; height: 178px; transform: rotateY(180deg) translateZ(15px); }
  .book-spine { width: 30px;  height: 178px; transform: translateX(-65px) rotateY(-90deg); }
  .book-top   { width: 130px; height: 30px;  transform: translateY(-89px) rotateX(90deg); }
  .book-bottom{ width: 130px; height: 30px;  transform: rotateX(90deg)  translateZ(163px); }
  .holo-ring.ring-1 { width: 260px; height: 260px; }
  .holo-ring.ring-2 { width: 310px; height: 310px; }
  .holo-ring.ring-3 { width: 360px; height: 360px; }
  .section-header { padding: 60px 20px 40px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .author-container { padding: 0 20px; }
  .cta-content { padding: 80px 20px; }
  .author-stats { flex-direction: column; gap: 20px; align-items: center; }
  .concepts-grid { grid-template-columns: 1fr; padding: 0 20px 40px; }
  .bc-inner { padding: 0 20px; }
  .showcase-inner { padding: 0 20px; }
  .manifesto-inner { padding: 0 20px; }
  .author-portrait-img-wrap { width: 280px; height: 360px; }
  .author-portrait-frame { width: 280px; }
}
@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .book-scene { width: 240px; height: 300px; }
  .author-acg-row { grid-template-columns: 1fr; }
}
