:root {
    --pink: #e88ba5;
    --pink-dark: #d1668a;
    --pink-light: #fdf1f4;
    --text-dark: #2b1e22;
    --text-muted: #6b5a5f;
    --gold: #cfa25a;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Tajawal', Arial, sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 { font-weight: 900; }

.section { padding: 60px 0; }
.section h2 { text-align: center; font-size: 28px; margin-bottom: 36px; }

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

/* ---------- HEADER ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid #f0e0e4;
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-dark);
}
.logo span { color: var(--pink-dark); }
.header-badges {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(180deg, var(--pink-light) 0%, #fff 100%);
    padding: 40px 0 20px;
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap-reverse;
}
.hero-text { flex: 1 1 420px; }
.hero-img { flex: 1 1 380px; }
.hero-img img { border-radius: var(--radius); }

.hero h1 {
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 16px;
}
.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.hero-points {
    list-style: none;
    margin-bottom: 22px;
}
.hero-points li {
    margin-bottom: 8px;
    font-size: 16px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}
.old-price {
    text-decoration: line-through;
    color: #b0a1a5;
    font-size: 20px;
}
.new-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--pink-dark);
}
.price-note {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-cta {
    background: var(--pink-dark);
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
    font-family: inherit;
}
.btn-cta:hover { background: #b8506f; transform: translateY(-2px); }
.btn-cta-big { width: 100%; max-width: 340px; padding: 16px 28px; font-size: 18px; }

.trust-row {
    display: flex;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- PRICING (OFFRES) ---------- */
.pricing { background: #fff; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    position: relative;
    background: var(--pink-light);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.pricing-card.highlighted {
    border-color: var(--pink-dark);
    background: #fff;
    transform: scale(1.04);
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-card h3 { font-size: 18px; margin-bottom: 12px; }
.pricing-old {
    text-decoration: line-through;
    color: #b0a1a5;
    font-size: 15px;
}
.pricing-new {
    font-size: 30px;
    font-weight: 900;
    color: var(--pink-dark);
    margin-bottom: 16px;
}
.pricing-card .btn-cta { width: 100%; padding: 12px 20px; font-size: 15px; }
.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 26px;
}

/* ---------- TIER OPTIONS (popup) ---------- */
.tier-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tier-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 2px solid #e2d3d7;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.tier-option:has(input:checked),
.tier-option.is-selected {
    border-color: var(--pink-dark);
    background: var(--pink-light);
}
.tier-option input { accent-color: var(--pink-dark); }
.tier-option-label { flex: 1; font-weight: 700; font-size: 15px; }
.tier-option-price { font-weight: 900; color: var(--pink-dark); font-size: 15px; }
.tier-option-badge {
    position: absolute;
    top: -10px;
    left: 14px;
    background: var(--pink-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}

/* ---------- PROBLEMS ---------- */
.problems { background: #fff; }
.problems-grid, .features-grid, .steps-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.problem-card, .feature-card, .step-card, .testimonial-card {
    background: var(--pink-light);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
}
.problem-card .icon, .feature-card .icon { font-size: 34px; margin-bottom: 12px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p, .problem-card p { color: var(--text-muted); font-size: 15px; }

/* ---------- HOW IT WORKS ---------- */
.how-it-works { background: var(--pink-light); }
.step-card { background: #fff; }
.step-num {
    width: 42px; height: 42px;
    background: var(--pink-dark);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 18px;
    margin: 0 auto 14px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card { text-align: right; }
.stars { margin-bottom: 10px; }
.testimonial-card p { font-size: 15px; color: var(--text-dark); margin-bottom: 12px; }
.testimonial-card .author { color: var(--pink-dark); font-weight: 700; font-size: 14px; }
.testimonials-note { text-align: center; color: var(--text-muted); font-size: 12px; margin-top: 20px; }

/* ---------- GUARANTEE ---------- */
.guarantee { background: #fff; }
.guarantee-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--pink-light);
    border-radius: var(--radius);
    padding: 32px;
    flex-wrap: wrap;
}
.guarantee-icon { font-size: 48px; }
.guarantee h2 { text-align: right; margin-bottom: 8px; }
.guarantee p { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--pink-light); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-list details {
    background: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}
.faq-list p { margin-top: 10px; color: var(--text-muted); }

/* ---------- FINAL CTA ---------- */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--pink-dark), #b8506f);
    color: #fff;
}
.final-cta h2 { color: #fff; }
.final-cta p { margin-bottom: 24px; font-size: 17px; }
.final-cta .btn-cta { background: #fff; color: var(--pink-dark); margin: 0 auto; }
.final-cta .btn-cta:hover { background: var(--pink-light); }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--text-dark);
    color: #d8c9cd;
    text-align: center;
    padding: 22px 0 90px;
    font-size: 14px;
}

/* ---------- STICKY BAR ---------- */
.sticky-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.1);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 60;
}
.sticky-price { font-size: 20px; font-weight: 900; color: var(--pink-dark); }
.sticky-bar .btn-cta { padding: 10px 24px; }

/* ---------- MODAL ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.modal-overlay.active { display: flex; }

.modal-box {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    width: 100%;
    max-width: 440px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
}
.modal-box h3 { text-align: center; font-size: 22px; margin-bottom: 6px; }
.modal-sub { text-align: center; color: var(--text-muted); margin-bottom: 20px; font-size: 14px; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2d3d7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--pink-dark);
}

.qty-group { display: flex; align-items: center; justify-content: space-between; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-control button {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--pink-dark);
    background: #fff;
    color: var(--pink-dark);
    font-size: 18px;
    cursor: pointer;
}
.qty-control input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 16px;
}

.form-total {
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: var(--pink-dark);
    margin: 16px 0;
}
.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

.form-error {
    background: #fdecec;
    color: #b42318;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    margin-top: 14px;
}

.form-success { text-align: center; padding: 20px 0; }
.form-success .icon { font-size: 48px; margin-bottom: 12px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

.field-error { border-color: #d92d20 !important; }

@media (min-width: 700px) {
    .sticky-bar { display: none; }
}
@media (max-width: 699px) {
    .site-footer { padding-bottom: 100px; }
}
