/* ── FAQ HERO ─────────────────────────────────────────────────────────────── */
.faq-hero {
    padding: 80px 5% 60px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.faq-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.faq-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 16px;
    line-height: 1.15;
}

.faq-hero-sub {
    font-size: 1rem;
    color: var(--footer-text-color);
    margin: 0;
    line-height: 1.6;
}

.faq-hero-sub a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(124, 151, 255, 0.4);
    transition: border-color 0.2s;
}

.faq-hero-sub a:hover {
    border-color: var(--secondary-color);
}

/* ── FAQ SECTION ──────────────────────────────────────────────────────────── */
.faq-section {
    padding: 60px 5% 80px;
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

/* ── FAQ GROUP ────────────────────────────────────────────────────────────── */
.faq-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-group-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--footer-text-color);
    margin: 0 0 16px;
}

/* ── FAQ ITEM ─────────────────────────────────────────────────────────────── */
.faq-item {
    border-left: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.faq-item.open {
    border-left-color: var(--secondary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-left: none;
    color: var(--text-color);
    padding: 18px 20px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--secondary-color);
}

.faq-item.open .faq-question {
    background: rgba(124, 151, 255, 0.06);
    color: var(--secondary-color);
    border-color: rgba(124, 151, 255, 0.2);
}

.faq-icon {
    font-size: 0.75rem;
    flex-shrink: 0;
    color: var(--footer-text-color);
    transition: transform 0.25s ease, color 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

/* ── FAQ ANSWER ───────────────────────────────────────────────────────────── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    border: 1px solid transparent;
    border-top: none;
    border-left: none;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 18px 20px 20px;
    border-color: rgba(124, 151, 255, 0.2);
    border-top: none;
}

.faq-answer p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--footer-text-color);
}

.faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(124, 151, 255, 0.4);
    transition: border-color 0.2s;
}

.faq-answer a:hover {
    border-color: var(--secondary-color);
}

/* ── MOBILE ───────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .faq-hero {
        padding: 60px 5% 40px;
    }

    .faq-hero h1 {
        font-size: 2rem;
    }

    .faq-section {
        padding: 40px 5% 60px;
    }

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

    .faq-item.open .faq-answer {
        padding: 14px 16px 16px;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }
}
