/* Typography - Tipografía y estilos de texto */

/* Subtítulos */
.subtitle {
    font-size: clamp(1.4rem, 3.2vw, 1.8rem);
    font-weight: 300;
    line-height: 1.6;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

/* Títulos de navegación */
.navigation-title,
.interaction-title,
.service-title,
.safeguard-title,
.styles-title,
.algorithms-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-top: 3rem;
    color: #4A9EFF;
    background: linear-gradient(135deg, #4A9EFF 0%, #007BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

/* Títulos morados para T9 */
.interaction-title-purple {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-top: 3rem;
    color: #BA55D3;
    background: linear-gradient(135deg, #BA55D3 0%, #8A2BE2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

/* Descripciones de secciones */
.customization-description,
.mapping-description,
.algorithms-description,
.tech-description,
.detection-description {
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
    opacity: 0.9;
}

/* Texto destacado */
.highlight-text {
    color: #1E3A8A;
    font-weight: 600;
    text-decoration: underline;
}

/* Títulos de sección */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Texto del cuerpo */
.body-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.body-text-large {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Texto destacado */
.highlight-text {
    color: var(--text-accent);
    font-weight: 600;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Links */
.link {
    color: var(--text-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Lista de características */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-md);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-weight: bold;
}

/* Texto de presentación específico */
.presentation-text {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.6;
}

/* Animaciones de texto */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.content>* {
    animation: fadeInUp 0.8s ease-out forwards;
}

.content>*:nth-child(2) {
    animation-delay: 0.2s;
}

.content>*:nth-child(3) {
    animation-delay: 0.4s;
}

.content>*:nth-child(4) {
    animation-delay: 0.6s;
}

.content>*:nth-child(5) {
    animation-delay: 0.8s;
}

.content>*:nth-child(6) {
    animation-delay: 1.0s;
}

.content>*:nth-child(7) {
    animation-delay: 1.2s;
}

.content>*:nth-child(8) {
    animation-delay: 1.4s;
}

.content>*:nth-child(9) {
    animation-delay: 1.6s;
}

.content>*:nth-child(10) {
    animation-delay: 1.8s;
}

.content>*:nth-child(11) {
    animation-delay: 2.0s;
}

.content>*:nth-child(12) {
    animation-delay: 2.2s;
}

.content>*:nth-child(13) {
    animation-delay: 2.4s;
}

.content>*:nth-child(14) {
    animation-delay: 2.6s;
}

.content>*:nth-child(15) {
    animation-delay: 2.8s;
}

.content>*:nth-child(16) {
    animation-delay: 3.0s;
}

.content>*:nth-child(17) {
    animation-delay: 3.2s;
}

.content>*:nth-child(18) {
    animation-delay: 3.4s;
}

.content>*:nth-child(19) {
    animation-delay: 3.6s;
}

.content>*:nth-child(20) {
    animation-delay: 3.8s;
}

.content>*:nth-child(21) {
    animation-delay: 4.0s;
}

.content>*:nth-child(22) {
    animation-delay: 4.2s;
}

.content>*:nth-child(23) {
    animation-delay: 4.4s;
}

.content>*:nth-child(24) {
    animation-delay: 4.6s;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}