/* Modern Text Styling */
.modern-text-container {
    position: relative;
    padding: 1rem 0;
}

.text-highlight {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-tagline {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--text-color);
}

.accent-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-2);
    border-radius: 2px;
    opacity: 0.5;
}

.text-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.text-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-color);
}

.feature i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Animation for text elements */
.text-highlight {
    animation: slideInRight 1s ease forwards;
}

.text-tagline {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.text-description {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

.feature {
    opacity: 0;
    transform: translateY(20px);
}

.feature:nth-child(1) {
    animation: fadeInUp 0.5s ease 0.9s forwards;
}

.feature:nth-child(2) {
    animation: fadeInUp 0.5s ease 1.1s forwards;
}

.feature:nth-child(3) {
    animation: fadeInUp 0.5s ease 1.3s forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-tagline {
        font-size: 1.8rem;
    }
    
    .text-features {
        grid-template-columns: 1fr;
    }
}
