/* Modal styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    max-width: 1000px;
    width: 90%;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    overflow-y: auto;
    opacity: 0;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-family: 'Zen Dots', cursive;
    font-size: 2rem;
    margin: 2rem 0;
    color: var(--text-color);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: scale(1.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.feature-category h3 {
    font-family: 'Zen Dots', cursive;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-family: 'Parkinsans', sans-serif;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.feature-list li::before {
    content: "•";
    color: #FF0080;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        padding: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation classes */
.modal-show {
    display: block;
}

.modal-animate-in {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
