/* =============================================================
   STAGENATION — legal-pages.css
   Styling untuk FAQ, Syarat & Ketentuan, Kebijakan Privasi
   ============================================================= */

.sn-container-narrow {
    max-width: 780px;
}

/* =============================================================
   FAQ ACCORDION
   ============================================================= */
.sn-faq-wrap {
    margin-top: 40px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.sn-faq-group {
    margin-bottom: 36px;
}

.sn-faq-category {
    color: #e879f9;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a1e46;
}

.sn-faq-item {
    background: #140a26;
    border: 1px solid #2a1e46;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.sn-faq-item--open {
    border-color: #a855f7;
}

.sn-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    color: #f5f3fa;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    padding: 18px 20px;
    cursor: pointer;
}

.sn-faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a1e46;
    border-radius: 50%;
    font-size: 16px;
    color: #d8b4fe;
    transition: transform 0.25s ease, background 0.2s ease;
}

.sn-faq-item--open .sn-faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
}

.sn-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sn-faq-item--open .sn-faq-answer {
    max-height: 300px;
}

.sn-faq-answer p {
    margin: 0;
    padding: 0 20px 18px;
    color: #a89fc2;
    font-size: 14px;
    line-height: 1.6;
}

.sn-faq-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #1e1435;
}

.sn-faq-cta p {
    color: #a89fc2;
    margin-bottom: 16px;
    font-size: 15px;
}

/* =============================================================
   LEGAL PAGES (Syarat & Ketentuan, Kebijakan Privasi)
   ============================================================= */
.sn-legal-content {
    max-width: 780px;
    margin: 40px auto 0;
    color: #c9c2dd;
    font-size: 15px;
    line-height: 1.7;
}

.sn-legal-content h2 {
    color: #f5f3fa;
    font-size: 20px;
    margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a1e46;
}

.sn-legal-content h2:first-child {
    margin-top: 0;
}

.sn-legal-content p {
    margin: 0 0 14px;
    color: #a89fc2;
}

.sn-legal-content ul {
    margin: 0 0 14px;
    padding-left: 22px;
    color: #a89fc2;
}

.sn-legal-content ul li {
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .sn-legal-content h2 {
        font-size: 17px;
    }
    .sn-faq-question {
        font-size: 14px;
        padding: 16px;
    }
}