
body {
    background-color: var(--bg-dark);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

.faq-hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background-image: url('img/tech-pattern.png'); */
    opacity: 0.03;
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.faq-title {
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 0 15px;
    position: relative;
}

.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.section-divider span {
    width: 60px;
    height: 3px;
    background: var(--accent);
    display: inline-block;
    position: relative;
}

.section-divider span::before,
.section-divider span::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    top: 50%;
    transform: translateY(-50%);
}

.section-divider span::before {
    left: -10px;
}

.section-divider span::after {
    right: -10px;
}

.faq-description {
    max-width: 700px;
    margin: 30px auto 0;
    color: var(--gray-300);
}

/* Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 20px;
    background: transparent;
    color: var(--gray-300);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.category-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    /* box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3); */
}

/* Accordion Styles */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.faq-accordion-item {
    background-color: var(--medium-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-accordion-item.hidden {
    display: none;
}

.faq-accordion-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.faq-accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.faq-accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s ease;
    flex: 1;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-accordion-header:hover h3 {
    color: var(--accent);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0 25px;
}

.faq-accordion-content p {
    color: var(--gray-300);
    padding-bottom: 20px;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 500px;
}

.faq-accordion-item.active .faq-icon {
    background-color: var(--accent);
    color: var(--white);
    transform: rotate(45deg);
}

/* Contact Section */
.faq-contact {
    text-align: center;
    background: linear-gradient(145deg, rgba(16, 32, 64, 0.8) 0%, rgba(0, 48, 135, 0.6) 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faq-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.faq-contact p {
    color: var(--gray-300);
    margin-bottom: 25px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--white);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-hero {
        padding: 80px 0 60px;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-accordion-header {
        padding: 18px 20px;
    }
    
    .faq-accordion-header h3 {
        font-size: 1rem;
    }
    
    .faq-accordion-content {
        padding: 0 20px;
    }
    
    .faq-contact {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-accordion-header h3 {
        font-size: 0.95rem;
    }
    
    .contact-btn {
        width: 100%;
    }
}

/* Animación para elementos de fade-in */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ya tienes estilos similares para los elementos del acordeón, así que esto complementa esas animaciones */
.faq-footer {
    margin-top: 40px;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Botón de volver */
.back-btn {
    display: inline-flex;
    align-items: center;
    color: var(--gray-300);
    text-decoration: none;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.back-btn:hover {
    color: var(--accent);
    transform: translateX(-5px);
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.06);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.floating-element i {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.5));
}

/* Elementos de texto grandes */
/* .floating-element.text {
    font-weight: 900;
    font-size: 9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgba(255, 107, 53, 0.07);
    user-select: none;
    pointer-events: none;
    position: absolute;
    z-index: 0;
    animation: floatSlow 20s ease-in-out infinite;
} 

.faq-text {
    top: 15%;
    right: 12%;
    animation-delay: 2s;
} 

.question-text {
    bottom: 20%;
    left: 8%;
    font-size: 11rem;
    color: rgba(255, 107, 53, 0.08);
    animation-delay: 3s;
}
*/
/* Nuevas posiciones para los iconos */
.question-mark {
    top: 25%;
    left: 15%;
    animation: float 14s ease-in-out infinite, pulse 7s ease-in-out infinite;
    font-size: 3.8rem;
}

.help {
    bottom: 30%;
    right: 18%;
    animation: float 12s ease-in-out infinite;
    animation-delay: 3s;
    font-size: 3.5rem;
}

.chat {
    top: 65%;
    left: 25%;
    animation: float 11s ease-in-out infinite;
    animation-delay: 1s;
    font-size: 3.7rem;
}

.info {
    top: 22%;
    left: 40%;
    animation: float 15s ease-in-out infinite;
    animation-delay: 4s;
    font-size: 3.6rem;
}

.message {
    bottom: 35%;
    left: 60%;
    animation: float 13s ease-in-out infinite;
    font-size: 3.4rem;
}

.support {
    top: 55%;
    right: 30%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 2s;
    font-size: 3.5rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(8px);
    }
    50% {
        transform: translateY(0) translateX(15px);
    }
    75% {
        transform: translateY(15px) translateX(8px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.06;
        transform: scale(1);
    }
    50% {
        opacity: 0.1;
        transform: scale(1.1);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}
