.faq-section {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
    background-color: #121e2a;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-breadcrumb {
    margin-bottom: 20px;
}

.faq-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.faq-breadcrumb a:hover {
    color: #2980b9;
    transform: translateX(-5px);
}

.faq-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header h1 i {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    margin-right: 15px;
}

.faq-header p {
    font-size: 1.2rem;
    color: #bdc3c7;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.faq-category h2 i {
    font-size: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.2);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(52, 152, 219, 0.1);
}

.faq-question i.fa-chevron-down {
    color: var(--primary);
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question i.fa-chevron-down {
    transform: rotate(180deg);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--light);
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
    padding: 0 25px;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 25px 25px;
    opacity: 1;
}

.faq-answer p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 30px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--primary);
}

.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #2980b9;
}

.faq-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.faq-topic-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-topic-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.faq-topic-card:hover::before {
    opacity: 1;
}

.faq-topic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #2980b9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.faq-topic-icon i {
    font-size: 1.8rem;
    color: white;
}

.faq-topic-card h3 {
    font-size: 1.4rem;
    color: var(--light);
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-topic-card p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-topic-arrow {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-topic-card:hover .faq-topic-arrow {
    transform: translateX(5px);
}

.faq-contact {
    text-align: center;
    margin-top: 80px;
    padding: 50px;
    background: rgba(52, 152, 219, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 20px;
}

.faq-contact h2 {
    font-size: 2rem;
    color: var(--light);
    margin-bottom: 15px;
}

.faq-contact p {
    font-size: 1.1rem;
    color: #bdc3c7;
    margin-bottom: 25px;
}

.faq-nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}

.faq-answer .code-block {
    background-color: #1a2634;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    color: #e8eaed;
    overflow-x: auto;
    margin: 15px 0;
    border: 1px solid #2c3e50;
}

.faq-answer code {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
}

.faq-answer .note {
    background-color: rgba(243, 156, 18, 0.1);
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2.2rem;
    }

    .faq-category h2 {
        font-size: 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-topics-grid {
        grid-template-columns: 1fr;
    }

    .faq-nav-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-contact {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 100px 0 60px;
    }

    .faq-header h1 {
        font-size: 1.8rem;
    }

    .faq-header p {
        font-size: 1rem;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }

    .faq-topic-card {
        padding: 25px;
    }
}