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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0c12;
    color: #ededee;
    line-height: 1.5;
    overflow-x: hidden;
    cursor: default;
}

/* ========== ФОН У СТИЛІ TerraBlade ========== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 40%, #1a1a2e 0%, #0a0c12 80%, #050508 100%);
    z-index: -3;
}

.bg-glow-core {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 80%);
    filter: blur(40px);
    z-index: -2;
    pointer-events: none;
}

/* ========== ЕЛЕГАНТНІ ЧАСТИНКИ ========== */
#floatingParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: floatParticle 8s linear infinite;
}

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

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

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

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

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

@keyframes floatParticle {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* На мобільних приховуємо частинки */
@media (max-width: 768px) {
    #floatingParticles {
        display: none;
    }
}

/* ========== ІНШІ СТИЛІ (ТІ САМІ, ЩО Й БУЛИ) ========== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
    position: relative;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(10, 12, 18, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #a78bfa);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo i {
    color: #8b5cf6;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    background: rgba(30, 35, 48, 0.5);
    padding: 0.3rem;
    border-radius: 50px;
}

.nav-btn {
    background: transparent;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: #a1a1aa;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.nav-btn:hover {
    color: #fff;
    background: rgba(139, 92, 246, 0.2);
}

.nav-btn.active {
    background: linear-gradient(95deg, #8b5cf6, #6d28d9);
    color: white;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
}

.hero {
    text-align: center;
    padding: 3rem 1rem 4rem;
    animation: fadeUp 0.6s ease-out;
}

.avatar-container {
    margin-bottom: 2rem;
}

.bot-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transition: transform 0.3s ease;
}

.bot-avatar:hover {
    transform: scale(1.05);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #93c5fd;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF, #93c5fd, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.3rem;
    color: #a1a1aa;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: #71717a;
    margin-bottom: 2rem;
    font-style: italic;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 48px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(95deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(109, 40, 217, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #a78bfa);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.section {
    margin: 2rem 0;
    animation: fadeUp 0.5s ease-out;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

h2 i {
    color: #8b5cf6;
}

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

.feature-card {
    background: rgba(20, 24, 36, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-5px);
    background: rgba(30, 35, 48, 0.7);
}

.feature-card.coming-soon {
    opacity: 0.8;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #b9b9c6;
    margin-bottom: 1rem;
}

.feature-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #c4b5fd;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.2rem;
    background: rgba(20, 24, 36, 0.5);
    border-radius: 1.2rem;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s;
}

.timeline-item:hover {
    border-color: #8b5cf6;
    background: rgba(30, 35, 48, 0.6);
}

.timeline-icon {
    font-size: 2rem;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #b9b9c6;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.75rem;
    color: #8b5cf6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.about-card {
    background: rgba(20, 24, 36, 0.5);
    border-radius: 1.2rem;
    padding: 1.8rem;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s;
}

.about-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-3px);
}

.about-card i {
    font-size: 2.5rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: #b9b9c6;
    font-size: 0.95rem;
}

.highlight {
    color: #a78bfa;
}

.tab-pane {
    display: none;
    animation: fadeUp 0.4s ease-out;
}

.tab-pane.active {
    display: block;
}

.footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #1f212e;
    color: #6b7280;
}

.small {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem 1rem 2rem;
    }
    
    .navbar {
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #0a0c12;
        border-radius: 20px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    h2 {
        font-size: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}