/* FixPoint Home / Hero layout */
#hero.fixpoint-hero-v2 {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 78px);
    min-height: calc(100svh - 78px);
    min-height: calc(100dvh - 78px);
    overflow: hidden;
    padding: 0;
    text-align: left;
    background-color: #050505;
    background-image:
        linear-gradient(90deg, rgba(3, 3, 3, .34) 0%, rgba(3, 3, 3, .20) 34%, rgba(3, 3, 3, .06) 52%, rgba(3, 3, 3, 0) 70%),
        url("../images/fixpoint_hero_bg.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

#hero.fixpoint-hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .22) 36%, transparent 61%),
        linear-gradient(180deg, rgba(0, 0, 0, .10), transparent 24%, transparent 72%, rgba(0, 0, 0, .30));
}

#hero.fixpoint-hero-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    box-shadow: inset 0 0 110px rgba(0, 0, 0, .42);
}

#hero.fixpoint-hero-v2 .hero-content {
    position: relative;
    z-index: 2;
    width: min(1420px, calc(100% - 72px));
    max-width: none;
    min-height: calc(100vh - 78px);
    min-height: calc(100svh - 78px);
    min-height: calc(100dvh - 78px);
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    align-items: center;
    padding: clamp(42px, 6vh, 78px) 0 clamp(150px, 18vh, 190px);
}

.fixpoint-hero-copy {
    grid-column: 1;
    align-self: center;
    min-width: 0;
    max-width: 640px;
}

.fixpoint-hero-kicker {
    margin: 0 0 clamp(12px, 1.8vh, 18px);
    color: #ff930f;
    font-family: var(--fixpoint-font-mono, Consolas, monospace);
    font-size: clamp(.72rem, .72vw, .86rem);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

#hero.fixpoint-hero-v2 .fixpoint-hero-heading {
    margin: 0;
    color: #f7f7f7;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: clamp(3rem, 4.8vw, 5.45rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.045em;
}

.fixpoint-hero-heading > span,
.fixpoint-hero-heading > strong {
    display: block;
}

.fixpoint-hero-heading > strong {
    margin-top: .09em;
    color: #ff8c00;
    font: inherit;
}

#hero.fixpoint-hero-v2 .fixpoint-hero-description {
    max-width: 590px;
    margin: clamp(18px, 2.4vh, 26px) 0 0;
    color: #c8c8c8;
    font-size: clamp(.98rem, 1vw, 1.13rem);
    line-height: 1.65;
}

.fixpoint-hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(24px, 3.4vh, 36px);
    border-top: 1px solid rgba(255, 255, 255, .10);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.fixpoint-hero-benefit {
    min-width: 0;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 7px;
    min-height: clamp(88px, 11vh, 108px);
    padding: 12px 9px;
    border-right: 1px solid rgba(255, 255, 255, .10);
    text-align: center;
}

.fixpoint-hero-benefit:last-child {
    border-right: 0;
}

.fixpoint-hero-benefit-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
}

.fixpoint-hero-benefit-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fixpoint-hero-benefit strong {
    color: #f3f3f3;
    font-size: clamp(.73rem, .78vw, .88rem);
    line-height: 1.2;
    text-transform: uppercase;
}

.fixpoint-hero-benefit span:last-child {
    color: #9f9f9f;
    font-size: clamp(.66rem, .66vw, .76rem);
    line-height: 1.3;
}

.fixpoint-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(24px, 3.2vh, 34px);
}

.fixpoint-hero-action {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 9px;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.fixpoint-hero-action:hover,
.fixpoint-hero-action:focus-visible {
    transform: translateY(-2px);
}

.fixpoint-hero-action--primary {
    border: 1px solid #ff8c00;
    background: #ff8c00;
    color: #fff;
}

.fixpoint-hero-action--primary:hover,
.fixpoint-hero-action--primary:focus-visible {
    background: #f18100;
    border-color: #f18100;
}

.fixpoint-hero-action--secondary {
    border: 1px solid rgba(255, 255, 255, .32);
    background: rgba(7, 7, 7, .60);
    color: #f1f1f1;
    backdrop-filter: blur(8px);
}

.fixpoint-hero-action--secondary:hover,
.fixpoint-hero-action--secondary:focus-visible {
    border-color: rgba(255, 140, 0, .66);
    background: rgba(17, 17, 17, .82);
}

.fixpoint-hero-visual-zone {
    grid-column: 2;
    min-width: 0;
    min-height: 1px;
}

.fixpoint-hero-trust-wrap {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: clamp(20px, 3vh, 32px);
    pointer-events: none;
}

.fixpoint-hero-trust {
    width: min(1420px, calc(100% - 72px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, .40);
    border-radius: 14px;
    background: rgba(8, 8, 8, .78);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.fixpoint-hero-trust-item {
    min-height: clamp(78px, 10vh, 98px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 15px clamp(15px, 1.5vw, 24px);
    border-right: 1px solid rgba(255, 255, 255, .10);
}

.fixpoint-hero-trust-item:last-child {
    border-right: 0;
}

.fixpoint-hero-trust-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff9d26;
}

.fixpoint-hero-trust-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fixpoint-hero-trust-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.fixpoint-hero-trust-copy strong {
    color: #ff9d26;
    font-family: var(--fixpoint-font-semibold, "Segoe UI Semibold", "Segoe UI", Arial, sans-serif);
    font-size: clamp(.86rem, .92vw, 1.06rem);
    line-height: 1.2;
}

.fixpoint-hero-trust-copy span {
    color: #c1c1c1;
    font-size: clamp(.72rem, .74vw, .84rem);
    line-height: 1.35;
}

@media (max-width: 1220px) {
    #hero.fixpoint-hero-v2 .hero-content {
        width: min(100% - 48px, 1420px);
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    }

    .fixpoint-hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fixpoint-hero-benefit:nth-child(2) {
        border-right: 0;
    }

    .fixpoint-hero-benefit:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    .fixpoint-hero-trust {
        width: min(100% - 48px, 1420px);
    }
}

@media (max-height: 760px) and (min-width: 981px) {
    #hero.fixpoint-hero-v2 .hero-content {
        padding-top: 28px;
        padding-bottom: 126px;
    }

    #hero.fixpoint-hero-v2 .fixpoint-hero-heading {
        font-size: clamp(2.55rem, 7vh, 4.4rem);
    }

    #hero.fixpoint-hero-v2 .fixpoint-hero-description {
        margin-top: 14px;
        font-size: .93rem;
    }

    .fixpoint-hero-benefits {
        margin-top: 18px;
    }

    .fixpoint-hero-benefit {
        min-height: 72px;
        padding: 8px;
    }

    .fixpoint-hero-benefit-icon {
        width: 28px;
        height: 28px;
    }

    .fixpoint-hero-actions {
        margin-top: 18px;
    }

    .fixpoint-hero-action {
        min-height: 44px;
        padding: 9px 16px;
    }

    .fixpoint-hero-trust-wrap {
        bottom: 14px;
    }

    .fixpoint-hero-trust-item {
        min-height: 68px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (max-width: 980px) {
    #hero.fixpoint-hero-v2 {
        background-position: 66% center;
        background-image:
            linear-gradient(90deg, rgba(2, 2, 2, .92) 0%, rgba(2, 2, 2, .82) 42%, rgba(2, 2, 2, .46) 72%, rgba(2, 2, 2, .28) 100%),
            url("../images/fixpoint_hero_bg.png");
    }

    #hero.fixpoint-hero-v2 .hero-content {
        width: min(100% - 32px, 1420px);
        min-height: auto;
        grid-template-columns: 1fr;
        padding: clamp(48px, 7vh, 72px) 0 30px;
    }

    .fixpoint-hero-copy {
        max-width: 660px;
    }

    .fixpoint-hero-visual-zone {
        display: none;
    }

    .fixpoint-hero-trust-wrap {
        position: relative;
        bottom: auto;
        margin: 0 0 28px;
    }

    .fixpoint-hero-trust {
        width: min(100% - 32px, 1420px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fixpoint-hero-trust-item:nth-child(2) {
        border-right: 0;
    }

    .fixpoint-hero-trust-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }
}

@media (max-width: 640px) {
    #hero.fixpoint-hero-v2 {
        min-height: calc(100svh - 78px);
        background-position: 70% center;
    }

    #hero.fixpoint-hero-v2 .hero-content {
        width: min(100% - 24px, 1420px);
        padding-top: 38px;
    }

    #hero.fixpoint-hero-v2 .fixpoint-hero-heading {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .fixpoint-hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fixpoint-hero-benefit {
        min-height: 78px;
    }

    .fixpoint-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fixpoint-hero-action {
        width: 100%;
    }

    .fixpoint-hero-trust {
        width: min(100% - 24px, 1420px);
        grid-template-columns: 1fr;
    }

    .fixpoint-hero-trust-item,
    .fixpoint-hero-trust-item:nth-child(2) {
        min-height: 68px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    .fixpoint-hero-trust-item:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fixpoint-hero-action {
        transition: none;
    }
}
