body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
    color: #1a202c; 
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(34, 211, 126, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(100, 230, 200, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(50, 200, 150, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}
.gradient-text { 
    background: linear-gradient(135deg, #1a202c 30%, #22d37e 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.glass-card { 
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 211, 126, 0.1); 
    box-shadow: 0 8px 32px rgba(0,0,0,0.06); 
    transition: all 0.3s; 
}
.glass-card:hover { 
    border-color: #22d37e; 
    box-shadow: 0 12px 40px rgba(34,211,126,0.2); 
    transform: translateY(-4px); 
}
.nav-link { 
    position: relative; 
    color: #4a5568; 
    transition: color 0.3s; 
}
.nav-link:hover { color: #1a202c; }
.nav-link::after { 
    content: ''; 
    position: absolute; 
    bottom: -4px; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: #22d37e; 
    transition: width 0.3s; 
}
.nav-link:hover::after { width: 100%; }
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}
.mesh-gradient {
    background: 
        linear-gradient(135deg, rgba(34, 211, 126, 0.05) 0%, transparent 100%),
        linear-gradient(225deg, rgba(100, 230, 200, 0.05) 0%, transparent 100%);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    transform: scale(0.7) translateY(-50px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.tab-btn {
    position: relative;
    padding: 12px 24px;
    background: none;
    border: none;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}
.tab-btn.active {
    color: #22d37e;
}
.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #22d37e;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px 3px 0 0;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
}
.form-input:focus {
    border-color: #22d37e;
    box-shadow: 0 0 0 4px rgba(34, 211, 126, 0.1);
}
.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.3s;
    background: white;
    padding: 0 4px;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: 0;
    font-size: 12px;
    color: #22d37e;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-slide-in {
    animation: slideInUp 0.4s ease forwards;
}

/* Анимация для кнопок */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 211, 126, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 211, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 211, 126, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Дополнительные стили для компонентов */
.stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 211, 126, 0.1);
}

.feature-icon {
    transition: all 0.3s ease;
}

.channel-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}
.channel-item:hover {
    border-left-color: #22d37e;
    background: rgba(34, 211, 126, 0.05);
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #22d37e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-blob {
        width: 200px !important;
        height: 200px !important;
    }
    
    .modal-content {
        width: 95%;
        margin: 0 10px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Стили для скроллбара */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: #22d37e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1db46d;
}