/* Hero Section Styles */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: var(--z-background-video);
    transform: scale(1.15);
    transform-origin: center center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 26, 0.1),
        rgba(15, 15, 26, 0.4)
    );
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: var(--z-glass-ui);
    text-align: left;
    padding-left: 8%;
    padding-top: 15vh;
}

.hero-title-card {
    max-width: 700px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.hero-title-line1 {
    font-size: var(--text-5xl);
    display: block;
    background: linear-gradient(135deg, #00d4ff 0%, #3399ff 50%, #7b68ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5))
            drop-shadow(0 0 40px rgba(51, 153, 255, 0.3));
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5))
                drop-shadow(0 0 40px rgba(51, 153, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.7))
                drop-shadow(0 0 60px rgba(51, 153, 255, 0.5));
    }
}

.hero-title-line2 {
    font-size: var(--text-base);
    font-weight: 400;
    letter-spacing: var(--tracking-wide);
    color: rgba(255, 255, 255, 0.9);
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-tagline {
    font-size: var(--text-xl);
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5),
                 0 0 15px rgba(51, 153, 255, 0.3);
}

/* Logo Overlay - Top Left */
.hero-logo {
    position: absolute;
    top: var(--spacing-xl);
    left: var(--spacing-xl);
    width: 120px;
    height: auto;
    z-index: 100;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    transition: transform var(--duration-medium) var(--ease-float);
}

.hero-logo:hover {
    transform: scale(1.05);
}

.data-cubes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-3d-assets);
}

.data-cube {
    position: absolute;
    width: 120px;
    height: auto;
    opacity: 0.8;
}

.data-cube:nth-child(1) { top: 20%; left: 10%; }
.data-cube:nth-child(2) { top: 40%; right: 15%; }
.data-cube:nth-child(3) { top: 60%; left: 20%; }
.data-cube:nth-child(4) { top: 30%; left: 50%; }
.data-cube:nth-child(5) { bottom: 30%; right: 25%; }
.data-cube:nth-child(6) { bottom: 40%; left: 30%; }

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        min-height: 100vh;
        object-fit: cover;
        object-position: center center;
    }

    .video-overlay {
        background: linear-gradient(
            to bottom,
            rgba(15, 15, 26, 0.2),
            rgba(15, 15, 26, 0.5)
        );
    }

    .hero-content {
        position: relative;
        padding: 0 var(--spacing-lg);
        padding-left: var(--spacing-lg);
        padding-top: 10vh;
        text-align: center;
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-title-line1 {
        font-size: var(--text-3xl);
    }

    .hero-title-line2 {
        font-size: var(--text-sm);
    }

    .hero-tagline {
        font-size: var(--text-base);
        padding: 0;
    }

    .hero-title-card {
        padding: 0;
        max-width: 100%;
    }

    .hero-logo {
        width: 80px;
        top: var(--spacing-md);
        left: var(--spacing-md);
    }

    .data-cube {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title-line1 {
        font-size: var(--text-2xl);
    }

    .hero-title-line2 {
        font-size: var(--text-xs);
        letter-spacing: var(--tracking-normal);
    }
}
