/* ==========================================================================
   XSECURE — XPOSURE (services/xposure.html) — coming soon
   Violet / amber palette so the coming-soon product reads differently
   from the live cyan products. The badge styles are shared with the
   Get Started card and the Service dropdown (see style.css / start.css).
   ========================================================================== */

.page-xposure {
    --x-violet: #9b6bff;
    --x-amber: #ffb547;
}

.page-xposure .page-title {
    background: linear-gradient(90deg, #ffffff, #c9b3ff);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-xposure .text-content .soon-badge {
    align-self: flex-end;
    margin-bottom: 14px;
}

/* What XPOSURE validates: six capability cards ============================ */
.xcap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
}

.xcap__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(40, 20, 80, 0.55), rgba(14, 10, 35, 0.7));
    border: 1px solid rgba(155, 107, 255, 0.28);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.xcap__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 181, 71, 0.6);
    box-shadow: 0 0 26px rgba(155, 107, 255, 0.22);
}

.xcap__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #7c4dff, #3a1d8f);
    box-shadow: 0 0 18px rgba(155, 107, 255, 0.4);
}

.xcap__icon .ico {
    width: 30px;
    height: 30px;
}

.xcap__card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--x-amber);
}

.xcap__card p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Four short "why" facts under the cards */
.xwhy {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    border-radius: var(--radius);
    border: 1px dashed rgba(255, 181, 71, 0.45);
    background: rgba(155, 107, 255, 0.06);
}

.xwhy li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 18px;
    text-align: center;
}

.xwhy li + li {
    border-left: 1px solid rgba(155, 107, 255, 0.22);
}

.xwhy b {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #ffffff;
}

.xwhy span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* CTEM cycle: five numbered steps joined by a dashed line ================== */
.ctem {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    counter-reset: none;
}

.ctem::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 10%;
    right: 10%;
    border-top: 2px dashed rgba(155, 107, 255, 0.45);
}

.ctem__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 6px;
    text-align: center;
}

.ctem__num {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: #ffffff;
    background: linear-gradient(135deg, #7c4dff, #3a1d8f);
    border: 2px solid var(--x-violet);
    box-shadow: 0 0 22px rgba(155, 107, 255, 0.45);
}

.ctem__step:nth-child(odd) .ctem__num {
    border-color: var(--x-amber);
}

.ctem__step h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--x-amber);
}

.ctem__step p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Coming-soon banner ====================================================== */
.soon-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px dashed rgba(255, 181, 71, 0.55);
    background: rgba(155, 107, 255, 0.08);
    text-align: center;
}

.soon-banner p {
    color: var(--color-text-muted);
}

.soon-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--x-amber);
    text-decoration: none;
}

.soon-link i {
    display: inline-block;
    font-style: normal;
    transition: transform var(--transition);
}

.soon-link:hover i {
    transform: translateX(5px);
}

/* Responsive ============================================================== */
@media (max-width: 1024px) {
    .xcap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xwhy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xwhy li:nth-child(3) { border-left: 0; }
    .xwhy li:nth-child(n + 3) { border-top: 1px solid rgba(155, 107, 255, 0.22); }
    .ctem { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .ctem::before { display: none; }
    .page-xposure .text-content .soon-badge { align-self: center; }
}

@media (max-width: 576px) {
    .ctem { grid-template-columns: 1fr; }
    .xcap { grid-template-columns: 1fr; }
}
