/* hero.css */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--primary-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-blue) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    transform: perspective(1000px) rotateX(60deg) scale(2.5);
    transform-origin: center center;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary-navy);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
}

/* Cube Grid Animation */
.cube-grid {
    position: relative;
    width: 100%;
    height: 400px;
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateZ(45deg);
    animation: float 6s ease-in-out infinite;
}

.cube {
    position: absolute;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(30px);
    background: var(--secondary-blue);
}

.cube-face.front {
    transform: translateZ(30px);
    background: var(--primary-blue);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(30px);
    background: #0081AB;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: rotateX(45deg) rotateZ(45deg) translateY(0);
    }
    50% {
        transform: rotateX(45deg) rotateZ(45deg) translateY(-20px);
    }
}

/* Mouse Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-navy);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid currentColor;
    border-radius: 15px;
    margin-bottom: var(--spacing-xs);
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .cube-grid {
        transform: scale(0.8) rotateX(45deg) rotateZ(45deg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .cube-grid {
        transform: scale(0.6) rotateX(45deg) rotateZ(45deg);
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-scroll {
        display: none;
    }
}