/* ==========================================================================
   HundeSchuleOnline — Modern, Responsive & Mobile-First Styling
   ========================================================================== */

:root {
  /* Colors */
  --bg-main: #f6efe0;
  --bg-raised: #fffdf8;
  --bg-sunken: #ede1cb;
  --text-main: #211f1c;
  --text-soft: #5e574d;
  --text-muted: #887f71;
  
  /* Brand Accents */
  --gold: #b88a38;
  --gold-light: #e8d7ad;
  --gold-tint: rgba(184, 138, 56, 0.12);
  --rust: #a8471f;
  --rust-hover: #8a3714;
  --rust-light: #fbeee7;
  --forest: #45573f;
  --forest-light: #eef3ec;
  
  /* Dark Brand Elements */
  --brand-dark: #1e1a15;
  --brand-dark-raised: #28241e;
  --brand-dark-text: #f5ede0;
  --brand-dark-soft: #c8beac;
  --line-dark: rgba(245, 237, 224, 0.12);
  --line-light: rgba(33, 31, 28, 0.12);
  
  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(33, 25, 15, 0.06);
  --shadow-md: 0 12px 30px -10px rgba(33, 25, 15, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(33, 25, 15, 0.25);
  --shadow-book: 0 25px 50px -12px rgba(25, 18, 10, 0.45);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  
  /* Layout */
  --wrap-width: 1180px;
  --wrap-narrow: 840px;
  --header-height: 72px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: break-word;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
  font-size: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--wrap-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 36px);
  padding-right: clamp(16px, 4vw, 36px);
}

.max-narrow {
  max-width: var(--wrap-narrow);
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  min-height: 48px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--rust);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(168, 71, 31, 0.28);
}

.btn-primary:hover {
  background: var(--rust-hover);
  box-shadow: 0 10px 24px rgba(168, 71, 31, 0.38);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-raised);
  color: var(--text-main);
  border-color: var(--line-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--rust);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-yt {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--brand-dark-text);
  padding: 8px 18px;
  font-size: 0.86rem;
  min-height: 40px;
}

.btn-yt:hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: #ff0000;
  color: #ffffff;
}

.btn-yt-lg {
  background: #cc0000;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(204, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.btn-yt-lg:hover {
  background: #e60000;
  box-shadow: 0 8px 22px rgba(204, 0, 0, 0.35);
  transform: translateY(-2px);
}

.yt-svg {
  width: 20px;
  height: 20px;
  color: #ff0000;
  flex: none;
}

.btn-yt-lg .yt-svg {
  color: #ffffff;
}

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .arrow-icon {
  transform: translateX(3px);
}

/* Badges & Pills */
.badge-pill, .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.badge-pill {
  background: var(--rust-light);
  color: var(--rust);
  border: 1px solid rgba(168, 71, 31, 0.2);
}

.live-pill {
  background: rgba(204, 0, 0, 0.08);
  color: #cc0000;
  border: 1px solid rgba(204, 0, 0, 0.2);
}

.pulse-dot, .pulse-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.pulse-dot {
  background: var(--rust);
}

.pulse-red {
  background: #cc0000;
  box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(204, 0, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}

/* Section Headings */
.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 8px;
}

.eyebrow-gold {
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin-top: 12px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-soft);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand-dark);
  color: var(--brand-dark-text);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.paw-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
  flex: none;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.1;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-dark-text);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-dark-soft);
  transition: color var(--transition-fast);
  padding: 8px 0;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.mobile-menu-btn .bar {
  width: 24px;
  height: 2px;
  background: var(--brand-dark-text);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 8vw, 108px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.highlight-rust {
  color: var(--rust);
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-description {
  margin-top: 20px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 52ch;
}

.hero-cta-group {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}

.check-icon-sm {
  width: 16px;
  height: 16px;
  color: var(--forest);
  flex: none;
}

.stats-row {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 36px);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  font-family: Georgia, serif;
  color: var(--gold);
  line-height: 1;
}

.stat-highlight {
  color: var(--rust);
}

.stat-label {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--line-light);
}

/* 3D Book Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.book-container {
  position: relative;
  max-width: 340px;
  width: 100%;
}

.book-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-book);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background: #ffffff;
}

.book-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: 0 35px 70px -15px rgba(25, 18, 10, 0.55);
}

.book-img {
  width: 100%;
  height: auto;
  aspect-ratio: 340 / 490;
  object-fit: cover;
}

.gratis-banner {
  position: absolute;
  top: 6%;
  right: -18%;
  width: 68%;
  background: var(--rust);
  color: #ffffff;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(6deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.book-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(184, 138, 56, 0.25) 0%, rgba(246, 239, 224, 0) 70%);
  z-index: -1;
  filter: blur(20px);
}

/* ==========================================================================
   Chapters Section
   ========================================================================== */
.chapters-section {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--bg-sunken);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

.chapter-card {
  background: var(--bg-raised);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: clamp(18px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.chapter-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.ch-num {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.chapter-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
}

.chapter-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.chapters-cta {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Signup / Lead Magnet Section
   ========================================================================== */
.signup-section {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--brand-dark);
  color: var(--brand-dark-text);
  position: relative;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.signup-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-dark-text);
}

.signup-subtitle {
  margin-top: 14px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--brand-dark-soft);
  line-height: 1.55;
}

.benefit-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--forest);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
}

.check-box svg {
  width: 16px;
  height: 16px;
}

.benefit-list strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-dark-text);
}

.benefit-list span {
  font-size: 0.88rem;
  color: var(--brand-dark-soft);
}

.community-box {
  margin-top: 36px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.community-box .stars {
  color: #ffc107;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.community-box p {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--brand-dark-soft);
  line-height: 1.5;
}

.community-author {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
}

/* Form Card */
.signup-card-wrap {
  position: relative;
}

.form-card {
  background: var(--bg-raised);
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header {
  margin-bottom: 24px;
}

.form-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 6px;
}

.form-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px 12px 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-light);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(168, 71, 31, 0.15);
  background: #ffffff;
}

.form-input.has-error {
  border-color: #d93025;
  background: #fff8f7;
}

.field-error {
  font-size: 0.78rem;
  color: #d93025;
  font-weight: 600;
  min-height: 18px;
  display: block;
}

/* Custom Checkbox */
.consent-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--line-light);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.custom-checkbox input:checked + .checkbox-box {
  background: var(--rust);
  border-color: var(--rust);
}

.custom-checkbox input:checked + .checkbox-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.custom-checkbox input:focus-visible + .checkbox-box {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.btn-submit {
  width: 100%;
  min-height: 54px;
  font-size: 1.05rem;
  margin-top: 6px;
}

.btn-spinner {
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Form Feedback States */
.form-feedback {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-msg {
  background: var(--forest-light);
  border: 1px solid rgba(69, 87, 63, 0.3);
  color: var(--forest);
}

.error-msg {
  background: #fdf2f2;
  border: 1px solid rgba(217, 48, 37, 0.3);
  color: #a51d14;
}

.feedback-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}

.success-msg .feedback-icon {
  background: var(--forest);
  color: #ffffff;
}

.error-msg .feedback-icon {
  background: #d93025;
  color: #ffffff;
}

.form-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.lock-icon {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   YouTube Videos Section
   ========================================================================== */
.videos-section {
  padding: clamp(56px, 8vw, 100px) 0;
  background: var(--bg-main);
}

.videos-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 48px);
  flex-wrap: wrap;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}

.video-card {
  background: var(--bg-raised);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111111;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.video-card:hover .video-thumb-img {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.video-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #cc0000;
  margin-left: 3px;
}

.video-card:hover .video-play-btn {
  transform: scale(1.12);
  background: #ffffff;
}

.video-meta {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.video-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.video-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Skeleton Loading State for Videos */
.video-skeleton {
  background: var(--bg-sunken);
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 14;
  animation: pulse-bg 1.5s infinite;
}

@keyframes pulse-bg {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.videos-bottom-cta {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--line-light);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-main);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-soft);
  transition: transform var(--transition-fast);
  flex: none;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--rust);
}

.faq-answer {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
}

/* ==========================================================================
   Video Modal Player
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  z-index: 10;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background var(--transition-fast);
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.video-iframe-container {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.video-iframe-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-dark);
  color: var(--brand-dark-soft);
  padding: clamp(48px, 7vw, 80px) 0 36px;
  border-top: 1px solid var(--line-dark);
}

.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 40px;
}

.wordmark-footer .brand-title {
  color: #ffffff;
}

.footer-desc {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 40ch;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-links-list a {
  color: var(--brand-dark-soft);
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--gold);
}

.footer-bottom-row {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245, 237, 224, 0.5);
}

/* ==========================================================================
   Mobile-First Responsive Adjustments
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid, .signup-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 12px;
  }

  .book-container {
    max-width: 280px;
  }

  .chapters-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--brand-dark);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-actions .btn-yt {
    display: none;
  }

  .chapters-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .stat-card {
    min-width: 40%;
  }

  .hero-cta-group .btn-lg {
    width: 100%;
  }

  .wordmark-text .brand-title {
    font-size: 0.95rem;
  }

  .gratis-banner {
    right: -12%;
    width: 75%;
    font-size: 0.8rem;
    padding: 8px 0;
  }
}
