@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #050508;
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Фоновые градиенты */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(78, 78, 120, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 0% 100%, rgba(100, 100, 150, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Сетка на фоне */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Гирлянда */
.garland {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 8px 30px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(5, 5, 8, 0.9) 0%, transparent 100%);
}

.light {
    width: 10px;
    height: 16px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: var(--color);
    box-shadow: 0 0 12px var(--color), 0 0 24px var(--color), 0 0 36px var(--color);
    animation: glow 1.5s ease-in-out infinite;
    animation-delay: var(--delay);
    position: relative;
}

.light::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: #2a2a2a;
    border-radius: 2px;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Снежинки */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.snowflake img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(100, 180, 255, 0.4));
}

/* Хедер */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 80px 30px;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero секция */
.hero {
    text-align: center;
    padding: 100px 20px 120px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 48px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(56, 189, 248, 0.1) 100%);
    color: #fff;
    border: none;
    padding: 18px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.15);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.25), 0 0 60px rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.5);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3) 0%, rgba(56, 189, 248, 0.15) 100%);
}

.cta-button svg {
    transition: transform 0.3s ease;
    color: #60a5fa;
}

.cta-button:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
}

/* Features секция */
.features {
    padding: 80px 60px;
    position: relative;
    z-index: 10;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #fff;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Как это работает */
.how-it-works {
    padding: 100px 60px;
    position: relative;
    z-index: 10;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 70px;
    color: #fff;
    letter-spacing: -1px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    position: relative;
    padding: 36px 28px;
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.08) 0%, rgba(96, 165, 250, 0.02) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0.04) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(96, 165, 250, 0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.4) 0%, rgba(96, 165, 250, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Воркер-бот секция */
.worker-bot {
    padding: 100px 60px;
    position: relative;
    z-index: 10;
}

.worker-bot-content {
    max-width: 1100px;
    margin: 0 auto;
}

.worker-bot-header {
    text-align: center;
    margin-bottom: 60px;
}

.worker-bot-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(96, 165, 250, 0.05) 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #60a5fa;
    margin-bottom: 24px;
}

.worker-bot-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.worker-bot-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.worker-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.worker-feature {
    display: flex;
    gap: 16px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.worker-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.worker-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worker-feature-icon .svg-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.worker-feature-icon lottie-player {
    width: 48px;
    height: 48px;
}

.worker-feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.worker-feature-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* CTA секция */
.cta-section {
    padding: 80px 20px 120px;
    position: relative;
    z-index: 10;
}

.cta-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 60px 50px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(120, 120, 180, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-card h2 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.5px;
    position: relative;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 36px;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.telegram-button {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(42, 171, 238, 0.3);
}

.telegram-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.telegram-button:hover::before {
    left: 100%;
}

.telegram-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(42, 171, 238, 0.4), 0 0 30px rgba(42, 171, 238, 0.2);
    background: linear-gradient(135deg, #3BB9F7 0%, #2AABEE 100%);
}

.telegram-button svg {
    transition: transform 0.3s ease;
}

.telegram-button:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

/* Футер */
footer {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Мерцающие звезды */
.sparkle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: sparkle 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .worker-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    header {
        padding: 40px 24px 20px;
    }
    
    .features {
        padding: 60px 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .how-it-works {
        padding: 60px 24px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .worker-bot {
        padding: 60px 24px;
    }
    
    .worker-features {
        grid-template-columns: 1fr;
    }
    
    .worker-bot-header h2 {
        font-size: 1.8rem;
    }
    
    .garland {
        padding: 6px 15px;
    }
    
    .light {
        width: 8px;
        height: 12px;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 16px 80px;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 8px 14px;
    }
    
    .cta-button,
    .telegram-button {
        padding: 16px 28px;
        font-size: 0.9rem;
    }
    
    .features h2 {
        font-size: 1.8rem;
    }
    
    .cta-card h2 {
        font-size: 1.5rem;
    }
}

/* Плавный скролл */
html {
    scroll-behavior: smooth;
}
