.hero {
    position: relative;
    overflow: hidden;
    background: var(--color-primary-dark);
    height: calc(100vh - var(--header-height) - var(--topbar-height));
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    opacity: 0.25;
    z-index: 1;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    pointer-events: none;
    z-index: 2;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--color-accent-light) 0%, rgba(0, 229, 255, 0) 70%);
    top: -150px;
    right: -110px;
}

.hero::after {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--color-hero-blob-dark) 0%, rgba(0, 34, 74, 0) 70%);
    bottom: -170px;
    left: -90px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 26px;
    animation: fadeInUp 0.7s ease both;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.92;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 55px;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.3;
}

.hero-stat span {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark-muted);
    line-height: 1.4;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 0;
        padding: 48px 0;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 26px;
    }

    .hero-buttons {
        align-items: stretch;
        margin-bottom: 36px;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
        padding: 6px 8px;
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat strong {
        font-size: 15px;
    }

    .hero-stat span {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .hero-buttons {
        margin-bottom: 28px;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline {
        padding: 6px 8px;
        font-size: 12px;
    }

    .hero-stats {
        row-gap: 18px;
        column-gap: 16px;
    }

    .hero-stat {
        flex: 0 0 calc(50% - 8px);
    }

    .hero-stat strong {
        font-size: 13px;
    }

    .hero-stat span {
        font-size: 11px;
    }
}
