/**
 * Iconos Adicionales para Secciones - NaweCorp
 * 
 * Sistema de iconos SVG optimizados para cada tipo de contenido legal
 * 
 * @package NaweCorp_Landing
 * @version 2.0.0
 */

/* =============================================================================
   SISTEMA DE BADGES E ICONOS
   ============================================================================= */

/* Badges de secciones legales */
.nawe-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nawe-legal-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nawe-legal-badge.legal {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #3b82f6;
    color: #1e40af;
}

.nawe-legal-badge.privacy {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #22c55e;
    color: #166534;
}

.nawe-legal-badge.cookies {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #f97316;
    color: #9a3412;
}

/* Iconos circulares grandes para headers */
.nawe-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

.nawe-icon-circle:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

.nawe-icon-circle.privacy {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
}

.nawe-icon-circle.privacy:hover {
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.3);
}

.nawe-icon-circle.cookies {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.1));
}

.nawe-icon-circle.cookies:hover {
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.3);
}

/* Info boxes con iconos */
.nawe-info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nawe-info-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.nawe-info-box .icon-wrapper {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.nawe-info-box.success .icon-wrapper {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.nawe-info-box.warning .icon-wrapper {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.nawe-info-box.info .icon-wrapper {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

/* Badges de cumplimiento legal */
.nawe-compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #22c55e;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #166534;
    transition: all 0.3s ease;
}

.nawe-compliance-badge:hover {
    background: #f0fdf4;
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(34, 197, 94, 0.2);
}

.nawe-compliance-badge svg {
    width: 1rem;
    height: 1rem;
    color: #22c55e;
}

/* Iconos de sección numerados mejorados */
.nawe-section-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 0.75rem;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.nawe-section-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nawe-section-icon:hover {
    transform: scale(1.1) rotate(-5deg);
}

.nawe-section-icon:hover::before {
    opacity: 0.2;
}

/* Animación de pulso para elementos importantes */
@keyframes pulse-icon {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.nawe-pulse-icon {
    animation: pulse-icon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Efectos de glassmorphism para badges */
.nawe-glass-badge {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Iconos SVG inline con colores */
.icon-blue { color: #3b82f6; }
.icon-green { color: #22c55e; }
.icon-orange { color: #f97316; }
.icon-cyan { color: #06b6d4; }
.icon-purple { color: #a855f7; }
.icon-red { color: #ef4444; }

/* Hover states para iconos */
.icon-hover-scale {
    transition: transform 0.3s ease;
}

.icon-hover-scale:hover {
    transform: scale(1.2);
}

.icon-hover-rotate {
    transition: transform 0.3s ease;
}

.icon-hover-rotate:hover {
    transform: rotate(15deg);
}

/* Tooltips para iconos */
.icon-tooltip {
    position: relative;
    cursor: help;
}

.icon-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 0.75rem;
    background: #1e293b;
    color: white;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.icon-tooltip:hover::after {
    opacity: 1;
}

/* Grid de iconos para features */
.nawe-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.nawe-icon-grid-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.nawe-icon-grid-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.nawe-icon-grid-item .icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 0.5rem;
    color: #3b82f6;
}

/* Responsivo */
@media (max-width: 768px) {
    .nawe-icon-circle {
        width: 4rem;
        height: 4rem;
    }
    
    .nawe-info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .nawe-icon-grid {
        grid-template-columns: 1fr;
    }
}
