/* =========================================
   NEURONAL HUB DEDICATED PAGE STYLES
   ========================================= */

/* Neuronal Hero Section */
.neuronal-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, #0a192f 0%, #112240 100%);
    overflow: hidden;
    padding: 100px 20px;
}

#neural-canvas-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

.neuronal-hero .hero-content-neuronal {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
}

.hero-logo-section {
    flex-shrink: 0;
}

.neuronal-logo-large {
    height: 480px;
    /* 4x del tamaño original de 120px */
    width: auto;
}

.hero-text-section {
    flex: 1;
    text-align: left;
}

.neuronal-hero-subtitle {
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.neuronal-hero-desc {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* What Does It Do Section */
.neuronal-what-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--color-text-dim);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.8), rgba(10, 25, 47, 0.9));
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #00d4ff, #64ffda, #00d4ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3), 0 0 30px rgba(100, 255, 218, 0.2);
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.95), rgba(10, 25, 47, 1));
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(100, 255, 218, 0.8));
    }
}

.feature-card h3 {
    font-size: 1rem;
    color: var(--color-text);
}

/* Detail Sections */
.neuronal-detail-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.neuronal-detail-section.alt-bg {
    background: #0b1a30;
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.detail-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.detail-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.detail-content p {
    font-size: 1.1rem;
    color: var(--color-text-dim);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* AI Section */
.neuronal-ai-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a192f 0%, #112240 50%, #0a192f 100%);
    position: relative;
    overflow: hidden;
}

#neural-canvas-ai {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.ai-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(10, 25, 47, 0.85);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ai-features {
    margin: 3rem 0;
}

.ai-features h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.telegram-integration {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.telegram-integration h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.telegram-integration h4 {
    font-size: 1.3rem;
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

/* Why Section */
.neuronal-why-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    background: rgba(17, 34, 64, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    font-size: 1.2rem;
    color: var(--color-text);
}

/* FAQ Floating Button & Modal */
.faq-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-primary, #00d4ff);
    color: #0a192f;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
    border: none;
}

.faq-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

.faq-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.faq-modal.active {
    opacity: 1;
    visibility: visible;
}

.faq-modal-content {
    background: linear-gradient(145deg, #112240, #0a192f);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 15px;
    padding: 3rem;
    position: relative;
    transform: translateY(50px);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.faq-modal.active .faq-modal-content {
    transform: translateY(0);
}

.faq-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--color-text-dim, #a8b2d1);
    cursor: pointer;
    transition: color 0.3s;
}

.faq-close:hover {
    color: var(--color-primary, #00d4ff);
}

/* Custom Scrollbar for Modal */
.faq-modal-content::-webkit-scrollbar {
    width: 8px;
}
.faq-modal-content::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.5);
    border-radius: 4px;
}
.faq-modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}
.faq-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.6);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-item summary {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary, #00d4ff);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary, #00d4ff);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item .faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-dim, #a8b2d1);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.faq-content ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.faq-content li {
    margin-bottom: 0.3rem;
}

/* Integrations Section inside FAQ */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.integration-category {
    background: rgba(17, 34, 64, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--color-primary, #00d4ff);
}

.integration-category h3 {
    font-size: 1.2rem;
    color: var(--color-text, #ccd6f6);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-category ul {
    list-style: none;
    padding: 0;
}

.integration-category li {
    color: var(--color-text-dim, #a8b2d1);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.integration-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-primary, #00d4ff);
}

/* CTA Section */
.neuronal-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .neuronal-hero .hero-content-neuronal {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-text-section {
        text-align: center;
    }

    .neuronal-logo-large {
        height: 200px;
    }

    .neuronal-hero-subtitle {
        font-size: 1.5rem;
    }

    .neuronal-hero-desc {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .detail-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}