/* =========================================================
   SOEL APP SOLUTIONS
   Requires homepage-v2.css before this file.
   ========================================================= */

body.soel-app-page {
    background: #fbf9fe;
}

.sas-section {
    padding: 84px 0;
}

.sas-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--soel-purple-700);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .17em;
}

.sas-heading {
    max-width: 820px;
    margin-bottom: 40px;
}

.sas-heading-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sas-heading h2,
.sas-os .soel-v2-section-head h2 {
    margin-bottom: 14px;
    font-size: clamp(2.25rem, 4vw, 3.65rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.sas-heading p {
    margin: 0;
    color: var(--soel-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.sas-inline-link {
    color: var(--soel-purple-900);
    font-weight: 700;
    text-decoration: none;
}

.sas-inline-link span {
    color: var(--soel-gold);
}

/* HERO */
.sas-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 104px;
    background:
        radial-gradient(circle at 82% 32%, rgba(150,112,207,.22), transparent 34%),
        linear-gradient(112deg, #fbf8ff 0%, #eee7fa 52%, #e8def8 100%);
}

.sas-hero::after {
    content: "";
    position: absolute;
    width: 760px;
    height: 210px;
    right: -180px;
    bottom: -125px;
    border: 1px solid rgba(214,166,66,.55);
    border-radius: 50%;
    transform: rotate(-9deg);
}

.sas-orbit {
    position: absolute;
    border: 1px solid rgba(214,166,66,.28);
    border-radius: 50%;
    pointer-events: none;
}

.sas-orbit-one {
    width: 520px;
    height: 160px;
    right: -140px;
    top: 30px;
    transform: rotate(-16deg);
}

.sas-orbit-two {
    width: 420px;
    height: 130px;
    left: -180px;
    bottom: -65px;
    transform: rotate(10deg);
}

.sas-hero .container {
    position: relative;
    z-index: 2;
}

.sas-hero h1 {
    max-width: 690px;
    margin: 0 0 22px;
    font-size: clamp(3.15rem, 5.7vw, 5.45rem);
    line-height: .97;
    letter-spacing: -.055em;
}

.sas-hero-copy > p {
    max-width: 660px;
    margin: 0;
    color: #665878;
    font-size: clamp(1.08rem, 1.65vw, 1.32rem);
    line-height: 1.65;
}

.sas-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.sas-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.sas-audience span {
    padding: 7px 12px;
    border: 1px solid rgba(70,32,109,.12);
    border-radius: 99px;
    background: rgba(255,255,255,.55);
    color: var(--soel-purple-800);
    font-size: .78rem;
    font-weight: 600;
}

.sas-hero-visual {
    position: relative;
    min-height: 470px;
    max-width: 650px;
    margin-left: auto;
}

.sas-image-frame {
    position: absolute;
    inset: 42px 5% 20px 7%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 65px rgba(52,28,87,.22);
    transform: perspective(900px) rotateY(-4deg) rotateX(1deg);
}

.sas-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sas-float-card {
    position: absolute;
    z-index: 4;
    width: 190px;
    padding: 14px 16px;
    border: 1px solid rgba(70,32,109,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 14px 32px rgba(42,20,72,.13);
}

.sas-float-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--soel-gold);
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.sas-float-card strong {
    display: block;
    color: var(--soel-purple-950);
    font-size: .82rem;
    line-height: 1.25;
}

.sas-float-card-one {
    left: -2%;
    top: 94px;
}

.sas-float-card-two {
    right: -2%;
    bottom: 66px;
}

/* ANALYTICS TO ACTION */
.sas-action {
    background: #fdfcff;
}

.sas-action-card {
    height: 100%;
    min-height: 285px;
    padding: 30px;
    border: 1px solid var(--soel-border);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f8f4fc);
    box-shadow: var(--soel-shadow);
}

.sas-action-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(214,166,66,.38);
    border-radius: 12px;
    color: var(--soel-gold);
    font-size: 1.5rem;
}

.sas-action-card > span {
    display: block;
    margin-bottom: 22px;
    color: var(--soel-purple-500);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.sas-action-card h3 {
    margin-bottom: 10px;
    font-size: 1.75rem;
}

.sas-action-card p {
    margin: 0;
    color: var(--soel-muted);
    line-height: 1.65;
}

/* SOELPILOT */
.sas-soelpilot {
    background: var(--soel-lilac-100);
}

.sas-product-copy h2 {
    margin-bottom: 6px;
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 1;
}

.sas-product-lead {
    margin-bottom: 18px !important;
    color: var(--soel-purple-800) !important;
    font-size: 1.35rem !important;
    font-weight: 700;
}

.sas-product-copy > p {
    max-width: 680px;
    margin-bottom: 24px;
    color: var(--soel-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.sas-feature-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 6px;
}

.sas-feature-list > div {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #554860;
    font-weight: 600;
}

.sas-feature-list i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(214,166,66,.12);
    color: var(--soel-gold);
    font-size: 1.1rem;
}

.sas-product-image {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 26px 60px rgba(52,28,87,.16);
}

.sas-product-image img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
}

/* DECISION OS */
.sas-os {
    background: #fbf9fe;
}

.sas-os-copy h3 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.sas-os-copy p {
    margin-bottom: 16px;
    color: var(--soel-muted);
    line-height: 1.7;
}

.sas-os-stack {
    padding: 28px;
    border: 1px solid rgba(70,32,109,.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 80% 20%, rgba(177,140,221,.18), transparent 35%),
        #fff;
    box-shadow: 0 20px 50px rgba(42,20,72,.08);
}

.sas-os-row {
    padding: 18px;
    border: 1px solid rgba(70,32,109,.1);
    border-radius: 15px;
    background: #fbf8ff;
}

.sas-os-label {
    display: block;
    margin-bottom: 12px;
    color: var(--soel-purple-700);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.sas-os-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sas-os-items span {
    padding: 11px 8px;
    border: 1px solid rgba(214,166,66,.2);
    border-radius: 10px;
    background: #fff;
    color: var(--soel-purple-900);
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
}

.sas-os-arrow {
    padding: 8px 0;
    color: var(--soel-gold);
    font-size: 1.4rem;
    text-align: center;
}

.sas-os-core {
    padding: 28px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 10%, rgba(208,169,255,.2), transparent 32%),
        linear-gradient(135deg, #291044, #4b236e 75%, #351652);
    box-shadow: 0 20px 45px rgba(42,20,72,.17);
}

.sas-os-core > span {
    display: block;
    margin-bottom: 8px;
    color: var(--soel-gold-soft);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.sas-os-core > strong {
    display: block;
    margin-bottom: 18px;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.35;
}

.sas-os-core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sas-os-core-grid span {
    padding: 10px 8px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.9);
    font-size: .77rem;
    font-weight: 600;
    text-align: center;
}

/* CUSTOM APPS */
.sas-custom {
    background: var(--soel-lilac-100);
}

.sas-custom-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--soel-border);
    border-radius: 17px;
    background: rgba(255,255,255,.88);
    box-shadow: var(--soel-shadow);
}

.sas-custom-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border: 1px solid rgba(214,166,66,.38);
    border-radius: 12px;
    color: var(--soel-gold);
    font-size: 1.5rem;
}

.sas-custom-card h3 {
    margin-bottom: 11px;
    font-size: 1.65rem;
}

.sas-custom-card p {
    margin: 0;
    color: var(--soel-muted);
    line-height: 1.65;
}

/* FIT */
.sas-fit {
    background: #fbf9fe;
}

.sas-fit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sas-fit-card {
    min-height: 285px;
    padding: 30px;
    border: 1px solid rgba(70,32,109,.12);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(42,20,72,.06);
}

.sas-fit-card > span {
    display: block;
    margin-bottom: 34px;
    color: var(--soel-purple-500);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.sas-fit-card h3 {
    margin-bottom: 11px;
    font-size: 1.6rem;
}

.sas-fit-card p {
    margin-bottom: 22px;
    color: var(--soel-muted);
    line-height: 1.65;
}

.sas-fit-card strong {
    color: var(--soel-purple-900);
}

/* BRIDGE */
.sas-bridge {
    background: var(--soel-lilac-100);
}

.sas-bridge-box {
    padding: 48px 50px;
    border: 1px solid rgba(70,32,109,.12);
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 20px 50px rgba(42,20,72,.07);
}

.sas-bridge-box h2 {
    max-width: 920px;
    margin-bottom: 13px;
    font-size: clamp(2.35rem, 4vw, 3.6rem);
    line-height: 1.03;
}

.sas-bridge-box > div:first-child > p {
    max-width: 840px;
    margin: 0;
    color: var(--soel-muted);
    line-height: 1.7;
}

.sas-bridge-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 14px;
    align-items: center;
    margin: 34px 0;
}

.sas-bridge-flow > div:not(.sas-bridge-arrow) {
    min-height: 150px;
    padding: 23px;
    border: 1px solid rgba(70,32,109,.11);
    border-radius: 14px;
    background: #fff;
}

.sas-bridge-flow span {
    display: block;
    margin-bottom: 25px;
    color: var(--soel-gold);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.sas-bridge-flow strong {
    display: block;
    margin-bottom: 5px;
    color: var(--soel-purple-950);
}

.sas-bridge-flow small {
    display: block;
    color: var(--soel-muted);
    line-height: 1.5;
}

.sas-bridge-arrow {
    color: var(--soel-gold);
    font-size: 1.35rem;
}

.sas-final-cta {
    padding-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .sas-hero-visual {
        min-height: 430px;
    }

    .sas-os-items,
    .sas-os-core-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sas-fit-grid {
        grid-template-columns: 1fr;
    }

    .sas-fit-card {
        min-height: 0;
    }
}

@media (max-width: 991px) {
    .sas-section {
        padding: 68px 0;
    }

    .sas-hero {
        padding: 70px 0 78px;
    }

    .sas-hero-visual {
        min-height: 390px;
        margin-top: 12px;
    }

    .sas-float-card-one {
        left: 1%;
    }

    .sas-float-card-two {
        right: 1%;
    }

    .sas-bridge-flow {
        grid-template-columns: 1fr;
    }

    .sas-bridge-arrow {
        transform: rotate(90deg);
        text-align: center;
    }
}

@media (max-width: 767px) {
    .sas-section {
        padding: 56px 0;
    }

    .sas-hero h1 {
        font-size: clamp(2.65rem, 12.5vw, 4rem);
    }

    .sas-actions {
        display: grid;
    }

    .sas-actions .soel-v2-btn {
        width: 100%;
    }

    .sas-hero-visual {
        min-height: 320px;
    }

    .sas-image-frame {
        inset: 32px 0 12px;
        transform: none;
    }

    .sas-float-card {
        display: none;
    }

    .sas-heading h2,
    .sas-os .soel-v2-section-head h2 {
        font-size: 2.35rem;
    }

    .sas-action-card,
    .sas-custom-card,
    .sas-fit-card {
        padding: 26px;
    }

    .sas-product-copy h2 {
        font-size: 3.1rem;
    }

    .sas-os-stack {
        padding: 20px;
    }

    .sas-os-items,
    .sas-os-core-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sas-os-core {
        padding: 22px;
    }

    .sas-bridge-box {
        padding: 34px 24px;
    }
}
