/* ===== НАВИГАЦИЯ ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
}

.bolt {
    color: var(--neon-blue);
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-blue);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 2px;
}

.nav-cta {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(123, 47, 247, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(157, 78, 221, 0.1) 0%, transparent 50%);
    animation: xenPulse 8s ease-in-out infinite alternate;
}

@keyframes xenPulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Звёзды / частицы фона */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(0,212,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 90% 10%, rgba(123,47,247,0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 30% 10%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 85% 70%, rgba(255,255,255,0.2), transparent);
    background-size: 100% 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.bolt-big {
    font-size: 4rem;
    color: var(--neon-blue);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    animation: boltGlow 2s ease-in-out infinite alternate;
}

@keyframes boltGlow {
    0% { filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4)); }
    100% { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8)); }
}

.hero-logo h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
}

.neon-text {
    background: linear-gradient(135deg, var(--neon-blue), var(--xen-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.stat-num.online {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    margin: 16px auto 0;
    border-radius: 3px;
}

.page-header {
    padding-top: 160px;
    padding-bottom: 60px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(123, 47, 247, 0.12) 0%, transparent 60%);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== ФУТЕР ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
}
