/* Базовые стили */
:root {
    --primary: #6e00ff;
    --neon: #00f7ff;
    --dark: #0a0a14;
    --darker: #05050a;
    --text: #e0e0e0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Неоновые эффекты */
.neon-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    box-shadow: 0 0 10px var(--neon);
    margin-bottom: 20px;
}

/* Hero-блок */
.hero {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--darker), var(--dark));
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    margin: 0;
}

.hero h1 span {
    color: var(--primary);
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Кнопки */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.secondary-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--neon);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--neon);
    margin-left: 15px;
}

.secondary-button:hover {
    background: rgba(0, 247, 255, 0.1);
    box-shadow: 0 0 15px var(--neon);
}

/* Анимация сервера */
.server-animation {
    margin: 50px auto;
    width: 100px;
    height: 100px;
    position: relative;
}

.node {
    width: 20px;
    height: 20px;
    background: var(--neon);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--neon);
}

.pulse {
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: pulse 3s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Блок преимуществ */
.features {
    padding: 80px 0;
    background-color: var(--darker);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(110, 0, 255, 0.1);
    border-color: var(--primary);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* CTA Блок */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--dark), var(--darker));
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.buttons {
    margin-top: 40px;
}

/* Футер */
footer {
    padding: 30px 0;
    text-align: center;
    background-color: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .buttons {
        display: flex;
        flex-direction: column;
    }
    
    .secondary-button {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* Блок протоколов */
.protocols {
    padding: 80px 0;
    background-color: rgba(110, 0, 255, 0.05);
    border-top: 1px solid rgba(110, 0, 255, 0.2);
    border-bottom: 1px solid rgba(110, 0, 255, 0.2);
}

.protocol-card {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    margin: 40px auto;
    max-width: 800px;
    border: 1px solid rgba(0, 247, 255, 0.1);
}

.protocol-icon {
    font-size: 3rem;
    margin-right: 30px;
    color: var(--neon);
}

.protocol-info h3 {
    font-size: 1.8rem;
    margin-top: 0;
    color: var(--neon);
}

.protocol-features {
    columns: 2;
    list-style-type: none;
    padding: 0;
}

.protocol-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.protocol-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Футер */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon);
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 20px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .protocol-card {
        flex-direction: column;
    }
    
    .protocol-icon {
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .protocol-features {
        columns: 1;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* Блок устройств */
.devices {
    padding: 80px 0;
    background-color: var(--darker);
}

.devices h2 {
    text-align: center;
    font-size: 2.2rem;
}

.section-subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.device-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.device-card:hover {
    transform: translateY(-5px);
    background: rgba(110, 0, 255, 0.1);
    border-color: var(--primary);
}

.device-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s;
}

.device-card:hover .device-icon {
    transform: scale(1.2);
}

.device-card h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.device-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.compatibility-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 600px) {
    .device-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.multi-device-warning {
    color: #ff3366;
    font-weight: bold;
    background: rgba(255, 51, 102, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
}

.section-title {
    color: var(--neon);
    text-align: center;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin: 0 auto 50px;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
}

.connection-status {
    margin: 40px auto 0;
    max-width: 300px;
}

.status-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.status-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--neon));
    animation: progress 3s infinite;
}

.status-text {
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    opacity: 0.8;
}

@keyframes progress {
    0% { width: 0; }
    50% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}