/* CA product page v3 — styles for productCATemplateV3 */

.breadcrumb-section .area-breadcrumbs {
    padding: 16px 0;
}

.breadcrumb-section .area-breadcrumbs a {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #9E9E9E;
}

.breadcrumb-section .area-breadcrumbs a span {
    text-decoration: none;
}

.breadcrumb-section .area-breadcrumbs a.disabled {
    color: #155036;
}

.breadcrumb-section .area-breadcrumbs .breadcrumb-divider {
    color: #9E9E9E;
    padding: 0 6px;
}

/* Hero / header */
.header-section {
    padding: 40px 0 80px;
    background: linear-gradient(174deg, #FFFFFF 52.16%, #B3D3BF 104.21%);
    border-radius: 0 0 40px 40px;
}

.header-section h2 {
    margin-bottom: 24px;
}

.header-section h1 {
    color: #212121;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: none;
}

.header-section .descr {
    color: #424242;
    font-size: 20px;
    line-height: 32px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.btn.btn-blue,
.btn.btn-blue:hover {
    background-color: #0864AE;
}

/* Customers — appears before statistics on CA (Figma order) */
.customers-section {
    padding: 80px 0 0;
}

.customers-section h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 52px;
    color: #155036;
    margin-bottom: 32px;
    text-align: center;
}

/* Statistics — content left, dual cards right */
.statistics-section {
    padding: 80px 0;
}

.statistics-section .left-col,
.statistics-section .right-col {
    display: flex;
}

.statistics-section .left-col {
    align-items: center;
}

.statistics-section .content-container,
.statistics-section .statistics-container,
.statistics-section .statistics-module,
.statistics-section .statistics-module .module-container.top-row {
    width: 100%;
    height: 100%;
}

.statistics-module--dual .module-container.top-row {
    display: flex;
    gap: 34px;
    align-items: stretch;
}

.statistics-module--dual .module-container.top-row .module {
    flex: 1 1 0;
    margin-bottom: 0;
    padding: 24px;
    box-shadow: none;
    height: 100%;
}

.statistics-module--dual .module .panel-container {
    justify-content: flex-start;
    height: 100%;
}

.statistics-module--dual .locations-panel {
    background-color: #022C22;
}

.statistics-module--dual .locations-panel .statistics-value {
    color: #FFFFFF;
}

.statistics-module--dual .locations-panel .statistics-label {
    color: #BBF7D0;
}

.statistics-module--dual .job-titles-panel {
    background-color: #CDE7DA;
    color: #1F6542;
}

.statistics-module--dual .job-titles-panel .statistics-value,
.statistics-module--dual .job-titles-panel .statistics-label {
    color: #1F6542;
}

.statistics-section .left-col h2 {
    letter-spacing: -1px;
}

.statistics-section .descr {
    font-size: 18px;
    line-height: 32px;
    color: #424242;
}

.statistics-section .btn {
    margin-top: 24px;
}

/* Features */
.features-section .content h3 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    color: #155036;
}

.features-section .content h2 {
    color: #000;
    letter-spacing: -1px;
}

.features-section .content .row:not(:first-of-type) {
    margin-top: 160px;
}

.features-section ul {
    list-style: disc;
    padding-left: 27px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 32px;
    color: #424242;
}

.features-section li {
    margin-bottom: 16px;
}

.features-section li:last-child {
    margin-bottom: 0;
}

.features-section li::marker {
    color: #155036;
}

/* Figma CompensationManagement frame + inset UI screenshot */
.features-section .img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 556 / 405;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #B1D0AE 0%, #D2E8EC 100%);
}

.features-section .img-container img {
    position: absolute;
    top: 9.63%;
    left: 5.22%;
    display: block;
    width: 96.04%;
    height: 91.36%;
    max-width: none;
    object-fit: cover;
    object-position: left top;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Additional features — 3 columns + CTA (Figma node 1:8224) */
.additional-features-section {
    padding: 80px 0;
}

.additional-features-section h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
    letter-spacing: -1px;
    color: #155036;
    text-align: center;
    margin-bottom: 64px;
}

.additional-features-section .items-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 64px;
}

.additional-features-section .feature-item {
    flex: 0 1 328px;
    width: 328px;
    max-width: 100%;
}

.additional-features-section .feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    color: #424242;
    margin: 0 0 8px;
}

.additional-features-section .feature-item .descr {
    font-size: 18px;
    line-height: 32px;
    color: #424242;
}

.additional-features-section .cta-row {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

/* Support */
.support-section {
    padding-bottom: 120px;
}

.support-section h2 {
    color: #221F1F;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
}

.support-section .main-content-container > .description {
    font-size: 16px;
    line-height: 24px;
}

.support-section h3 {
    color: #221F1F;
    font-size: 24px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 11px;
}

.support-section .icon-container {
    margin-bottom: 11px;
}

.support-section .detail-container .detail {
    padding: 16px;
}

.support-section .detail-container .detail .description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0;
}

/*
 * Mobile / tablet — Figma iPhone frame (node 206:226)
 * Desktop (≥992px / Bootstrap lg) is unchanged above.
 */
@media (max-width: 991px) {
    /* Figma horizontal inset: spacing-xl 24px */
    .breadcrumb-section > .container,
    .header-section > .container,
    .customers-section > .container,
    .statistics-section > .container,
    .features-section > .container,
    .additional-features-section > .container,
    .testimonials-section > .container,
    .testimonials-section .content > .container,
    .case-studies-section > .container,
    .support-section > .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Breadcrumbs remain visible on CA mobile (Figma 206:244) */
    .breadcrumb-section .area-breadcrumbs {
        padding: 16px 0;
    }

    /* Hero — stack text → CTA → mockup */
    .header-section {
        padding: 24px 0 40px;
        background: linear-gradient(149.83deg, #FFFFFF 52.16%, #B3D3BF 104.21%);
    }

    .header-section .left-col {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .header-section .right-col {
        margin-top: 31px;
        display: flex;
        justify-content: center;
    }

    .header-section .image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .header-section .image-container img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 300 / 241;
        object-fit: cover;
        object-position: center;
    }

    /* Customers / logo strip */
    .customers-section {
        padding: 40px 0;
    }

    .customers-section h2 {
        line-height: 40px;
        margin-bottom: 32px;
    }

    .customers-section .customer-scrolling-logos-track {
        gap: 48px;
    }

    /* Statistics — content, full-width CTA, then stacked dual cards */
    .statistics-section {
        padding: 40px 0;
    }

    .statistics-section .right-col {
        margin-top: 34px;
    }

    .statistics-module--dual .module-container.top-row {
        flex-direction: column;
        gap: 34px;
    }

    .statistics-module--dual .module-container.top-row .module {
        padding: 24px !important;
        border-radius: 16px;
    }

    .statistics-module--dual .module-container.top-row .module .statistics-value {
        font-size: 52px;
        line-height: 68px;
        letter-spacing: -1px;
    }

    .statistics-module--dual .module-container.top-row .module .statistics-label {
        font-size: 24px;
        line-height: 40px;
    }

    /* Features — text above image; ~80px between feature blocks */
    .features-section {
        padding: 40px 0 0;
    }

    .features-section h2.main {
        text-align: center;
        width: 100%;
    }

    .features-section .content {
        margin-top: 40px;
    }

    .features-section .content .row:not(:first-of-type) {
        margin-top: 0;
        padding-top: 40px;
    }

    .features-section .content .row {
        padding-bottom: 40px;
    }

    .features-section .content .row:last-of-type {
        padding-bottom: 80px;
    }

    .features-section .img-col {
        margin-top: 40px;
    }

    .features-section .img-container {
        aspect-ratio: 340 / 219;
        height: auto;
        max-width: 100%;
    }

    .features-section .img-container img {
        top: 9.72%;
        left: 5.3%;
        width: 115%;
        height: 104%;
    }

    .features-section .content .row:first-of-type .img-container {
        aspect-ratio: 340 / 247;
    }

    /* Additional features — stack columns */
    .additional-features-section {
        padding: 40px 0;
    }

    .additional-features-section h2 {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0;
        margin-bottom: 24px;
        text-align: center;
    }

    .additional-features-section .items-row {
        flex-direction: column;
        gap: 64px;
        align-items: stretch;
    }

    .additional-features-section .feature-item {
        flex: none;
        width: 100%;
    }

    .additional-features-section .cta-row {
        margin-top: 24px;
        justify-content: stretch;
    }

    .additional-features-section .cta-row .btn {
        width: 100%;
        text-align: center;
        white-space: normal;
        font-size: 18px;
        font-weight: 500;
        line-height: 32px;
        padding: 8px 24px;
        min-height: 48px;
        border-radius: 8px;
    }

    /* Testimonials / case studies — keep Figma card width + horizontal peek */
    .testimonials-section,
    .case-studies-section {
        padding: 40px 0;
    }

    .testimonials-section .item-card,
    .case-studies-section .item-card {
        flex: 0 0 460px;
        width: 460px;
        max-width: 460px;
        padding: 48px;
    }

    /* Support — stacked detail list */
    .support-section {
        padding-top: 40px;
        padding-bottom: 80px;
        margin-bottom: 0;
    }

    .support-section .support-section-container .detail-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 64px;
        padding-left: 0;
    }

    .support-section .detail-container .detail {
        flex: none;
        width: 100%;
        padding: 16px;
    }
}

@media (max-width: 575px) {
    .header-section h2 {
        font-size: 24px;
        line-height: 40px;
        font-weight: 700;
        margin-bottom: 0;
        color: #155036;
    }

    .header-section h1 {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0;
        margin-top: 24px;
    }

    .header-section .descr {
        font-size: 20px;
        line-height: 32px;
        margin-top: 24px;
        margin-bottom: 40px;
    }

    .header-section .btn {
        width: 100%;
        font-size: 18px;
        font-weight: 500;
        line-height: 32px;
        padding: 8px 24px;
        min-height: 48px;
        border-radius: 8px;
    }

    .customers-section h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .statistics-module--dual .module-container.top-row .module {
        padding: 24px !important;
    }

    .statistics-module--dual .module-container.top-row .module .statistics-value {
        font-size: 52px !important;
        line-height: 68px;
        letter-spacing: -1px;
    }

    .statistics-module--dual .module-container.top-row .module .statistics-label {
        font-size: 24px !important;
        line-height: 40px;
    }

    .statistics-section .left-col h2,
    .statistics-section h2 {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0;
        color: #155036;
    }

    .statistics-section .descr {
        font-size: 18px;
        line-height: 32px;
        margin-top: 16px;
        margin-bottom: 0;
    }

    /* Full-width stats CTA (Figma 206:297) */
    .statistics-section .btn {
        width: 100%;
        max-width: 100%;
        font-size: 18px;
        font-weight: 500;
        line-height: 32px;
        padding: 8px 24px 8px 16px;
        min-height: 48px;
        border-radius: 8px;
        text-align: center;
    }

    .features-section h2.main {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
        width: 100%;
        color: #155036;
    }

    .features-section .content h3 {
        font-size: 20px;
        line-height: 32px;
    }

    .features-section .content .row:first-of-type h3 {
        font-size: 24px;
        line-height: 40px;
    }

    .features-section .content h2 {
        font-size: 32px;
        line-height: 40px;
        margin-top: 24px;
        letter-spacing: 0;
    }

    .features-section ul {
        margin-top: 24px;
        font-size: 18px;
        line-height: 32px;
    }

    .additional-features-section h2 {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
    }

    .additional-features-section .feature-item h3 {
        font-size: 24px;
        line-height: 40px;
    }

    .support-section h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .support-section .main-content-container {
        margin-bottom: 0;
    }

    .support-section .main-content-container .btn {
        width: auto;
        max-width: 100%;
        font-size: 18px;
        font-weight: 500;
        line-height: 32px;
        padding: 8px 24px;
        min-height: 48px;
        border-radius: 8px;
    }

    .support-section .support-section-container .detail-container {
        margin-top: 64px;
    }

    .support-section .icon-container img {
        width: 80px;
        height: 80px;
        object-fit: contain;
    }
}
