/* ========================================
   CMSPOST PLATFORM INNER PAGE ADDITIONS
======================================== */

.cmspost-platform-banner .page-content > p,
.platform-section-intro,
.platform-faq-intro {
    max-width: 900px;
}

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

.platform-secondary-btn {
    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.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.platform-secondary-btn:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #15121d;
}

.platform-secondary-btn.light-outline {
    border-color: rgba(255, 255, 255, 0.5);
}

.cmspost-platform-hero-img img,
.platform-installation-img img,
.platform-workspaces-img img,
.platform-final-cta-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.platform-installation-img,
.platform-workspaces-img {
    padding: 16px;
    border: 1px solid rgba(204, 27, 255, 0.12);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(23, 20, 35, 0.1);
}

.platform-engine-card {
    height: 100%;
}

.service-sec2 .row > [class*="col-"] {
    display: flex;
}

.service-sec2 .row > [class*="col-"] > div,
.service-sec2 .ser-block2 {
    width: 100%;
}

.platform-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.platform-stat-card {
    padding: 20px 18px;
    border: 1px solid rgba(204, 27, 255, 0.12);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(204, 27, 255, 0.06), #ffffff);
}

.platform-stat-card strong,
.platform-stat-card span,
.platform-stat-card small {
    display: block;
}

.platform-stat-card strong {
    margin-bottom: 7px;
    color: #161316;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.platform-stat-card span {
    color: #17131f;
    font-size: 14px;
    font-weight: 800;
}

.platform-stat-card small {
    margin-top: 5px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
}

.platform-workspace-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.platform-workspace-list li {
    position: relative;
    padding-left: 30px;
    color: #344054;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.platform-workspace-list li::before {
    content: "\2713";
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(99, 208, 42, 0.14);
    color: #56bd23;
    font-size: 11px;
    font-weight: 900;
}

.platform-publishing-grid {
    row-gap: 24px;
}

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

.platform-publishing-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(204, 27, 255, 0.1);
    color: #b000e6;
    font-size: 13px;
    font-weight: 800;
}

.platform-publishing-card h3 {
    margin: 0 0 12px;
    color: #17131f;
    font-size: 22px;
    font-weight: 800;
}

.platform-publishing-card p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

.platform-workflow-sec {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 25%, rgba(204, 27, 255, 0.17), transparent 32%),
        radial-gradient(circle at 85% 75%, rgba(99, 208, 42, 0.11), transparent 28%),
        #15131d;
}

.platform-workflow-intro {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.platform-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.platform-workflow-step {
    min-height: 230px;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.platform-workflow-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 25px;
    background: linear-gradient(135deg, #cc1bff, #9600d6);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.platform-workflow-step h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.platform-workflow-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.63);
    font-size: 14px;
    line-height: 1.65;
}

.platform-final-cta-sec {
    background: #f8f8fc;
}

.platform-final-cta {
    position: relative;
    overflow: hidden;
    padding: 54px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 90% 20%, rgba(99, 208, 42, 0.18), transparent 32%),
        linear-gradient(135deg, #18151f, #2b1234);
}

.platform-final-cta-content .sub-title {
    color: #63d02a;
}

.platform-final-cta-content h2 {
    max-width: 760px;
    margin: 12px 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.platform-final-cta-content p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    line-height: 1.7;
}

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

.platform-final-cta-image {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 1199px) {
    .platform-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .platform-stats {
        grid-template-columns: 1fr;
    }

    .platform-final-cta {
        padding: 40px 30px;
    }

    .platform-final-cta-image {
        margin-top: 34px;
    }
}

@media (max-width: 767px) {
    .platform-hero-actions,
    .platform-final-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .platform-workflow-grid {
        grid-template-columns: 1fr;
    }

    .platform-workflow-step {
        min-height: 0;
    }

    .platform-final-cta {
        padding: 32px 22px;
        border-radius: 24px;
    }

    .platform-final-cta-content h2 {
        font-size: 36px;
    }

    .service-sec2 .row > [class*="col-"] {
        display: block;
    }
}
/* ========================================
   CORE PLATFORM ENGINE CARDS
======================================== */

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

.platform-engine-card-wrap {
    display: flex;
    width: 100%;
}

.platform-engine-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto !important;
    min-height: 360px;

    margin: 0 !important;
    padding: 38px 34px !important;

    border: 1px solid rgba(23, 20, 35, 0.08) !important;
    border-radius: 22px !important;
    background: #ffffff !important;

    box-shadow: 0 18px 45px rgba(23, 20, 35, 0.06);
    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.platform-engine-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 27, 255, 0.22) !important;
    box-shadow: 0 24px 55px rgba(23, 20, 35, 0.1);
}

.platform-engine-card .ser-icon2 {
    margin-bottom: 26px;
}

.platform-engine-card .title {
    margin-bottom: 14px;
}

.platform-engine-card p {
    margin-bottom: 24px;
}

.platform-engine-card .ser-btn2 {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 767px) {
    .platform-engine-card {
        min-height: 0;
        padding: 30px 24px !important;
    }
}
/* ========================================
   CORE PLATFORM ENGINE GRID
======================================== */

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

.platform-engine-card-wrap {
    display: flex;
    width: 100%;
}

.platform-engine-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 360px;
}

.platform-engine-card .ser-btn2 {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 767px) {
    .platform-engine-card {
        min-height: 0;
    }
}
/* ========================================
   PLATFORM HERO MOBILE LAYOUT
======================================== */

@media (max-width: 767px) {

    /*
     * The header is fixed, so the hero needs enough
     * space above its content to clear the logo.
     */
    .cmspost-platform-banner {
        position: relative;
        height: auto !important;
        min-height: 0 !important;

        padding:
            145px
            0
            50px !important;

        overflow: visible !important;
        background: #000000 !important;
    }

    .cmspost-platform-banner .carousel-container {
        width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .cmspost-platform-banner .page-content {
        position: relative;
        z-index: 2;

        width: 100%;
        height: auto !important;
        min-height: 0 !important;

        margin: 0 auto;
        padding: 0 !important;

        overflow: visible !important;
        text-align: center;
    }

    /* Hero eyebrow */
    .cmspost-platform-banner .page-content > .sub-title {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin: 0 0 18px !important;
        padding: 8px 15px;

        font-size: 13px;
        line-height: 1.3;
    }

    /* Hero headline */
    .cmspost-platform-banner .page-content > .title {
        max-width: 540px;
        margin: 0 auto 24px !important;

        font-size: clamp(38px, 10vw, 52px);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    /* Hero paragraph */
    .cmspost-platform-banner .page-content > p {
        max-width: 560px;
        margin: 0 auto !important;

        font-size: 17px;
        line-height: 1.65;
        text-align: center;
    }

    /* Keep both buttons inside the dark hero */
    .cmspost-platform-banner .platform-hero-actions {
        position: relative;
        z-index: 5;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        width: 100%;
        margin: 30px 0 0 !important;
        padding: 0;
        gap: 12px;
    }

    .cmspost-platform-banner .platform-hero-actions .btn-style1,
    .cmspost-platform-banner .platform-secondary-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: space-between;

        width: 100% !important;
        min-height: 58px;
        margin: 0 !important;
        padding: 10px 12px 10px 22px;

        border-radius: 999px;

        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;

        visibility: visible !important;
        opacity: 1 !important;
    }

    .cmspost-platform-banner .platform-secondary-btn {
        justify-content: center;

        border: 1px solid rgba(255, 255, 255, 0.55) !important;
        background: rgba(255, 255, 255, 0.09) !important;
        color: #ffffff !important;
        text-align: center;
    }

    .cmspost-platform-banner .platform-secondary-btn:hover {
        border-color: #ffffff !important;
        background: #ffffff !important;
        color: #15121d !important;
    }

    /* Dashboard image */
    .cmspost-platform-banner .cmspost-platform-hero-img,
    .cmspost-platform-banner .page-img2 {
        position: relative;
        z-index: 2;

        width: 100%;
        margin: 36px auto 0 !important;
        padding: 0;
    }

    .cmspost-platform-banner .cmspost-platform-hero-img img,
    .cmspost-platform-banner .page-img2 img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
}
/* ========================================
   MACBOOK / DESKTOP HEADER CTA FIX
======================================== */

@media (min-width: 992px) {

    .header-main .header-btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 14px;
        width: 100%;
    }

    .header-main .header-login {
        flex: 0 0 auto;
        margin: 0 !important;
        white-space: nowrap;
    }

    .header-main .header-btn .btn-style1 {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        flex: 0 0 auto;

        width: auto !important;
        min-width: 188px;
        min-height: 48px;

        padding: 7px 7px 7px 19px;

        font-size: 14px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-align: left;
    }

    .header-main .header-btn .btn-style1 span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 34px;

        width: 34px;
        height: 34px;
        margin-left: 12px;
    }

    .header-main .header-btn .btn-style1 span img {
        display: block;
        width: 15px;
        height: auto;
    }
}


/* ========================================
   SMALLER LAPTOP WIDTHS
======================================== */

@media (min-width: 992px) and (max-width: 1399px) {

    .header-main .container-fluid {
        padding-right: 16px;
        padding-left: 16px;
    }

    .header-main .header-logo .logo {
        max-width: 195px;
    }

    .header-main .main-menu11.menu-style11 > ul {
        column-gap: 22px;
    }

    .header-main .main-menu11.menu-style11 > ul > li > a {
        font-size: 14px;
        white-space: nowrap;
    }

    .header-main .header-btn {
        gap: 10px;
    }

    .header-main .header-btn .btn-style1 {
        min-width: 175px;
        padding-left: 16px;
        font-size: 13px !important;
    }
}
.cmspost-platform-hero-img {
    position: relative;
    z-index: 3;
    margin-bottom: -65px;
}

.cmspost-platform-hero-img img {
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(21, 12, 38, 0.18);
}

.platform-install-sec {
    padding-top: 135px;
}
.platform-faq-sec {
    padding-bottom: 70px;
}

.platform-final-cta {
    margin-top: 0;
}