/* 
   AVISO DE PRIVACIDAD - EDICIÓN PREMIUM 
   Diseño: Limpio, Moderno y Altamente Legible
*/

:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --primary-grad: linear-gradient(135deg, #003e6a 0%, #005a99 100%);
    --pink-grad: linear-gradient(135deg, #df1783 0%, #ff4da6 100%);
    
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-page: #f8fafc;
}

/* Animación de entrada para toda la página */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ap-body-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 1024px) {
    .ap-body-grid {
        grid-template-columns: 1fr 350px;
    }
}

/* CONTENIDO PRINCIPAL (ESTILO LECTURA LIMPIA) */
.ap-main-text {
    background: #ffffff;
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.02);
}

.ap-main-text section {
    margin-bottom: 40px;
    position: relative;
}

.ap-main-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* Línea decorativa flotante al lado de los títulos */
.ap-main-text h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 6px;
    background: var(--pink-grad);
    border-radius: 10px;
    margin-top: 8px;
    transition: width 0.4s ease;
}

.ap-main-text section:hover h3::after {
    width: 80px;
}

.ap-main-text p {
    line-height: 1.9;
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* LISTAS CON ESTILO DE "PASOS" */
.ap-main-text ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.ap-main-text li {
    background: #f1f5f9;
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ap-main-text li:hover {
    background: #e2e8f0;
    transform: scale(1.02);
}

.ap-main-text li::before {
    content: "✦";
    color: #df1783;
    font-size: 1.2rem;
}

/* SIDEBAR (ESTILO GLASSMORPHISM) */
.ap-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ap-card-note {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ap-card-note:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.ap-card-note h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

/* Variaciones de color con Neumorfismo suave */
.note-blue .icon-box { background: #003e6a; color: white; }
.note-orange .icon-box { background: #faa21b; color: white; }
.note-green .icon-box { background: #00ae6f; color: white; }

.ap-card-note p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* LINKS ANIMADOS */
.ap-link {
    color: #df1783;
    font-weight: 700;
    text-decoration: none;
    position: relative;
}

.ap-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #df1783;
    transition: width 0.3s ease;
}

.ap-link:hover::after {
    width: 100%;
}

/* RESPONSIVE FIXES */
@media (max-width: 768px) {
    .ap-main-text {
        padding: 25px;
        border-radius: 20px;
    }
    .ap-container {
        padding: 30px 15px;
    }
}