:root {
    --purple: #8A2BE2;
    --purple-light: #9F3FFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    position: relative;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: var(--purple);
    text-shadow: 0 0 10px var(--purple-light);
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple);
}

.product-info h2 {
    color: var(--purple);
    margin-bottom: 15px;
}

.product-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.features span {
    background: var(--purple);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
}

.qr-code {
    text-align: center;
    margin-top: 20px;
}

.qr-code img {
    width: 200px;
    height: 200px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qr-code .download-btn {
    display: inline-block;
    background: transparent;
    color: var(--purple);
    border: 1px solid var(--purple);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.qr-code .download-btn:hover {
    background: var(--purple);
    color: #000;
    box-shadow: 0 0 15px var(--purple);
}

@media (max-width: 768px) {
    .products {
        grid-template-columns: 1fr;
    }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--purple);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    margin: 15% auto;
    padding: 30px;
    text-align: center;
    animation: modalFade 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    color: var(--purple);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: var(--purple-light);
    transform: scale(1.1);
}

.modal-content h3 {
    color: var(--purple);
    margin-bottom: 15px;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

