@font-face {
    font-family: 'lackregular';
    src: url('./fonts/Lack-Regular.woff2') format('woff2'),
         url('./fonts/Lack-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

:root {
    --primary-light: #B679F2;
    --primary-lighter: #CFACF2;
    --primary-medium: #883DF2;
    --primary-dark: #120F59;
    --primary-darker: #1E1B8C;
    
    /* Дополнительные цвета для разнообразия (приглушенные для лучшей читаемости) */
    --accent-cyan: #40E0D0;
    --accent-pink: #DA70D6;
    --accent-orange: #FF7F50;
    --accent-green: #98FB98;
    --accent-yellow: #F0E68C;
    
    /* Вариации основных цветов */
    --primary-ultra-light: #E6D3FF;
    --primary-glow: #9D4EDD;
    --secondary-blue: #4A90E2;
    --secondary-purple: #6A4C93;
    
    /* Цвета для текста и читаемости */
    --text-primary: #FFFFFF;
    --text-secondary: #E6D3FF;
    --text-accent: #CFACF2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'lackregular', 'InterVariable', sans-serif;
    background: var(--primary-dark);
    color: white;
    overflow-x: hidden;
    min-height: 100svh;
}

/* Космический фон */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, var(--primary-darker) 0%, var(--secondary-blue) 25%, var(--primary-medium) 50%, var(--primary-dark) 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s linear infinite;
}

.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(182, 121, 242, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(64, 224, 208, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(218, 112, 214, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 40%, rgba(255, 127, 80, 0.1) 0%, transparent 50%);
    animation: nebula-drift 20s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes nebula-drift {
    0% { transform: translateX(-10px) translateY(-5px); }
    100% { transform: translateX(10px) translateY(5px); }
}

/* Заголовок и навигация */
.header {
    position: relative;
    z-index: 100;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 25 px;
    filter: drop-shadow(0 0 10px rgba(64, 224, 208, 0.6)) drop-shadow(0 0 20px rgba(182, 121, 242, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px var(--accent-cyan), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.incident-btn {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 112, 214, 0.3);
    font-family: 'lackregular', 'InterVariable', sans-serif;
    font-weight: bold;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); */
}

.incident-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 112, 214, 0.4);
}

.chat-icon {
    font-size: 16px;
}

/* Основной контент */
.main-content {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 20;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 40px;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 3s ease-in-out infinite alternate;
    text-align: justify;
}

@keyframes title-glow {
    0% { filter: drop-shadow(0 0 15px rgba(64, 224, 208, 0.4)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(182, 121, 242, 0.5)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
    100% { filter: drop-shadow(0 0 25px rgba(207, 172, 242, 0.6)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
}

.consultation-btn {
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-medium));
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(64, 224, 208, 0.3);
    font-family: 'lackregular', 'InterVariable', sans-serif;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); */
}

.consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
}

/* Голографические элементы */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hologram-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.8), rgba(182, 121, 242, 0.6), rgba(218, 112, 214, 0.4));
    border-radius: 50%;
    border: 2px solid rgba(64, 224, 208, 0.9);
    box-shadow:
        0 0 60px rgba(64, 224, 208, 0.8),
        0 0 100px rgba(182, 121, 242, 0.6),
        0 0 140px rgba(218, 112, 214, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    animation: sphere-pulse 4s ease-in-out infinite;
}

@keyframes sphere-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
        filter: brightness(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
        filter: brightness(1.3);
    }
}

.hologram-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 3px solid;
    border-radius: 50%;
    animation: ring-rotate 10s linear infinite;
    filter: drop-shadow(0 0 10px currentColor);
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(64, 224, 208, 0.9);
    top: -100px;
    left: -100px;
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.6);
}

.ring-2 {
    width: 250px;
    height: 250px;
    border-color: rgba(218, 112, 214, 0.8);
    top: -125px;
    left: -125px;
    animation-duration: 15s;
    animation-direction: reverse;
    box-shadow: 0 0 25px rgba(218, 112, 214, 0.5);
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-color: rgba(255, 127, 80, 0.7);
    top: -150px;
    left: -150px;
    animation-duration: 20s;
    box-shadow: 0 0 30px rgba(255, 127, 80, 0.4);
}

@keyframes ring-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-pink));
    border-radius: 50%;
    animation: particle-float 6s ease-in-out infinite;
    box-shadow: 0 0 10px currentColor;
    filter: brightness(1.5);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    66% {
        transform: translateY(10px) translateX(-15px);
        opacity: 0.8;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hologram-container {
        width: 200px;
        height: 200px;
    }
    
    .hologram-sphere {
        width: 100px;
        height: 100px;
    }
}