/* FAQ Section Styles */
.faq-container {
    padding: 6rem 0;
    background: linear-gradient(to bottom, rgba(var(--background-light-rgb), 0.3), transparent);
    position: relative;
    overflow: hidden;
}

.faq-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%),
                radial-gradient(circle at 80% 70%, rgba(var(--accent-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color-light);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.faq {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    background: rgba(var(--background-light-rgb), 0.05);
    border: 1px solid rgba(var(--text-color-light-rgb), 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq:hover {
    background: rgba(var(--background-light-rgb), 0.08);
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.1);
}

.faq input[type="checkbox"]:checked + .faq-label {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.faq input[type="checkbox"]:checked ~ .faq-content {
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.faq input[type="checkbox"] {
    display: none;
}

.faq-label {
    display: block;
    padding: 1.25rem 3rem 1.25rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-color-light);
    font-size: 1.1rem;
    line-height: 1.5;
}

.faq-label::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.faq input[type="checkbox"]:checked + .faq-label::after {
    transform: translateY(-50%) rotate(45deg);
    opacity: 1;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(var(--background-light-rgb), 0.05);
    padding: 0 1.5rem;
    color: var(--text-color-light);
    opacity: 0.9;
    line-height: 1.6;
}

.faq input[type="checkbox"]:checked ~ .faq-content {
    max-height: 500px;
    padding: 1.25rem 1.5rem;
}

.faq-content p {
    padding: 1.5rem;
    margin: 0;
    color: var(--text-color-muted);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-container {
        padding: 4rem 1rem;
    }

    .faq-container h2 {
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        margin-bottom: 2.5rem;
    }

    .faq {
        margin: 0 auto 1.25rem;
        max-width: 100%;
    }

    .faq-label {
        padding: 1.1rem 3rem 1.1rem 1.25rem;
        font-size: 1rem;
    }

    .faq-label::after {
        right: 1.25rem;
        font-size: 1.25rem;
    }

    .faq-content {
        padding: 0 1.25rem;
        font-size: 0.95rem;
    }

    .faq input[type="checkbox"]:checked ~ .faq-content {
        padding: 1.1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .faq-container {
        padding: 3rem 0.75rem;
    }

    .faq-container h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-bottom: 2rem;
    }

    .faq {
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .faq-label {
        padding: 1rem 2.5rem 1rem 1rem;
        font-size: 0.95rem;
    }

    .faq-label::after {
        right: 1rem;
        font-size: 1.1rem;
    }

    .faq-content {
        padding: 0 1rem;
        font-size: 0.9rem;
    }

    .faq input[type="checkbox"]:checked ~ .faq-content {
        padding: 1rem;
    }
}