.trajectory-section {
    --trajectory-primary: #23366d;
    --trajectory-accent: #009ddd;
    --trajectory-background: #e7eef1;
    --trajectory-surface: #ffffff;
    --trajectory-text: #21406f;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: clamp(2.75rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
    box-sizing: border-box;
    background:
        radial-gradient(circle at 12% 12%, rgba(0, 157, 221, 0.09), transparent 30%),
        linear-gradient(180deg, #edf3f5 0%, var(--trajectory-background) 100%);
    text-align: center;
}

.trajectory-section::before,
.trajectory-section::after {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 77, 155, 0.055);
    content: "";
    pointer-events: none;
}

.trajectory-section::before {
    top: -7rem;
    right: -5rem;
    width: 17rem;
    height: 17rem;
}

.trajectory-section::after {
    bottom: -8rem;
    left: -6rem;
    width: 19rem;
    height: 19rem;
}

.trajectory-section__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1180px);
    margin: 0 auto;
}

.trajectory-section__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--trajectory-accent);
    font-family: "Rubik", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.trajectory-section .main-title {
    margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
    color: var(--trajectory-primary);
    font-family: "Rubik", sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 900;
    letter-spacing: 0.025em;
    line-height: 1.05;
    text-transform: uppercase;
}

.trajectory-section .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.3vw, 1.6rem);
    align-items: stretch;
}

.trajectory-section .stat-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid rgba(46, 77, 155, 0.08);
    border-radius: 22px;
    background: var(--trajectory-surface);
    box-shadow: 0 12px 30px rgba(33, 64, 111, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trajectory-section .stat-card::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 42%;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--trajectory-accent), var(--trajectory-primary));
    content: "";
    transform: translateX(-50%);
}

.trajectory-section .stat-card:hover {
    border-color: rgba(0, 157, 221, 0.24);
    box-shadow: 0 18px 38px rgba(33, 64, 111, 0.14);
    transform: translateY(-5px);
}

.trajectory-section .stat-number {
    margin: 0 0 0.7rem;
    color: var(--trajectory-accent);
    font-family: "Rubik", sans-serif;
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.95;
    background: linear-gradient(180deg, var(--trajectory-accent) 5%, var(--trajectory-primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trajectory-section .stat-title {
    min-height: 1.25em;
    margin: 0 0 0.7rem;
    color: var(--trajectory-primary);
    font-family: "Rubik", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    font-weight: 850;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-transform: uppercase;
}

.trajectory-section .stat-description {
    max-width: 295px;
    margin: 0;
    color: var(--trajectory-text);
    font-size: clamp(0.82rem, 1.4vw, 0.92rem);
    font-weight: 500;
    line-height: 1.55;
    text-wrap: balance;
}

@media (max-width: 899px) {
    .trajectory-section .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trajectory-section .stat-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 0.5rem);
        justify-self: center;
    }
}

@media (max-width: 599px) {
    .trajectory-section {
        padding-inline: 1rem;
    }

    .trajectory-section .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .trajectory-section .stat-card,
    .trajectory-section .stat-card:last-child {
        width: auto;
        min-height: 0;
        grid-column: auto;
        padding: 1.75rem 1.25rem;
    }

    .trajectory-section .stat-description {
        max-width: 32rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trajectory-section .stat-card {
        transition: none;
    }

    .trajectory-section .stat-card:hover {
        transform: none;
    }
}
