/* ═══════════════════════════════════════════════
   FAQ — FAQ page specific styles
   ═══════════════════════════════════════════════ */

/* ═══ HERO ═══ */
.faq-hero {
    padding: 160px 56px 80px;
    text-align: center;
    background: linear-gradient(180deg, #FAFAF8 0%, #FFFFFF 60%, var(--warm) 100%);
    position: relative;
    overflow: hidden;
}
.faq-hero-ambient {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(0,191,179,0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ═══ FILTER TAGS ═══ */
.faq-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.faq-tag {
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}
.faq-tag:hover {
    border-color: var(--ink-4);
    color: var(--ink);
    background: #f4f4f2;
}
.faq-tag.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ═══ COUNTER ═══ */
.faq-count {
    font-size: 13px;
    color: var(--ink-3);
    margin-bottom: 24px;
}

/* ═══ CATEGORY PILLS ═══ */
.faq-cat-pill {
    flex-shrink: 0;
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.faq-cat-pill--start  { background: #e8f5e9; color: #2e7d32; }
.faq-cat-pill--plans  { background: #e3f2fd; color: #1565c0; }
.faq-cat-pill--data   { background: #fff3e0; color: #e65100; }
.faq-cat-pill--strat  { background: #f3e5f5; color: #7b1fa2; }
.faq-cat-pill--results{ background: #e0f2f1; color: #00695c; }
.faq-cat-pill--account{ background: #fce4ec; color: #c62828; }
.faq-cat-pill--legal  { background: #efebe9; color: #4e342e; }

/* ═══ EMPTY STATE ═══ */
.faq-empty {
    text-align: center;
    padding: 48px 0;
    color: var(--ink-3);
    font-size: 15px;
}

/* ═══ ITEM TRANSITIONS ═══ */
.faq-item {
    transition: opacity 0.25s var(--ease), max-height 0.25s var(--ease);
}
.faq-item.hidden {
    display: none;
}

/* ═══ FAQ LIST ═══ */
.faq-section {
    padding: 0 56px 100px;
    background: var(--warm);
}
.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.2s;
}
.faq-q > span:first-child {
    flex: 1;
    min-width: 0;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; content: ''; }
.faq-q:hover { color: var(--teal); }

.faq-q::after {
    content: '';
    width: 18px; height: 18px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-q::after {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-2);
}
.faq-a strong {
    color: var(--ink);
    font-weight: 600;
}

/* ═══ CTA ═══ */
.faq-cta {
    padding: 100px 56px;
    text-align: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.faq-cta-ambient {
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, rgba(0,191,179,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.faq-cta-inner {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.faq-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.faq-cta-btn:hover {
    transform: translateY(-2px);
}

.faq-cta-btn-solid {
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.faq-cta-btn-solid:hover {
    background: var(--navy-light);
    box-shadow: var(--shadow-lg);
}

.faq-cta-btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border);
}
.faq-cta-btn-ghost:hover {
    background: var(--warm);
    border-color: var(--ink-4);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .faq-hero {
        padding: 120px 24px 60px;
    }
    .faq-section {
        padding: 0 24px 60px;
    }
    .faq-cta {
        padding: 60px 24px;
    }
    .faq-cta-actions {
        flex-direction: column;
    }
    .faq-cta-btn {
        width: 100%;
        justify-content: center;
    }
    .faq-q {
        font-size: 15px;
    }
    .faq-filters {
        gap: 6px;
    }
    .faq-tag {
        padding: 6px 14px;
        font-size: 12px;
    }
    .faq-cat-pill {
        display: none;
    }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    .rv { transition: none; animation: none; opacity: 1; transform: none; }
    .faq-q::after { transition: none; }
}
