/* index.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc0IiBudW1PY3RhdmVzPSIzIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNmKSIgb3BhY2l0eT0iMC4wNCIgLz48L3N2Zz4=');
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.gradient-bg {
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 157, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 100, 255, 0.03) 0%, transparent 50%);
    z-index: 0;
    animation: rotate 60s infinite linear;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Навигация */
.navbar {
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    background: rgba(10,10,10,0.8);
    position: sticky;
    top: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.accent {
    color: #00ff9d;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #00ff9d;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #00ff9d;
    background: rgba(0,255,157,0.1);
}

.btn-primary {
    background: #00ff9d;
    color: #0a0a0a !important;
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #00cc7a;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,157,0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero секция */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #00ff9d, #00b8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00ff9d;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.hero-graphic {
    position: relative;
}

.chat-preview {
    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-preview .message {
    padding: 0.8rem 1.2rem;
    border-radius: 18px;
    max-width: 70%;
    word-break: break-word;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.05);
}

.chat-preview .own {
    align-self: flex-end;
    background: #00ff9d;
    color: #0a0a0a;
    border: none;
}

.chat-preview .file {
    background: rgba(0,100,255,0.2);
    border: 1px solid rgba(0,100,255,0.3);
}

/* Features */
.features {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(20,20,20,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00ff9d;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* About */
.about {
    max-width: 800px;
    margin: 6rem auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.about-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin: 1.5rem 0;
}

/* CTA */
.cta {
    max-width: 600px;
    margin: 6rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(20,20,20,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    position: relative;
    z-index: 10;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #00ff9d;
}

.footer-copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10,10,10,0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .stats {
        justify-content: center;
    }
    .hero-graphic {
        max-width: 400px;
        margin: 0 auto;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}