/* SUPPORT HUB PAGE
   Relies on global tokens from style.css (shell, section, btn, vars, etc.)
*/

/* HERO */

.support-hero {
    position: relative;
    padding-top: 3.2rem;
    padding-bottom: 3.4rem;
}

.support-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 2.6rem;
    align-items: center;
}

.support-hero-copy {
    max-width: 34rem;
}

.support-hero-kicker {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-strong);
    margin-bottom: 0.6rem;
}

.support-hero-title {
    margin: 0 0 0.9rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(1.9rem, 2.7vw + 1rem, 2.6rem);
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.support-hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.support-hero-subtitle strong {
    color: var(--text-main);
}

.support-hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.support-hero-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: flex-start;
}

.support-hero-list .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-top: 0.35rem;
    background: radial-gradient(circle, #22c55e, #0ea5e9);
}

.support-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 0.7rem;
}

.support-hero-note {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* HERO VISUAL */

.support-hero-visual {
    position: relative;
    min-height: 260px;
}

.support-hero-orbit {
    position: absolute;
    inset: -14%;
    background:
        radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.25), transparent 65%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.25), transparent 60%);
    filter: blur(26px);
    opacity: 0.9;
    z-index: 0;
}

.support-hero-card {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    padding: 1.2rem 1.3rem 1.1rem;
    background: linear-gradient(135deg, #ffffff, #edf5ff);
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

.support-hero-card-main {
    max-width: 360px;
    margin-left: auto;
    overflow: hidden;
}

.support-hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
}

.support-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(209, 213, 219, 0.9);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.support-hero-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #22c55e, #16a34a);
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.9);
    animation: supportPulse 1.6s ease-out infinite;
}

.support-hero-card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* convo list */

.support-hero-convos {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.support-hero-convo {
    border-radius: 14px;
    padding: 0.55rem 0.6rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(209, 213, 219, 0.9);
    font-size: 0.78rem;
}

.support-hero-convo.is-hot {
    border-color: rgba(248, 113, 113, 0.8);
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.4);
}

.support-hero-convo-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.15rem;
}

.support-hero-convo-name {
    font-weight: 600;
    color: var(--text-main);
}

.support-hero-convo-snippet {
    margin: 0.1rem 0 0.25rem;
    color: var(--text-muted);
}

.support-hero-convo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.74rem;
    color: var(--text-muted);
}

.support-hero-badge-hot,
.support-hero-badge-sla,
.support-hero-badge-warm {
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.7rem;
}

.support-hero-badge-hot {
    background: rgba(248, 113, 113, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(248, 113, 113, 0.7);
}

.support-hero-badge-sla {
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.7);
}

.support-hero-badge-warm {
    background: rgba(251, 191, 36, 0.12);
    color: #92400e;
    border: 1px solid rgba(251, 191, 36, 0.8);
}

.support-hero-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.7);
    padding-top: 0.5rem;
    margin-top: 0.2rem;
}

.support-hero-stat {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.support-hero-stat .label {
    display: block;
}

.support-hero-stat .value {
    font-weight: 600;
    color: var(--text-main);
}

/* floating card */

.support-hero-floating-card {
    position: absolute;
    left: 0.5rem;
    bottom: -0.6rem;
    transform: translateY(0);
    border-radius: 16px;
    padding: 0.65rem 0.85rem;
    background: rgba(15, 23, 42, 0.94);
    color: #e5e7eb;
    font-size: 0.78rem;
    max-width: 220px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.25);
    animation: floatPeek 5s ease-in-out infinite;
}

.support-hero-floating-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #a5b4fc;
    margin: 0 0 0.25rem;
}

.support-hero-floating-text {
    margin: 0;
}

/* WHY SECTION */

.support-why {
    padding-top: 2.6rem;
    padding-bottom: 3.2rem;
}

.support-why-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.support-why-copy {
    max-width: 26rem;
}

.support-kicker {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-strong);
    margin-bottom: 0.6rem;
}

.support-why-title {
    margin: 0 0 0.8rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.support-why-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.support-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.1rem;
}

.support-why-card {
    border-radius: 20px;
    padding: 1.05rem 1.1rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    position: relative;
    overflow: hidden;
}

.support-why-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.2), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity 220ms ease-out;
    mix-blend-mode: screen;
}

.support-why-card:hover::before {
    opacity: 1;
}

.support-why-card-wide {
    grid-column: 1 / -1;
}

.support-why-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.22), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.7);
    margin-bottom: 0.4rem;
}

.support-why-card-title {
    margin: 0 0 0.35rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-main);
}

.support-why-card-text {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.support-why-list {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* FLOW SECTION */

.support-flow {
    padding-top: 2.4rem;
    padding-bottom: 3.1rem;
}

.support-flow-header {
    max-width: 42rem;
    margin: 0 auto 2rem;
    text-align: left;
}

.support-flow-title {
    margin: 0 0 0.8rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.support-flow-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.support-flow-grid {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.support-flow-step {
    border-radius: 20px;
    padding: 1.2rem 1.2rem 1.1rem;
    background: linear-gradient(135deg,
            rgba(240, 253, 244, 0.96),
            rgba(224, 242, 254, 0.96));
    border: 1px solid rgba(22, 163, 74, 0.3);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.support-flow-badge {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0 0, #22c55e, #0ea5e9);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
    margin-bottom: 0.1rem;
}

.support-flow-badge span {
    color: #ecfdf5;
    font-size: 0.9rem;
    font-weight: 600;
}

.support-flow-step-title {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-main);
}

.support-flow-step-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.support-flow-bullets {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* FEATURES GRID */

.support-features {
    padding-top: 2.4rem;
    padding-bottom: 3.2rem;
}

.support-features-header {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.support-features-title {
    margin: 0 0 0.8rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.support-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.support-feature-card {
    border-radius: 20px;
    padding: 1.1rem 1.15rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 13px 30px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.support-feature-card::before {
    content: "";
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.2), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity 220ms ease-out;
    mix-blend-mode: screen;
}

.support-feature-card:hover::before {
    opacity: 1;
}

.support-feature-card-wide {
    grid-column: span 2;
}

.support-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0 0, rgba(0, 188, 212, 0.24), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.8);
}

.support-feature-title {
    margin: 0.25rem 0 0.25rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-main);
}

.support-feature-text {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.support-feature-list {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* FINAL CTA */

.support-final-cta {
    padding-top: 2.6rem;
    padding-bottom: 3.6rem;
}

.support-final-card {
    border-radius: 24px;
    padding: 1.7rem 1.8rem 1.7rem;
    background: linear-gradient(135deg,
            rgba(240, 253, 244, 0.98),
            rgba(224, 242, 254, 0.98));
    border: 1px solid rgba(34, 197, 94, 0.5);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 1.6rem;
    align-items: center;
}

.support-final-copy {
    max-width: 34rem;
}

.support-final-kicker {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-strong);
    margin-bottom: 0.6rem;
}

.support-final-title {
    margin: 0 0 0.8rem;
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.support-final-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.support-final-actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.support-final-visual {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(209, 213, 219, 0.95);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.support-final-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ANIMATIONS */

@keyframes supportPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes floatPeek {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .support-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-hero-visual {
        /* order: -1; */
        margin-bottom: 1.6rem;
    }

    .support-hero-card-main {
        margin: 0 auto;
    }

    .support-hero-floating-card {
        left: 1.4rem;
        bottom: -0.4rem;
    }

    .support-why-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-why-copy {
        max-width: none;
    }

    .support-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-feature-card-wide {
        grid-column: 1 / -1;
    }

    .support-final-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-final-visual {
        max-height: 260px;
    }
}

@media (max-width: 720px) {
    .support-hero {
        padding-top: 2.6rem;
        padding-bottom: 2.9rem;
    }

    .support-why-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-flow-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-final-card {
        padding: 1.5rem 1.3rem 1.5rem;
    }

    .support-hero-floating-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: 0.8rem;
    }
}


.section.support-flow {
    background-color: beige !important;
    box-shadow: 2px 2px 22px 2px #ccc;
}