﻿.why-page {
    --why-emerald: var(--nx-color-primary, #0f5b46);
    --why-emerald-dark: #0a4334;
    --why-steel: var(--nx-color-secondary, #2c4a6e);
    --why-graphite: var(--nx-color-neutral-dark, #1a1d1f);
    --why-ivory: var(--nx-color-neutral-light, #f2f0ea);
    --why-stone: var(--nx-color-border, #d9d1c2);
    --why-white: #ffffff;
    --why-text-muted: #60676a;
    --why-section-space: clamp(5rem, 9vw, 8rem);
    overflow: hidden;
    background: var(--why-white);
    color: var(--why-graphite);
}

    .why-page *,
    .why-page *::before,
    .why-page *::after {
        box-sizing: border-box;
    }

.why-hero {
    position: relative;
    min-height: min(860px, calc(100vh - 72px));
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient( 135deg, #111516 0%, var(--why-graphite) 50%, #102d25 100% );
    color: var(--why-white);
}

.why-hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    padding-top: clamp(5rem, 10vw, 8rem);
    padding-bottom: clamp(5rem, 10vw, 8rem);
}

.why-hero__content {
    max-width: 800px;
}

.why-hero__title {
    max-width: 950px;
    margin: 1.5rem 0 1.5rem;
    font-size: clamp(2.7rem, 6vw, 5.65rem);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

[dir="rtl"] .why-hero__title {
    letter-spacing: normal;
    line-height: 1.2;
}

.why-hero__description {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1.05rem, 1.65vw, 1.3rem);
    line-height: 1.9;
}

.why-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.3rem;
}

.why-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.45rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

    .why-button:hover {
        transform: translateY(-2px);
    }

.why-button--primary {
    background: var(--why-emerald);
    color: var(--why-white);
    box-shadow: 0 18px 40px rgba(15, 91, 70, 0.24);
}

    .why-button--primary:hover {
        background: #137255;
        color: var(--why-white);
    }

.why-button--ghost {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: var(--why-white);
    backdrop-filter: blur(10px);
}

    .why-button--ghost:hover {
        border-color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.09);
        color: var(--why-white);
    }

.why-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.13;
    background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient( to bottom, rgba(0, 0, 0, 0.9), transparent 90% );
}

.why-hero__glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.why-hero__glow--primary {
    width: 500px;
    height: 500px;
    inset-inline-end: -160px;
    top: -170px;
    background: rgba(15, 91, 70, 0.34);
}

.why-hero__glow--secondary {
    width: 450px;
    height: 450px;
    inset-inline-start: 28%;
    bottom: -330px;
    background: rgba(44, 74, 110, 0.23);
}

.why-hero__visual {
    min-height: 460px;
    display: grid;
    place-items: center;
}

.why-root-system {
    position: relative;
    width: min(34vw, 440px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: radial-gradient( circle, rgba(15, 91, 70, 0.21), rgba(255, 255, 255, 0.015) 57%, transparent 58% );
}

    .why-root-system::before,
    .why-root-system::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .why-root-system::before {
        inset: 14%;
    }

    .why-root-system::after {
        inset: 29%;
    }

.why-root-system__core {
    position: absolute;
    z-index: 2;
    inset: 50% auto auto 50%;
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.5rem;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035) );
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
}

    .why-root-system__core span {
        font-size: 2.4rem;
        font-weight: 700;
    }

.why-root-system__node {
    position: absolute;
    z-index: 2;
    width: 18px;
    height: 18px;
    border: 4px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: #2b9a75;
    box-shadow: 0 0 28px rgba(43, 154, 117, 0.7);
}

.why-root-system__node--1 {
    top: 11%;
    left: 47%;
}

.why-root-system__node--2 {
    top: 47%;
    right: 9%;
}

.why-root-system__node--3 {
    bottom: 11%;
    left: 47%;
}

.why-root-system__node--4 {
    top: 47%;
    left: 9%;
}

.why-root-system__line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35%;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.28), rgba(43, 154, 117, 0.9) );
}

.why-root-system__line--1 {
    transform: rotate(-90deg);
}

.why-root-system__line--2 {
    transform: rotate(0deg);
}

.why-root-system__line--3 {
    transform: rotate(90deg);
}

.why-root-system__line--4 {
    transform: rotate(180deg);
}

.why-section {
    padding-block: var(--why-section-space);
}

.why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--why-emerald);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

[dir="rtl"] .why-eyebrow {
    letter-spacing: normal;
}

.why-eyebrow--light {
    color: #7fc9ad;
}

.why-eyebrow__line {
    width: 34px;
    height: 1px;
    background: currentColor;
}

.why-section-heading {
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.why-section-heading__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: end;
    margin-top: 1.25rem;
}

.why-section-heading h2,
.why-governance__content h2,
.why-final-cta h2 {
    margin: 0;
    color: var(--why-graphite);
    font-size: clamp(2.1rem, 4.7vw, 4.2rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

[dir="rtl"] .why-section-heading h2,
[dir="rtl"] .why-governance__content h2,
[dir="rtl"] .why-final-cta h2 {
    letter-spacing: normal;
    line-height: 1.3;
}

.why-section-heading p {
    max-width: 610px;
    margin: 0;
    color: var(--why-text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.why-section-heading--light h2 {
    color: var(--why-white);
}

.why-section-heading--light p {
    color: rgba(255, 255, 255, 0.65);
}

.why-pillars {
    background: var(--why-ivory);
}

.why-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--why-stone);
    border-inline-start: 1px solid var(--why-stone);
}

.why-pillar-card {
    min-height: 330px;
    padding: clamp(1.6rem, 3vw, 2.5rem);
    border-inline-end: 1px solid var(--why-stone);
    border-bottom: 1px solid var(--why-stone);
    background: rgba(255, 255, 255, 0.45);
    transition: background-color 180ms ease, transform 180ms ease;
}

    .why-pillar-card:hover {
        position: relative;
        z-index: 1;
        transform: translateY(-4px);
        background: var(--why-white);
        box-shadow: 0 24px 60px rgba(26, 29, 31, 0.08);
    }

.why-pillar-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.8rem;
}

.why-pillar-card__number {
    color: #8a918e;
    font-size: 0.82rem;
    font-weight: 600;
}

.why-pillar-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(15, 91, 70, 0.18);
    border-radius: 50%;
    color: var(--why-emerald);
    font-size: 1.25rem;
}

.why-pillar-card h3 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.why-pillar-card p {
    margin: 0;
    color: var(--why-text-muted);
    line-height: 1.8;
}

.why-methodology {
    background: var(--why-graphite);
    color: var(--why-white);
}

.why-methodology__list {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.why-methodology-step {
    display: grid;
    grid-template-columns: 90px minmax(120px, 0.55fr) minmax(0, 1.7fr);
    gap: 1.5rem;
    align-items: start;
    padding-block: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: background-color 180ms ease;
}

    .why-methodology-step:hover {
        background: rgba(255, 255, 255, 0.025);
    }

.why-methodology-step__number {
    color: #7fc9ad;
    font-weight: 700;
}

.why-methodology-step__name {
    color: rgba(255, 255, 255, 0.46);
    font-family: var(--nx-font-en, Inter, sans-serif);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.why-methodology-step__content h3 {
    margin: 0 0 0.65rem;
    color: var(--why-white);
    font-size: 1.35rem;
}

.why-methodology-step__content p {
    max-width: 750px;
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.8;
}

.why-methodology-step__content span {
    color: #7fc9ad;
    font-size: 0.9rem;
}

.why-governance {
    background: var(--why-white);
}

.why-governance__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.why-governance__content h2 {
    margin-top: 1.2rem;
}

.why-governance__content > p {
    margin: 1.5rem 0 0;
    color: var(--why-text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.why-governance__disclaimer {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.1rem;
    border-inline-start: 3px solid var(--why-steel);
    background: rgba(44, 74, 110, 0.06);
    color: #596268;
    font-size: 0.86rem;
    line-height: 1.7;
}

.why-governance__panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--why-stone);
    background: var(--why-ivory);
    box-shadow: 0 35px 80px rgba(26, 29, 31, 0.09);
}

.why-governance-item {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem;
    border-inline-end: 1px solid var(--why-stone);
    border-bottom: 1px solid var(--why-stone);
    font-weight: 600;
    line-height: 1.55;
}

    .why-governance-item:nth-child(even) {
        border-inline-end: 0;
    }

    .why-governance-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

.why-governance-item__check {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--why-emerald);
    color: var(--why-white);
}

.why-capabilities {
    background: var(--why-ivory);
}

.why-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.why-capability-card {
    min-height: 470px;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--why-stone);
    background: var(--why-white);
}

    .why-capability-card:nth-child(2) {
        background: var(--why-steel);
        color: var(--why-white);
    }

.why-capability-card__label {
    display: inline-flex;
    margin-bottom: 5rem;
    color: var(--why-emerald);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.why-capability-card:nth-child(2) .why-capability-card__label {
    color: #b8d4f0;
}

.why-capability-card h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.why-capability-card p {
    max-width: 610px;
    margin: 0;
    color: var(--why-text-muted);
    line-height: 1.9;
}

.why-capability-card:nth-child(2) p {
    color: rgba(255, 255, 255, 0.72);
}

.why-capability-card ul {
    display: grid;
    gap: 0.85rem;
    margin: 2.2rem 0 0;
    padding: 0;
    list-style: none;
}

.why-capability-card li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

    .why-capability-card li i {
        margin-top: 0.25rem;
        color: var(--why-emerald);
    }

.why-capability-card:nth-child(2) li i {
    color: #9fd8c2;
}

.why-engagement {
    background: var(--why-white);
}

.why-engagement__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.why-engagement-card {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 1.8rem;
    border: 1px solid #e5e1da;
    border-radius: 0.3rem;
    background: var(--why-white);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

    .why-engagement-card:hover {
        transform: translateY(-5px);
        border-color: rgba(15, 91, 70, 0.35);
        box-shadow: 0 24px 55px rgba(26, 29, 31, 0.08);
    }

.why-engagement-card__number {
    color: var(--why-emerald);
    font-size: 0.8rem;
    font-weight: 700;
}

.why-engagement-card h3 {
    margin: 2.7rem 0 0.9rem;
    font-size: 1.3rem;
}

.why-engagement-card p {
    margin: 0;
    color: var(--why-text-muted);
    line-height: 1.8;
}

.why-engagement-card__best-for {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--why-steel);
    font-size: 0.86rem;
    font-weight: 600;
}

.why-faq {
    background: var(--why-ivory);
}

.why-faq__accordion {
    max-width: 980px;
    margin-inline: auto;
}

.why-faq__item {
    border: 0;
    border-bottom: 1px solid var(--why-stone);
    border-radius: 0 !important;
    background: transparent;
}

    .why-faq__item:first-child {
        border-top: 1px solid var(--why-stone);
    }

    .why-faq__item .accordion-button {
        min-height: 88px;
        padding: 1.4rem 0;
        border: 0;
        background: transparent;
        color: var(--why-graphite);
        font-size: 1.1rem;
        font-weight: 600;
        box-shadow: none;
    }

        .why-faq__item .accordion-button:not(.collapsed) {
            color: var(--why-emerald);
            background: transparent;
        }

    .why-faq__item .accordion-body {
        max-width: 820px;
        padding: 0 0 1.7rem;
        color: var(--why-text-muted);
        line-height: 1.9;
    }

[dir="rtl"] .why-faq__item .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

.why-final-cta {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--why-white);
}

.why-final-cta__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-radius: 0.8rem;
    background: linear-gradient( 135deg, var(--why-graphite), #15352c );
    color: var(--why-white);
}

    .why-final-cta__panel::after {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        inset-inline-end: -190px;
        top: -180px;
        border-radius: 50%;
        background: rgba(15, 91, 70, 0.65);
        filter: blur(8px);
    }

    .why-final-cta__panel > * {
        position: relative;
        z-index: 1;
    }

.why-final-cta h2 {
    max-width: 750px;
    color: var(--why-white);
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.why-final-cta p {
    max-width: 700px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.67);
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .why-hero {
        min-height: auto;
    }

    .why-hero__container,
    .why-section-heading__grid,
    .why-governance__layout {
        grid-template-columns: 1fr;
    }

    .why-hero__visual {
        display: none;
    }

    .why-pillars__grid,
    .why-engagement__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-capabilities__grid {
        grid-template-columns: 1fr;
    }

    .why-methodology-step {
        grid-template-columns: 65px minmax(110px, 0.4fr) minmax(0, 1.6fr);
    }

    .why-final-cta__panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .why-page {
        --why-section-space: 4.5rem;
    }

    .why-hero__container {
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
    }

    .why-hero__title {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    .why-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .why-button {
        width: 100%;
    }

    .why-pillars__grid,
    .why-engagement__grid,
    .why-governance__panel {
        grid-template-columns: 1fr;
    }

    .why-pillar-card {
        min-height: auto;
    }

    .why-governance-item,
    .why-governance-item:nth-child(even),
    .why-governance-item:nth-last-child(-n + 2) {
        border-inline-end: 0;
        border-bottom: 1px solid var(--why-stone);
    }

        .why-governance-item:last-child {
            border-bottom: 0;
        }

    .why-methodology-step {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .why-methodology-step__name {
        grid-column: 2;
    }

    .why-methodology-step__content {
        grid-column: 2;
    }

    .why-capability-card {
        min-height: auto;
    }

    .why-capability-card__label {
        margin-bottom: 3rem;
    }

    .why-final-cta__panel {
        padding: 2rem 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-page *,
    .why-page *::before,
    .why-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
