.why-section {
    position: relative;
    padding: 5rem 1.5rem 6rem;
    color: var(--text-color, #f5f7fb);
    overflow: hidden;
    z-index: 1;
}

.why-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(0, 212, 255, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(9, 14, 26, 0.15), rgba(9, 14, 26, 0));
    pointer-events: none;
    z-index: 0;
}

.why-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 95%);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

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

.why-intro {
    max-width: 760px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.why-kicker {
    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-heading {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    color: #f8fbff;
    text-wrap: balance;
}

.why-lead {
    margin: 1rem auto 0;
    max-width: 700px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(226, 234, 244, 0.8);
}

.why-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.why-pill {
    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.09);
    background: rgba(13, 21, 36, 0.7);
    color: rgba(241, 245, 251, 0.88);
    font-size: 0.9rem;
    line-height: 1.2;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.why-card {
    position: relative;
    min-height: 100%;
    padding: 1.75rem;
    border-radius: 24px;
    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 16px 40px rgba(4, 9, 20, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(180deg, rgba(122, 225, 255, 0.26), 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-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    border-color: rgba(123, 228, 255, 0.18);
    box-shadow:
        0 22px 54px rgba(4, 9, 20, 0.38),
        0 0 0 1px rgba(123, 228, 255, 0.06);
    transform: translateY(-4px);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1.15rem;
    border-radius: 18px;
    background: rgba(122, 225, 255, 0.08);
    border: 1px solid rgba(122, 225, 255, 0.16);
    color: var(--accent, #7fe7ff);
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.why-title {
    margin: 0;
    color: #f8fbff;
    font-size: 1.2rem;
    line-height: 1.3;
}

.why-desc {
    margin: 0.8rem 0 0;
    color: rgba(223, 232, 243, 0.78);
    font-size: 0.98rem;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .why-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .why-section {
        padding: 4rem 1rem 4.5rem;
    }

    .why-intro {
        margin-bottom: 2rem;
    }

    .why-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .why-card {
        padding: 1.35rem;
        border-radius: 20px;
    }

    .why-card:hover {
        transform: translateY(-2px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-card,
    .why-card:hover {
        transition: none;
        transform: none;
    }
}
