/* --- ESTILOS ESPECÍFICOS TÉRMINOS Y CONDICIONES --- */

/* Hereda la base pero permite personalización única */
.legal-container {
    max-width: 900px;
    margin: 120px auto 80px;
    padding: 40px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    animation: fadeIn 0.8s ease-out;
}

/* Encabezado T&C */
.legal-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.legal-header h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.last-update {
    color: var(--accent-blue); /* Usa la variable del core */
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Tipografía de contenido */
.legal-content h2 {
    font-family: 'Manrope', sans-serif;
    color: #fff;
    font-size: 1.4rem;
    margin-top: 50px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-blue);
    padding-left: 15px;
}

.legal-content h3 {
    color: #ddd;
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 300;
}

.legal-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
    color: #aaa;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-content strong {
    color: #fff;
    font-weight: 600;
}

/* --- TABLA ANEXO (Exclusiva de este módulo) --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    font-size: 0.9rem;
}

.comparison-table th, .comparison-table td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: left;
    color: #aaa;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Botón flotante */
.btn-back-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #fff;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    z-index: 100;
    transition: 0.3s;
}
.btn-back-fixed:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .legal-container {
        margin-top: 100px;
        padding: 25px;
    }
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}


/* 1. INTERNAL HERO (El contenedor del título) */
.internal-hero {
    position: relative;
    padding: 120px 20px 60px; /* Mucho espacio arriba para separarlo del Nav */
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 10;
}

/* 2. LABEL BOX ("SYSTEM OPERATORS") */
.label-box {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-family: "Syncopate", sans-serif; /* Tu fuente técnica */
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-blue); /* Usa la variable azul del core */
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

/* 3. AJUSTE DEL TÍTULO H1 EN ESTE MÓDULO */
.internal-hero h1.glitch-text {
    /* Nos aseguramos que use la fuente correcta si el core falla por algo */
    font-family: "Syncopate", sans-serif; 
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    /* Efecto de sombra para separarlo del fondo */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}


:root {
    --accent-blue: #3b82f6;
}