/* ========================================
   ESTILOS PARA CONTENIDO GENERADO POR IA
   ======================================== */

/* Párrafo destacado (lead) */
.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.text-emphasis {
    font-weight: 500;
}

/* Subtítulos con emojis - estilo moderno */
h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

/* Listas con checkmarks */
.feature-list,
.check-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.feature-list li,
.check-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    border-left: 3px solid #2ecc71;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #f0fdf4 0%, transparent 100%);
    transition: all 0.3s ease;
}

.feature-list li:hover,
.check-list li:hover {
    padding-left: 2.5rem;
    background: linear-gradient(to right, #dcfce7 0%, transparent 100%);
}

/* Cajas de información */
.info-box,
.tip-box,
.info-card,
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.info-box::before,
.tip-box::before,
.info-card::before,
.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #ffd700;
}

.tip-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 25px rgba(245, 87, 108, 0.3);
}

.info-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.3);
}

.highlight-box {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 10px 25px rgba(250, 112, 154, 0.3);
    color: #2c3e50;
}

.info-box strong,
.tip-box strong,
.info-card strong,
.highlight-box strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Badges modernos */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0.25rem;
}

.badge.bg-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.badge.bg-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

/* Blockquotes modernos */
blockquote,
.modern-quote {
    position: relative;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-left: 5px solid #667eea;
    border-radius: 8px;
    font-style: italic;
    color: #34495e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

blockquote::before,
.modern-quote::before {
    content: '"';
    font-size: 4rem;
    color: #667eea;
    opacity: 0.3;
    position: absolute;
    left: 0.5rem;
    top: -0.5rem;
    font-family: Georgia, serif;
}

blockquote p,
.modern-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Texto destacado */
.highlight,
.text-primary {
    color: #3498db;
    font-weight: 600;
}

strong.highlight,
strong.text-primary {
    background: linear-gradient(180deg, transparent 60%, #ffd70080 60%);
    padding: 0 0.25rem;
}

/* Callouts (alertas especiales) */
.callout {
    padding: 1.25rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border-left: 5px solid #3498db;
    background: #ecf6fd;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.15);
}

.callout.warning {
    border-left-color: #f39c12;
    background: #fef5e7;
}

.callout.danger {
    border-left-color: #e74c3c;
    background: #fadbd8;
}

.callout.success {
    border-left-color: #2ecc71;
    background: #d5f4e6;
}

/* Efectos hover y animaciones */
.info-box,
.tip-box,
.info-card,
.highlight-box,
blockquote {
    transition: all 0.3s ease;
}

.info-box:hover,
.tip-box:hover,
.info-card:hover,
.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

blockquote:hover {
    transform: translateX(5px);
}

/* Párrafos generales con mejor espaciado */
p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: #34495e;
}

/* Responsive */
@media (max-width: 768px) {
    .lead {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .info-box,
    .tip-box,
    .info-card,
    .highlight-box {
        padding: 1rem;
        margin: 1rem 0;
    }

    blockquote,
    .modern-quote {
        padding: 1rem 1.5rem;
    }

    blockquote p,
    .modern-quote p {
        font-size: 1rem;
    }
}

/* Animación de entrada para elementos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.info-box,
.tip-box,
.info-card,
.highlight-box,
blockquote {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilo para listas numeradas */
ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

ol li {
    counter-increment: item;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
}

ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}