/* hero-banner.css - Estilos optimizados para el nuevo banner */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Elementos de fondo */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 177, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 177, 235, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    transform: perspective(1000px) rotateX(60deg) scale(2.5);
    transform-origin: center top;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: linear-gradient(135deg, rgba(0, 177, 235, 0.15) 0%, rgba(0, 35, 94, 0.05) 100%);
    animation: float-slow 15s ease-in-out infinite alternate;
}

.shape-2 {
    bottom: -15%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, rgba(0, 35, 94, 0.05) 0%, rgba(0, 177, 235, 0.1) 100%);
    animation: float-slow 20s ease-in-out infinite alternate-reverse;
}

/* Contenido principal */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Texto principal */
.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 177, 235, 0.1);
    color: #00B1EB;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #002C6B;
    font-weight: 700;
}

.hero-description {
    font-size: 1.25rem;
    color: #4B5563;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #00B1EB;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 177, 235, 0.3);
}

.btn-primary:hover {
    background: #0095c8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 177, 235, 0.4);
}

.btn-primary i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #00B1EB;
    color: #00B1EB;
}

.btn-secondary:hover {
    background: rgba(0, 177, 235, 0.1);
    transform: translateY(-3px);
}

/* Stats en el hero */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00B1EB;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: #4B5563;
    margin-top: 5px;
}

/* Elementos visuales */
.hero-visual {
    position: relative;
    height: 100%;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
}

.main-cube {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(30deg) rotateY(45deg);
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: rotate-slow 20s linear infinite;
}

.floating-cube {
    position: absolute;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
}

.cube-1 {
    top: 100px;
    left: 80px;
    animation: float-cube 8s ease-in-out infinite;
}

.cube-2 {
    top: 300px;
    left: 60px;
    animation: float-cube 10s ease-in-out infinite 1s;
}

.cube-3 {
    top: 200px;
    right: 80px;
    animation: float-cube 7s ease-in-out infinite 0.5s;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: visible;
    border: 2px solid rgba(0, 177, 235, 0.1);
}

.main-cube .cube-face {
    background: rgba(0, 177, 235, 0.05);
}

.main-cube .cube-face.top {
    background: rgba(0, 177, 235, 0.1);
}

.floating-cube .cube-face {
    background: rgba(0, 177, 235, 0.03);
}

.cube-face.front {
    transform: translateZ(calc(var(--size) / 2));
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(calc(var(--size) / 2));
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(calc(var(--size) / 2));
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(calc(var(--size) / 2));
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(calc(var(--size) / 2));
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(calc(var(--size) / 2));
}

.main-cube .cube-face.front {
    transform: translateZ(100px);
}

.main-cube .cube-face.back {
    transform: rotateY(180deg) translateZ(100px);
}

.main-cube .cube-face.right {
    transform: rotateY(90deg) translateZ(100px);
}

.main-cube .cube-face.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.main-cube .cube-face.top {
    transform: rotateX(90deg) translateZ(100px);
}

.main-cube .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

.floating-cube .cube-face.front {
    transform: translateZ(40px);
}

.floating-cube .cube-face.back {
    transform: rotateY(180deg) translateZ(40px);
}

.floating-cube .cube-face.right {
    transform: rotateY(90deg) translateZ(40px);
}

.floating-cube .cube-face.left {
    transform: rotateY(-90deg) translateZ(40px);
}

.floating-cube .cube-face.top {
    transform: rotateX(90deg) translateZ(40px);
}

.floating-cube .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(40px);
}

.cube-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(0, 177, 235, 0.2) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Puntos flotantes decorativos */
.floating-dots {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, #00B1EB 1px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.3;
}

.dot-pattern-1 {
    top: 50px;
    right: 0;
    animation: float-dots 15s linear infinite;
}

.dot-pattern-2 {
    bottom: 80px;
    left: 30px;
    animation: float-dots 20s linear infinite reverse;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0.8;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #00B1EB;
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #00B1EB;
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 12px;
    color: #4B5563;
    font-weight: 500;
}

/* Animaciones */
@keyframes rotate-slow {
    from {
        transform: translate(-50%, -50%) rotateX(30deg) rotateY(45deg);
    }
    to {
        transform: translate(-50%, -50%) rotateX(30deg) rotateY(405deg);
    }
}

@keyframes float-cube {
    0%, 100% {
        transform: translateY(0) rotateX(30deg) rotateY(45deg);
    }
    50% {
        transform: translateY(-20px) rotateX(30deg) rotateY(45deg);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(5%, 5%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes float-dots {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-visual {
        transform: scale(0.9);
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .visual-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .visual-container {
        height: 300px;
        transform: scale(0.8);
    }
    
    .scroll-indicator {
        display: none;
    }
}