/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    display: grid;
    min-height: 100svh;
    place-items: center;

    padding: 150px 24px 100px;

    overflow: hidden;

    isolation: isolate;

    background:
        linear-gradient(
            180deg,
            #070707 0%,
            #0a0909 50%,
            #080808 100%
        );
}

.hero__background,
.hero__grid,
.hero__noise {
    position: absolute;
    inset: 0;
}

.hero__background {
    z-index: -2;
    overflow: hidden;
}

/* Perspektivikus digitális grid */

.hero__grid {
    top: 38%;
    left: -25%;

    width: 150%;
    height: 100%;

    opacity: 0.19;

    background-image:
        linear-gradient(
            rgba(255, 132, 53, 0.24) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 91, 53, 0.22) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.8) 35%,
            #000 100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.8) 35%,
            #000 100%
        );

    transform:
        perspective(560px)
        rotateX(63deg)
        scale(1.2);

    transform-origin: center top;

    animation: heroGridMove 10s linear infinite;
}

.hero__glow {
    position: absolute;

    width: 760px;
    aspect-ratio: 1;

    border-radius: 50%;

    filter: blur(150px);

    opacity: 0.3;

    will-change: transform;
}

.hero__glow--red {
    top: -390px;
    left: -260px;

    background: rgba(255, 38, 38, 0.88);

    animation: glowFloatRed 16s ease-in-out infinite alternate;
}

.hero__glow--orange {
    right: -330px;
    bottom: -400px;

    background: rgba(255, 112, 0, 0.8);

    animation: glowFloatOrange 19s ease-in-out infinite alternate;
}

.hero__noise {
    pointer-events: none;

    opacity: 0.035;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.hero__content {
    position: relative;

    display: flex;
    align-items: center;
    flex-direction: column;

    max-width: 1040px;

    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;
    padding: 10px 15px;

    color: rgba(255, 255, 255, 0.72);

    font-size: clamp(0.67rem, 1.3vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero__eyebrow-dot {
    width: 7px;
    height: 7px;

    background: var(--orange);

    border-radius: 50%;

    box-shadow:
        0 0 14px rgba(255, 123, 0, 0.9);
}

.hero__title {
    margin: 0;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(5rem, 15vw, 11.5rem);
    font-weight: 700;
    line-height: 0.72;
    letter-spacing: -0.085em;

    text-transform: uppercase;
}

.hero__title-line {
    display: block;

    color: #ffffff;

    text-shadow:
        0 18px 60px rgba(0, 0, 0, 0.4);
}

.hero__title-line--gradient {
    padding-right: 0.07em;
    padding-bottom: 0.12em;

    color: transparent;

    background:
        linear-gradient(
            100deg,
            #ff3838 4%,
            #ff6823 46%,
            #ff9d22 96%
        );

    background-clip: text;
    -webkit-background-clip: text;

    filter:
        drop-shadow(0 20px 45px rgba(255, 85, 20, 0.2));
}

.hero__lead {
    max-width: 820px;
    margin-top: 42px;

    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.55rem, 3.2vw, 2.7rem);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.045em;
}

.hero__description {
    max-width: 680px;
    margin-top: 22px;

    color: rgba(255, 255, 255, 0.58);

    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 38px;
}

.hero__pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 42px;
}

.hero__pills span {
    padding: 9px 13px;

    color: rgba(255, 255, 255, 0.54);

    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 999px;
}

.hero__scroll {
    position: absolute;
    bottom: 25px;
    left: 50%;

    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;

    color: rgba(255, 255, 255, 0.4);

    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    transform: translateX(-50%);
}

.hero__scroll-mouse {
    position: relative;

    width: 24px;
    height: 37px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.hero__scroll-mouse span {
    position: absolute;
    top: 8px;
    left: 50%;

    width: 3px;
    height: 7px;

    background: var(--orange);

    border-radius: 999px;

    transform: translateX(-50%);

    animation: scrollDot 1.8s ease-in-out infinite;
}