/* ==========================================================================
   Server Support page
   Uses common.css (.ui-*) + shared typography (.page-title, .page-sub-title)
   Scoped under .ss-page — mirrors ai-customer-support fonts, gaps, and components.
   ========================================================================== */

.ss-page {
    --ss-purple: #2563eb;
    --ss-brand: #6222cc;
    --ss-text: var(--ui-text, #0f172a);
    --ss-body: var(--ui-body, #4a4f54);
    --ss-border: rgba(74, 79, 84, 0.1);
    --ss-bg-soft: #f8fafc;
    background: #fff;
    color: var(--ss-text);
    overflow-x: hidden;
}

.ss-page h1,
.ss-page h2,
.ss-page h3 {
    font-family: "Poppins", sans-serif;
}

.ss-page p,
.ss-page li,
.ss-page span,
.ss-page a,
.ss-page button {
    font-family: "Inter", sans-serif;
}

.ss-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-gutter-x);
    padding-right: var(--site-gutter-x);
}

/* ---------- Hero ---------- */
.ss-hero {
    position: relative;
    padding: 1rem 0 0rem;
    background-color: #fff;
    overflow: hidden;
}

.ss-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/images/server_support/hero-bg.png") no-repeat top right;
    background-size: cover;
    pointer-events: none;
    opacity: 0.85;
}

.ss-hero-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.hero-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(90.96deg, #2563eb 1.84%, #95b6fd 98.19%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.ss-green-dot {
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0;
    display: block;
    min-height: auto !important;
}

.ss-hero-title-br {
    display: none;
}

.ss-hero-text {
    font-size: 22px;
    line-height: 1.55;
    color: #0F172A;
    margin: 0 0 50px;
    font-weight: 500;
}

.ss-hero-gallery {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.ss-hero-gallery-main,
.ss-hero-gallery-side {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
}

.ss-hero-gallery-main img,
.ss-hero-gallery-side img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    object-fit: cover;
}

.ss-hero-gallery-main .web-hero-img,
.ss-hero-gallery-side .web-hero-img,
.ss-tech-media .web-hero-img {
    display: block;
}

.ss-hero-gallery-main .mobile-hero-img,
.ss-hero-gallery-side .mobile-hero-img,
.ss-tech-media .mobile-hero-img {
    display: none;
}

.ss-hero-stats-card {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: #F8FAFC;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    width: 256px;
    max-width: calc(100% - 2.5rem);
    overflow: hidden;
}

.ss-hero-stat {
    padding: 10px;
    box-sizing: border-box;
    min-width: 0;
}

.ss-hero-stat + .ss-hero-stat {
    border-left: 1px solid #4A4F541A;
}

.ss-hero-stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #0F172A;
    margin-bottom: 8px;
    white-space: nowrap;
}

.ss-live-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34C759;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.25);
}

.ss-hero-stat-value {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ss-purple);
    line-height: 100%;
    margin-bottom: 2px;
}

.ss-hero-stat-sub {
    font-size: 12px;
    color: #4a4f54;
    line-height: 100%;
}

.ss-hero-side-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--ss-purple);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ---------- Shared section ---------- */
/* .ss-section {
    padding-top: 6.25rem;
} */
/* .ss-section-1 {
    padding-top: 100px;
    padding-bottom: 100px;
} */
/* .ss-section-2 {
    padding-top: 80px;
    padding-bottom: 100px;
} */
.ss-section-header {
    margin-bottom: 50px;
}

.ss-section-subtitle {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--ss-body);
    /* margin: 0 0 3.125rem; */
}

.ss-section-header .ss-section-subtitle {
    margin-bottom: 0;
}

/* ---------- Complexity / pain points ---------- */
/* Figma: equal left/right columns with wide center gutter */
@media (min-width: 992px) {
    .ss-complexity-row {
        --bs-gutter-x: 50px;
    }

    /* Figma: left ~45% / right ~55% */
    .ss-complexity-row > .ss-complexity-copy {
        flex: 0 0 48%;
        max-width: 48%;
        width: 48%;
        /* padding: 0; */
    }

    .ss-complexity-row > .ss-pain-col {
        flex: 0 0 52%;
        max-width: 52%;
        width: 52%;
        /* padding-left: 0; */
    }
}

.ss-complexity-title {
    margin-bottom: 0.625rem;
    line-height: 1.2;
}

.ss-complexity-br {
    display: block;
}

.ss-complexity-intro {
    margin-bottom: 0;
    margin-top: 0.625rem;
    max-width: none;
}

.ss-pain-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ss-pain-value {
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--ss-purple);
    line-height: 1;
    margin-bottom: 10px;
}
section {
    padding: 0;
}

.ss-pain-title {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ss-text);
    margin: 0 0 10px;
    /* line-height: 1.35; */
}

.ss-pain-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ss-body);
    margin: 0;
}

/* ---------- Services cards ---------- */
.ss-services {
    background: var(--ss-bg-soft);
    /* padding-top: 80px; */
}

.ss-service-card {
    background: #fff;
    border: 1px solid var(--ss-border);
    border-radius: 0.85rem;
    padding: 1.875rem;
    height: 100%;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ss-service-card:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.ss-service-icon {
    margin-bottom: 2rem;
}

.ss-service-icon img {
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
    display: block;
}

.ss-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ss-text);
    margin: 0 0 0.625rem;
}

.ss-service-text {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ss-body);
    margin: 0;
}

/* ---------- Technologies ---------- */
.ss-tech-media {
    border-radius: 1.25rem;
    overflow: hidden;
}

.ss-tech-media img {
    width: 100%;
    height: auto;
    display: block;
}

.ss-tech-copy .ss-section-subtitle {
    margin-bottom: 24px;
}

.ss-tech-categories {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.ss-tech-categories > * {
    position: relative;
}

.ss-tech-categories > *::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -24px;
    border-bottom: 1px solid #4A4F541A
}

.ss-tech-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 15px;
}

.ss-tech-category-title img {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    object-fit: contain;
}

.ss-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ss-tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 0.5rem;
    border: 1px solid #4A4F541A;
    background: #F8FAFC;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #0F172A;
}

/* ---------- Why Choose ---------- */
.ss-why {
    background-color: #F8FAFC;
}
.ss-why-header {
    margin-bottom: 2.75rem;
}

.ss-why-header .ss-section-subtitle {
    margin-bottom: 0;
}

.ss-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 40px;
}

.ss-why-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.ss-why-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Poppins", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    margin: 0 0 0.625rem;
}
.ss-why-title span {
    font-family: "Poppins", sans-serif;
}

.ss-why-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    object-fit: contain;
}

.ss-why-text {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
    color: #4a4f54;
    margin: 0;
    /* padding-left: calc(1.5rem + 0.75rem); */
}

/* ---------- Industries ---------- */
.ss-industries .page-title {
    text-align: left;
    margin-bottom: 0.625rem;
}

.ss-industries-subtitle {
    text-align: left;
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    color: var(--ss-body);
}



/* ---------- Process ---------- */
.ss-process {
    /* padding: 4.5rem 0 5.5rem; */
    background-image: url("../images/virtual/how_it_works_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}



/* ---------- FAQ ---------- */
.ss-faq {
    padding: 6.25rem 0;
}

.ss-faq-subtitle {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 28px;
    font-weight: 400;
}

.ss-faq-list {
    margin-top: 50px;
}

.ss-faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.ss-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 0;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ss-text);
}

.ss-faq-list .ss-faq-item:nth-child(1) .ss-faq-question {
    padding-top: 0;
}

.ss-faq-question[aria-expanded="true"] {
    padding-bottom: 10px;
}

.ss-faq-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--ss-text);
}

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

.ss-faq-answer {
    display: none;
    padding: 0 0 1.875rem 0;
    font-size: 1.125rem;
    line-height: 26px;
    color: var(--ss-body);
    font-family: "Inter", sans-serif;
}

.ss-faq-item.open .ss-faq-answer {
    display: block;
}

/* ---------- CTA ---------- */
.ss-page .careers-cta-wrap.careers-shell {
    padding-bottom: 100px;
}

.ss-page .careers-cta-banner {
    border-radius: 1.25rem;
    padding: 44px 90px;
    text-align: center;
    color: #fff;
    background-color: #0b0f1a;
    background-image: url("/images/career/role-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ss-page .careers-cta-banner h2 {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.ss-page .careers-cta-banner p {
    font-size: 18px;
    color: #ffffff;
    margin: 0 auto 35px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}

.ss-page .careers-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 47px;
    min-width: 10rem;
    padding: 15px 24px;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    font-size: 14px;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}

.ss-page .careers-cta-btn:hover {
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ss-faq {
        padding: 45px 0;
    }

    section {
        margin: 0;
    }

    .ss-page .careers-cta-wrap.careers-shell {
        padding-bottom: 50px;
    }

    .ss-section-header {
        margin-bottom: 20px;
    }

    .ss-section-1 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .ss-section-2 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .ss-page .page-sub-title {
        font-size: 16px;
    }

    .ss-hero {
        /* padding-bottom: 34px !important; */
        margin: 0;
    }

    .ss-hero-title-br {
        display: block;
    }

    .ss-complexity-br {
        display: none;
    }

    .ss-hero-text {
        margin-bottom: 15px;
    }

    .ss-hero-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ss-hero-gallery-main,
    .ss-hero-gallery-side {
        border-radius: 1rem;
    }

    .ss-hero-gallery-main img,
    .ss-hero-gallery-side img,
    .ss-tech-media img {
        min-height: auto;
        height: auto;
        width: 100%;
        object-fit: cover;
    }

    .ss-hero-gallery-main .web-hero-img,
    .ss-hero-gallery-side .web-hero-img,
    .ss-tech-media .web-hero-img {
        display: none;
    }

    .ss-hero-gallery-main .mobile-hero-img,
    .ss-hero-gallery-side .mobile-hero-img,
    .ss-tech-media .mobile-hero-img {
        display: block;
    }

    .ss-hero-stats-card {
        left: 0.75rem;
        right: auto;
        bottom: 0.75rem;
        width: min(320px, calc(100% - 1.5rem));
        max-width: calc(100% - 1.5rem);
    }

    .ss-service-icon {
        margin-bottom: 20px;
    }

    .ss-service-title {
        font-size: 18px;
    }

    .ss-service-card {
        padding: 1.25rem;
    }

    /* Mobile Figma: title → description → image → categories */
    .ss-tech-row {
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    .ss-tech-visual,
    .ss-tech-copy {
        display: contents;
    }

    .ss-tech-copy-top {
        order: 1;
        width: 100%;
        margin-bottom: 1.25rem;
    }

    .ss-tech-copy-top .ss-section-subtitle {
        margin-bottom: 0;
    }

    .ss-tech-media {
        order: 2;
        width: 100%;
        margin-bottom: 1.5rem;
        border-radius: 1rem;
    }

    .ss-tech-categories {
        order: 3;
        width: 100%;
        gap: 0;
    }

    .ss-tech-category {
        padding: 1.25rem 0;
        border-bottom: 1px solid rgba(74, 79, 84, 0.12);
    }

    .ss-tech-category:first-child {
        padding-top: 0;
    }

    .ss-tech-category:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .ss-why-grid {
        grid-template-columns: 1fr;
        row-gap: 1.75rem;
    }

    .ss-why-header {
        margin-bottom: 20px;
    }

    .ss-why-text {
        /* padding-left: calc(1.25rem + 0.75rem); */
    }

    .ss-pain-list {
        gap: 2rem;
        margin-top: 0.5rem;
    }

    .ss-pain-value {
        font-size: 30px;
    }

    .ss-industries-subtitle {
        font-size: 16px;
        line-height: 1.55;
    }



    .ss-faq-list {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .ss-hero-gallery-main,
    .ss-hero-gallery-side {
        border-radius: 1rem;
    }

    .ss-why-title {
        font-size: 1.125rem;
    }

    .ss-why-icon {
        width: 24px;
        height: 24px;
    }
    .ss-service-icon img { 
        width: 42px;
        height: 42px;
    }

    .ss-tech-category-title img {
        width: 24px;
        height: 24px;
    }



    .ss-faq-list {
        margin-top: 30px;
    }

    .ss-process {
        padding: 3rem 0 3.5rem;
    }



    .ss-faq-question {
        font-size: 1rem;
    }

    .ss-faq-answer {
        font-size: 1rem;
    }

    .ss-page .careers-cta-banner {
        padding: 44px 20px;
        background-image: url("/images/career/bg-mobile.png");
    }

    .ss-page .careers-cta-banner h2 {
        font-size: 24px;
    }

    .ss-page .careers-cta-banner p {
        font-size: 16px;
        margin-bottom: 24px;
    }
}
