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

.hero {
    padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-md);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(27, 58, 107, 0.03) 0%, transparent 50%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
}

.hero__title {
    margin-bottom: var(--space-xs);
    animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero__video-wrapper {
    max-width: 500px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero__video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Hero Visual & Video Card */
.hero__visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.6s backwards;
    z-index: 2;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    position: relative;
    padding: var(--space-xxs);
}

.video-card__container {
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    position: relative;
    background: var(--secondary);
    border-radius: calc(var(--radius-lg) - 4px);
    overflow: hidden;
}

.video-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card__placeholder:hover .video-card__thumb {
    transform: scale(1.05);
}

.video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.video-card__play:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card__badge {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    z-index: 3;
}

.video-card__badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--danger);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(214, 48, 49, 0.2);
}

/* Background Blobs */
.hero__bg-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (min-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero {
        min-height: 80vh;
        display: flex;
        align-items: center;
    }
}