/* Стилизация текста в стиле светлый киберпанк */

/* Основной текст */
p, .text-content, .description {
    color: #4b5563;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    position: relative;
}

p:hover, .text-content:hover, .description:hover {
    color: #1f2937;
    transform: translateX(2px);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: #1e293b;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

h1::before, h2::before, h3::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3b82f6, #f97316);
    transition: width 0.4s ease;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

h1:hover::before, h2:hover::before, h3:hover::before {
    width: 100%;
}

/* Специальные классы для текста */
.cyber-text {
    background: linear-gradient(135deg, #1e293b, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    position: relative;
}

.cyber-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    filter: blur(1px);
    z-index: -1;
}

.glow-text {
    color: #3b82f6;
    text-shadow: 
        0 0 5px rgba(59, 130, 246, 0.4),
        0 0 10px rgba(59, 130, 246, 0.2);
    font-weight: 600;
    transition: all 0.3s ease;
}

.glow-text:hover {
    text-shadow: 
        0 0 8px rgba(59, 130, 246, 0.6),
        0 0 15px rgba(59, 130, 246, 0.4),
        0 0 20px rgba(59, 130, 246, 0.2);
    transform: scale(1.02);
}

/* Анимации для текста */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 5px rgba(59, 130, 246, 0.4),
            0 0 10px rgba(59, 130, 246, 0.2);
    }
    50% {
        text-shadow: 
            0 0 8px rgba(59, 130, 246, 0.6),
            0 0 15px rgba(59, 130, 246, 0.4),
            0 0 20px rgba(59, 130, 246, 0.2);
    }
}

@keyframes textSlide {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Применение анимаций */
.animated-text {
    animation: textSlide 0.6s ease-out;
}

.glowing-text {
    animation: textGlow 2s ease-in-out infinite;
}
