/* ═══════════════════════════════════════════════════════════════════════════════
   CARRUSEL DE HERRAMIENTAS - V28 MÁS LLAMATIVO
   ═══════════════════════════════════════════════════════════════════════════════ */

.tools-showcase {
    padding: 80px 0;
    background: linear-gradient(180deg, 
        rgba(5,10,48,0) 0%, 
        rgba(0,212,255,0.03) 30%,
        rgba(35,61,255,0.05) 50%, 
        rgba(0,212,255,0.03) 70%,
        rgba(5,10,48,0) 100%);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo de fondo */
.tools-showcase::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tools-showcase-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.tools-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.1));
    border: 2px solid rgba(16,185,129,0.4);
    color: #10b981;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 25px;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(16,185,129,0.3);
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 30px rgba(16,185,129,0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(16,185,129,0.5);
    }
}

.tools-showcase-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(0,212,255,0.3);
}

.tools-showcase-header .gradient-text {
    background: linear-gradient(135deg, #00d4ff, #0077ff, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tools-showcase-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
}

/* Wrapper del carrusel */
.tools-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botones de navegación */
.carousel-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,119,255,0.1));
    border: 2px solid rgba(0,212,255,0.4);
    color: #00d4ff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(0,212,255,0.4), rgba(0,119,255,0.3));
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(0,212,255,0.5);
}

/* Carrusel */
.tools-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tools-carousel::-webkit-scrollbar {
    display: none;
}

/* Cards - Diseño más llamativo */
.tool-card {
    min-width: 300px;
    max-width: 300px;
    background: linear-gradient(145deg, rgba(15,20,60,0.95), rgba(10,15,50,0.9));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo en hover */
.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 212, 255, 0.1),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.tool-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(145deg, rgba(15,20,60,0.98), rgba(10,15,50,0.95));
    border-radius: 22px;
    z-index: 0;
}

.tool-card > * {
    position: relative;
    z-index: 1;
}

.tool-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0,212,255,0.5);
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(0,212,255,0.2),
        inset 0 0 30px rgba(0,212,255,0.05);
}

/* Card destacada */
.tool-card.tool-featured {
    background: linear-gradient(145deg, rgba(0,212,255,0.15), rgba(0,100,200,0.1));
    border-color: rgba(0,212,255,0.3);
    min-width: 320px;
    max-width: 320px;
}

.tool-card.tool-featured::after {
    background: linear-gradient(145deg, rgba(0,50,100,0.95), rgba(0,30,80,0.9));
}

/* Icono */
.tool-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Contenido */
.tool-content h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    transition: color 0.3s;
}

.tool-card:hover .tool-content h3 {
    color: #00d4ff;
}

.tool-content p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 8px 0 0;
}

/* Tag destacado */
.tool-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(251,191,36,0.3), rgba(251,191,36,0.1));
    border: 1px solid rgba(251,191,36,0.4);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 10px;
    margin-top: 10px;
    width: fit-content;
    animation: tagGlow 2s ease-in-out infinite;
}

@keyframes tagGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(251,191,36,0.2); }
    50% { box-shadow: 0 0 20px rgba(251,191,36,0.4); }
}

/* Indicadores */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

/* Texto "Desliza para ver más" en móvil */
.tools-carousel-wrapper::after {
    content: '← Desliza para ver más →';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .tools-showcase-header h2 {
        font-size: 2.2rem;
    }
    
    .tool-card {
        min-width: 270px;
        max-width: 270px;
        padding: 25px;
    }
    
    .tool-card.tool-featured {
        min-width: 290px;
        max-width: 290px;
    }
}

@media (max-width: 768px) {
    .tools-showcase {
        padding: 60px 0;
    }
    
    .tools-showcase-header h2 {
        font-size: 1.8rem;
    }
    
    .tools-badge {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
    
    .tools-carousel-wrapper {
        padding: 0 15px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .tool-card {
        min-width: 260px;
        max-width: 260px;
        padding: 22px;
    }
    
    .tool-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .tools-carousel-wrapper::after {
        display: block;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        display: none;
    }
    
    .tools-carousel-wrapper {
        padding: 0;
    }
    
    .tools-carousel {
        padding: 20px;
        gap: 15px;
    }
    
    .tool-card {
        min-width: 240px;
        max-width: 240px;
        padding: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BANNER DE LANZAMIENTO - EBOOKS
   ═══════════════════════════════════════════════════════════════════════════════ */
.launch-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(245,158,11,0.1));
    border: 2px solid rgba(251,191,36,0.4);
    border-radius: 20px;
    padding: 20px 30px;
    margin-top: 30px;
    max-width: 600px;
    animation: launchPulse 3s ease-in-out infinite;
}

@keyframes launchPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(251,191,36,0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(251,191,36,0.4);
        transform: scale(1.02);
    }
}

.launch-icon {
    font-size: 2.5rem;
    animation: rocketFloat 2s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.launch-content strong {
    display: block;
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.launch-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .launch-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .launch-icon {
        font-size: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFECTOS EXTRA PARA EL CARRUSEL - MÁS LLAMATIVO
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Línea brillante animada debajo del título */
.tools-showcase-header h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    margin: 20px auto 0;
    border-radius: 2px;
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; width: 100px; }
    50% { opacity: 1; width: 200px; }
}

/* Efecto de partículas flotantes en el fondo */
.tools-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0,212,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0,212,255,0.2), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(0,212,255,0.3), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(0,212,255,0.2), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(0,212,255,0.3), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(0,212,255,0.2), transparent);
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    opacity: 0.5;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

/* Efecto de "NEW" en algunas herramientas */
.tool-card[data-new="true"]::before {
    content: '✨ NEW';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
    animation: newBadge 1.5s ease-in-out infinite;
}

@keyframes newBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mejora de los botones del carrusel */
.carousel-btn {
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.carousel-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Contador de herramientas */
.tools-showcase-header::after {
    content: '9 Herramientas Disponibles';
    display: block;
    margin-top: 15px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Efecto shimmer en cards al hacer scroll */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.tool-card:hover {
    background: linear-gradient(
        90deg,
        rgba(15,20,60,0.95) 0%,
        rgba(0,212,255,0.1) 50%,
        rgba(15,20,60,0.95) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER MEJORADO CON GRID
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer-modern-v2 .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    padding: 60px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    padding-right: 20px;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background: #00d4ff;
    transform: translateY(-3px);
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00d4ff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #00d4ff;
    padding-left: 5px;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom-bar p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-bar a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: #00d4ff;
}

.footer-legal-links span {
    color: rgba(255,255,255,0.3);
}

@media (max-width: 992px) {
    .footer-modern-v2 .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 40px 20px 30px;
    }
    
    .footer-brand {
        grid-column: span 3;
        text-align: center;
        padding-right: 0;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-modern-v2 .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .footer-modern-v2 .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BANNER DE LANZAMIENTO MEJORADO - CENTRADO Y LLAMATIVO
   ═══════════════════════════════════════════════════════════════════════════════ */
.launch-banner-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.launch-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(251,191,36,0.2), rgba(245,158,11,0.15), rgba(251,191,36,0.2));
    border: 2px solid rgba(251,191,36,0.5);
    border-radius: 24px;
    padding: 25px 35px;
    max-width: 700px;
    animation: launchGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.launch-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(251,191,36,0.1) 50%,
        transparent 70%
    );
    animation: shimmerLaunch 3s ease-in-out infinite;
}

@keyframes shimmerLaunch {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes launchGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(251,191,36,0.3), 0 10px 40px rgba(0,0,0,0.2);
    }
    50% { 
        box-shadow: 0 0 50px rgba(251,191,36,0.5), 0 15px 50px rgba(0,0,0,0.3);
    }
}

.launch-icon {
    font-size: 3rem;
    animation: rocketLaunch 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes rocketLaunch {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.launch-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.launch-content strong {
    display: block;
    color: #fbbf24;
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(251,191,36,0.5);
}

.launch-content p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.launch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.launch-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(37,211,102,0.4);
}

@media (max-width: 768px) {
    .launch-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .launch-icon {
        font-size: 2.5rem;
    }
    
    .launch-content strong {
        font-size: 1.1rem;
    }
}
