
:root {
  color-scheme: dark;

  /* Palette - Unified with Christian Coaching Master Hub */
  --bg-dark: #07101B;
  --bg-surface: #0A1626;
  --bg-card: #0D1B2E;
  --bg-card-hover: #12233B;
  --bg-card-elevated: #172D4A;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #D5DFEC;
  --text-muted: #94A8C4;
  --text-gold: #F1B737;

  /* Borders & Accents */
  --gold-primary: #F1B737;
  --gold-secondary: #D49B2A;
  --gold-light: #F8D063;
  --border-gold: rgba(241, 183, 55, 0.22);
  --border-gold-strong: rgba(241, 183, 55, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Fonts */
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 85% 10%, rgba(241, 183, 55, 0.07), transparent 35%),
    radial-gradient(circle at 15% 90%, rgba(13, 27, 46, 0.6), transparent 50%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(7, 16, 27, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-menu a {
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  color: var(--gold-primary);
  background: rgba(241, 183, 55, 0.08);
}

.nav-menu a.active {
  color: var(--gold-primary);
  border-bottom: 2px solid var(--gold-primary);
  border-radius: 0;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.16;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
}

.tag {
  display: inline-block;
  background: rgba(241, 183, 55, 0.14);
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tag.live {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: #07101B;
  font-weight: 800;
  border: 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: #07101B;
  border: 0;
  box-shadow: 0 4px 18px rgba(241, 183, 55, 0.28);
}

.btn.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(241, 183, 55, 0.4);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
}

.btn.secondary:hover {
  background: rgba(241, 183, 55, 0.12);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.ghost:hover {
  color: var(--text-primary);
  border-color: var(--gold-primary);
  background: rgba(241, 183, 55, 0.06);
}

.btn.small {
  padding: 8px 15px;
  font-size: 0.76rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================================
   CINEMATIC HERO (FOR ALL 5 BOOKS)
   ========================================================================== */
.cinematic-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050607;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-gold);
}

.cinematic-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  filter: saturate(1.1) contrast(1.1);
  z-index: 1;
}

.cinematic-shade {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(3,6,10,0.98) 0%, rgba(3,6,10,0.88) 42%, rgba(3,6,10,0.34) 74%, rgba(3,6,10,0.60) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.86) 90%);
  z-index: 2;
}

.cinematic-wordmark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 6vh;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: clamp(5rem, 19vw, 17rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(241, 183, 55, 0.05);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.cinematic-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.hero-cover-container {
  display: flex;
  justify-content: center;
}

.hero-cover-frame {
  width: min(290px, 80vw);
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  border: 2px solid rgba(241, 183, 55, 0.45);
  background: #04080E;
}

.hero-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   JOURNEY BAND
   ========================================================================== */
.journey-band {
  background: linear-gradient(90deg, rgba(7,16,27,0.98), rgba(13,29,48,0.98));
  border-bottom: 1px solid var(--border-gold);
  padding: 24px 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.journey-grid article span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  font-weight: 800;
  margin-bottom: 4px;
}

.journey-grid article strong {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-family: var(--font-serif);
}

/* ==========================================================================
   BOOK SHOWCASE CARDS (Clean 5-Book Layout)
   ========================================================================== */
.book-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: start;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
}

.book-showcase-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold-strong);
  transform: translateY(-3px);
}

.book-cover-frame {
  width: 140px;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  border: 1px solid rgba(241, 183, 55, 0.3);
  background: #04080E;
}

.book-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER (Version 41 Dated)
   ========================================================================== */
.site-footer {
  background: #04080E;
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 40px;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-version-badge {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  background: rgba(241, 183, 55, 0.1);
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
}

.site-footer h4 {
  font-size: 1.18rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--gold-primary);
}

@media (max-width: 980px) {
  .nav-container { flex-direction: column; padding: 16px 0; gap: 16px; }
  .nav-menu { justify-content: center; gap: 10px; }
  .cinematic-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 24px; }
  .btn-group { justify-content: center; }
  .book-showcase-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .journey-grid, .footer-grid { grid-template-columns: 1fr; }
}
