/**
 * Subscription Modal Styles
 */

/* Modal Overlay */
.subscription-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

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

/* Modal Container */
.subscription-modal {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.4s ease;
    position: relative;
}

/* Modal Close Button */
.subscription-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.subscription-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.subscription-modal-close i {
    font-size: 20px;
    color: #666;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Success Icon */
.subscription-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A7C59 0%, #3d6b4a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: scaleIn 0.5s ease 0.2s backwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.subscription-modal-icon i {
    font-size: 40px;
    color: white;
}

/* Modal Title */
.subscription-modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Modal Message */
.subscription-modal-message {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.6;
}

.subscription-modal-message strong {
    color: #4A7C59;
    font-weight: 700;
}

/* Modal Details */
.subscription-modal-details {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.subscription-modal-details strong {
    color: #4A7C59;
    font-size: 1.1rem;
}

/* Benefits List */
.subscription-modal-benefits {
    background: linear-gradient(135deg, #f8fdf9 0%, #e8f5e9 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.benefit-item i {
    color: #4A7C59;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Modal CTA Button */
.subscription-modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    justify-content: center;
}

.subscription-modal-cta:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.subscription-modal-cta i {
    font-size: 1.3rem;
}

/* Modal Footer */
.subscription-modal-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* Subscription Active Banner */
.subscription-active-banner {
    background: linear-gradient(135deg, #4A7C59 0%, #3d6b4a 100%);
    color: white;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.subscription-active-banner .container {
    max-width: 1200px;
    margin: 0 auto;
}

.subscription-active-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
}

.subscription-active-banner i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.subscription-active-banner strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .subscription-modal {
        padding: 40px 30px;
        width: 95%;
    }

    .subscription-modal-title {
        font-size: 1.8rem;
    }

    .subscription-modal-icon {
        width: 70px;
        height: 70px;
    }

    .subscription-modal-icon i {
        font-size: 35px;
    }

    .subscription-modal-message {
        font-size: 1.1rem;
    }

    .subscription-modal-cta {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .subscription-active-banner .banner-content {
        flex-direction: column;
        gap: 8px;
        font-size: 0.9rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .subscription-modal {
        padding: 30px 20px;
    }

    .subscription-modal-title {
        font-size: 1.5rem;
    }

    .benefit-item {
        font-size: 0.85rem;
    }
}
