/* 
  Lightweight Landing Page - CSS
  Based on reference screenshots & Next.js original layout
*/

:root {
  color-scheme: dark;
  /* Colors based on provided screenshots */
  --bg-color: #031427; /* Rich dark gradient-like blue base */
  --bg-card: #091a32; /* Slightly lighter inner background */
  --bg-card-hover: #0c213d; /* Subtle hover state */
  --bg-black: #020b14;
  
  --text-main: #f1f5f9;
  --text-muted: #cbd5e1;
  --accent-blue: #bae6fd; /* Light baby blue from text accents */
  --accent-button: #e0f2fe; /* Almost white/blue for button background */
  --border-color: rgba(255, 255, 255, 0.08); /* Subtle border for cards */
  --border-glow: rgba(186, 230, 253, 0.15); /* Light blue glow/border for testimonials */
  
  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Blurred background texture layer */
.page-bg {
  position: fixed;
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  background-image: url('images/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(30px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

/* Ensure all content sits above the blurred bg */
.navbar { z-index: 100; }
section, footer { position: relative; z-index: 1; }

/* Typography Base */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin-top: 0;
  color: #ffffff;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

a {
  text-decoration: none;
}

/* Base Utility Classes */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.pb-md { padding-bottom: var(--sp-md); }
.pt-md { padding-top: var(--sp-md); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.w-full { width: 100%; }

section {
  padding: var(--sp-xl) 0;
}

.relative-section {
  position: relative;
}

/* -------------------------------------
   NAVIGATION 
--------------------------------------*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}

.navbar.scrolled {
  background-color: rgba(2, 11, 20, 0.7);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  pointer-events: auto;
  border-bottom-color: rgba(186, 230, 253, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.navbar-logo {
  font-family: var(--font-serif);
  font-weight: 500;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.navbar-logo:hover {
  opacity: 0.8;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  -webkit-tap-highlight-color: transparent;
}

.navbar-links .btn-primary-nav,
.mobile-nav-ctas .btn-primary-nav {
  background-color: var(--accent-blue);
  color: #041938;
  font-weight: 500;
  padding: 0.4rem 1.1rem; /* Balanced padding */
  border-radius: 5px;
  font-size: 0.8rem; /* Balanced size */
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
}

.navbar-links .btn-primary-nav:hover,
.mobile-nav-ctas .btn-primary-nav:hover {
  background-color: #ffffff;
  transform: none;
  box-shadow: none;
}

.navbar-links .btn-outline-nav,
.mobile-nav-ctas .btn-outline-nav {
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 1rem; /* Balanced padding */
  border-radius: 5px;
  font-size: 0.8rem; /* Balanced size */
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.btn-outline-nav:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav-overlay {
  display: none;
}

.mobile-menu-icon {
  display: none;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
}

.hamburger {
  width: 1.25rem;
  height: 2.5px;
  background-color: #ffffff;
  position: relative;
  border-radius: 1px;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 1.25rem;
  height: 2.5px;
  background-color: #ffffff;
  left: 0;
  border-radius: 1px;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* -------------------------------------
   BUTTONS (General)
--------------------------------------*/
.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-sans);
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--accent-button);
  color: #0f172a;
  border: 1px solid var(--accent-button);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}


/* Image Placeholders (fallback) */
.image-placeholder {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  width: 100%;
}

.placeholder-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Real Image Styles */
.cover-image {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.section-image {
  display: block;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.office-image {
  aspect-ratio: 3 / 4;
}

.benefit-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.author-image {
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  margin-bottom: 2rem;
}


/* -------------------------------------
   1. HERO
--------------------------------------*/
.hero-section {
  padding: 10rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

/* Book cover with glow effect */
.book-glow-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-glow-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(56, 152, 236, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.cover-image {
  display: block;
  width: 100%;
  max-width: 380px; /* Reduced to balance with text column */
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

/* Hero typography */
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--accent-blue), transparent);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #ffffff;
  font-style: italic;
  margin-bottom: 2.5rem;
}

.hero-quote {
  border-left: 2px solid rgba(186, 230, 253, 0.3);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-quote p {
  font-size: 1.05rem;
  color: var(--accent-blue);
  line-height: 1.7;
}

.hero-quote strong {
  color: #ffffff;
  font-weight: 700;
}

.btn-hero {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 6px;
}

/* cover-placeholder kept as fallback if img fails to load */
.cover-placeholder {
  aspect-ratio: 2 / 3;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  background-image: linear-gradient(135deg, #091a32 0%, #153c6e 100%);
}


/* -------------------------------------
   2. STATS (The Problem)
--------------------------------------*/
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.office-placeholder {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
}

.stats-numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.stat-percent {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.stat-title {
  font-weight: 600;
  font-family: var(--font-serif);
  color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.stat-desc {
  color: var(--accent-blue);
  font-size: 0.95rem;
}

.stats-conclusion p {
  margin-bottom: 1rem;
  color: var(--accent-blue);
  font-size: 1.05rem;
}
.stats-conclusion strong {
  color: #ffffff;
}

/* -------------------------------------
   3. EXPERTISE INTRO
--------------------------------------*/
.top-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(186, 230, 253, 0.3), transparent);
}

.expertise-intro {
  padding: 6rem 0;
}

.expertise-intro h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.expertise-intro p {
  color: var(--accent-blue);
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* -------------------------------------
   4. BENEFITS (What's Inside)
--------------------------------------*/
.section-header {
  margin-bottom: 4rem;
}

.section-header p {
  color: var(--accent-blue);
  font-size: 1.05rem;
  max-width: 700px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 2rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  font-weight: 700;
}

.benefit-card p {
  color: var(--accent-blue);
  font-size: 1.05rem;
}

.square-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.05);
}


/* -------------------------------------
   5. FOR WHOM
--------------------------------------*/
.for-whom-section {
  padding: 6rem 0;
}

.for-whom-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.for-whom-item {
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent-blue);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.for-whom-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.for-whom-desc {
  color: var(--accent-blue);
  font-size: 1.05rem;
}


/* -------------------------------------
   6. TESTIMONIALS
--------------------------------------*/
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.quote-card {
  background-color: #051a2e;
  border: 1px solid rgba(186, 230, 253, 0.1);
  border-radius: 8px;
  padding: 2.5rem;
}

.quote-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.quote-card .role {
  color: #a1a1aa; /* greyish */
  font-size: 0.875rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.quote-card blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(161, 161, 170, 0.4);
  color: #fff;
  font-size: 1.05rem;
}


/* -------------------------------------
   7. AUTHORS
--------------------------------------*/
.author-divider {
  max-width: 1100px;
  background: linear-gradient(to right, transparent, rgba(186, 230, 253, 0.2), transparent);
}

.authors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.author-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  margin-bottom: 2rem;
  background-color: #071319;
  border: none;
}

.author-role {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.author-desc {
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
  font-size: 1.05rem;
}

.author-bullets {
  padding-left: 1.25rem;
  color: var(--accent-blue);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.author-bullets li {
  margin-bottom: 0.5rem;
}


/* -------------------------------------
   8. DIGITAL TOOLBOX
--------------------------------------*/
.toolbox-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.toolbox-card {
  background-color: #041224;
  border: 1px solid rgba(186, 230, 253, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  overflow: hidden;
}

.toolbox-visual-wrap {
  margin: -2.5rem -2.5rem 2rem; /* Bleeds image to edges at top */
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(186, 230, 253, 0.1);
}

.toolbox-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.toolbox-card:hover .toolbox-visual {
  transform: scale(1.03);
}

.toolbox-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.toolbox-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.toolbox-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.toolbox-content p {
  color: var(--accent-blue);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.toolbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toolbox-list li {
  margin-bottom: 0.75rem;
}

.toolbox-link {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
  padding: 0.5rem 0.75rem;
  margin: 0 -0.75rem;
  border-radius: 6px;
  width: 100%;
}

.toolbox-link:hover {
  background: rgba(186, 230, 253, 0.08); /* light blue hover bg */
  color: #fff;
  transform: translateX(4px);
}

.toolbox-list .check-icon {
  color: var(--accent-blue);
  margin-right: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}


/* -------------------------------------
   9. PODCAST
--------------------------------------*/
.podcast-section {
  background-color: var(--bg-black);
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.podcast-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.podcast-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(2, 11, 20, 0.2) 0%, rgba(2, 11, 20, 0.8) 60%, var(--bg-black) 100%);
  z-index: 2;
}

.podcast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.podcast-spacer {
  /* Empty space on the left to let the background image show through */
}

.podcast-image {
  display: block;
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.podcast-content p {
  color: var(--accent-blue);
  font-size: 1.05rem;
}

.podcast-badge {
  background-color: #051a2e;
  border-left: 2px solid var(--accent-blue);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.badge-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.badge-desc {
  font-size: 0.95rem;
  color: var(--accent-blue);
}


/* -------------------------------------
   10. FINAL CTA
--------------------------------------*/
.final-cta-section {
  padding: 8rem 0;
}

.central-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background-color: var(--accent-blue);
  border-radius: 100%;
  filter: blur(200px);
  opacity: 0.1;
  pointer-events: none;
}

.final-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 2rem;
}

.final-desc {
  color: var(--accent-blue);
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.final-desc p {
  margin-bottom: 1rem;
}

.bold-white {
  font-weight: 700;
  color: #fff;
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.final-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid rgba(186, 230, 253, 0.2);
  padding-top: 4rem;
}

.stat-large {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
}


/* -------------------------------------
   FOOTER
--------------------------------------*/
.footer {
  background-color: #000;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.3);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy, .footer-disclaimer {
  color: #a1a1aa; /* greyish */
  font-size: 0.875rem;
}

.footer-disclaimer {
  opacity: 0.6;
  font-style: italic;
  max-width: 400px;
  text-align: right;
}


/* -------------------------------------
   ANIMATIONS (Vanilla JS Classes)
--------------------------------------*/
/* Base state before scroll */
.animate-on-scroll,
.animate-fade-up,
.animate-slide-left {
  opacity: 0;
  will-change: transform, opacity;
}

/* Specific transform setups */
.animate-on-scroll,
.animate-fade-up {
  transform: translateY(24px);
}

.animate-slide-left {
  transform: translateX(-50px);
}

/* Visible State Setup */
.is-visible.animate-on-scroll {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Handled via stagger logic applying animate-fade-up class */
.is-visible .animate-fade-up,
.is-visible.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.is-visible .animate-slide-left,
.is-visible.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

/* Stagger Delays for independent items */
.stagger-delay-1 { animation-delay: 0.15s !important; }
.stagger-delay-2 { animation-delay: 0.3s !important; }

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* -------------------------------------
   RESPONSIVE ADJUSTMENTS
--------------------------------------*/
@media (max-width: 992px) {
  .hero-grid, .stats-grid, .authors-grid, .toolbox-grid, .podcast-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-image-col, .stats-image-col {
    order: -1;
  }

  .cover-placeholder {
    max-width: 300px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .empty-desktop {
    display: none;
  }

  /* Stacked Podcast layout on Mobile/Tablet */
  .podcast-section {
    display: block;
    min-height: auto;
    padding: 0;
  }

  .podcast-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
  }

  .podcast-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(4, 11, 20, 0.2) 0%, rgba(4, 11, 20, 0.8) 50%, var(--bg-black) 100%);
    z-index: 2;
  }

  .podcast-grid {
    display: block;
    padding: 3rem 1.5rem;
  }

  .podcast-spacer {
    display: none;
  }
}

@media (max-width: 992px) {
  section {
    padding: 4rem 0;
  }
  
  .benefits-grid, .testimonials-grid, .stats-numbers-grid {
    grid-template-columns: 1fr;
  }
  
  .hide-mobile {
    display: none;
  }
  
  .show-mobile {
    display: flex;
  }
  
  .hero-section {
    padding-top: 6rem;
  }

  .final-stats-grid {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-disclaimer {
    text-align: center;
  }

  /* --- Mobile Nav Overlay --- */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 15, 25, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 998;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow-y: auto;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-nav-content {
    width: 100%;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .mobile-nav-link {
    color: #ffffff; /* Fallback */
    color: var(--color-white, #ffffff);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
  }

  .mobile-nav-link:hover {
    color: var(--color-primary);
  }

  .mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-nav-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Hamburger Animate to X */
  .mobile-menu-icon {
    z-index: 999; /* Stay above overlay */
    position: relative;
  }

  .mobile-menu-icon.open .hamburger {
    background-color: transparent;
  }
  
  .mobile-menu-icon.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  .mobile-menu-icon.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .hamburger::before, .hamburger::after {
    transition: transform 0.3s ease, top 0.3s ease;
  }
}
