/* ========================================
   CMSPOST HOW IT WORKS PAGE
======================================== */

section[id],
#how-it-works-top {
    scroll-margin-top: 110px;
}

.cmspost-how-section-copy,
.cmspost-how-dark-intro,
.cmspost-how-hero-copy {
    max-width: 820px;
}

/* ========================================
   HERO
======================================== */

.cmspost-how-banner {
    position: relative;
    overflow: visible;
    padding-top: 145px;
    background:
        radial-gradient(circle at 14% 12%, rgba(204, 27, 255, 0.32), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(99, 208, 42, 0.12), transparent 28%),
        #050407;
}

.cmspost-how-banner .page-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cmspost-how-banner .page-content > .title {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

.cmspost-how-banner .cmspost-how-hero-copy {
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.75;
}

.cmspost-how-hero-actions,
.cmspost-how-final-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 28px;
}

.cmspost-how-secondary-btn,
.cmspost-how-final-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height:50px;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.cmspost-how-secondary-btn:hover,
.cmspost-how-final-secondary:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
    background: #ffffff;
    color: #15121d;
}

.cmspost-how-banner .bread-crumbs {
    justify-content: center;
    margin-top: 24px;
}

.cmspost-how-hero-image {
    position: relative;
    z-index: 4;
    max-width: 1290px;
    margin: 48px auto -72px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 90px rgba(22, 10, 40, 0.34);
}

.cmspost-how-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

/* ========================================
   THREE STAGES
======================================== */

.cmspost-how-stages {
    padding-top: 165px;
}

.cmspost-how-section-copy {
    margin-top: 18px;
    color: #667085;
    font-size: 16px;
    line-height: 1.75;
}

.cmspost-how-tabs .nav-tabs {
    gap: 8px;
    padding: 7px;
    border: 1px solid #e7e5ec;
    border-radius: 999px;
    background: #ffffff;
}

.cmspost-how-tabs .nav-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    font-weight: 700;
}

.cmspost-how-tabs .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #cc1bff, #9d00e6);
    color: #ffffff;
}

.cmspost-how-tabs .tab-content {
    margin-top: 22px;
}

.cmspost-how-tabs .tabs-content {
    min-height: 285px;
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    
}

.cmspost-how-tabs .tabs-content > p {
    margin-bottom: 22px;
    color: #667085;
    font-size: 15px;
    line-height: 1.75;
}

.cmspost-how-stage-image {
    margin-top: 55px;
    padding: 12px;
    border: 1px solid rgba(204, 27, 255, 0.12);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(23, 20, 35, 0.1);
}

.cmspost-how-stage-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.cmspost-how-facts {
    margin-top: 28px;
}

.cmspost-how-fact-card {
    height: 100%;
    padding: 26px 20px;
    border: 1px solid rgba(204, 27, 255, 0.12);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(204, 27, 255, 0.055), #ffffff);
    text-align: center;
}

.cmspost-how-fact-card .title {
    margin-bottom: 7px;
    color: #cc1bff;
    font-size: 42px;
    line-height: 1;
}

.cmspost-how-fact-card p {
    margin: 0;
    color: #344054;
    font-weight: 700;
}

/* ========================================
   FOUR-STAGE LAUNCH OVERVIEW
======================================== */

.cmspost-launch-overview {
    background: #f7f8fd;
}

.cmspost-launch-overview .sec-title {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.cmspost-launch-overview .cmspost-how-section-copy {
    margin-right: auto;
    margin-left: auto;
}

.cmspost-launch-grid > [class*="col-"] {
    display: flex;
}

.cmspost-launch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 340px;
    padding: 30px 26px;
    border: 1px solid #e7e5ec;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(23, 20, 35, 0.07);
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.cmspost-launch-card:hover {
    transform: translateY(-6px);
    border-color: rgba(204, 27, 255, 0.25);
    box-shadow: 0 28px 65px rgba(23, 20, 35, 0.12);
}

.cmspost-launch-number {
    position: absolute;
    top: 22px;
    right: 22px;
    color: rgba(204, 27, 255, 0.24);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.cmspost-launch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #cc1bff, #a100ec);
}

.cmspost-launch-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cmspost-launch-card h3 {
    margin: 0 0 13px;
    color: #17131f;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}

.cmspost-launch-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.75;
}

/* ========================================
   DETAILED CLIENT PROCESS
======================================== */

.cmspost-client-process {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 26%, rgba(204, 27, 255, 0.2), transparent 34%),
        radial-gradient(circle at 88% 78%, rgba(99, 208, 42, 0.1), transparent 28%),
        #15131d;
}

.cmspost-client-process .sec-title {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.cmspost-how-dark-intro {
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.75;
}

.cmspost-client-process-image {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.cmspost-client-process-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.cmspost-how-accordion-wrap .accordion-item {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
}

.cmspost-how-accordion-wrap .accordion-button,
.cmspost-how-accordion-wrap .accordion-body {
    color: #ffffff;
}

.cmspost-how-accordion-wrap .accordion-button:not(.collapsed) {
    background: rgba(204, 27, 255, 0.14);
}

.cmspost-how-accordion-wrap .accordion-body {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
}

/* ========================================
   ONGOING DELIVERY
======================================== */

.cmspost-ongoing-delivery .sec-title {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.cmspost-ongoing-delivery .cmspost-how-section-copy {
    margin-right: auto;
    margin-left: auto;
}

.cmspost-operation-card {
    height: 100%;
    border: 1px solid #e7e5ec;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(23, 20, 35, 0.06);
}

.cmspost-ongoing-image {
    padding: 12px;
    border: 1px solid rgba(204, 27, 255, 0.12);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 65px rgba(23, 20, 35, 0.1);
}

.cmspost-ongoing-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ========================================
   CONNECTED PLATFORMS
======================================== */

.cmspost-how-connections {
    background: #f7f8fd;
}

.cmspost-how-connections .sec-title {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.cmspost-how-connections .cmspost-how-section-copy {
    margin-right: auto;
    margin-left: auto;
}

.cmspost-how-brand-slider {
    margin-top: 42px;
}

.cmspost-how-brand-slider .brand-img2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 22px;
    border: 1px solid #e7e5ec;
    border-radius: 18px;
    background: #ffffff;
}

.cmspost-how-brand-slider .brand-img2 img {
    display: block;
    max-width: 125px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
}

.cmspost-how-compatibility-note {
    max-width: 760px;
    margin: 28px auto 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
    text-align: center;
}

/* ========================================
   FINAL CTA
======================================== */

.cmspost-how-final-cta-inner {
    overflow: hidden;
    padding: 58px 62px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 14% 18%, rgba(204, 27, 255, 0.25), transparent 34%),
        radial-gradient(circle at 88% 80%, rgba(99, 208, 42, 0.12), transparent 28%),
        #15131d;
}

.cmspost-how-final-cta .cta-banner-content2 .sub-title {
    color: #63d02a;
}

.cmspost-how-final-cta .cta-banner-content2 .title,
.cmspost-how-final-cta .cta-banner-content2 p {
    color: #ffffff;
}

.cmspost-how-final-cta .cta-banner-content2 p {
    max-width: 610px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.75;
}

.cmspost-how-final-actions {
    justify-content: flex-start;
}

.cmspost-how-final-image {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.cmspost-how-final-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {

    .cmspost-how-stages {
        padding-top: 130px;
    }

    .cmspost-how-tabs {
        margin-top: 36px;
    }

    .cmspost-client-process-image,
    .cmspost-ongoing-image,
    .cmspost-how-final-image {
        margin-bottom: 34px;
    }

    .cmspost-how-final-cta-inner {
        padding: 48px 36px;
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .cmspost-how-banner {
        height: auto !important;
        min-height: 0 !important;
        padding: 145px 0 42px !important;
        overflow: visible !important;
    }

    .cmspost-how-banner .carousel-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .cmspost-how-banner .page-content {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .cmspost-how-banner .page-content > .title {
        margin-bottom: 22px;
        font-size: clamp(38px, 10vw, 52px);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .cmspost-how-banner .cmspost-how-hero-copy {
        font-size: 16px;
        line-height: 1.65;
    }

    .cmspost-how-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .cmspost-how-hero-actions .btn-style1,
    .cmspost-how-secondary-btn {
        width: 100%;
        justify-content: space-between;
    }

    .cmspost-how-secondary-btn {
        justify-content: center;
    }

    .cmspost-how-banner .bread-crumbs {
        margin-top: 22px;
    }

    .cmspost-how-hero-image {
        margin-top: 34px;
        margin-bottom: -38px;
        padding: 6px;
        border-radius: 18px;
    }

    .cmspost-how-hero-image img {
        border-radius: 13px;
    }

    .cmspost-how-stages {
        padding-top: 95px;
    }

    .cmspost-how-tabs .nav-tabs {
        align-items: stretch;
        flex-direction: column;
        border-radius: 22px;
    }

    .cmspost-how-tabs .tabs-content {
        min-height: 0;
        padding: 24px 20px;
    }

    .cmspost-how-stage-image {
        margin-top: 36px;
        padding: 7px;
    }

    .cmspost-how-facts {
        row-gap: 14px;
    }

    .cmspost-launch-card {
        min-height: 0;
    }

    .cmspost-launch-icon {
        margin-bottom: 34px;
    }

    .cmspost-how-final-cta-inner {
        padding: 38px 22px;
        border-radius: 22px;
    }

    .cmspost-how-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cmspost-how-final-actions .btn-style1,
    .cmspost-how-final-secondary {
        width: 100%;
        justify-content: space-between;
    }

    .cmspost-how-final-secondary {
        justify-content: center;
    }
}

@media (max-width: 575px) {

    .cmspost-how-banner .bread-crumbs {
        display: none;
    }

    .cmspost-how-fact-card .title {
        font-size: 36px;
    }

    .cmspost-how-final-cta-inner {
        padding: 34px 18px;
    }
}
