/* ===== Static Pages (Terms, Privacy, About, FAQ) ===== */

/* Full page background */
body.pages-bg {
    background: #0b0f19 url('/assets/img/main_background.png') center top / cover no-repeat fixed !important;
}

/* ---- Page Title ---- */
.page-title-section {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 20px 40px;
    text-align: center;
}

.page-title {
    font-family: 'Ethnocentric', 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(60, 242, 175, 0.15);
    color: #ffffff;
}

.page-title .accent {
    color: #3cf2af;
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Page Price Row (Product Header) ---- */
.page-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}
.page-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #3cf2af;
}
.page-price.page-free {
    color: #3cf2af;
}
.page-price-old {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
}
.page-discount {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.12);
    padding: 3px 10px;
    border-radius: 6px;
}

/* ---- Info Card Grid ---- */
.page-container {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 22px 24px;
    transition: border-color 0.3s;
}

.info-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.info-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(60, 242, 175, 0.08);
    border: 1px solid rgba(60, 242, 175, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon svg {
    width: 22px;
    height: 22px;
    color: #3cf2af;
}

.info-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.info-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

/* Danger / Red variant (refund, warnings) */
.info-card.danger {
    border-color: rgba(255, 71, 87, 0.15);
    background: rgba(255, 71, 87, 0.04);
}

.info-card.danger:hover {
    border-color: rgba(255, 71, 87, 0.25);
}

.info-card.danger .info-card-icon {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.2);
}

.info-card.danger .info-card-icon svg {
    color: #ff4757;
}

.info-card.danger h4 {
    color: #ff6b7a;
}

/* ---- Bottom Badges ---- */
.page-badges {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.page-badges-inner {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 28px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.badge-item svg {
    width: 28px;
    height: 28px;
    color: #3cf2af;
    flex-shrink: 0;
}

.badge-item span {
    font-family: 'Ethnocentric', 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

/* ---- Section Headers (FAQ categories) ---- */
.section-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3cf2af;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-align: center;
}

.section-header:not(:first-child) {
    margin-top: 36px;
}

/* ---- FAQ Accordion Cards ---- */
.faq-item {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.active {
    border-color: rgba(60, 242, 175, 0.2);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(60, 242, 175, 0.03);
}

.faq-question .faq-q-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: rgba(60, 242, 175, 0.08);
    border: 1px solid rgba(60, 242, 175, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-question .faq-q-icon svg {
    width: 18px;
    height: 18px;
    color: #3cf2af;
}

.faq-question .faq-q-text {
    flex: 1;
}

.faq-question .faq-chevron {
    width: 20px;
    height: 20px;
    color: rgba(60, 242, 175, 0.5);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px 78px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Last updated text */
.last-updated {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-top: 28px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .page-badges-inner {
        flex-direction: column;
        gap: 20px;
        padding: 24px 28px;
    }

    .page-title-section {
        padding: 80px 16px 28px;
    }

    .page-title {
        font-size: 1.6rem;
        letter-spacing: 1.5px;
    }

    .info-card {
        padding: 22px 20px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.88rem;
    }

    .faq-answer-inner {
        padding: 0 18px 16px 56px;
    }
}

@media (max-width: 480px) {
    .page-title-section {
        padding: 70px 12px 20px;
    }

    .page-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .page-subtitle {
        font-size: 0.75rem;
    }

    .page-container {
        padding: 0 12px;
    }

    .info-card {
        padding: 18px 16px;
    }

    .info-card h4 {
        font-size: 0.88rem;
    }

    .info-card p {
        font-size: 0.8rem;
    }

    .page-badges {
        padding: 0 12px;
    }

    .page-badges-inner {
        padding: 20px 18px;
        gap: 16px;
    }

    .badge-item span {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .faq-question {
        padding: 14px 14px;
        font-size: 0.82rem;
        gap: 12px;
    }

    .faq-question .faq-q-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .faq-answer-inner {
        padding: 0 14px 14px 46px;
        font-size: 0.82rem;
    }

    .page-price-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-price {
        font-size: 1.3rem;
    }
}
