/**
 * EcomHolistic — 90 Days Playbook Landing Page Styles
 *
 * Gated lead magnet page with hero, phases, benefits, form, and trust sections.
 *
 * @package EcomHolistic
 * @since   2.3.0
 */

/* ═══════════════════════════════════════════════════════════
   § SHARED
   ═══════════════════════════════════════════════════════════ */

.eh-playbook {
  background-color: var(--eh-drip-cream);
}

.eh-playbook-tag {
  display: inline-block;
  font-family: var(--eh-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--eh-sage-hover);
  margin-bottom: 16px;
  padding: 6px 16px;
  background-color: rgba(5, 0, 255, 0.1);
  border-radius: 20px;
}


/* ═══════════════════════════════════════════════════════════
   § HERO
   ═══════════════════════════════════════════════════════════ */

.eh-playbook-hero {
  padding: 120px 24px 80px;
}

.eh-playbook-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eh-playbook-hero-text h1 {
  font-family: var(--eh-font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--eh-folk-dark);
  margin-bottom: 20px;
}

.eh-playbook-hero-sub {
  font-family: var(--eh-font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--eh-folk-dark);
  margin-bottom: 16px;
  font-weight: 500;
}

.eh-playbook-hero-desc {
  font-family: var(--eh-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--eh-folk-mid);
  margin-bottom: 32px;
}

.eh-playbook-hero-illustration svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  display: block;
  animation: eh-hue-cycle 20s linear infinite;
}


/* ═══════════════════════════════════════════════════════════
   § PHASES
   ═══════════════════════════════════════════════════════════ */

.eh-playbook-phases {
  position: relative;
  padding: 80px 24px;
}

.eh-playbook-phases::before,
.eh-playbook-benefits::before,
.eh-playbook-form-section::before,
.eh-playbook-trust::before {
  content: '';
  position: absolute;
  top: 0;
  left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HRyYW5zZm9ybT0ncm90YXRlKC0zMCAxMDE2IDYpJy8+PGNpcmNsZSBjeD0nNDYwJyBjeT0nMTQnIHI9JzInIGZpbGw9JyNGMkE2OTUnIG9wYWNpdHk9JzAuMTgnLz48Y2lyY2xlIGN4PSc3NDAnIGN5PScxNCcgcj0nMS44JyBmaWxsPScjRjJBNjk1JyBvcGFjaXR5PScwLjE1Jy8+PGNpcmNsZSBjeD0nMTEwMCcgY3k9JzE1JyByPScxLjUnIGZpbGw9JyNGMkE2OTUnIG9wYWNpdHk9JzAuMTInLz48L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 32px;
  pointer-events: none;
}

.eh-playbook-phases-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.eh-playbook-phases-inner h2 {
  font-family: var(--eh-font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--eh-folk-dark);
  margin-bottom: 48px;
}

.eh-playbook-phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.eh-playbook-phase-card {
  background: var(--eh-white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.eh-playbook-phase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.05);
}

.eh-playbook-phase-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}

.eh-playbook-phase-icon svg {
  width: 100%;
  height: 100%;
}

.eh-playbook-phase-label {
  display: inline-block;
  font-family: var(--eh-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--eh-sage);
  margin-bottom: 8px;
}

.eh-playbook-phase-card h3 {
  font-family: var(--eh-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.eh-playbook-days {
  display: inline-block;
  font-family: var(--eh-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--eh-sage);
  margin-left: 4px;
}

.eh-playbook-phase-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.eh-playbook-phase-card li {
  font-family: var(--eh-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--eh-folk-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.eh-playbook-phase-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--eh-sage);
  opacity: 0.5;
}


/* ═══════════════════════════════════════════════════════════
   § BENEFITS
   ═══════════════════════════════════════════════════════════ */

.eh-playbook-benefits {
  position: relative;
  padding: 80px 24px;
}

/* Divider for .eh-playbook-benefits is handled by shared ::before rule above */

.eh-playbook-benefits-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.eh-playbook-benefits-inner h2 {
  font-family: var(--eh-font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--eh-folk-dark);
  margin-bottom: 48px;
}

.eh-playbook-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.eh-playbook-benefit {
  background: var(--eh-white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.eh-playbook-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 12px 28px rgba(0, 0, 0, 0.05);
}

.eh-playbook-benefit-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.eh-playbook-benefit-icon svg {
  width: 100%;
  height: 100%;
}

.eh-playbook-benefit h3 {
  font-family: var(--eh-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--eh-folk-dark);
  margin-bottom: 8px;
}

.eh-playbook-benefit p {
  font-family: var(--eh-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--eh-folk-mid);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════
   § FORM SECTION
   ═══════════════════════════════════════════════════════════ */

.eh-playbook-form-section {
  position: relative;
  padding: 80px 24px;
}

/* Divider for .eh-playbook-form-section is handled by shared ::before rule above */

.eh-playbook-form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eh-playbook-form-content h2 {
  font-family: var(--eh-font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--eh-folk-dark);
  margin-bottom: 12px;
}

.eh-playbook-form-desc {
  font-family: var(--eh-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--eh-folk-mid);
  margin-bottom: 32px;
}

/* Form styles */
.eh-playbook-download-form .eh-form-group {
  margin-bottom: 20px;
}

.eh-playbook-download-form label {
  display: block;
  font-family: var(--eh-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--eh-folk-dark);
  margin-bottom: 6px;
}

.eh-required {
  color: #DC2626;
}

.eh-playbook-download-form input[type="text"],
.eh-playbook-download-form input[type="email"],
.eh-playbook-download-form input[type="tel"],
.eh-playbook-download-form input[type="url"] {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--eh-font-body);
  font-size: 15px;
  color: var(--eh-folk-dark);
  background: var(--eh-white);
  border: 1.5px solid rgba(168, 162, 158, 0.3);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.eh-playbook-download-form input:focus {
  outline: none;
  border-color: var(--eh-sage);
  box-shadow: 0 0 0 3px rgba(5, 0, 255, 0.12);
}

/* Phone country code selector */
.eh-playbook-download-form .eh-phone-wrap {
  display: flex;
  gap: 8px;
}

.eh-playbook-download-form .eh-country-code {
  width: 110px;
  flex-shrink: 0;
  font-family: var(--eh-font-body);
  font-size: 14px;
  color: var(--eh-folk-dark);
  background: var(--eh-white);
  border: 1.5px solid rgba(168, 162, 158, 0.3);
  border-radius: 10px;
  padding: 12px 8px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2357534E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eh-playbook-download-form .eh-country-code:focus {
  outline: none;
  border-color: var(--eh-sage);
  box-shadow: 0 0 0 3px rgba(5, 0, 255, 0.12);
}

.eh-playbook-download-form .eh-phone-wrap input[type="tel"] {
  flex: 1;
  min-width: 0;
}

.eh-playbook-download-form input.eh-input-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

/* Honeypot */
.eh-playbook-download-form .eh-form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Submit button */
.eh-pb-submit {
  width: 100%;
  position: relative;
}

.eh-pb-submit .eh-submit-loading {
  display: none;
}

.eh-pb-submit.eh-loading .eh-submit-text {
  visibility: hidden;
}

.eh-pb-submit.eh-loading .eh-submit-loading {
  display: inline-flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Feedback */
.eh-form-feedback {
  margin-top: 16px;
  padding: 0;
  font-family: var(--eh-font-body);
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  display: none;
}

.eh-form-feedback.eh-feedback-visible {
  display: block;
  padding: 12px 16px;
}

.eh-form-feedback.eh-feedback-success {
  background: rgba(5, 0, 255, 0.08);
  color: var(--eh-sage-hover);
  border: 1px solid rgba(5, 0, 255, 0.2);
}

.eh-form-feedback.eh-feedback-error {
  background: rgba(220, 38, 38, 0.05);
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

/* reCAPTCHA notice */
.eh-recaptcha-notice {
  font-family: var(--eh-font-body);
  font-size: 11px;
  line-height: 1.5;
  color: var(--eh-folk-mid);
  margin-top: 12px;
}

.eh-recaptcha-notice a {
  color: var(--eh-sage);
}

/* Book mockup */
.eh-playbook-form-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.eh-playbook-form-mockup svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}


/* ═══════════════════════════════════════════════════════════
   § TRUST
   ═══════════════════════════════════════════════════════════ */

.eh-playbook-trust {
  position: relative;
  padding: 60px 24px 80px;
}

/* Divider for .eh-playbook-trust is handled by shared ::before rule above */

.eh-playbook-trust-inner {
  max-width: var(--eh-content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.eh-playbook-trust-label {
  font-family: var(--eh-font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eh-folk-dark);
  opacity: 0.18;
  white-space: nowrap;
  flex-shrink: 0;
}

.eh-playbook-trust-sep {
  width: 1px;
  height: 20px;
  background: rgba(168, 162, 158, 0.2);
  flex-shrink: 0;
}

.eh-playbook-trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}

.eh-playbook-trust-logos svg {
  height: 18px;
  width: auto;
  color: var(--eh-folk-dark);
  opacity: 0.18;
  transition: opacity 0.3s ease;
}

.eh-playbook-trust-logos svg:hover {
  opacity: 0.38;
}


/* ═══════════════════════════════════════════════════════════
   § RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .eh-playbook-hero-text h1 {
    font-size: 36px;
  }

  .eh-playbook-phases-grid,
  .eh-playbook-benefits-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .eh-playbook-hero {
    padding: 100px 24px 60px;
  }

  .eh-playbook-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .eh-playbook-hero-text h1 {
    font-size: 32px;
  }

  .eh-playbook-hero-illustration svg {
    max-width: 320px;
  }

  .eh-playbook-phases,
  .eh-playbook-benefits,
  .eh-playbook-form-section {
    padding: 60px 24px;
  }

  .eh-playbook-phases-inner h2,
  .eh-playbook-benefits-inner h2,
  .eh-playbook-form-content h2 {
    font-size: 26px;
  }

  .eh-playbook-form-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .eh-playbook-form-mockup {
    order: -1;
  }

  .eh-playbook-form-mockup svg {
    max-width: 220px;
  }

  .eh-playbook-trust-inner {
    flex-direction: column;
    gap: 16px;
  }

  .eh-playbook-trust-sep {
    display: none;
  }

  .eh-playbook-trust-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 24px;
  }
}

@media (max-width: 480px) {
  .eh-playbook-hero {
    padding: 100px 16px 48px;
  }

  .eh-playbook-hero-text h1 {
    font-size: 28px;
  }

  .eh-playbook-hero-sub {
    font-size: 16px;
  }

  .eh-playbook-phases,
  .eh-playbook-benefits,
  .eh-playbook-form-section {
    padding: 48px 16px;
  }

  .eh-playbook-trust {
    padding: 40px 16px 60px;
  }

  .eh-playbook-trust-logos {
    gap: 16px;
  }

  .eh-playbook-trust-logos svg {
    height: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   § REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .eh-playbook-hero-illustration svg {
    animation: none;
  }

  .eh-playbook-phase-card,
  .eh-playbook-benefit {
    transition: none;
  }
}
