:root {
    --primary: #10B981; /* Emerald green */
    --primary-dark: #059669;
    --primary-light: #D1FAE5;
    --bg-color: #F3F4F6;
    --white: #FFFFFF;
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --border-color: #E5E7EB;
    --danger: #EF4444;
    --warning: #F59E0B;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
}

.downsell-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    min-height: 100vh;
    box-shadow: var(--shadow-lg);
    padding: 30px 24px 40px;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.headline {
    color: var(--danger);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.subheadline {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Offer Section */
.offer-section {
    text-align: center;
    margin-bottom: 25px;
}

.offer-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-image-wrapper {
    margin: 0 auto 20px;
    max-width: 80%;
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.main-text-box {
    background: #F9FAFB;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.main-text-box p {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.main-text-box p:last-child {
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 25px;
}

.benefits-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.benefits-grid li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.benefits-grid .icon {
    margin-right: 12px;
    font-size: 1rem;
    background: var(--primary-light);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Bonus Section */
.bonus-section {
    background: linear-gradient(to right, #FFFBEB, #FEF3C7);
    border: 1px solid #FDE047;
    border-radius: var(--border-radius);
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.bonus-tag {
    display: inline-block;
    background: var(--warning);
    color: var(--white);
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.bonus-intro {
    font-size: 0.95rem;
    color: #92400E;
    margin-bottom: 4px;
    font-weight: 500;
}

.bonus-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #92400E;
    margin-bottom: 8px;
    line-height: 1.3;
}

.bonus-desc {
    font-size: 0.95rem;
    color: #B45309;
}

/* Urgency Section */
.urgency-section {
    background: #FEF2F2;
    border: 2px dashed #FCA5A5;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
}

.urgency-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.urgency-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #B91C1C;
}

.urgency-list .icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

/* Checkout Section */
.checkout-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-box {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    background: #F9FAFB;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.old-price {
    display: block;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.new-price-label {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.new-price {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin: 8px 0;
    letter-spacing: -1px;
}

.payment-terms {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-main {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 22px 15px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    animation: pulse-btn 2s infinite;
    line-height: 1.3;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.5);
}

.secure-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.secure-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-secondary {
    margin-top: 25px;
    background: transparent;
    border: none;
    color: #9CA3AF;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.btn-secondary:hover {
    color: var(--text-muted);
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-btn {
    0% { transform: scale(1); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3); }
    50% { transform: scale(1.02); box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5); }
    100% { transform: scale(1); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3); }
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Media Queries */
@media (max-width: 480px) {
    .downsell-container {
        padding: 25px 16px 35px;
    }
    .headline {
        font-size: 1.4rem;
    }
    .btn-main {
        font-size: 1.05rem;
        padding: 20px 12px;
    }
    .new-price {
        font-size: 2.8rem;
    }
    .secure-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}
