/* ═══════════════════════════════════
   ShiftMate – FAQ Page Styles
   ═══════════════════════════════════ */

/* ── FAQ accordion ────────────────── */
.faq-grid {
    display: grid;
    gap: 16px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.35s;
}
.faq-item:hover {
    border-color: var(--border-glow);
    box-shadow: 0 4px 30px rgba(74, 108, 247, 0.06);
}
.faq-item.open {
    border-color: rgba(100, 160, 255, 0.2);
    box-shadow: 0 8px 40px rgba(74, 108, 247, 0.08);
}
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: 22px 28px;
    background: none; border: none; cursor: pointer;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600; font-size: 1.05rem;
    text-align: left;
    gap: 16px;
}
.faq-question .icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--gradient-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-right: 14px;
}
.faq-question .text { flex: 1; }
.faq-chevron {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(100, 140, 255, 0.06);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.35s, background 0.35s;
}
.faq-chevron svg {
    width: 14px; height: 14px;
    stroke: var(--text-muted);
    transition: stroke 0.35s;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    background: rgba(100, 160, 255, 0.12);
}
.faq-item.open .faq-chevron svg { stroke: var(--neon-cyan); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
    padding: 0 28px 24px 78px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ── Responsive ───────────────────── */
@media (max-width: 768px) {
    .faq-answer-inner { padding-left: 28px; }
    .faq-question .icon { display: none; }
}