.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

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

.modal-content.trial-welcome {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

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

.trial-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 0.5s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.trial-welcome h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.trial-message {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.trial-features {
    text-align: left;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.trial-features h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2rem;
}

.trial-features ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.trial-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #555;
}

.trial-expiry {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.trial-expiry p {
    margin: 0;
    color: #856404;
    font-size: 1rem;
}

.trial-expiry strong {
    color: #856404;
    font-weight: bold;
}

.trial-welcome .btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    width: 100%;
    font-weight: 600;
    transition: background 0.3s ease;
}

.trial-welcome .btn-primary:hover {
    background: #0056b3;
}

.trial-welcome .upgrade-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem;
}

.trial-welcome .upgrade-link:hover {
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .modal-content.trial-welcome {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
    }

    .trial-icon {
        font-size: 3rem;
    }

    .trial-welcome h2 {
        font-size: 1.5rem;
    }

    .trial-message {
        font-size: 1rem;
    }
}
