:root {
    --background-color: #f0f0f0;
    --text-color: #333;
}

.security-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.security-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.security-item:hover {
    transform: translateY(-5px);
}

.security-icon {
    font-size: 48px;
    color: #2563eb;
    margin-bottom: 20px;
}

.back-button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background: #1d4ed8;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: #333;
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #fff;
    }
    
    .security-item {
        background: #2d2d2d;
        color: #fff;
    }
    
    .modal-content {
        background: #2d2d2d;
        color: #fff;
    }
    
    .close-button {
        color: #999;
    }
    
    .close-button:hover {
        color: #fff;
    }
}
