/* Preview-synchronised Product and Infrastructure experiences */
.preview-product-page,
.preview-infrastructure-page {
    --ps-ink: #07111f;
    --ps-ink-2: #0b1b2c;
    --ps-paper: #f6f8fa;
    --ps-slate: #536171;
    --ps-line: rgba(9, 26, 43, .11);
    --ps-cyan: #08b9d4;
    --ps-magenta: #e63b83;
    --ps-yellow: #f6c445;
    color: var(--ps-ink);
    background: var(--ps-paper);
    font-family: "Manrope", sans-serif;
}

.preview-product-page h1,
.preview-product-page h2,
.preview-product-page h3,
.preview-infrastructure-page h1,
.preview-infrastructure-page h2,
.preview-infrastructure-page h3,
.preview-infrastructure-page h4 {
    font-family: "Syne", "Plus Jakarta Sans", sans-serif;
}

.ps-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #16748c;
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: 10px;
    font-weight: 900;
}

.ps-eyebrow i {
    width: 22px;
    height: 2px;
    display: inline-block;
    background: linear-gradient(90deg, var(--ps-cyan), var(--ps-magenta), var(--ps-yellow));
}

.ps-eyebrow--light { color: rgba(255, 255, 255, .75); }

.ps-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 23px;
    color: #fff;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #00aeca, #08728d 66%, #073d50);
    box-shadow: 0 14px 30px rgba(1, 142, 170, .22), inset 0 1px rgba(255, 255, 255, .35);
    font-size: 13px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ps-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(1, 142, 170, .3);
}

.ps-button span { font-size: 18px; }
.ps-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 58px 58px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 90%);
    mask-image: linear-gradient(90deg, #000, transparent 90%);
}

.ps-products-hero,
.ps-infra-hero {
    min-height: 610px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 78% 30%, rgba(0, 190, 216, .2), transparent 30%), radial-gradient(circle at 90% 80%, rgba(225, 43, 119, .14), transparent 28%), #071421;
}

.ps-infra-hero {
    min-height: 560px;
    background: radial-gradient(circle at 18% 72%, rgba(0, 190, 216, .2), transparent 30%), radial-gradient(circle at 88% 22%, rgba(225, 43, 119, .12), transparent 28%), #06121f;
}

.ps-products-hero__inner,
.ps-infra-hero__inner { position: relative; z-index: 2; padding-top: 30px; }
.ps-products-hero h1,
.ps-infra-hero h1 {
    max-width: 880px;
    margin: 20px 0;
    color: #fff;
    font-size: clamp(46px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.06em;
}

.ps-products-hero p,
.ps-infra-hero p {
    max-width: 680px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .65);
    font-size: 16px;
    line-height: 1.75;
}

.ps-section { position: relative; padding: 125px 0; overflow: hidden; }
.ps-product-page-grid { padding-top: 125px; background: #f7f9fb; }
.ps-section-head h2,
.ps-portfolio-heading h2 {
    margin: 14px 0 0;
    color: var(--ps-ink);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.ps-split-head {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 48px;
}

.ps-split-head > p,
.ps-centered-head > p {
    margin: 0;
    color: var(--ps-slate);
    font-size: 14px;
    line-height: 1.8;
}

.ps-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ps-product-card {
    position: relative;
    overflow: hidden;
    color: var(--ps-ink);
    background: #fff;
    border: 1px solid rgba(11, 34, 55, .07);
    border-radius: 26px;
    box-shadow: 0 8px 30px rgba(11, 34, 55, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ps-product-card::before {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: var(--ps-cyan);
}

.ps-product-card--magenta::before { background: var(--ps-magenta); }
.ps-product-card--yellow::before { background: var(--ps-yellow); }
.ps-product-card:hover { color: var(--ps-ink); transform: translateY(-9px); box-shadow: 0 26px 55px rgba(11, 34, 55, .14); }
.ps-product-image { aspect-ratio: 1.38; overflow: hidden; background: #0b1a27; }
.ps-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ps-product-card:hover .ps-product-image img { transform: scale(1.07) rotate(.3deg); }
.ps-product-card__copy { min-height: 106px; display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: start; padding: 20px 21px; }
.ps-product-card__copy > span { color: #9ba5ad; font-size: 10px; font-weight: 800; }
.ps-product-card__copy h3 { margin: 0; color: var(--ps-ink); font-size: 17px; letter-spacing: -.025em; }
.ps-product-card__copy p { margin: 7px 0 0; color: #78858f; font-size: 10px; }
.ps-product-card__copy > i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--ps-line); border-radius: 50%; font-style: normal; transition: background .25s, color .25s; }
.ps-product-card:hover .ps-product-card__copy > i { color: #fff; background: var(--ps-ink); }

.ps-portfolio-section { padding: 105px 0 115px; overflow: hidden; background: linear-gradient(180deg, #fff, #f2f6f8); }
.ps-portfolio-heading { margin-bottom: 42px; }
.ps-portfolio-heading h2 { max-width: 750px; margin-top: 14px; }
.ps-portfolio-heading p { max-width: 660px; margin: 12px 0 0; color: var(--ps-slate); font-size: 13px; line-height: 1.7; }
.ps-portfolio-window { width: 100%; overflow: hidden; padding: 8px 0 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ps-portfolio-marquee { width: max-content; display: flex; animation: ps-portfolio-ticker 96s linear infinite; will-change: transform; }
.ps-portfolio-window:hover .ps-portfolio-marquee,
.ps-portfolio-window:focus-within .ps-portfolio-marquee { animation-play-state: paused; }
.ps-portfolio-group { display: flex; flex: 0 0 auto; gap: 18px; padding-right: 18px; }
.ps-portfolio-card { width: clamp(285px, 31vw, 410px); position: relative; flex: 0 0 auto; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(11, 34, 55, .1); border-radius: 22px; background: var(--ps-ink); box-shadow: 0 14px 38px rgba(8, 29, 48, .12); transition: transform .3s ease, box-shadow .3s ease; }
.ps-portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2, .7, .2, 1); }
.ps-portfolio-card > span { position: absolute; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: center; justify-content: space-between; padding: 11px 13px; color: #fff; border: 1px solid rgba(255, 255, 255, .17); border-radius: 12px; background: rgba(6, 18, 30, .76); backdrop-filter: blur(13px); }
.ps-portfolio-card small { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ps-portfolio-card strong { font-family: "Syne", sans-serif; font-size: 16px; }
.ps-portfolio-card:hover,
.ps-portfolio-card:focus-visible { color: #fff; transform: translateY(-7px); box-shadow: 0 25px 54px rgba(8, 29, 48, .2); }
.ps-portfolio-card:hover img { transform: scale(1.06); }
@keyframes ps-portfolio-ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.ps-capabilities-section { position: relative; overflow: hidden; padding: 120px 0; color: #fff; background: #071421; }
.ps-capabilities-section::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 15% 20%, rgba(0, 190, 216, .14), transparent 30%), radial-gradient(circle at 90% 80%, rgba(225, 43, 119, .09), transparent 28%); }
.ps-centered-head { max-width: 760px; position: relative; margin: 0 auto 50px; text-align: center; }
.ps-centered-head .ps-eyebrow { justify-content: center; color: #70cddd; }
.ps-centered-head h2 { margin: 14px 0 0; color: #fff; font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.05em; }
.ps-centered-head > p { max-width: 600px; margin: 18px auto 0; color: rgba(255, 255, 255, .58); }
.ps-capability-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ps-capability-card { min-height: 540px; position: relative; overflow: hidden; color: #fff; border: 1px solid rgba(255, 255, 255, .13); border-radius: 28px; }
.ps-capability-card:hover { color: #fff; }
.ps-capability-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ps-capability-card:hover > img { transform: scale(1.07); }
.ps-capability-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 10, 15, .05), rgba(5, 14, 22, .96) 86%); }
.ps-capability-number { position: absolute; top: 25px; left: 25px; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(6, 18, 29, .6); font-size: 11px; font-weight: 800; backdrop-filter: blur(10px); }
.ps-capability-copy { position: absolute; right: 28px; bottom: 28px; left: 28px; }
.ps-capability-copy h3 { margin: 0; color: #fff; font-size: 34px; letter-spacing: -.04em; }
.ps-capability-copy p { min-height: 66px; margin: 10px 0 18px; color: rgba(255, 255, 255, .64); font-size: 12px; line-height: 1.6; }
.ps-capability-copy > div { display: flex; flex-wrap: wrap; gap: 7px; }
.ps-capability-copy > div span { padding: 6px 9px; color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .17); border-radius: 999px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ps-capability-copy > i { position: absolute; right: 0; bottom: 0; width: 38px; height: 38px; display: grid; place-items: center; color: var(--ps-ink); border-radius: 50%; background: #fff; font-style: normal; }

.ps-workflow-section { position: relative; overflow: hidden; padding: 120px 0; color: #fff; background: #050f19; }
.ps-workflow-section::before { position: absolute; width: 620px; height: 620px; top: -310px; right: -270px; content: ""; border-radius: 50%; background: rgba(0, 188, 216, .13); filter: blur(15px); }
.ps-workflow-intro { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; }
.ps-workflow-intro h2 { max-width: 760px; margin: 15px 0 0; color: #fff; font-size: clamp(36px, 4vw, 54px); line-height: 1.06; letter-spacing: -.05em; }
.ps-workflow-tabs { display: flex; gap: 7px; padding: 6px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .05); }
.ps-workflow-tabs button { padding: 11px 18px; color: rgba(255, 255, 255, .58); border: 1px solid transparent; border-radius: 10px; background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.ps-workflow-tabs button:hover,
.ps-workflow-tabs button.is-active { color: #fff; border-color: rgba(255, 255, 255, .16); background: linear-gradient(135deg, #0ab2cc, #09657d); box-shadow: 0 12px 25px rgba(0, 163, 192, .2); }
.ps-workflow-panel[hidden] { display: none !important; }
.ps-workflow-heading { position: relative; margin: 54px 0 28px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ps-workflow-heading span { color: #6dcddd; font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.ps-workflow-heading h3 { margin: 7px 0 0; color: #fff; font-size: 28px; }
.ps-workflow-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.ps-workflow-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); transition: transform .3s ease, border-color .3s ease; }
.ps-workflow-card:hover { transform: translateY(-7px); border-color: rgba(0, 190, 216, .42); }
.ps-workflow-image { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0a1b29; }
.ps-workflow-image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 50%, rgba(5, 15, 25, .74)); }
.ps-workflow-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ps-workflow-card:hover img { transform: scale(1.065); }
.ps-workflow-copy { min-height: 210px; position: relative; padding: 26px 25px; }
.ps-workflow-copy > span { position: absolute; top: 24px; right: 24px; color: rgba(255, 255, 255, .2); font-family: "Syne", sans-serif; font-size: 24px; font-weight: 800; }
.ps-workflow-copy h4 { max-width: 80%; margin: 0 0 13px; color: #fff; font-size: 18px; letter-spacing: -.02em; }
.ps-workflow-copy p { margin: 0; color: rgba(255, 255, 255, .55); font-size: 12px; line-height: 1.72; }

@media (max-width: 991.98px) {
    .ps-split-head { grid-template-columns: 1fr; gap: 24px; }
    .ps-product-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-capability-grid { grid-template-columns: 1fr; }
    .ps-capability-card { min-height: 470px; }
    .ps-workflow-intro { grid-template-columns: 1fr; gap: 30px; }
    .ps-workflow-tabs { width: max-content; max-width: 100%; overflow-x: auto; }
    .ps-workflow-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-portfolio-card { width: min(45vw, 390px); }
}

@media (max-width: 575.98px) {
    .ps-products-hero,
    .ps-infra-hero { min-height: 580px; }
    .ps-products-hero h1,
    .ps-infra-hero h1 { font-size: 43px; }
    .ps-section,
    .ps-capabilities-section,
    .ps-workflow-section { padding: 88px 0; }
    .ps-product-grid,
    .ps-workflow-grid { grid-template-columns: 1fr; }
    .ps-product-image { aspect-ratio: 1.45; }
    .ps-portfolio-section { padding: 82px 0 90px; }
    .ps-portfolio-card { width: min(82vw, 350px); }
    .ps-portfolio-window { -webkit-mask-image: none; mask-image: none; }
    .ps-workflow-tabs { width: 100%; }
    .ps-workflow-tabs button { flex: 1; padding-inline: 12px; }
    .ps-workflow-copy { min-height: auto; }
    .ps-capability-card { min-height: 440px; }
}

@media (prefers-reduced-motion: reduce) {
    .ps-portfolio-window { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .ps-portfolio-marquee { animation: none; }
    .ps-portfolio-group[aria-hidden="true"] { display: none; }
}
