/* ============================================================
   Support.css — Customer Support page (/nz/support).
   Relies on functionPages.css for hero/section/showcase/steps.
   ============================================================ */

.sup-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .5rem;
}

/* ── Fast facts (dark band) ────────────────────────────────── */
.sup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sup-stat-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform .3s, border-color .3s;
}

.sup-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .25);
}

.sup-stat-number {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .3rem;
}

.sup-stat-label {
    font-size: .86rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.5;
}

/* ── Channel cards ─────────────────────────────────────────── */
.sup-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.sup-channel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.6rem;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.sup-channel:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(21, 93, 238, .1);
}

.sup-channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sup-channel-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.sup-channel h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .5rem;
}

.sup-channel p {
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.sup-channel a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sup-channel a:hover {
    text-decoration: underline;
}

/* ── Feedback pipeline visual ──────────────────────────────── */
.sup-pipeline {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.9rem 1.9rem 1.4rem;
}

.sup-pipe-item {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.7rem;
}

.sup-pipe-item:last-child {
    padding-bottom: .3rem;
}

.sup-pipe-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: -2px;
    width: 2px;
    background: var(--border);
}

.sup-pipe-dot {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
    margin-top: 3px;
}

.sup-pipe-dot-green {
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-light);
}

.sup-pipe-item strong {
    display: block;
    font-size: .95rem;
    color: var(--text);
    margin-bottom: .15rem;
}

.sup-pipe-item em {
    font-style: normal;
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ── FAQ (site convention: styled per page) ────────────────── */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color .25s;
}

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

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
    transition: transform .3s;
    flex-shrink: 0;
}

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

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-body-inner {
    padding: 0 20px 18px;
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1000px) {
    .sup-channels {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .sup-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .sup-channels {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
}
