/* ==========================================================================
   Design System & Master Stylesheet for Medical Masterbook Landing Page
   Aesthetics: Deep luxury medical tech palette, vibrant emerald & cyan gradients,
   glassmorphism cards, and high-converting mobile-first touch ergonomics.
   ========================================================================== */

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Brand Color Tokens */
  --bg-dark: #090d16;
  --bg-card: #111827;
  --bg-card-glass: rgba(17, 24, 39, 0.75);
  --bg-card-hover: #1f293d;
  
  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --cyan-primary: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --gold-accent: #f59e0b;
  --red-urgent: #ef4444;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.4);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px -4px rgba(0, 0, 0, 0.5), 0 0 24px rgba(16, 185, 129, 0.15);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: -15%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #34d399 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. Sticky Urgency Bar
   ========================================================================== */
.urgency-bar {
  background: linear-gradient(90deg, #b91c1c, #991b1b, #b91c1c);
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.urgency-timer {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ==========================================================================
   2. Navigation Header
   ========================================================================== */
.site-header {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  background: rgba(9, 13, 22, 0.85);
  position: sticky;
  top: 42px;
  z-index: 90;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
}

.logo-icon {
  font-size: 1.6rem;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 600;
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 4.5rem;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  max-width: 950px;
  margin: 0 auto 1.25rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 2.2rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.1rem 2.8rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px var(--emerald-glow), var(--shadow-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.6), var(--shadow-lg);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 55%
  );
  transform: rotate(30deg);
  animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  25%, 100% { transform: translateX(100%) rotate(30deg); }
}

.price-pill {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  margin-left: 0.25rem;
}

.strike-price {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 0.95rem;
  margin-right: 0.25rem;
}

.guarantee-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 16:9 Master Medical Banner & 3D Mockup Visual Hero Card */
.banner-16-9-wrapper {
  max-width: 1050px;
  margin: 2rem auto 0;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(6, 182, 212, 0.3) 50%, rgba(245, 158, 11, 0.3));
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.7), 0 0 45px rgba(16, 185, 129, 0.3);
  overflow: hidden;
}

.banner-16-9-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-smooth);
}

.banner-16-9-wrapper:hover .banner-16-9-img {
  transform: scale(1.012);
}

.banner-feature-badge-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  max-width: 1050px;
  margin: 1.25rem auto 0;
}

.banner-feature-pill {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mockup-container {
  max-width: 900px;
  margin: 1.5rem auto 0;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(16,185,129,0.2) 40%, rgba(6,182,212,0.15));
  box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.2);
}

.mockup-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  transition: transform var(--transition-smooth);
}

.mockup-container:hover .mockup-image {
  transform: scale(1.01);
}

/* Clinical Framework Cards */
.framework-card {
  background: linear-gradient(145deg, #131d31, #0d1525);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.framework-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.2);
}

.framework-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   4. Stats Bar
   ========================================================================== */
.stats-strip {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  margin: -1.5rem auto 4rem;
  max-width: 1050px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   5. Interactive 5-Book Showcase & Tab Carousel
   ========================================================================== */
.section-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-badge {
  color: #34d399;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.book-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.book-icon {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.book-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.book-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 600;
}

.book-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.book-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.book-features li::before {
  content: '✓';
  color: #10b981;
  font-weight: 800;
}

.btn-preview-book {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-bottom: 0.75rem;
  transition: all var(--transition-fast);
}

.btn-preview-book:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #ffffff;
  border-color: #10b981;
}

.book-tag {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  color: #93c5fd;
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   6. Audio Ad Voiceover Player
   ========================================================================== */
.audio-player-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  max-width: 750px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}

.audio-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.audio-icon-btn:hover {
  transform: scale(1.08);
}

.waveform-anim {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.wave-bar {
  width: 4px;
  height: 8px;
  background: #38bdf8;
  border-radius: 2px;
  transition: height 0.2s;
}

.audio-playing .wave-bar:nth-child(1) { animation: wave 0.8s infinite ease-in-out 0.1s; }
.audio-playing .wave-bar:nth-child(2) { animation: wave 0.8s infinite ease-in-out 0.3s; }
.audio-playing .wave-bar:nth-child(3) { animation: wave 0.8s infinite ease-in-out 0.2s; }
.audio-playing .wave-bar:nth-child(4) { animation: wave 0.8s infinite ease-in-out 0.4s; }
.audio-playing .wave-bar:nth-child(5) { animation: wave 0.8s infinite ease-in-out 0.15s; }

@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

/* ==========================================================================
   7. Interactive Live Clinical Search Tool
   ========================================================================== */
.search-section {
  background: linear-gradient(180deg, #090d16 0%, #111827 50%, #090d16 100%);
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.search-box-wrapper {
  max-width: 750px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  background: rgba(17, 24, 39, 0.9);
  border: 2px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 1.1rem;
  font-family: var(--font-primary);
  outline: none;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.35);
}

.search-icon {
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  opacity: 0.6;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.cat-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-tab-btn.active, .cat-tab-btn:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 15px var(--emerald-glow);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.quick-tag-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-tag-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: #10b981;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all var(--transition-fast);
}

.result-card:hover {
  border-color: #34d399;
}

.result-title {
  font-size: 1.15rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.result-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.result-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.result-source {
  font-size: 0.75rem;
  color: #38bdf8;
  font-style: italic;
}

/* ==========================================================================
   8. 20 Injections Reference Table Preview
   ========================================================================== */
.injection-preview-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}

.injection-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.injection-table th {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  padding: 0.9rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.injection-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.injection-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.badge-route {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

/* ==========================================================================
   9. Video Teaser Section
   ========================================================================== */
.media-section {
  padding: 4rem 0;
  text-align: center;
}

.media-box {
  max-width: 650px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.media-box video {
  width: 100%;
  display: block;
}

/* ==========================================================================
   10. Social Proof / Student Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.testi-avatar {
  font-size: 2.2rem;
}

.testi-name {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
}

.testi-role {
  font-size: 0.75rem;
  color: #34d399;
}

.testi-stars {
  color: #fbbf24;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   11. Comparison Table
   ========================================================================== */
.comparison-container {
  max-width: 800px;
  margin: 0 auto 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comp-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  align-items: center;
  font-size: 0.92rem;
}

.comp-row.comp-header {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  color: #ffffff;
}

.comp-feature {
  color: var(--text-primary);
}

.comp-bad {
  color: #f87171;
  text-align: center;
}

.comp-good {
  color: #34d399;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   12. FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-toggle-icon {
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   13. Floating Widgets (Live Social & WhatsApp Quick Chat)
   ========================================================================== */
.live-notify {
  position: fixed;
  bottom: 85px;
  left: 20px;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 80;
  transform: translateY(150%);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.live-notify.show {
  transform: translateY(0);
  opacity: 1;
}

.live-notify-avatar {
  font-size: 1.5rem;
}

.live-notify-text {
  font-size: 0.82rem;
  color: #ffffff;
}

.live-notify-time {
  font-size: 0.72rem;
  color: #34d399;
}

.whatsapp-float-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  background: #25d366;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 85;
  transition: transform var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   14. Sticky Mobile Bottom Checkout Bar
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 13, 22, 0.95);
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  backdrop-filter: blur(16px);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 95;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.mobile-price-box {
  display: flex;
  flex-direction: column;
}

.mobile-price-now {
  font-size: 1.35rem;
  font-weight: 800;
  color: #34d399;
  font-family: var(--font-heading);
}

.mobile-price-was {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-mobile-buy {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 0 15px var(--emerald-glow);
}

/* ==========================================================================
   15. Modals (Sample Reader, Checkout Sandbox & Download Portal)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #111827;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(16, 185, 129, 0.25);
  position: relative;
}

.modal-window.large-modal {
  max-width: 720px;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
}

/* Sample Page Viewer Styles */
.sample-page-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}

.sample-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.sample-tab-btn.active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: #10b981;
}

.sample-page-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  min-height: 250px;
}

.sample-img-container {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  background: #000;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-align: center;
}

.sample-screenshot-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform var(--transition-smooth);
}

.sample-screenshot-img:hover {
  transform: scale(1.02);
}

.sample-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.sample-caption-box {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

/* Book Card Sample Thumbnail Strip */
.book-sample-thumbs {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.book-sample-thumb {
  width: 55px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.book-sample-thumb:hover {
  transform: translateY(-2px);
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.abbr-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

/* Forms */
.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  outline: none;
}

.form-control:focus {
  border-color: #10b981;
}

.download-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all var(--transition-fast);
}

.download-link-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

/* Footer */
.site-footer {
  padding: 3rem 0 6rem;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: #34d399;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
  .btn-primary {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  .comp-row {
    font-size: 0.8rem;
    padding: 0.75rem 0.5rem;
  }
  .live-notify {
    display: none;
  }
  .audio-player-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .audio-info {
    flex-direction: column;
  }
}

/* ==========================================================================
   Legal & Policy Pages Styling (Privacy, Terms, Disclaimer, Refund, Contact)
   ========================================================================== */
.legal-page-header {
  padding: 3rem 0 2rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-glass);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.legal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.legal-container {
  max-width: 900px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem;
}

.legal-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.legal-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
}

.legal-nav-tab {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

.legal-nav-tab:hover, .legal-nav-tab.active {
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.legal-section-block {
  margin-bottom: 2.25rem;
}

.legal-section-block:last-child {
  margin-bottom: 0;
}

.legal-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-heading span.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 6px;
}

.legal-text {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
}

.legal-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: bold;
}

.legal-alert {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--gold-accent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: #fef3c7;
  font-size: 0.9rem;
}

.legal-alert.danger {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: var(--red-urgent);
  color: #fecaca;
}

.legal-alert.success {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: var(--emerald-primary);
  color: #d1fae5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition-fast);
}

.contact-card-item:hover {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.04);
}

.contact-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-card-title {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-card-value {
  color: #34d399;
  font-size: 0.9rem;
  word-break: break-all;
  text-decoration: none;
}

