/* Home page only. Put this file at wwwroot/css/home.css. */

body {
    overflow-x: hidden;
}

.home-hero-pro,
.home-forcex,
.home-about-pro,
.home-products-pro {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

    .home-hero-pro *,
    .home-forcex *,
    .home-about-pro *,
    .home-products-pro * {
        box-sizing: border-box;
    }

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: rgba(255,255,255,.86);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

    .home-eyebrow::before {
        content: "";
        width: 34px;
        height: 3px;
        background: currentColor;
    }

.home-eyebrow-blue {
    color: #1f3478;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

    .home-btn:hover {
        transform: translateY(-2px);
    }

.home-btn-light {
    background: white;
    color: #172a66;
}

    .home-btn-light:hover {
        background: #e7f3f5;
        color: #172a66;
    }

.home-btn-outline {
    border-color: rgba(255,255,255,.76);
    color: white;
}

    .home-btn-outline:hover {
        background: white;
        color: #172a66;
    }

.home-btn-dark {
    background: #111827;
    color: white;
}

    .home-btn-dark:hover {
        background: #1f3478;
        color: white;
    }

.home-btn-primary {
    background: #1c2f6d;
    color: white;
}

    .home-btn-primary:hover {
        background: #30458c;
        color: white;
    }

.home-btn-secondary {
    border-color: #c9d9ff;
    background: #eef4ff;
    color: #1c2f6d;
}

    .home-btn-secondary:hover {
        border-color: #1c2f6d;
        background: #111827;
        color: white;
    }

.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 4px;
    color: #1c2f6d;
    font-weight: 800;
    text-decoration: none;
}

    .home-link:hover {
        color: #0f7b8a;
    }

.home-hero-pro {
    position: relative;
    isolation: isolate;
    min-height: 590px;
    overflow: hidden;
    color: white;
    background: #15265f;
}

.home-hero-pro-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('/images/seisbannerbetter2.JPG');
    background-size: cover;
    background-position: center 58%;
    transform: scale(1.03);
}

.home-hero-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(10,18,42,.9) 0%, rgba(18,37,87,.78) 44%, rgba(18,37,87,.38) 100%);
}

.home-hero-pro::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    background: linear-gradient(90deg, #1c2f6d, #4fb7c3, #1c2f6d);
}

.home-hero-pro-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 64px;
    align-items: center;
    min-height: 590px;
    padding-top: 88px;
    padding-bottom: 88px;
}

.home-hero-pro-copy {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.home-hero-pro h1 {
    margin: 0 0 30px;
    color: white;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.03;
}

.home-hero-pro p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255,255,255,.92);
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 1.45;
}

.home-hero-actions,
.home-about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 42px;
}

.home-about-actions {
    justify-content: flex-start;
}

.home-hero-panel {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.16);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    backdrop-filter: blur(8px);
}

    .home-hero-panel div {
        padding: 24px;
        background: rgba(13,24,55,.55);
    }

    .home-hero-panel strong,
    .home-hero-panel span {
        display: block;
    }

    .home-hero-panel strong {
        margin-bottom: 7px;
        color: white;
        font-size: 1.05rem;
    }

    .home-hero-panel span {
        color: rgba(255,255,255,.78);
        font-size: .92rem;
        line-height: 1.45;
    }

.home-forcex {
    padding: 92px 0;
    background: white;
}

.home-forcex-shell {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #d8dfeb;
    border-bottom: 6px solid #1c2f6d;
    background: white;
    box-shadow: 0 18px 48px rgba(21,38,95,.14);
}

.home-forcex-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

    .home-forcex-copy h2 {
        margin: 0 0 18px;
        color: #1c2f6d;
        font-size: 2.65rem;
        font-weight: 800;
        line-height: 1.08;
        white-space: nowrap;
    }

    .home-forcex-copy p {
        max-width: 650px;
        margin: 0 0 18px;
        color: #4b5565;
        font-size: 1.02rem;
        line-height: 1.78;
    }

    .home-forcex-copy .home-forcex-lead {
        color: #4b5565;
        font-size: 1.02rem;
    }

.home-forcex-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 28px;
}

    .home-forcex-points span {
        padding: 9px 11px;
        background: #eef4ff;
        color: #1c2f6d;
        font-size: .84rem;
        font-weight: 800;
    }

.home-forcex-visual {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 22px;
    min-width: 0;
    min-height: 470px;
    padding: 44px 44px 32px;
    overflow: hidden;
    background: radial-gradient(circle at 68% 28%, rgba(101,197,207,.34), rgba(101,197,207,0) 34%), linear-gradient(135deg, #091533 0%, #172a66 55%, #0b1738 100%);
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

    .home-forcex-visual::before {
        content: "";
        position: absolute;
        inset: 26px;
        border: 1px solid rgba(255,255,255,.2);
    }

    .home-forcex-visual::after {
        content: none;
    }

.home-forcex-stage {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 330px;
}

    .home-forcex-stage::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 20px;
        width: min(82%, 460px);
        height: 46px;
        transform: translateX(-50%);
        border-radius: 50%;
        background: rgba(0,0,0,.36);
        filter: blur(16px);
    }

.home-forcex-logo {
    position: absolute;
    top: 44px;
    right: 48px;
    z-index: 3;
    width: 155px;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,.38));
}

.home-forcex-device {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 470px);
    max-height: 330px;
    object-fit: contain;
    filter: drop-shadow(0 26px 24px rgba(0,0,0,.42));
    transition: transform .35s ease;
}

.home-forcex-stack {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    max-width: 360px;
}

    .home-forcex-stack span {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 10px 14px;
        border-left: 4px solid #62c5cf;
        background: rgba(255,255,255,.12);
        color: rgba(255,255,255,.92);
        font-size: .9rem;
        font-weight: 800;
        text-transform: uppercase;
    }

.home-forcex-visual:hover .home-forcex-device {
    transform: translateY(-6px) scale(1.025);
}

.home-about-pro {
    padding: 96px 0;
    background: white;
}

.home-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
    gap: 72px;
    align-items: center;
}

.home-about-copy h2,
.home-section-heading h2 {
    margin: 0 0 22px;
    color: #1c2f6d;
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.13;
}

.home-about-copy p {
    max-width: 850px;
    margin: 0 0 24px;
    color: #4e596b;
    font-size: 1.03rem;
    line-height: 2;
    text-indent: 1.25rem;
}

.home-about-copy .home-about-lead {
    color: #4e596b;
    font-size: 1.03rem;
}

.home-about-copy a:not(.home-btn) {
    color: #145f85;
}

.home-about-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #e9eef7;
    border-left: 6px solid #1c2f6d;
    box-shadow: 0 18px 46px rgba(19,39,96,.18);
}

    .home-about-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
        transition: transform .45s ease;
    }

    .home-about-media:hover img {
        transform: scale(1.035);
    }

.home-products-pro {
    padding: 90px 0;
    background: white;
}

.home-section-heading {
    max-width: 840px;
    margin-bottom: 36px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

    .home-section-heading p {
        max-width: 720px;
        margin: 0;
        color: #596579;
        font-size: 1.04rem;
        line-height: 1.7;
    }

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: white;
    border: 2px solid #d7deec;
    border-bottom: 5px solid #1c2f6d;
    box-shadow: 0 8px 22px rgba(22,38,83,.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .home-product-card:hover {
        transform: translateY(-5px);
        border-color: #1c2f6d;
        box-shadow: 0 18px 38px rgba(22,38,83,.15);
    }

.home-product-image {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #edf1f7;
}

    .home-product-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transition: transform .35s ease;
    }

.home-product-card:hover .home-product-image img {
    transform: scale(1.045);
}

.home-product-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

    .home-product-copy h3 {
        margin: 0 0 10px;
        font-size: 1.28rem;
        font-weight: 800;
        line-height: 1.2;
    }

        .home-product-copy h3 a {
            color: #1c2f6d;
            text-decoration: none;
        }

            .home-product-copy h3 a:hover {
                color: #0f7b8a;
            }

    .home-product-copy p {
        margin: 0 0 20px;
        color: #5a6475;
        font-size: .95rem;
        line-height: 1.58;
    }

.home-product-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

    .home-product-links a {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 7px 10px;
        background: #eef4ff;
        color: #1c2f6d;
        font-size: .82rem;
        font-weight: 800;
        line-height: 1.1;
        text-decoration: none;
    }

        .home-product-links a:hover {
            background: #1c2f6d;
            color: white;
        }

        .home-btn:focus-visible,
        .home-link:focus-visible,
        .home-product-image:focus-visible,
        .home-product-copy h3 a:focus-visible,
        .home-product-links a:focus-visible,
        .home-forcex-visual:focus-visible {
            outline: 3px solid #59c5cf;
            outline-offset: 4px;
        }

@media (max-width: 1100px) {
    .home-hero-pro-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .home-hero-panel {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-forcex-shell,
    .home-about-layout {
        grid-template-columns: 1fr;
    }

    .home-forcex-visual {
        order: -1;
        min-height: 390px;
    }

    .home-about-media {
        max-width: 760px;
        aspect-ratio: 16 / 10;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-hero-pro,
    .home-forcex,
    .home-about-pro,
    .home-products-pro {
        position: relative;
        left: auto;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .home-hero-pro {
        min-height: auto;
    }

        .home-hero-pro::before {
            background: linear-gradient(180deg, rgba(10,18,42,.48) 0%, rgba(18,37,87,.68) 100%);
        }

    .home-hero-pro-bg {
        background-position: 50% 74%;
        transform: scale(1);
    }

    .home-hero-pro-inner {
        width: 100%;
        max-width: none;
        min-height: 385px;
        padding: 58px 28px 52px;
    }

    .home-hero-pro h1 {
        font-size: 2.45rem;
        line-height: 1.06;
        margin-bottom: 18px;
    }

    .home-hero-pro p {
        font-size: 1rem;
        line-height: 1.62;
    }

    .home-hero-pro h1,
    .home-hero-pro p {
        text-shadow: 0 3px 16px rgba(0,0,0,.5);
    }

    .home-hero-actions,
    .home-about-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 28px;
    }

        .home-hero-actions .home-btn,
        .home-about-actions .home-btn,
        .home-about-actions .home-link {
            width: min(100%, 290px);
        }

    .home-hero-panel {
        display: none;
    }

    .home-forcex,
    .home-about-pro,
    .home-products-pro {
        padding: 56px 0;
    }

    .home-about-pro {
        padding: 42px 0;
    }

        .home-forcex .container,
        .home-about-pro .container,
        .home-products-pro .container {
            width: 100%;
            max-width: none;
            padding-left: 20px;
            padding-right: 20px;
        }

    .home-forcex-shell,
    .home-product-grid,
    .home-about-layout {
        width: 100%;
    }

    .home-forcex-shell {
        margin-left: 0;
        margin-right: 0;
    }

    .home-forcex-copy {
        padding: 34px 24px;
    }

        .home-forcex-copy h2,
        .home-about-copy h2,
        .home-section-heading h2 {
            font-size: 2rem;
            line-height: 1.16;
        }

    .home-about-copy h2 {
        font-size: 1.55rem;
        line-height: 1.28;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-about-copy .home-eyebrow {
        justify-content: center;
        width: 100%;
    }

    .home-forcex-copy h2 {
        font-size: 1.26rem;
        line-height: 1.12;
    }

    .home-forcex-copy p,
    .home-forcex-copy .home-forcex-lead,
    .home-about-copy p,
    .home-about-copy .home-about-lead,
    .home-section-heading p {
        font-size: .98rem;
        line-height: 1.68;
    }

    .home-about-copy p,
    .home-about-copy .home-about-lead {
        font-size: .95rem;
        line-height: 1.65;
        margin-bottom: 14px;
        text-indent: 1rem;
        text-align: left;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-forcex-visual {
        min-height: 320px;
        padding: 26px 22px 24px;
    }

        .home-forcex-visual::before {
            inset: 16px;
        }

    .home-forcex-stage {
        min-height: 260px;
    }

    .home-forcex-logo {
        top: 30px;
        right: 28px;
        width: 112px;
        padding: 0;
    }

    .home-forcex-device {
        max-height: 240px;
    }

    .home-forcex-stack span {
        min-height: 40px;
        font-size: .82rem;
    }

    .home-about-layout {
        gap: 26px;
    }

    .home-about-media {
        order: -1;
        width: min(100%, 320px);
        min-height: 400px;
        margin: 0 auto;
        aspect-ratio: 4 / 5;
    }

    .home-about-actions {
        margin-top: 22px;
    }

    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-copy {
        padding: 22px;
    }
}

@media (max-width: 430px) {
    .home-hero-pro-inner,
    .home-forcex .container,
    .home-about-pro .container,
    .home-products-pro .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home-hero-pro h1 {
        font-size: 2.2rem;
    }

    .home-forcex-points {
        display: grid;
    }

    .home-product-image {
        aspect-ratio: 3 / 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-btn,
    .home-forcex-product,
    .home-about-media img,
    .home-product-card,
    .home-product-image img {
        transition: none;
    }
}
