/* ACHERON Landing Page Styles */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --river-color: #4a9eff;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #7a8b9a;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-river: linear-gradient(90deg, #4a9eff 0%, #6bb6ff 50%, #4a9eff 100%);
    --shadow-primary: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(74, 158, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--river-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-river);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Главная секция */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


.river-flow {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 200px;
    background: var(--gradient-river);
    opacity: 0.1;
    animation: riverFlow 20s linear infinite;
}

@keyframes riverFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--river-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--river-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--river-color), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--river-color), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particlesFloat 15s linear infinite;
    opacity: 0.3;
}

@keyframes particlesFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-200px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 700;
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(74, 158, 255, 0.6)); }
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-river);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--river-color);
    border: 2px solid var(--river-color);
}

.btn-secondary:hover {
    background: var(--river-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--river-color);
    color: var(--river-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--river-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Секции */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Возможности */
.features {
    background: var(--secondary-color);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 158, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(74, 158, 255, 0.1);
    border-color: var(--river-color);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-river);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    overflow: hidden;
}

.feature-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Технологии */
.tech {
    background: var(--primary-color);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.tech-description h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-description p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(74, 158, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-category:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: var(--river-color);
    transform: translateY(-5px);
}

.tech-category h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--river-color);
    text-align: center;
    font-weight: 600;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(74, 158, 255, 0.1);
    transform: translateX(5px);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--river-color);
    width: 30px;
    text-align: center;
}

.tech-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* О проекте */
.about {
    background: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: var(--gradient-river);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.about-feature i {
    color: var(--river-color);
    font-size: 1.2rem;
}

.about-visual {
    position: relative;
    height: 400px;
}

.river-animation {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: var(--gradient-primary);
}

.river-path {
    position: absolute;
    top: 50%;
    left: -50%;
    width: 200%;
    height: 4px;
    background: var(--gradient-river);
    transform: translateY(-50%);
    animation: riverPath 8s ease-in-out infinite;
}

@keyframes riverPath {
    0%, 100% { transform: translateY(-50%) translateX(-50%); }
    50% { transform: translateY(-50%) translateX(50%); }
}

.river-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(74, 158, 255, 0.1) 50%, transparent 70%);
    animation: riverFlowVisual 6s linear infinite;
}

@keyframes riverFlowVisual {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Контакты */
.contact {
    background: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(74, 158, 255, 0.1);
}

.contact-method:hover {
    color: var(--river-color);
    border-color: var(--river-color);
    background: rgba(74, 158, 255, 0.1);
}

.contact-method i {
    font-size: 1.2rem;
    color: var(--river-color);
}

.contact-visual {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(74, 158, 255, 0.1);
}

.contact-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-stat {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-stat:hover {
    background: rgba(74, 158, 255, 0.15);
    border-color: var(--river-color);
    transform: translateX(10px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-river);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-info .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--river-color);
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Футер */
.footer {
    background: var(--primary-color);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--river-color);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--river-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--river-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
    color: var(--text-muted);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .about-content,
    .contact-content,
    .tech-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
