.faq-page {
    max-width: 1100px;
    margin: 28px auto 64px;
    padding: 0 18px;
    color: #e5e7eb;
}

.faq-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(24, 30, 56, 0.95), rgba(12, 16, 34, 0.95));
    border: 1px solid rgba(124, 92, 255, 0.35);
    box-shadow: 0 18px 40px rgba(8, 12, 28, 0.45);
}

.faq-hero-main {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 420px;
}

.faq-hero-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(124, 92, 255, 0.2);
    color: #c4b5fd;
    font-size: 24px;
    border: 1px solid rgba(124, 92, 255, 0.45);
}

.faq-hero h1 {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 700;
}

.faq-hero p {
    margin: 6px 0 0;
    color: #b0b7d6;
    font-size: 0.95rem;
}

.faq-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 320px;
    justify-content: flex-end;
}

.faq-search {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(15, 20, 42, 0.9);
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 999px;
    padding: 8px 14px;
    gap: 8px;
    flex: 1 1 240px;
    max-width: 360px;
}

.faq-search input {
    background: transparent;
    border: none;
    color: #e5e7eb;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
}

.faq-search i {
    color: #a78bfa;
}

.faq-toggle-all {
    background: linear-gradient(135deg, #6d4aff, #5b3bc4);
    color: #fff;
    border: none;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 18px rgba(69, 49, 186, 0.35);
}

.faq-toggle-all:hover {
    filter: brightness(1.05);
}

.faq-section {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-section h2 {
    font-size: 1.25rem;
    margin: 0 0 6px;
    color: #cbd5f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    background: rgba(17, 22, 42, 0.92);
    border: 1px solid rgba(124, 92, 255, 0.22);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(9, 12, 30, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
    border-color: rgba(124, 92, 255, 0.55);
    box-shadow: 0 18px 36px rgba(88, 70, 190, 0.35);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #f8fafc;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.faq-question i {
    color: #a78bfa;
    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 18px 16px;
    color: #b7c0dd;
    line-height: 1.55;
    display: none;
}

.faq-answer a {
    color: #a78bfa;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-empty {
    padding: 18px;
    text-align: center;
    color: #94a3b8;
    border: 1px dashed rgba(124, 92, 255, 0.35);
    border-radius: 14px;
}

@media (max-width: 900px) {
    .faq-hero-actions {
        justify-content: flex-start;
        width: 100%;
    }
    .faq-search {
        max-width: 100%;
    }
}
