body {
    padding-top: 60px;
}

.faqs-section {
    min-height: 100vh;
    padding: 40px 0 60px;
    position: relative;
}

.faqs-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.faqs-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(90, 59, 237, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    background-size: 400px 400px;
}

.faqs-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f4ff 100%);
}

.faqs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faqs-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faqs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(90, 59, 237, 0.1);
    color: #5A3BED;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(90, 59, 237, 0.2);
}

.faqs-badge i {
    font-size: 1rem;
    color: #5A3BED;
}

.faqs-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faqs-desc {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.faqs-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.faqs-sidebar {
    width: 100%;
}

.faqs-categories {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow:
        0 4px 20px rgba(90, 59, 237, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(90, 59, 237, 0.1);
    position: relative;
    overflow: hidden;
}

.faqs-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #5A3BED 0%, #667eea 100%);
}

.categories-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.categories-title i {
    color: #5A3BED;
    font-size: 1.1rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    background: rgba(90, 59, 237, 0.02);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.category-link:hover {
    background: rgba(90, 59, 237, 0.08);
    color: #5A3BED;
    transform: translateX(3px);
}

.category-link.active {
    background: linear-gradient(135deg, rgba(90, 59, 237, 0.1), rgba(102, 126, 234, 0.08));
    color: #5A3BED;
    border-color: rgba(90, 59, 237, 0.2);
    font-weight: 600;
}

.category-count {
    background: rgba(90, 59, 237, 0.1);
    color: #5A3BED;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

.category-link.active .category-count {
    background: #5A3BED;
    color: white;
}

.faqs-main {
    width: 100%;
}

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow:
        0 4px 15px rgba(90, 59, 237, 0.04),
        0 2px 8px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(90, 59, 237, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(145deg, #fafbff 0%, #f5f7ff 100%);
}

.faq-question.active {
    background: linear-gradient(135deg, rgba(90, 59, 237, 0.05), rgba(102, 126, 234, 0.03));
    color: #5A3BED;
}

.faq-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.4;
    flex: 1;
}

.faq-question.active .faq-question-text {
    color: #5A3BED;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(90, 59, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon i {
    font-size: 0.9rem;
    color: #5A3BED;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    background: #5A3BED;
    transform: rotate(180deg);
}

.faq-question.active .faq-icon i {
    color: white;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.faq-answer.active {
    padding: 0 24px 24px;
    max-height: 500px;
}

.faq-answer-content {
    padding-top: 16px;
    border-top: 1px solid rgba(90, 59, 237, 0.1);
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-category-tag {
    display: inline-block;
    background: rgba(90, 59, 237, 0.1);
    color: #5A3BED;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.no-faqs {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.no-faqs i {
    font-size: 3rem;
    color: rgba(90, 59, 237, 0.3);
    margin-bottom: 20px;
}

.no-faqs h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}

.no-faqs p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .faqs-container {
        padding: 20px 4vw;
    }

    .faqs-header h1 {
        font-size: 2rem;
    }

    .faqs-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faqs-categories {
        padding: 20px;
    }

    .categories-title {
        font-size: 1.1rem;
    }

    .category-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-answer.active {
        padding: 0 20px 20px;
    }

    .faq-answer-content {
        font-size: 0.9rem;
    }
} 