/* Modern SSS / FAQ */
.faq-page {
    --fq-purple: #6339F9;
    --fq-soft: #f3efff;
    --fq-text: #1a1333;
    --fq-muted: #6b6680;
    --fq-line: #ece8f5;
    --fq-radius: 18px;
    background: #f4f2fa;
}

.faq-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 22%, rgba(116, 68, 253, 0.22), transparent 38%),
        radial-gradient(circle at 8% 90%, rgba(142, 85, 255, 0.1), transparent 42%),
        linear-gradient(125deg, #ece6ff 0%, #f7f4ff 42%, #efe9ff 100%);
    padding: 36px 0 28px;
}
.faq-hero::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: 8%;
    top: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    filter: blur(2px);
    pointer-events: none;
}
.faq-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1;
}
.faq-hero__copy {
    max-width: 560px;
    position: relative;
    z-index: 2;
}
.faq-hero__badge {
    display: none;
}
.faq-hero__copy h1 {
    margin: 0 0 8px;
    color: var(--fq-text);
    font-family: "Urbanist", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.faq-hero__bc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-family: "Urbanist", sans-serif;
    font-size: 14px;
    font-weight: 650;
    color: var(--fq-purple);
}
.faq-hero__bc a {
    color: var(--fq-muted);
    text-decoration: none;
}
.faq-hero__bc a:hover { color: var(--fq-purple); }
.faq-hero__bc .sep { color: #b7b0c9; }
.faq-hero__desc {
    margin: 0;
    color: var(--fq-muted);
    font-size: 15px;
    line-height: 1.5;
    max-width: 420px;
}
.faq-hero__bubbles {
    position: relative;
    width: min(220px, 34%);
    height: 140px;
    flex-shrink: 0;
}
.faq-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px 28px 28px 8px;
    box-shadow: 0 16px 36px rgba(74, 40, 160, 0.18);
    user-select: none;
    pointer-events: none;
}
.faq-bubble--q {
    width: 92px;
    height: 92px;
    right: 18px;
    top: 8px;
    background: linear-gradient(145deg, #8b6cff 0%, #6339F9 100%);
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    z-index: 2;
    animation: fq-float 4.2s ease-in-out infinite;
}
.faq-bubble--dots {
    width: 58px;
    height: 46px;
    left: 8px;
    bottom: 10px;
    background: #fff;
    color: #9a93ab;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    border-radius: 18px 18px 8px 18px;
    z-index: 1;
    animation: fq-float 4.8s ease-in-out infinite reverse;
}
@keyframes fq-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.faq-body {
    padding: 28px 0 56px;
}
.faq-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
    background: #fff;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(26, 19, 51, 0.06);
    border: 1px solid rgba(116, 68, 253, 0.06);
}

.faq-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-aside__art {
    background: linear-gradient(160deg, #efe9ff 0%, #f8f6ff 100%);
    border-radius: 22px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.faq-aside__art img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}
.faq-help {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1.5px solid var(--fq-line);
    box-shadow: 0 6px 18px rgba(26, 19, 51, 0.04);
}
.faq-help__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--fq-soft);
    color: var(--fq-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.faq-help__text {
    flex: 1;
    min-width: 0;
}
.faq-help__text strong {
    display: block;
    color: var(--fq-text);
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.faq-help__text span {
    color: var(--fq-muted);
    font-size: 13px;
    line-height: 1.35;
}
.faq-help__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid var(--fq-line);
    color: var(--fq-purple);
    font-family: "Urbanist", sans-serif;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}
.faq-help__btn:hover {
    background: var(--fq-purple);
    border-color: var(--fq-purple);
    color: #fff;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    border: 1.5px solid var(--fq-line);
    border-radius: var(--fq-radius);
    background: #fff;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.faq-item.is-open,
.faq-item:hover {
    border-color: rgba(99, 57, 249, 0.35);
    box-shadow: 0 8px 22px rgba(99, 57, 249, 0.08);
}
.faq-item__btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: var(--fq-text);
    font-family: "Urbanist", sans-serif;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
}
.faq-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--fq-soft);
    color: var(--fq-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}
.faq-item.is-open .faq-item__icon {
    background: var(--fq-purple);
    color: #fff;
}
.faq-item__q {
    flex: 1;
    min-width: 0;
}
.faq-item__chev {
    color: var(--fq-purple);
    transition: transform .2s ease;
    flex-shrink: 0;
}
.faq-item.is-open .faq-item__chev {
    transform: rotate(180deg);
}
.faq-item__body {
    display: none;
    padding: 0 16px 16px 66px;
    color: var(--fq-muted);
    font-size: 14px;
    line-height: 1.65;
}
.faq-item.is-open .faq-item__body {
    display: block;
}
.faq-item.is-extra {
    display: none;
}
.faq-page.show-all .faq-item.is-extra {
    display: block;
}
.faq-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: var(--fq-purple);
    font-family: "Urbanist", sans-serif;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}
.faq-more i { font-size: 0.85rem; }

.faq-help--mobile {
    display: none;
}

/* Desktop polish */
@media (min-width: 992px) {
    .faq-hero {
        padding: 52px 0 88px;
    }
    .faq-hero__badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 14px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(99, 57, 249, 0.14);
        color: var(--fq-purple);
        font-family: "Urbanist", sans-serif;
        font-size: 12.5px;
        font-weight: 750;
        backdrop-filter: blur(8px);
    }
    .faq-hero__copy h1 {
        font-size: 3.15rem;
        margin-bottom: 10px;
    }
    .faq-hero__bc {
        margin-bottom: 14px;
        font-size: 15px;
    }
    .faq-hero__desc {
        font-size: 16.5px;
        line-height: 1.55;
        max-width: 460px;
    }
    .faq-hero__bubbles {
        width: 260px;
        height: 180px;
    }
    .faq-bubble--q {
        width: 118px;
        height: 118px;
        right: 24px;
        top: 6px;
        font-size: 3rem;
        border-radius: 34px 34px 34px 10px;
        box-shadow:
            0 22px 48px rgba(99, 57, 249, 0.32),
            0 0 0 14px rgba(255, 255, 255, 0.28);
    }
    .faq-bubble--dots {
        width: 72px;
        height: 56px;
        left: 12px;
        bottom: 18px;
        font-size: 1.55rem;
        box-shadow: 0 14px 30px rgba(26, 19, 51, 0.1);
    }
    .faq-body {
        padding: 0 0 72px;
        margin-top: -52px;
        position: relative;
        z-index: 2;
    }
    .faq-shell {
        grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.25fr);
        gap: 36px;
        padding: 32px;
        border-radius: 32px;
        box-shadow:
            0 24px 60px rgba(26, 19, 51, 0.08),
            0 2px 0 rgba(255, 255, 255, 0.8) inset;
        border: 1px solid rgba(116, 68, 253, 0.08);
    }
    .faq-aside {
        position: sticky;
        top: 104px;
        gap: 18px;
    }
    .faq-aside__art {
        min-height: 340px;
        border-radius: 26px;
        padding: 28px 22px;
        background:
            radial-gradient(circle at 70% 20%, rgba(255,255,255,0.7), transparent 45%),
            linear-gradient(165deg, #e9e1ff 0%, #f6f3ff 55%, #efeaff 100%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    }
    .faq-aside__art img {
        max-width: 100%;
        filter: drop-shadow(0 18px 28px rgba(74, 40, 160, 0.12));
        transition: transform .35s ease;
    }
    .faq-aside:hover .faq-aside__art img {
        transform: translateY(-4px) scale(1.02);
    }
    .faq-help--desktop {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 20px;
        background: linear-gradient(145deg, #f6f2ff 0%, #ffffff 55%);
        border: 1px solid rgba(99, 57, 249, 0.12);
        border-radius: 22px;
    }
    .faq-help--desktop .faq-help__icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    .faq-help--desktop .faq-help__text strong {
        font-size: 1.05rem;
    }
    .faq-help--desktop .faq-help__btn {
        width: 100%;
        justify-content: center;
        height: 46px;
        border-radius: 14px;
        background: linear-gradient(135deg, #7444FD 0%, #6339F9 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 10px 22px rgba(99, 57, 249, 0.28);
    }
    .faq-help--desktop .faq-help__btn:hover {
        filter: brightness(1.05);
        color: #fff;
    }
    .faq-list {
        gap: 12px;
    }
    .faq-item {
        border-radius: 20px;
        background: #fbfafe;
    }
    .faq-item.is-open {
        background: linear-gradient(180deg, #f3efff 0%, #ffffff 48%);
        border-color: rgba(99, 57, 249, 0.28);
        box-shadow: 0 14px 32px rgba(99, 57, 249, 0.1);
    }
    .faq-item__btn {
        padding: 18px 20px;
        font-size: 15.5px;
        gap: 14px;
    }
    .faq-item__icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 1rem;
    }
    .faq-item__body {
        padding: 0 20px 18px 76px;
        font-size: 14.5px;
        line-height: 1.7;
    }
    .faq-more {
        margin-top: 12px;
        padding: 10px 0;
        font-size: 14.5px;
    }
    .faq-more:hover {
        opacity: 0.85;
    }
}

@media (max-width: 991px) {
    .faq-hero {
        padding: 20px 0 16px;
    }
    .faq-hero__inner {
        gap: 12px;
    }
    .faq-hero__bubbles {
        width: 110px;
        height: 100px;
    }
    .faq-bubble--q {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
        right: 0;
        top: 0;
        border-radius: 20px 20px 20px 6px;
    }
    .faq-bubble--dots {
        width: 42px;
        height: 34px;
        font-size: 1rem;
        left: 0;
        bottom: 6px;
    }
    .faq-hero__copy h1 {
        font-size: 2rem;
    }
    .faq-hero__desc {
        font-size: 13.5px;
    }
    .faq-body {
        padding: 16px 0 48px;
    }
    .faq-shell {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px;
        border-radius: 22px;
        background: transparent;
        box-shadow: none;
        border: 0;
    }
    .faq-aside__art {
        min-height: 200px;
        border-radius: 18px;
    }
    .faq-help--desktop {
        display: none;
    }
    .faq-help--mobile {
        display: flex;
        margin-top: 8px;
        background: var(--fq-soft);
        border-color: transparent;
    }
    .faq-help--mobile .faq-help__btn {
        background: #fff;
        border-color: transparent;
        box-shadow: 0 4px 12px rgba(99, 57, 249, 0.12);
    }
    .faq-item__btn {
        font-size: 14px;
        padding: 13px 14px;
    }
    .faq-item__body {
        padding-left: 16px;
    }
}

@media (max-width: 480px) {
    .faq-help {
        flex-wrap: wrap;
    }
    .faq-help__btn {
        width: 100%;
        justify-content: center;
    }
}
