:root {
    --primary-color: #2ED573; /* Vibrant soft green */
    --primary-dark: #27AE60;
    --text-color: #2F3640;
    --bg-color: #F8F9FA;
    --white: #FFFFFF;
    --accent: #F1C40F; /* Yellow */
    --danger: #E74C3C;
    --refuse: #7F8C8D;
    --border-radius: 16px;
    --shadow-light: 0 4px 15px rgba(0,0,0,0.04);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.08);
}

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

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

.upsell-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--white);
    min-height: 100vh;
    box-shadow: var(--shadow-heavy);
    padding-bottom: 60px;
}

.progress-bar-container {
    background-color: #FFF9E6;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #FDF0CB;
}

.progress-bar {
    height: 8px;
    background-color: #E2E8F0;
    border-radius: 4px;
    margin: 0 auto 10px;
    max-width: 350px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, #F1C40F, #F39C12);
    border-radius: 4px;
}

.progress-text {
    font-size: 0.9rem;
    color: #B8860B;
    font-weight: 600;
}

.upsell-content {
    padding: 35px 25px;
}

.headline {
    font-size: 1.9rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.headline .highlight {
    color: var(--accent);
}

.subheadline {
    font-size: 1.15rem;
    font-weight: 500;
    text-align: center;
    color: #57606F;
    margin-bottom: 35px;
    line-height: 1.4;
}

.product-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.product-image-wrapper {
    position: relative;
    margin-bottom: 20px;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.product-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.copy-box {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #EEEEEE;
    width: 100%;
    position: relative;
    z-index: 1;
}

.copy-box p {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #4B4B4B;
}

.copy-box p:last-child {
    margin-bottom: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.benefits-section {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-light);
    border: 1px solid #F1F2F6;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.benefits-list .icon {
    margin-right: 15px;
    font-size: 1.3rem;
    background-color: #EAFCFA;
    border-radius: 50%;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.urgency-box {
    background-color: #FFF5F5;
    border: 2px dashed #FF7675;
    border-radius: var(--border-radius);
    padding: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.urgency-icon {
    font-size: 2.2rem;
    margin-right: 18px;
}

.urgency-box p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #D63031;
    line-height: 1.4;
}

.cta-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.price-display {
    text-align: center;
    margin-bottom: 5px;
    background: #F8F9FA;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    border: 1px solid #E2E8F0;
    width: 100%;
}

.old-price {
    display: block;
    font-size: 1.1rem;
    color: #7f8c8d;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.new-price {
    display: block;
    font-size: 1.3rem;
    color: var(--text-color);
}

.new-price strong {
    color: var(--primary-dark);
    font-size: 1.9rem;
    font-weight: 800;
}

.btn-accept {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 22px 15px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(46, 213, 115, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: pulse-button 2s infinite;
}

.btn-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(46, 213, 115, 0.5);
    background: linear-gradient(135deg, #2ae079, #23ab5c);
}

.secure-checkout {
    font-size: 0.95rem;
    color: #A4B0BE;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.btn-refuse {
    display: inline-block;
    background: transparent;
    border: none;
    color: var(--refuse);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    padding: 10px;
    transition: color 0.3s ease;
}

.btn-refuse:hover {
    color: #57606F;
    text-decoration: underline;
}

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

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

@keyframes pulse-button {
    0% { transform: scale(1); box-shadow: 0 10px 25px rgba(46, 213, 115, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 15px 35px rgba(46, 213, 115, 0.5); }
    100% { transform: scale(1); box-shadow: 0 10px 25px rgba(46, 213, 115, 0.4); }
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

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

@media (max-width: 576px) {
    .upsell-content { padding: 30px 20px; }
    .headline { font-size: 1.6rem; }
    .subheadline { font-size: 1.05rem; }
    .btn-accept { font-size: 1.05rem; padding: 20px 10px; }
    .urgency-box { padding: 18px; }
    .product-image { max-width: 90%; }
    .copy-box { padding: 25px; }
}
