/* ============================================
   HUMANPRO - CORRECCIONES MAESTRAS V2
   Footer, FAQ, Precios, Blog, Servicios
   ============================================ */

/* ===========================================
   1. FOOTER - ELIMINAR ESPACIOS EXCESIVOS
   =========================================== */

.mega-footer {
    background: linear-gradient(180deg, #050a30 0%, #020515 100%) !important;
    padding: 3rem 5% 1.5rem !important;
    margin-top: 0 !important;
}

.footer-main {
    display: grid !important;
    grid-template-columns: 1.5fr repeat(3, 1fr) !important;
    gap: 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-bottom: 2rem !important;
}

.footer-brand-section {
    padding-right: 2rem !important;
}

.footer-brand-section p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 1rem 0 !important;
}

.footer-section {
    padding: 0 !important;
}

.footer-section h4 {
    color: white !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3) !important;
}

.footer-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.3rem 0 !important;
    transition: all 0.3s ease !important;
}

.footer-links a:hover {
    color: #00d4ff !important;
    padding-left: 0.5rem !important;
}

.footer-links a i {
    font-size: 0.7rem !important;
    color: #00d4ff !important;
}

.footer-social {
    display: flex !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
}

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

.footer-social a:hover {
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    transform: translateY(-3px) !important;
}

.footer-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin: 1rem 0 !important;
}

.footer-tag {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.6rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.5rem 0 0.5rem !important;
    text-align: center !important;
    margin-top: 1rem !important;
}

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

.footer-glow {
    display: none !important;
}

/* ===========================================
   2. FAQ - ARREGLAR ACORDEÓN
   =========================================== */

.faq-section {
    padding: 4rem 5% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.faq-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.faq-item {
    background: linear-gradient(145deg, rgba(5, 10, 48, 0.9), rgba(35, 61, 255, 0.1)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3) !important;
}

.faq-item.active {
    border-color: rgba(0, 212, 255, 0.5) !important;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1) !important;
}

.faq-question {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.25rem 1.5rem !important;
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.faq-question:hover {
    color: #00d4ff !important;
}

.faq-question i {
    font-size: 0.9rem !important;
    color: #00d4ff !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
    margin-left: 1rem !important;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) !important;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, padding 0.4s ease !important;
    padding: 0 1.5rem !important;
}

.faq-item.active .faq-answer {
    max-height: 500px !important;
    padding: 0 1.5rem 1.5rem !important;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* ===========================================
   3. PRECIOS - DISEÑO MEJORADO
   =========================================== */

.pricing-section {
    padding: 4rem 5% !important;
}

.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.pricing-card {
    background: linear-gradient(165deg, rgba(5, 10, 48, 0.95), rgba(35, 61, 255, 0.1)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    padding: 2rem !important;
    text-align: center !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #233dff, #00d4ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pricing-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15) !important;
}

.pricing-card.featured {
    border: 2px solid rgba(0, 212, 255, 0.5) !important;
    background: linear-gradient(165deg, rgba(35, 61, 255, 0.2), rgba(0, 212, 255, 0.1)) !important;
}

.pricing-card.featured::before {
    opacity: 1;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #a855f7, #00d4ff);
}

.pricing-badge {
    position: absolute !important;
    top: -1px !important;
    right: 20px !important;
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
    color: #000 !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    border-radius: 0 0 12px 12px !important;
    text-transform: uppercase !important;
}

.pricing-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(168, 85, 247, 0.1)) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    transition: all 0.3s ease !important;
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.1) rotate(-5deg) !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(168, 85, 247, 0.2)) !important;
}

.pricing-icon i {
    font-size: 1.8rem !important;
    color: #00d4ff !important;
}

.pricing-card h3 {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 0.75rem !important;
}

.pricing-description {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
    min-height: 40px !important;
}

.pricing-price {
    margin-bottom: 1.5rem !important;
    padding: 1rem !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 16px !important;
}

.price-from {
    display: block !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 0.25rem !important;
}

.price-amount {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #00d4ff, #a855f7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.pricing-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem !important;
    text-align: left !important;
}

.pricing-features li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.6rem 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.pricing-features li:last-child {
    border-bottom: none !important;
}

.pricing-features li i {
    color: #10b981 !important;
    font-size: 0.85rem !important;
    margin-top: 0.2rem !important;
    flex-shrink: 0 !important;
}

.btn-pricing {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.btn-pricing:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3) !important;
}

.btn-pricing.outline {
    background: transparent !important;
    border: 2px solid rgba(0, 212, 255, 0.5) !important;
}

.btn-pricing.outline:hover {
    background: rgba(0, 212, 255, 0.1) !important;
}

/* Pack Especial */
.pack-especial {
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.15), rgba(0, 212, 255, 0.08)) !important;
    border: 2px solid rgba(0, 212, 255, 0.3) !important;
    border-radius: 24px !important;
    padding: 2.5rem !important;
    text-align: center !important;
    margin-top: 3rem !important;
}

.pack-especial h3 {
    font-size: 1.6rem !important;
    color: white !important;
    margin: 1rem 0 !important;
}

.pack-especial .price-amount {
    font-size: 2.5rem !important;
}

/* ===========================================
   4. BLOG - DISEÑO COMPLETAMENTE NUEVO
   =========================================== */

/* Hero del Blog */
.blog-hero {
    min-height: 50vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 140px 5% 60px !important;
    background: linear-gradient(180deg, #050a30 0%, #0a1245 100%) !important;
    position: relative !important;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.blog-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 900 !important;
    color: white !important;
    margin-bottom: 1rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.blog-hero h1 span {
    background: linear-gradient(135deg, #00d4ff, #a855f7) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Blog Layout */
.blog-layout {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 3rem 5% !important;
}

/* Tabs del Blog */
.blog-tabs {
    display: flex !important;
    gap: 1rem !important;
    margin-bottom: 2.5rem !important;
    padding: 0.5rem !important;
    background: rgba(5, 10, 48, 0.5) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: fit-content !important;
}

.blog-tab {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.9rem 1.5rem !important;
    background: transparent !important;
    border: none !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.blog-tab:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.blog-tab.active {
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3) !important;
}

.blog-tab .count {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
}

/* Grid de Artículos - NUEVO */
.articles-feed,
.blog-articles {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 2rem !important;
}

/* Article Card - DISEÑO NUEVO TIPO CARD MODERNA */
.article-card {
    background: linear-gradient(165deg, rgba(5, 10, 48, 0.95) 0%, rgba(35, 61, 255, 0.08) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #a855f7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(0, 212, 255, 0.3) !important;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 212, 255, 0.1) !important;
}

/* Article Featured - Full Width */
.article-card.featured-article {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 10, 48, 0.95) 50%) !important;
    border: 2px solid rgba(16, 185, 129, 0.3) !important;
}

.article-card.featured-article::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.article-card.featured-article .article-body {
    padding: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Article Header */
.article-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.article-avatar {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
}

.article-meta {
    flex: 1 !important;
}

.article-author {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.verified-badge {
    color: #00d4ff !important;
    font-size: 0.85rem !important;
}

.article-date {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem !important;
    display: block !important;
    margin-top: 0.2rem !important;
}

.article-category {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(168, 85, 247, 0.1)) !important;
    color: #00d4ff !important;
    padding: 0.4rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Article Body */
.article-body {
    padding: 1.5rem !important;
}

.article-title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: white !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
    transition: color 0.3s ease !important;
}

.article-card:hover .article-title {
    color: #00d4ff !important;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Tags */
.article-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.article-tag {
    background: rgba(0, 212, 255, 0.1) !important;
    color: rgba(0, 212, 255, 0.9) !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 15px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.read-time {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem !important;
    display: block !important;
    margin-bottom: 1rem !important;
}

/* Read More Button */
.read-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    border-radius: 25px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.read-more-btn:hover {
    transform: translateX(5px) !important;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3) !important;
}

/* Article Actions */
.article-actions {
    display: flex !important;
    justify-content: space-around !important;
    padding: 0.75rem !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.action-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.like-btn:hover,
.like-btn.liked {
    color: #ff4757 !important;
}

.save-btn:hover,
.save-btn.saved {
    color: #f59e0b !important;
}

/* Badge Nuevo */
.badge-new {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
    padding: 0.4rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    z-index: 5 !important;
}

/* ===========================================
   5. SECCIÓN CTA / CONTACTO
   =========================================== */

.services-cta,
.ebooks-cta {
    background: linear-gradient(135deg, rgba(35, 61, 255, 0.15), rgba(0, 212, 255, 0.08)) !important;
    padding: 4rem 5% !important;
    text-align: center !important;
    margin: 2rem 0 0 !important;
}

.cta-content {
    max-width: 600px !important;
    margin: 0 auto !important;
}

.cta-content h2 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: white !important;
    margin-bottom: 1rem !important;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
}

.cta-buttons {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #233dff, #00d4ff) !important;
    color: white !important;
}

.cta-buttons .btn-secondary {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: white !important;
}

.cta-buttons .btn-primary:hover,
.cta-buttons .btn-secondary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ===========================================
   6. RESPONSIVE
   =========================================== */

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .article-card.featured-article {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .footer-brand-section {
        padding-right: 0 !important;
        text-align: center !important;
    }
    
    .footer-social {
        justify-content: center !important;
    }
    
    .footer-tags {
        justify-content: center !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .articles-feed,
    .blog-articles {
        grid-template-columns: 1fr !important;
    }
    
    .blog-tabs {
        width: 100% !important;
        flex-direction: column !important;
    }
    
    .blog-tab {
        justify-content: center !important;
    }
    
    .cta-buttons {
        flex-direction: column !important;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100% !important;
        justify-content: center !important;
    }
}
