.why-page-hero,
.why-page-section {
    position: relative;
    padding: 4.5rem 1.5rem;
    color: var(--text-color, #f5f7fb);
    overflow: hidden;
}

.why-page-hero::before,
.why-page-section::before,
.why-page-jump-nav-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(0, 212, 255, 0.1), transparent 28%),
        radial-gradient(circle at 84% 10%, rgba(111, 178, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(9, 14, 26, 0.18), rgba(9, 14, 26, 0.06));
    pointer-events: none;
    z-index: 0;
}

.why-page-hero::after,
.why-page-section::after,
.why-page-jump-nav-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent 96%);
    opacity: 0.28;
    pointer-events: none;
    z-index: 0;
}

.why-page-shell {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.why-page-hero {
    padding-top: 7rem;
    padding-bottom: 2.25rem;
}

.why-page-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1.2rem;
    align-items: stretch;
}

.why-page-hero-card,
.why-page-panel,
.why-page-hero-support {
    position: relative;
    padding: 2rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(17, 26, 43, 0.88), rgba(12, 19, 33, 0.76));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 22px 54px rgba(4, 9, 20, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
}

.why-page-hero-card::before,
.why-page-panel::before,
.why-page-hero-support::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, rgba(122, 225, 255, 0.24), rgba(122, 225, 255, 0));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.75;
}

.why-page-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(84, 198, 255, 0.22);
    border-radius: 999px;
    background: rgba(10, 18, 32, 0.58);
    color: var(--accent, #7fe7ff);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(4, 10, 22, 0.28);
}

.why-page-hero-card h1,
.why-page-panel h2 {
    margin: 0;
    color: #f8fbff;
    line-height: 1.08;
    text-wrap: balance;
}

.why-page-hero-card h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    max-width: 10.5ch;
}

.why-page-panel h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.why-page-hero-copy,
.why-page-panel p,
.why-page-cta-copy {
    color: rgba(226, 234, 244, 0.82);
    line-height: 1.8;
    font-size: 1.02rem;
}

.why-page-hero-copy {
    max-width: 760px;
    margin: 1.25rem 0 0;
    font-size: 1.08rem;
}

.why-page-panel p {
    margin: 1rem 0 0;
    max-width: 78ch;
}

.why-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.why-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.95rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.why-page-button-primary {
    background: linear-gradient(135deg, var(--accent, #7fe7ff), #4ca8ff);
    color: #07111f;
    box-shadow: 0 14px 28px rgba(46, 129, 203, 0.28);
}

.why-page-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fbff;
}

.why-page-button:hover,
.why-page-button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.why-page-button:focus-visible {
    outline: 2px solid rgba(122, 225, 255, 0.4);
    outline-offset: 3px;
}

.why-page-hero-support {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.why-page-support-topline {
    color: #f8fbff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.why-page-support-list {
    display: grid;
    gap: 0.8rem;
}

.why-page-support-item {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(8, 14, 25, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(236, 242, 250, 0.88);
    font-size: 0.95rem;
    line-height: 1.55;
}

.why-page-support-note {
    color: rgba(214, 225, 238, 0.66);
    font-size: 0.92rem;
    line-height: 1.65;
}

.why-page-jump-nav-section {
    position: relative;
    padding: 0 1.5rem 1.25rem;
}

.why-page-jump-nav {
    position: sticky;
    top: 5.1rem;
    z-index: 3;
    display: flex;
    gap: 0.75rem;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(8, 13, 23, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 34px rgba(4, 9, 20, 0.22);
    overflow-x: auto;
    scrollbar-width: none;
}

.why-page-jump-nav::-webkit-scrollbar {
    display: none;
}

.why-page-jump-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(236, 242, 250, 0.82);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.why-page-jump-nav a:hover,
.why-page-jump-nav a:focus-visible,
.why-page-jump-nav a.is-active {
    border-color: rgba(122, 225, 255, 0.22);
    background: rgba(122, 225, 255, 0.1);
    color: #f8fbff;
}

.why-page-section-alt .why-page-panel,
.why-page-panel-cta {
    background:
        linear-gradient(180deg, rgba(16, 24, 40, 0.9), rgba(11, 18, 31, 0.8));
}

.why-page-section-head {
    margin-bottom: 1.4rem;
}

.why-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.why-page-card {
    min-height: 100%;
    padding: 1.3rem;
    border-radius: 20px;
    background: rgba(8, 14, 25, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.why-page-card h3 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.12rem;
    line-height: 1.35;
}

.why-page-card p {
    margin-top: 0.75rem;
    font-size: 0.96rem;
    line-height: 1.7;
}

#why-problem,
#why-what-we-build,
#why-builder,
#why-freelancer,
#why-service-trust,
#why-benefits,
#why-difference,
#why-cta {
    scroll-margin-top: 10.5rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .why-page-hero-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .why-page-hero,
    .why-page-section {
        padding: 3.5rem 1rem;
    }

    .why-page-jump-nav-section {
        padding: 0 1rem 1rem;
    }

    .why-page-jump-nav {
        top: 4.7rem;
        padding: 0.7rem;
    }

    .why-page-hero {
        padding-top: 6rem;
    }

    .why-page-hero-card,
    .why-page-panel,
    .why-page-hero-support {
        padding: 1.35rem;
        border-radius: 22px;
    }

    .why-page-hero-actions {
        flex-direction: column;
    }

    .why-page-button {
        width: 100%;
    }

    .why-page-grid {
        grid-template-columns: 1fr;
    }

    #why-problem,
    #why-what-we-build,
    #why-builder,
    #why-freelancer,
    #why-service-trust,
    #why-benefits,
    #why-difference,
    #why-cta {
        scroll-margin-top: 9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .why-page-button,
    .why-page-jump-nav a {
        transition: none;
    }
}
