/* Reusable sales layout for Dindili ebooks. */
.ebook-sales {
    --ebook-pink: #ef017f;
    --ebook-blue: #0085de;
    --ebook-green: #88c701;
    --ebook-yellow: #f5b900;
    --ebook-ink: #101b39;
    --ebook-muted: #5f6c84;
    background: #fff;
}

.ebook-sales .container { position: relative; z-index: 1; }
.ebook-sales h1,
.ebook-sales h2,
.ebook-sales h3,
.ebook-sales h4 { text-wrap: balance; }

.ebook-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 62px;
    background:
        radial-gradient(circle at 82% 8%, rgba(239, 1, 127, .08), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fbfdff 52%, #f8fbff 100%);
    border-bottom: 1px solid #edf2f7;
}

.ebook-hero::before,
.ebook-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: .55;
}

.ebook-hero::before {
    width: 180px;
    height: 180px;
    right: 6%;
    bottom: -70px;
    background: rgba(136, 199, 1, .13);
}

.ebook-hero::after {
    width: 90px;
    height: 90px;
    left: 5%;
    top: 60px;
    border: 2px dashed rgba(0, 133, 222, .35);
}

.ebook-hero__eyebrow,
.ebook-section__eyebrow,
.ebook-gallery__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px;
    color: var(--ebook-pink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1.35;
    text-transform: uppercase;
}

.ebook-hero__copy { position: relative; z-index: 2; }

.ebook-hero h1 {
    max-width: 680px;
    margin: 0 0 20px;
    color: #09112a;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(56px, 8.2vw, 88px);
    font-weight: 600;
    line-height: .91;
    letter-spacing: 0;
}

.ebook-hero__lead {
    max-width: 620px;
    margin: 0 0 22px;
    color: var(--ebook-muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.ebook-hero__quick-list { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; color: #33445f; font-size: 13px; font-weight: 800; line-height: 1.35; }
.ebook-hero__quick-list li { display: flex; align-items: flex-start; gap: 8px; }
.ebook-hero__quick-list i { flex: 0 0 auto; margin-top: 2px; color: var(--ebook-green); }

.ebook-sales .bg-hero-notes { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; margin: 14px 0 0; opacity: .68; transition: opacity .2s ease; }
.ebook-sales .bg-actions--inline + .bg-hero-notes { margin-top: 4px; }

.ebook-sales .ebook-plan-download-form {
    display: inline-flex;
    margin: 0;
}

.ebook-sales .ebook-plan-download-form .bg-btn,
.ebook-sales .ebook-plan-download-form .btn-faq-primary {
    cursor: pointer;
    font: inherit;
}

.ebook-sales .bg-offer-box .ebook-plan-download-form {
    width: 100%;
}
.ebook-sales .bg-hero-notes:hover { opacity: 1; }
.ebook-sales .bg-hero-notes .bg-hero-note { gap: 6px; margin: 0; font-size: 10px; white-space: nowrap; }
.ebook-sales .bg-hero-notes .bg-hero-note + .bg-hero-note { padding-left: 10px; border-left: 1px solid #e5edf5; }
.ebook-sales .bg-hero-notes .bg-hero-note i { font-size: 13px; }

.ebook-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 610px;
    margin-top: 32px;
    border-top: 1px solid #e6edf4;
    padding-top: 20px;
}

.ebook-stat { min-width: 0; padding-right: 18px; }
.ebook-stat:not(:last-child) { border-right: 1px solid #e6edf4; }
.ebook-stat + .ebook-stat { padding-left: 18px; }
.ebook-stat__value { display: block; color: var(--ebook-ink); font-size: 25px; font-weight: 900; line-height: 1; }
.ebook-stat__label { display: block; margin-top: 7px; color: #758198; font-size: 11px; font-weight: 800; line-height: 1.3; }

.ebook-proof-bar { margin-top: 28px; }
.ebook-sales .bg-proof-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; padding: 16px 22px; border: 1px solid #eef2f7; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .05); }
.ebook-sales .bg-proof-bar__faces { display: flex; align-items: center; flex: 0 0 auto; }
.ebook-sales .bg-proof-bar__face { display: block; width: 40px; height: 40px; margin-left: -12px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); background: #e8eef6; }
.ebook-sales .bg-proof-bar__face:first-child { margin-left: 0; }
.ebook-sales .bg-proof-bar__rating { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.ebook-sales .bg-proof-bar__stars { display: inline-flex; align-items: center; gap: 3px; color: var(--ebook-yellow); font-size: 13px; line-height: 1; }
.ebook-sales .bg-proof-bar__stars i { font-size: 13px; line-height: 1; }
.ebook-sales .bg-proof-bar__score { color: var(--ebook-muted); font-size: 13px; font-weight: 500; line-height: 1.3; }
.ebook-sales .bg-proof-bar__score strong { color: var(--ebook-ink); font-weight: 900; }
.ebook-sales .bg-proof-bar__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin-left: 4px; padding-left: 22px; border-left: 1px solid #edf1f6; }
.ebook-sales .bg-proof-bar__label { margin: 0; color: var(--ebook-ink); font-size: 15px; font-weight: 800; line-height: 1.3; }
.ebook-sales .bg-proof-bar__note { margin: 0; color: var(--ebook-muted); font-size: 13px; font-weight: 400; line-height: 1.35; }
.ebook-sales .bg-proof-bar__badge { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 14px; border: 1px solid rgba(136, 199, 1, .28); border-radius: 999px; color: #4d7600; background: #f6fbe9; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.ebook-sales .bg-proof-bar__badge i { color: var(--ebook-green); font-size: 14px; }

.ebook-hero__visual {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
}

.ebook-hero__visual::before {
    content: '';
    position: absolute;
    width: min(390px, 82%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff4fa;
    box-shadow: 0 0 0 18px rgba(239, 1, 127, .045), 0 26px 60px rgba(23, 33, 62, .08);
}

.ebook-hero__cover {
    position: relative;
    z-index: 3;
    display: block;
    width: min(310px, 68%);
    height: auto;
    aspect-ratio: 1240 / 1754;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 10px 18px 32px rgba(19, 31, 61, .2);
    transform: rotate(2deg);
}

.ebook-hero__page {
    position: absolute;
    z-index: 2;
    width: min(210px, 42%);
    height: auto;
    aspect-ratio: 1240 / 1754;
    object-fit: contain;
    border: 7px solid #fff;
    border-radius: 5px;
    box-shadow: 0 14px 26px rgba(19, 31, 61, .14);
}

.ebook-hero__page--left { left: 4%; top: 19%; transform: rotate(-11deg); }
.ebook-hero__page--right { right: 3%; bottom: 18%; transform: rotate(10deg); }

.ebook-hero__badge {
    position: absolute;
    z-index: 4;
    top: 7%;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 210px;
    border: 1px solid rgba(136, 199, 1, .32);
    border-radius: 999px;
    padding: 10px 13px;
    color: #26330e;
    background: #f8ffe9;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(48, 71, 9, .12);
}

.ebook-hero__badge i { color: var(--ebook-green); }

.ebook-section { padding: 84px 0; }
.ebook-section--soft { background: #f8fbff; border-top: 1px solid #edf2f7; border-bottom: 1px solid #edf2f7; }
.ebook-section__heading { max-width: 720px; margin-bottom: 34px; }
.ebook-section__heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.ebook-section__heading h2,
.ebook-gallery h2,
.ebook-sales .bg-social__title {
    margin: 0;
    color: var(--ebook-ink);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(48px, 7.1vw, 70px);
    font-weight: 600;
    line-height: .92;
}

.ebook-section__intro { max-width: 610px; margin: 16px 0 0; color: var(--ebook-muted); font-size: 16px; line-height: 1.7; }
.ebook-section__heading--center .ebook-section__intro { margin-right: auto; margin-left: auto; }

.ebook-overview {
    position: relative;
    overflow: hidden;
    border: 1px solid #dceaf5;
    border-radius: 26px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(16, 33, 66, .08);
}

.ebook-overview img { display: block; width: 100%; max-height: 415px; border-radius: 16px; object-fit: cover; object-position: top center; }
.ebook-overview__caption { display: flex; align-items: center; gap: 9px; margin-top: 13px; color: #34476a; font-size: 12px; font-weight: 800; }
.ebook-overview__caption i { color: var(--ebook-pink); }

.ebook-benefits { display: grid; gap: 13px; margin-top: 22px; }
.ebook-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #e5edf5;
    border-radius: 18px;
    padding: 16px 17px;
    background: #fff;
}

.ebook-benefit__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: var(--ebook-pink); }
.ebook-benefit:nth-child(2) .ebook-benefit__icon { background: var(--ebook-blue); }
.ebook-benefit:nth-child(3) .ebook-benefit__icon { background: var(--ebook-green); }
.ebook-benefit:nth-child(4) .ebook-benefit__icon { background: var(--ebook-yellow); }
.ebook-benefit h3 { margin: 0 0 4px; color: #17213d; font-family: var(--font-heading); font-size: 16px; font-weight: 900; line-height: 1.2; }
.ebook-benefit p { margin: 0; color: #66748e; font-size: 13px; line-height: 1.5; }

.ebook-trails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ebook-trail { min-height: 154px; border-radius: 20px; padding: 17px; background: #fff2f8; }
.ebook-trail:nth-child(2) { background: #edf7ff; }
.ebook-trail:nth-child(3) { background: #f0fadb; }
.ebook-trail:nth-child(4) { background: #fff8d9; }
.ebook-trail:nth-child(5) { background: #f4edff; }
.ebook-trail__number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 24px; border-radius: 50%; color: #fff; background: var(--ebook-pink); font-size: 13px; font-weight: 900; }
.ebook-trail:nth-child(2) .ebook-trail__number { background: var(--ebook-blue); }
.ebook-trail:nth-child(3) .ebook-trail__number { background: var(--ebook-green); }
.ebook-trail:nth-child(4) .ebook-trail__number { background: var(--ebook-yellow); }
.ebook-trail:nth-child(5) .ebook-trail__number { background: #8d5dd8; }
.ebook-trail h3 { margin: 0 0 7px; color: #152342; font-family: var(--font-heading); font-size: 15px; font-weight: 900; line-height: 1.15; }
.ebook-trail p { margin: 0; color: #66748e; font-size: 12px; line-height: 1.45; }

.ebook-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ebook-step { position: relative; min-height: 184px; border: 1px solid #e3eaf2; border-radius: 22px; padding: 22px 18px 18px; background: #fff; }
.ebook-step__number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 50%; color: #fff; background: var(--ebook-pink); font-size: 16px; font-weight: 900; }
.ebook-step:nth-child(2) .ebook-step__number { background: var(--ebook-blue); }
.ebook-step:nth-child(3) .ebook-step__number { background: var(--ebook-green); }
.ebook-step:nth-child(4) .ebook-step__number { background: var(--ebook-yellow); }
.ebook-step h3 { margin: 0 0 8px; color: var(--ebook-ink); font-family: var(--font-heading); font-size: 17px; font-weight: 900; line-height: 1.2; }
.ebook-step p { margin: 0; color: #687791; font-size: 13px; line-height: 1.55; }

.ebook-kit-card { height: 100%; border: 1px solid #e3ebf4; border-radius: 24px; padding: 23px; background: #fff; box-shadow: 0 12px 28px rgba(17, 36, 70, .05); }
.ebook-kit-card--hero { border-color: #f2a4ca; background: #fff7fb; }
.ebook-kit-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 17px; border-radius: 15px; color: #fff; background: var(--ebook-pink); }
.ebook-kit-card:nth-child(2) .ebook-kit-card__icon { background: var(--ebook-blue); }
.ebook-kit-card:nth-child(3) .ebook-kit-card__icon { background: var(--ebook-green); }
.ebook-kit-card:nth-child(4) .ebook-kit-card__icon { background: var(--ebook-yellow); }
.ebook-kit-card h3 { margin: 0 0 8px; color: #152342; font-family: var(--font-heading); font-size: 18px; font-weight: 900; line-height: 1.15; }
.ebook-kit-card p { margin: 0; color: #687791; font-size: 13px; line-height: 1.55; }

.ebook-gallery { padding: 84px 0; background: #fffdfb; border-top: 1px solid #f3eee8; border-bottom: 1px solid #f3eee8; }
.ebook-gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.ebook-gallery__head > div { max-width: 720px; }
.ebook-gallery__head h2 { text-transform: uppercase; }
.ebook-gallery__cta { display: inline-flex; align-items: center; gap: 7px; color: var(--ebook-blue); font-size: 14px; font-weight: 900; white-space: nowrap; }
.ebook-gallery__cta:hover { color: var(--ebook-pink); }
.ebook-gallery-card { overflow: hidden; height: 100%; border: 1px solid #e9e6e1; border-radius: 17px; padding: 8px; background: #fff; box-shadow: 0 8px 20px rgba(32, 41, 64, .06); }
.ebook-gallery-card__media { overflow: hidden; aspect-ratio: 1240 / 1754; border-radius: 11px; background: #f2f5f8; }
.ebook-gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 1240 / 1754; object-fit: contain; object-position: top center; transition: transform .3s ease; }
.ebook-gallery-card:hover img { transform: scale(1.035); }
.ebook-gallery-card__caption { padding: 10px 5px 5px; color: #5e6b83; font-size: 11px; font-weight: 800; line-height: 1.25; }

.ebook-routine { background: #f8fbff; }
.ebook-routine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ebook-routine-card { min-height: 188px; border: 1px solid #e3ebf4; border-radius: 23px; padding: 23px 21px 20px; background: #fff; box-shadow: 0 10px 24px rgba(17, 36, 70, .05); }
.ebook-routine-card:nth-child(2) { background: #fff8fb; border-color: #f5d5e4; }
.ebook-routine-card:nth-child(3) { background: #f8fced; border-color: #dfecc8; }
.ebook-routine-card__number { display: inline-flex; align-items: center; justify-content: center; width: 37px; height: 37px; margin-bottom: 23px; border-radius: 50%; color: #fff; background: var(--ebook-blue); font-size: 12px; font-weight: 950; }
.ebook-routine-card:nth-child(2) .ebook-routine-card__number { background: var(--ebook-pink); }
.ebook-routine-card:nth-child(3) .ebook-routine-card__number { background: var(--ebook-green); }
.ebook-routine-card h3 { margin: 0 0 8px; color: var(--ebook-ink); font-family: var(--font-heading); font-size: 18px; font-weight: 900; line-height: 1.2; }
.ebook-routine-card p { margin: 0; color: #687791; font-size: 13px; line-height: 1.55; }

.ebook-closing { padding: 86px 0 92px; color: var(--ebook-ink); background: linear-gradient(135deg, #fff8d9 0%, #fff8fb 52%, #f1f7ff 100%); text-align: center; }
.ebook-closing .container { max-width: 760px; }
.ebook-closing .ebook-section__eyebrow { justify-content: center; }
.ebook-closing h2 { max-width: 720px; margin: 10px auto 14px; font-family: var(--font-heading); font-size: clamp(38px, 5vw, 65px); font-weight: 950; letter-spacing: -.045em; line-height: .98; text-transform: uppercase; }
.ebook-closing p:not(.ebook-section__eyebrow) { max-width: 560px; margin: 0 auto 24px; color: #697791; font-size: 16px; line-height: 1.55; }
.ebook-closing small { display: block; margin-top: 13px; color: #7d899d; font-size: 11px; font-weight: 800; }

.ebook-sales .bg-offer { border-top-width: 9px; }
.ebook-payment-methods { display: flex; flex-wrap: wrap; gap: 7px; margin: -8px 0 20px; }
.ebook-payment-methods span { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 10px; color: #2d4264; background: #eef6ff; font-size: 11px; font-weight: 900; }
.ebook-payment-methods span:first-child { color: #3c7c1c; background: #eff9de; }
.ebook-offer-guarantee { display: flex; align-items: flex-start; gap: 8px; margin-top: 15px; color: #64748b; font-size: 11px; line-height: 1.4; }
.ebook-offer-guarantee i { margin-top: 1px; color: var(--ebook-green); }

.ebook-sales .bg-social { background: #fffaf6; }
.ebook-sales .bg-social__title { text-transform: uppercase; }
.ebook-proof-stats { margin-top: 30px; }
.ebook-proof-empty { border: 1px dashed #d7e3ef; border-radius: 18px; padding: 18px; color: #64748b; background: rgba(255, 255, 255, .68); font-size: 13px; }

.ebook-sales .faq-page { background: #fff; }
.ebook-sales .faq__header { top: 84px; }
.ebook-sales .faq__subtitle { max-width: 370px; }

@media (max-width: 991px) {
    .ebook-hero { padding-top: 58px; }
    .ebook-hero__visual { min-height: 470px; margin-top: 24px; }
    .ebook-trails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ebook-trail:nth-child(4), .ebook-trail:nth-child(5) { min-height: 140px; }
    .ebook-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebook-routine-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ebook-proof-bar { margin-top: 22px; }
    .ebook-sales .bg-proof-bar { gap: 14px 18px; padding: 16px 18px; }
    .ebook-sales .bg-proof-bar__copy { flex: 1 1 180px; margin-left: 0; padding-left: 0; border-left: 0; }
    .ebook-sales .bg-proof-bar__badge { margin-left: 0; }
}

@media (max-width: 767px) {
    .ebook-hero { padding: 48px 0 42px; }
    .ebook-hero h1 { font-size: clamp(52px, 16vw, 76px); }
    .ebook-hero__lead { font-size: 16px; }
    .ebook-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }
    .ebook-stat { padding-right: 10px; }
    .ebook-stat + .ebook-stat { padding-left: 10px; }
    .ebook-stat__value { font-size: 20px; }
    .ebook-stat__label { font-size: 10px; }
    .ebook-hero__visual { min-height: 390px; padding: 10px 21px; }
    .ebook-hero__cover { width: min(245px, 70%); }
    .ebook-hero__page { width: min(145px, 41%); border-width: 5px; }
    .ebook-hero__badge { top: 4%; right: 0; max-width: 155px; padding: 8px 10px; font-size: 10px; }
    .ebook-section, .ebook-gallery { padding: 62px 0; }
    .ebook-section__heading h2, .ebook-gallery h2, .ebook-sales .bg-social__title { font-size: clamp(46px, 14vw, 62px); }
    .ebook-trails, .ebook-step-grid { grid-template-columns: 1fr; }
    .ebook-routine-grid { grid-template-columns: 1fr; }
    .ebook-trail, .ebook-step { min-height: auto; }
    .ebook-gallery__head { display: block; }
    .ebook-gallery__cta { margin-top: 15px; }
    .ebook-sales .bg-offer { padding: 58px 0; }
    .ebook-sales .bg-offer-box { padding: 25px 21px 22px; }
    .ebook-sales .bg-offer-box__price { font-size: 53px; }
    .ebook-sales .bg-social__grid { grid-template-columns: 1fr; }
    .ebook-sales .bg-social__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ebook-sales .bg-social__stat { padding: 9px 8px; }
    .ebook-sales .bg-social__stat:not(:last-child) { border-right: 0; }
    .ebook-sales .bg-social__stat:nth-child(odd) { border-right: 1px solid #edf1f6; }
    .ebook-sales .bg-social__stat:nth-child(-n+2) { border-bottom: 1px solid #edf1f6; }
    .ebook-sales .bg-social__stat-icon { width: 38px; height: 38px; font-size: 15px; }
    .ebook-sales .bg-social__stat-copy strong { font-size: 19px; }
    .ebook-sales .bg-social__stat-copy span { font-size: 10px; }
    .ebook-proof-bar { margin-top: 18px; }
    .ebook-sales .bg-proof-bar { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 18px; }
    .ebook-sales .bg-proof-bar__faces { order: 0; }
    .ebook-sales .bg-proof-bar__rating { order: 1; }
    .ebook-sales .bg-proof-bar__copy { order: 2; width: 100%; flex: 1 1 auto; }
    .ebook-sales .bg-proof-bar__badge { order: 3; width: 100%; justify-content: center; }
    .ebook-sales .bg-proof-bar__label { font-size: 14px; }
    .ebook-sales .bg-proof-bar__note,
    .ebook-sales .bg-proof-bar__score { font-size: 12px; }
    .ebook-sales .bg-proof-bar__face { width: 36px; height: 36px; margin-left: -10px; }
    .ebook-hero__quick-list { font-size: 12px; }
    .ebook-sales .bg-hero-notes { align-items: flex-start; gap: 7px 0; }
    .ebook-sales .bg-hero-notes .bg-hero-note { white-space: normal; }
    .ebook-sales .bg-hero-notes .bg-hero-note + .bg-hero-note { padding-left: 8px; margin-left: 8px; }
    .ebook-closing { padding: 64px 0 70px; }
    .ebook-closing h2 { font-size: clamp(39px, 13vw, 58px); }
}

@media (prefers-reduced-motion: reduce) {
    .ebook-gallery-card img { transition: none; }
}
