/* ================== Handbook Landing Page ================== */

/* ---- HERO ---- */
.hb-hero {
  padding: 4rem 1rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hb-hero-top {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.hb-hero-text {
  flex: 1;
  min-width: 0;
}

.hb-hero-image {
  flex-shrink: 0;
  width: 260px;
}

.hb-hero-image img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  display: block;
  margin: 0;
}

.hb-hero-form-wrap {
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 2.5rem;
}

[data-theme="dark"] .hb-hero-form-wrap {
  border-color: rgba(255,255,255,0.08);
}

.hb-hero-form-wrap .hb-form-label {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.hb-hero-form-wrap .hb-form {
  max-width: 420px;
  margin: 0 auto;
}

.hb-hero-form-wrap .hb-form-note {
  margin-top: 0.65rem;
}

.hb-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 1rem;
}

.hb-headline {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hb-subheadline {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

/* ---- FORM ---- */
.hb-form-box {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 460px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

[data-theme="dark"] .hb-form-box {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.hb-form-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hb-form {
  display: flex;
  gap: 0.5rem;
}

.hb-form input[type="email"] {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 0.4rem;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

[data-theme="dark"] .hb-form input[type="email"] {
  border-color: rgba(255,255,255,0.2);
}

.hb-form input[type="email"]:focus {
  border-color: var(--accent);
}

.hb-form button {
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.hb-form button:hover {
  background: transparent;
  color: var(--accent);
}

.hb-form-note {
  font-size: 0.78rem;
  opacity: 0.45;
  margin-top: 0.65rem;
}

/* ---- SOCIAL PROOF BAR ---- */
.hb-proof {
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem 1rem;
  margin: 3rem 0;
}

[data-theme="dark"] .hb-proof {
  border-color: rgba(255,255,255,0.08);
}

.hb-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
}

.hb-proof-divider {
  opacity: 0.3;
}

/* ---- THE PROBLEM ---- */
.hb-problem {
  padding: 0 1rem 5rem;
  margin: 0;
}

.hb-problem-inner {
  max-width: 680px;
  margin: 0 auto;
  border-left: 3px solid var(--text);
  padding-left: 2rem;
}

.hb-problem h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hb-problem p {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.hb-problem-closer {
  font-size: 1.1rem !important;
  font-weight: 700;
  opacity: 1 !important;
  margin-top: 1.75rem !important;
  font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1.25rem;
}

[data-theme="dark"] .hb-problem-closer {
  border-color: rgba(255,255,255,0.1);
}

/* ---- SHARED SECTION ---- */
.hb-section {
  max-width: 700px;
  margin: 0 auto 5rem;
  padding: 0 1rem;
}

.hb-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hb-section-sub {
  opacity: 0.55;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

/* ---- BENEFITS LIST ---- */
.hb-benefits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hb-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0.5rem;
}

[data-theme="dark"] .hb-benefits li {
  border-color: rgba(255,255,255,0.08);
}

.hb-benefits li::before {
  content: "✓";
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---- CHAPTER LIST ---- */
.hb-chapters {
  list-style: none;
  padding: 0;
  counter-reset: chapter;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
}

.hb-chapters li {
  counter-increment: chapter;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.95rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

[data-theme="dark"] .hb-chapters li {
  border-color: rgba(255,255,255,0.07);
}

.hb-chapters li::before {
  content: counter(chapter, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.3;
  flex-shrink: 0;
  font-family: monospace;
}

/* ---- ABOUT ---- */
.hb-about-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.hb-about-photo {
  flex-shrink: 0;
  width: 160px;
}

.hb-about-photo img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
  display: block;
  margin: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.hb-about-content {
  flex: 1;
  min-width: 0;
}

.hb-about p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.8;
}

.hb-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

[data-theme="dark"] .hb-stats {
  border-color: rgba(255,255,255,0.08);
}

.hb-stats span {
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- PRICE BLOCK ---- */
.hb-price-block {
  padding: 0 1rem 5rem;
  margin: 0;
  text-align: center;
}

.hb-price-inner {
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 1rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

[data-theme="dark"] .hb-price-inner {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.hb-price-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.75rem;
}

.hb-price-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.hb-price-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 2rem;
}

.hb-price-form {
  max-width: 380px;
  margin: 0 auto;
}

/* ---- FAQ ---- */
.hb-faq h2 {
  margin-bottom: 2rem;
}

.hb-faq-item {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 1.5rem 0;
}

[data-theme="dark"] .hb-faq-item {
  border-color: rgba(255,255,255,0.08);
}

.hb-faq-item:last-of-type {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

[data-theme="dark"] .hb-faq-item:last-of-type {
  border-color: rgba(255,255,255,0.08);
}

.hb-faq-q {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.hb-faq-a {
  font-size: 0.97rem;
  line-height: 1.7;
  opacity: 0.7;
}

/* ---- BOTTOM CTA ---- */
.hb-cta-bottom {
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 4rem 1rem 3rem;
}

[data-theme="dark"] .hb-cta-bottom {
  border-color: rgba(255,255,255,0.08);
}

.hb-cta-bottom h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hb-cta-bottom p {
  opacity: 0.65;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hb-cta-bottom .hb-form {
  max-width: 420px;
  margin: 0 auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 750px) {
  .hb-hero-top {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hb-hero-image {
    width: 180px;
    margin: 0 auto;
  }

  .hb-form-box {
    max-width: 100%;
  }

  .hb-proof-divider {
    display: none;
  }

  .hb-about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hb-about-photo {
    width: 130px;
  }

  .hb-stats {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hb-headline {
    font-size: 2rem;
  }

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

  .hb-form {
    flex-direction: column;
  }

  .hb-stats {
    gap: 1rem;
  }

  .hb-problem,
  .hb-price-block {
    padding: 3rem 1.25rem;
  }

  .hb-price-number {
    font-size: 2.8rem;
  }

  .hb-cta-bottom {
    padding: 3rem 1rem;
  }
}
