/* ==========================================================================
   Company Products - مكتبة تصميم مشتركة لكل صفحات المنتجات
   الألوان: Main #222168 | Second #6bbdcd | خط: Plus Jakarta Sans
   ========================================================================== */

.cp-page {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2c2e3d;
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
}

.cp-page * {
    box-sizing: border-box;
}

.cp-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------------------- Hero ---------------------------- */

.cp-hero {
    position: relative;
    background: linear-gradient(135deg, #222168 0%, #2b2a7a 45%, #6bbdcd 100%);
    color: #fff;
    padding: 90px 0;
    overflow: hidden;
}

.cp-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    background: #fff;
    pointer-events: none;
}

.cp-hero__shape--one {
    width: 360px;
    height: 360px;
    top: -140px;
    right: -100px;
    transform: rotate(20deg);
}

.cp-hero__shape--two {
    width: 220px;
    height: 220px;
    bottom: -100px;
    left: -80px;
    background: #6bbdcd;
    opacity: 0.25;
}

.cp-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
    gap: 36px;
    align-items: center;
    text-align: center;
}

.cp-hero__image {
    width: 100%;
    max-width: 720px;
}

.cp-hero__image img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cp-hero__content {
    max-width: 780px;
}

.cp-hero__heading {
    font-size: 40px;
    line-height: 1.25;
    font-weight: 800;
    margin: 14px 0;
}

.cp-hero__tagline {
    font-size: 20px;
    font-weight: 600;
    color: #cdeef4;
    margin: 0 0 16px;
}

.cp-hero__desc p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 12px;
}

/* ---------------------------- Eyebrow ---------------------------- */

.cp-eyebrow {
    display: inline-block;
    background: rgba(34, 33, 104, 0.08);
    color: #222168;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.cp-eyebrow--light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* ---------------------------- Sections ---------------------------- */

.cp-section {
    padding: 64px 0;
    background: #ffffff;
}

.cp-section--alt {
    background: #f5f8fb;
}

.cp-section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cp-heading {
    font-size: 30px;
    font-weight: 800;
    color: #222168;
    margin: 0 0 8px;
    line-height: 1.3;
}

.cp-heading--center {
    text-align: center;
}

.cp-desc {
    max-width: 780px;
    margin: 0 auto 8px;
    text-align: center;
}

.cp-desc p {
    font-size: 16px;
    line-height: 1.85;
    color: #545872;
    margin: 0 0 12px;
}

.cp-note {
    max-width: 780px;
    margin: 18px auto 0;
    text-align: center;
    font-size: 15px;
    font-style: italic;
    color: #6b6f8a;
}

/* ---------------------------- Bullets ---------------------------- */

.cp-bullets {
    list-style: none;
    margin: 28px auto 0;
    padding: 0;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
}

.cp-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #33354a;
    line-height: 1.5;
}

.cp-bullets__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #222168, #6bbdcd);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ---------------------------- Flow ---------------------------- */

.cp-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
}

.cp-flow__node {
    background: #fff;
    border: 1px solid #dfe6ee;
    box-shadow: 0 6px 16px rgba(34, 33, 104, 0.06);
    color: #222168;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
}

.cp-flow__arrow {
    color: #6bbdcd;
    font-size: 20px;
    font-weight: 700;
}

/* ---------------------------- Chips ---------------------------- */

.cp-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.cp-chips__item {
    background: linear-gradient(135deg, rgba(34, 33, 104, 0.08), rgba(107, 189, 205, 0.14));
    color: #222168;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
}

/* ---------------------------- Blocks / Cards ---------------------------- */

.cp-blocks {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.cp-blocks__item {
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 10px 26px rgba(34, 33, 104, 0.05);
}

.cp-blocks__item h3 {
    font-size: 18px;
    font-weight: 800;
    color: #222168;
    margin: 0 0 8px;
}

.cp-blocks__item p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #565a72;
    margin: 0 0 10px;
}

.cp-blocks__item ul {
    margin: 0;
    padding: 0 0 0 18px;
    color: #4c5068;
    font-size: 14px;
    line-height: 1.9;
}

/* ---------------------------- Steps ---------------------------- */

.cp-steps {
    list-style: none;
    margin: 40px auto 0;
    padding: 0;
    max-width: 860px;
    counter-reset: cp-step;
}

.cp-steps__item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed #dbe2ea;
}

.cp-steps__item:last-child {
    border-bottom: none;
}

.cp-steps__num {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #222168, #6bbdcd);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-steps__body h3 {
    font-size: 17px;
    font-weight: 800;
    color: #222168;
    margin: 4px 0 6px;
}

.cp-steps__body p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #565a72;
    margin: 0;
}

/* ---------------------------- Two Column ---------------------------- */

.cp-twocol {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.cp-twocol__col {
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 26px rgba(34, 33, 104, 0.05);
}

.cp-twocol__col h3 {
    font-size: 19px;
    font-weight: 800;
    color: #222168;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6bbdcd;
    display: inline-block;
}

.cp-twocol__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-twocol__col li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f7;
    font-size: 14.5px;
    color: #33354a;
}

.cp-twocol__col li:last-child {
    border-bottom: none;
}

/* ---------------------------- Closing / CTA ---------------------------- */

.cp-closing {
    background: linear-gradient(135deg, #222168, #6bbdcd);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.cp-closing__inner {
    max-width: 760px;
}

.cp-closing h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 14px;
}

.cp-closing__desc p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 10px;
}

.cp-closing__tagline {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 18px 0 4px;
}

.cp-closing__subtext {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* ---------------------------- Responsive ---------------------------- */

@media (min-width: 900px) {
    .cp-hero__inner {
        flex-direction: row;
        text-align: left;
        gap: 56px;
    }

    .cp-hero__content {
        text-align: left;
    }

    .cp-hero__image {
        flex: 0 0 44%;
    }
}

@media (max-width: 640px) {
    .cp-hero {
        padding: 60px 0;
    }

    .cp-hero__heading {
        font-size: 28px;
    }

    .cp-section {
        padding: 44px 0;
    }

    .cp-heading {
        font-size: 24px;
    }

    .cp-bullets {
        grid-template-columns: 1fr;
    }
}
