.hero {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 720px;
    padding: 7rem 1.25rem 5rem;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #ffffff;
    text-align: center;

    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(37, 99, 235, 0.18),
            transparent 38%
        ),
        radial-gradient(
            circle at 82% 28%,
            rgba(30, 64, 175, 0.16),
            transparent 42%
        ),
        radial-gradient(
            circle at 50% 85%,
            rgba(15, 23, 42, 0.42),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #020617 0%,
            #071426 48%,
            #0b1f3a 100%
        );
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(2, 6, 23, 0.14),
            rgba(2, 6, 23, 0.58)
        );
}

.hero::after {
    content: "";
    position: absolute;
    top: -200px;
    left: 50%;
    width: 760px;
    height: 760px;
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;

    background: rgba(30, 64, 175, 0.10);
    filter: blur(120px);
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    max-width: 820px;
    margin: 0 0 1.25rem;

    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.38),
        0 2px 10px rgba(0, 0, 0, 0.24);
}

.hero h1 span {
    display: inline-block;

    color: #bfdbfe;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #bfdbfe 48%,
        #60a5fa 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 650px;
    margin: 0 0 2rem;

    color: rgba(219, 234, 254, 0.82);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    min-width: 190px;
    min-height: 54px;
    padding: 0.95rem 2.2rem;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 14px;

    color: #ffffff;
    background: linear-gradient(
        135deg,
        #1d4ed8 0%,
        #2563eb 55%,
        #3b82f6 100%
    );

    box-shadow:
        0 16px 36px rgba(2, 6, 23, 0.50),
        0 8px 24px rgba(37, 99, 235, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-4px);

    border-color: rgba(147, 197, 253, 0.56);

    background: linear-gradient(
        135deg,
        #1e40af 0%,
        #2563eb 55%,
        #60a5fa 100%
    );

    box-shadow:
        0 22px 46px rgba(2, 6, 23, 0.58),
        0 10px 30px rgba(37, 99, 235, 0.30),
        0 0 0 5px rgba(59, 130, 246, 0.08);
}

.cta-btn:active {
    transform: translateY(-1px);
}

.cta-btn:focus-visible {
    outline: 3px solid rgba(147, 197, 253, 0.75);
    outline-offset: 4px;
}

.stats {
    width: 100%;
    margin-top: 2.75rem;

    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats div {
    min-width: 150px;
    padding: 1rem 1.5rem;

    border: 1px solid rgba(147, 197, 253, 0.15);
    border-radius: 16px;

    color: rgba(219, 234, 254, 0.78);
    background: rgba(2, 6, 23, 0.42);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 28px rgba(0, 0, 0, 0.22);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-size: 0.9rem;
    text-align: center;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.stats div:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.30);
    background: rgba(15, 23, 42, 0.66);
}

.stats strong {
    display: block;
    margin-bottom: 0.2rem;

    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .hero {
        min-height: 650px;
        padding-top: 6rem;
        padding-bottom: 4.5rem;
    }

    .hero-content {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 5rem 1rem 4rem;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 10vw, 3rem);
        letter-spacing: -0.035em;
    }

    .hero p {
        max-width: 520px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-btns {
        width: 100%;
    }

    .cta-btn {
        width: 100%;
        max-width: 320px;
    }

    .stats {
        max-width: 420px;
        gap: 0.75rem;
    }

    .stats div {
        flex: 1 1 140px;
        min-width: 135px;
    }
}

@media (max-width: 420px) {
    .hero {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
    }

    .stats div {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-btn,
    .stats div {
        transition: none;
    }

    .cta-btn:hover,
    .stats div:hover {
        transform: none;
    }
}