:root {
    --ink: #1c1410;
    --paper: #fffaf4;
    --cream: #f6ead9;
    --clay: #a8422f;
    --clay-dark: #7f2f20;
    --gold: #c9a15a;
    --leaf: #5c6b4f;
    --muted: #8a7d6f;
    --line: #e7dbc9;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(28, 20, 16, .12);
    font-family: 'Poppins', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
    padding-bottom: 90px;
    /* room for sticky bar */
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ---------- Top badge ---------- */
.top-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ---------- Urgency timer strip ---------- */
.urgency-bar {
    background: var(--clay-dark);
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.urgency-bar .clock {
    font-size: 15px;
}

.urgency-bar .timer {
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, .16);
    padding: 2px 9px;
    border-radius: 6px;
    font-weight: 700;
}

/* ---------- Hero ---------- */
.hero-wrap {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .55));
}

.hero-caption h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.hero-caption h1 .accent {
    color: var(--gold);
}

.hero-caption p {
    margin-top: 10px;
    font-size: 13px;
    opacity: .85;
    letter-spacing: .3px;
}

/* ---------- Product title / about section ---------- */
.card {
    background: var(--paper);
    border-radius: var(--radius) var(--radius) 0 0;
    margin-top: -18px;
    position: relative;
    z-index: 2;
    padding: 28px 20px 8px;
}

.pill {
    display: inline-block;
    background: var(--cream);
    color: var(--clay-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 22px 0 8px;
}

.headline-2 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.headline-2 .hl {
    color: var(--clay);
}

.subline {
    font-size: 15px;
    font-weight: 600;
    margin-top: 4px;
}

/* ---------- Book grid (5 ebooks) ---------- */
.books-section {
    background: linear-gradient(180deg, var(--cream), #fff6e9);
    padding: 26px 18px 30px;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.books-tag {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--clay);
    background: #fff;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    margin: 0 auto 10px;
    display: block;
    width: max-content;
}

.books-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 4px;
}

.books-sub {
    text-align: center;
    font-size: 13px;
    color: var(--clay-dark);
    font-weight: 600;
    margin-bottom: 18px;
}

.book-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
}

.book-strip::-webkit-scrollbar {
    display: none;
}

.book-card {
    flex: 0 0 108px;
    scroll-snap-align: start;
    text-align: center;
}

.book-card .num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
}

.book-cover {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.book-name {
    font-size: 10.5px;
    font-weight: 600;
    margin-top: 6px;
    color: var(--ink);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.trust-chip {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--leaf);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 5px 10px;
}

/* ---------- Offer block ---------- */
.offer-block {
    padding: 26px 18px 4px;
    text-align: center;
}

.offer-tag {
    color: var(--clay);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .4px;
}

.offer-tag .off {
    color: var(--leaf);
}

.price-row {
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.price-now {
    font-size: 34px;
    font-weight: 800;
    color: var(--ink);
    font-family: 'Playfair Display', serif;
}

.price-old {
    font-size: 17px;
    color: var(--muted);
    text-decoration: line-through;
}

.spots-left {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--clay-dark);
}

/* ---------- Testimonials ---------- */
.reviews-section {
    padding: 26px 18px 30px;
}

.review-shot {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}

.review-shot img {
    width: 100%;
}

.stars {
    color: var(--gold);
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* ---------- Guarantee / FAQ mini ---------- */
.mini-faq {
    padding: 6px 18px 30px;
}

.mini-faq details {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}

.mini-faq summary {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-faq summary::-webkit-details-marker {
    display: none;
}

.mini-faq summary::after {
    content: '+';
    font-size: 18px;
    color: var(--clay);
}

.mini-faq details[open] summary::after {
    content: '–';
}

.mini-faq p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.6;
}

/* ---------- Sticky bottom bar ---------- */
.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: var(--ink);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
}

.sticky-info {
    color: #fff;
}

.sticky-info .label {
    font-size: 10.5px;
    color: #cfc3b3;
    letter-spacing: .5px;
}

.sticky-info .amt {
    font-size: 18px;
    font-weight: 800;
}

.sticky-info .amt .old {
    font-size: 12px;
    color: #a89e91;
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 500;
}

.buy-btn {
    background: var(--clay);
    color: #fff;
    border: none;
    font-size: 14.5px;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.buy-btn:active {
    transform: scale(.97);
}

/* ---------- Checkout modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 14, 10, .55);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 100;
}

.modal-overlay.active {
    display: flex;
}

.modal-sheet {
    background: #fff;
    width: 100%;
    max-width: 520px;
    border-radius: 20px 20px 0 0;
    padding: 22px 20px 26px;
    animation: slideUp .25s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-sheet h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin-bottom: 14px;
}

.modal-sheet input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    font-family: inherit;
}

.modal-sheet .pay-btn {
    width: 100%;
    background: var(--clay);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 20px;
    color: var(--muted);
    cursor: pointer;
}

.modal-note {
    font-size: 11.5px;
    color: var(--muted);
    text-align: center;
    margin-top: 10px;
}

/* ---------- Footer ---------- */
.footer-note {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    padding: 20px 18px 10px;
}

@media (min-width:540px) {
    .container {
        padding: 0;
    }
}

/* ---------- Added Sales Copy Elements ---------- */
.pain-points {
    margin-top: 24px;
    background: #fdf5f2;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #fae1dc;
}
.pain-points p strong {
    color: var(--clay-dark);
    font-size: 14.5px;
}
.pain-points ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.pain-points ul li {
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
}
.sol-text {
    font-size: 13.5px;
    color: var(--leaf);
    font-weight: 600;
    text-align: center;
    margin-top: 14px;
}

.value-stack {
    background: #fff;
    margin: 20px 18px;
    padding: 24px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.vs-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--clay-dark);
    margin-bottom: 16px;
    text-align: center;
}
.vs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vs-list li {
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}
.vs-list li::before {
    content: '🔥';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}
.vs-list li strong {
    color: var(--clay);
    font-weight: 700;
}
.vs-total {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    text-align: center;
}
.vs-total p {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}
.vs-total .strike {
    text-decoration: line-through;
}
.vs-total .highlight {
    font-size: 22px;
    color: var(--leaf);
    font-weight: 800;
    margin-top: 4px;
}