
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 70vh;
    background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}

.hero__logo-image {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(0, 230, 118, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 45px rgba(0, 230, 118, 0.6), 0 4px 30px rgba(0, 0, 0, 0.4);
    }
}

@media (min-width: 768px) {
    .hero__content {
        padding-inline: var(--space-10);
        max-width: 860px;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
}

.hero__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../../public/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    mix-blend-mode: screen;
    filter: contrast(1.1) brightness(0.9);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 20, 0.4) 0%, var(--color-bg) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero__overlay-structure {
    position: absolute;
    top: -5%;
    left: -8%;
    width: 42%;
    max-width: 520px;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 30%, transparent 75%);
    animation: float-structure 30s ease-in-out infinite;
}

@keyframes float-structure {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(5px, -8px) rotate(1deg); }
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-6);
    padding-block: var(--space-20);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-6);
    width: 100%;
}

@media (max-width: 768px) {
    .hero__bg-image {
        background-size: 200% auto;
        background-position: 85% top;
        opacity: 0.2;
    }

    .hero__overlay-structure {
        top: -5%;
        left: -15%;
        width: 60%;
        max-width: none;
        opacity: 0.08;
    }

    .hero__content {
        padding-inline: var(--space-5);
        padding-block: var(--space-12);
        align-items: center;
        text-align: center;
    }

    .hero__subtitle {
        margin-inline: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
        margin-inline: auto;
    }

    .hero__scroll-hint {
        display: none;
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero__title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--color-text);
}

.hero__title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(var(--text-base), 2.2vw, var(--text-xl));
    color: var(--color-text-muted);
    line-height: var(--leading-normal);
    max-width: 54ch;
    margin-inline: auto;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero__actions .btn {
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-base);
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
    width: 100%;
    max-width: 520px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hero__stat-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hero__stat-label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: var(--color-border);
    flex-shrink: 0;
}

.hero__scroll-hint {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    z-index: 2;
    animation: float-hint 2.5s ease-in-out infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-faint), transparent);
}

@keyframes float-hint {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(-50%) translateY(6px);
        opacity: 0.9;
    }
}

@media (max-width: 767px) {
    .hero__structure {
        zoom: 0.65;
    }

    .hero__chains {
        opacity: 0.5;
    }

    .hero__content {
        padding-inline: var(--space-5);
        padding-block: var(--space-12);
        align-items: center;
        text-align: center;
    }

    .hero__subtitle {
        margin-inline: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
        margin-inline: auto;
    }

    .hero__scroll-hint {
        display: none;
    }
}