:root {
    --yellow: #f5c518;
    --pink: #f06a8c;
    --ink: #2b2420;
    --ink-soft: #5a5148;
    --cream: #fdf8ef;
    --cream-2: #f4ead5;
    --line: #e7dbc4;
    --success: #3f8f5c;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(43, 36, 32, 0.08);
    font-size: 17px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.55;
}

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

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px 32px;
    border-radius: 999px;
    background: var(--pink);
    color: white;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(240, 106, 140, 0.35); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-block { display: block; width: 100%; text-align: center; }

.trust-line {
    margin-top: 14px;
    font-size: 0.92rem;
    color: var(--ink-soft);
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

/* HERO */
.hero {
    padding: 56px 0 40px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.15;
    margin: 0 0 18px;
}
.hero p.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin: 0 0 28px;
}
.hero-image {
    background: radial-gradient(120% 120% at 28% 18%, #f9f1e3 0%, #ecdcbe 55%, #ddc79f 100%);
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 24px 54px rgba(107, 79, 41, 0.18);
}
.hero-image img {
    border-radius: 20px;
}
.badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

/* SECTIONS */
section { padding: 48px 0; }
h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    margin: 0 0 34px;
}

.problem {
    background: var(--cream-2);
    border-radius: 28px;
    text-align: center;
}
.problem p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: var(--ink-soft);
}

/* HOW IT WORKS */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.step {
    text-align: center;
    padding: 28px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pink);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

.video-wrap {
    margin: 28px auto 0;
    max-width: 640px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--ink);
}
.video-wrap video {
    display: block;
    width: 100%;
}

.infographic {
    width: 100%;
    margin: 32px auto 0;
    max-width: 760px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* BENEFITS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.benefit .icon { font-size: 1.5rem; }
.benefit h4 { margin: 0 0 4px; font-size: 1rem; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* PRICING */
.pricing { background: var(--cream-2); border-radius: 28px; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}
.price-card {
    background: white;
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.selected { border-color: var(--pink); }
.price-card .ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.price-card .qty { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.price-card .total { font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.price-card .total .original { font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); text-decoration: line-through; margin-right: 6px; }
.price-card .per-unit { font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }
.price-card .save { margin-top: 8px; font-size: 0.82rem; color: var(--success); font-weight: 700; }

.upsell-box {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 560px;
    margin: 0 auto 24px;
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.upsell-box:has(input:checked) { border-color: var(--pink); }
.upsell-img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; flex-shrink: 0; background: var(--cream-2); }
.upsell-info { flex: 1; }
.upsell-title { font-weight: 700; margin-bottom: 4px; }
.upsell-price { color: var(--pink); font-weight: 800; }
.upsell-desc { margin: 0; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.upsell-box input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--pink); flex-shrink: 0; cursor: pointer; }
.upsell-howto {
    display: block;
    margin-top: 8px;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--pink);
    cursor: pointer;
    font-family: inherit;
}
.upsell-howto:hover { text-decoration: underline; }

.howto-card { max-width: 480px; padding: 20px; }
.howto-img { width: 100%; border-radius: 16px; display: block; margin-bottom: 16px; }

.discount-banner {
    max-width: 480px;
    margin: 0 auto 20px;
    text-align: center;
    background: var(--success);
    color: white;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: 999px;
}

.color-preview {
    max-width: 380px;
    margin: 0 auto 24px;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(120% 120% at 28% 18%, #f9f1e3 0%, #ecdcbe 55%, #ddc79f 100%);
    box-shadow: 0 18px 42px rgba(107, 79, 41, 0.16);
}
.color-preview img {
    width: 100%;
    transition: opacity 0.15s ease;
}

.color-picker {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.color-swatch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: white;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.92rem;
}
.color-swatch.selected { border-color: var(--ink); }
.dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.dot.black { background: #2b2420; }
.dot.white { background: #ffffff; border: 1px solid var(--line); }

.checkout-cta { text-align: center; }
.shipping-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.checkout-error {
    color: #b23b3b;
    text-align: center;
    margin-top: 14px;
    font-size: 0.92rem;
    display: none;
}

/* SOCIAL PROOF */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.review {
    background: white;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.review .stars { color: var(--yellow); margin-bottom: 8px; letter-spacing: 2px; }
.review p { margin: 0 0 10px; font-size: 0.96rem; color: var(--ink-soft); }
.review .author { font-weight: 700; font-size: 0.9rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    padding: 18px 22px;
}
.faq-item h4 { margin: 0 0 8px; font-size: 1rem; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* TRUST STRIP */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    text-align: center;
    font-size: 0.95rem;
    color: var(--ink-soft);
}
.trust-strip .item { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 180px; }
.trust-strip .icon { font-size: 1.6rem; }

/* FINAL CTA */
.final-cta {
    text-align: center;
    background: var(--ink);
    color: white;
    border-radius: 28px;
    padding: 56px 24px;
}
.final-cta h2 { color: white; }
.final-cta .btn { background: var(--yellow); color: var(--ink); }
.final-cta .btn:hover { box-shadow: 0 14px 34px rgba(245, 197, 24, 0.35); }

footer {
    text-align: center;
    padding: 32px 24px 48px;
    color: var(--ink-soft);
    font-size: 0.85rem;
}
footer a { color: var(--ink-soft); }

/* DISCOUNT POPUP */
.popup-overlay[hidden] { display: none; }
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 36, 32, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    animation: popup-fade 0.2s ease;
}
.popup-card {
    position: relative;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 40px 32px 28px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: popup-rise 0.25s ease;
}
.popup-icon { font-size: 2.6rem; margin-bottom: 8px; }
.popup-card h3 { font-size: 1.3rem; margin: 0 0 10px; }
.popup-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 20px; }
.popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
    padding: 4px;
}
#popupForm { display: flex; flex-direction: column; gap: 12px; }
#popupEmail {
    padding: 14px 16px;
    border-radius: 999px;
    border: 2px solid var(--line);
    font-size: 1rem;
    font-family: inherit;
}
#popupEmail:focus { outline: none; border-color: var(--pink); }
.popup-success { color: var(--success); font-weight: 700; font-size: 0.95rem; }
.popup-error { color: #b23b3b; font-size: 0.88rem; margin-top: 10px; }
.popup-fine { font-size: 0.78rem; color: var(--ink-soft); opacity: 0.8; margin: 16px 0 0 !important; }

@keyframes popup-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popup-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { order: -1; }
    .steps, .benefits-grid, .pricing-grid, .reviews-grid { grid-template-columns: 1fr; }
    .trust-strip { gap: 20px; }
}
