* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(ellipse at center, #1a1f2e 0%, #0a0f1c 70%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Sistema de estrellas */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stars-small {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(79, 172, 254, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(79, 172, 254, 0.5), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(79, 172, 254, 0.7), transparent),
        radial-gradient(1px 1px at 200px 60px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 240px 90px, rgba(79, 172, 254, 0.4), transparent),
        radial-gradient(2px 2px at 280px 20px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 320px 70px, rgba(79, 172, 254, 0.5), transparent),
        radial-gradient(1px 1px at 360px 40px, rgba(255, 255, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 400px 100px;
    animation: starsMove 20s linear infinite;
}



.stars-large {
    background-image: 
        radial-gradient(4px 4px at 100px 60px, rgba(79, 172, 254, 1), transparent),
        radial-gradient(3px 3px at 300px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(4px 4px at 500px 90px, rgba(79, 172, 254, 0.7), transparent),
        radial-gradient(3px 3px at 700px 50px, rgba(255, 255, 255, 0.6), transparent);
    background-repeat: repeat;
    background-size: 800px 150px;
    animation: starsMove 50s linear infinite;
}

@keyframes starsMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100px);
    }
}

/* Estrellas parpadeantes */
.stars-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 60px 20px, rgba(79, 172, 254, 0.8), transparent),
        radial-gradient(1px 1px at 180px 60px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 300px 40px, rgba(79, 172, 254, 0.5), transparent);
    background-repeat: repeat;
    background-size: 400px 100px;
    animation: starsTwinkle 3s ease-in-out infinite alternate;
}

.stars-medium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 120px 80px, rgba(79, 172, 254, 0.9), transparent),
        radial-gradient(2px 2px at 380px 30px, rgba(255, 255, 255, 0.7), transparent);
    background-repeat: repeat;
    background-size: 500px 120px;
    animation: starsTwinkle 4s ease-in-out infinite alternate;
}

@keyframes starsTwinkle {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* Header completamente transparente y simple */
header {
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    background: transparent;
}

header.header-hidden {
    transform: translateY(-100%);
}

header.scrolled {
    background: transparent;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 80px;
    height: 64px;
    background-color: rgba(9, 38, 104, 0.15);
    border-radius: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo simple */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    width: auto; /* Ancho automático para mantener proporción */
    height: 35px; /* Altura más reducida del logo */
    object-fit: contain;
}

/* Navegación completamente simple */
.nav-menu {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

/* ELIMINACIÓN TOTAL DE EFECTOS EN NAVEGACIÓN */
.nav-link,
.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.nav-link:visited,
.nav-link:link,
.nav-link::before,
.nav-link::after,
.nav-link:hover::before,
.nav-link:hover::after,
.nav-link:focus::before,
.nav-link:focus::after,
.nav-link:active::before,
.nav-link:active::after {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    transition: none !important;
    animation: none !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 !important;
    margin: 0 !important;
    content: '' !important; /* Para asegurar que los pseudo-elementos no tengan contenido por defecto que pueda ser estilizado */
    display: inline !important; /* O 'none' si queremos ocultarlos completamente */
    position: static !important; /* Evitar que se posicionen de forma extraña */
}

/* Para móviles también */
.nav-menu .nav-link,
.nav-menu .nav-link:hover,
.nav-menu .nav-link:focus,
.nav-menu .nav-link:active,
.nav-menu .nav-link:visited,
.nav-menu .nav-link:link,
.nav-menu .nav-link::before,
.nav-menu .nav-link::after,
.nav-menu .nav-link:hover::before,
.nav-menu .nav-link:hover::after,
.nav-menu .nav-link:focus::before,
.nav-menu .nav-link:focus::after,
.nav-menu .nav-link:active::before,
.nav-menu .nav-link:active::after {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    transition: none !important;
    animation: none !important;
    display: block !important; /* Para los enlaces del menú móvil que son bloques */
    padding: 20px 0 !important;
    font-size: 1.1em !important;
    font-weight: 400 !important;
    content: '' !important;
    position: static !important;
}

.nav-link.active {
    color: #ffffff !important;
}

/* Botón CTA completamente simple */
.cta-button {
    display: flex;
    align-items: center;
}

.signup-btn {
    background: #4facfe;
    color: white;
    padding: 6px 18px; /* Padding vertical más reducido */
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    border: none;
    outline: none;
    box-shadow: none;
    transition: none;
    transform: none;
}

.signup-btn:hover,
.signup-btn:focus,
.signup-btn:active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Menú hamburguesa moderno */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Ocultar botón móvil en desktop */
.mobile-signup {
    display: none;
}

/* Hero Section mejorado */
.hero {
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('img/fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed !important; /* Esto mantiene el fondo estático al hacer scroll */
    z-index: 0; /* Asegura que esté en la capa correcta */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 28, 0.7);
    z-index: 1;
}

.hero-background-video {
    position: fixed !important;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    opacity: 0.15;
    mix-blend-mode: overlay;
    transform: translate(-50%, -50%) !important; /* Posición fija centrada */
    will-change: transform; /* Mejora el rendimiento */
}

/* Efectos de luz */
.light-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.light-beam {
    position: absolute;
    background: linear-gradient(45deg, transparent, rgba(79, 172, 254, 0.1), transparent);
    animation: lightSweep 8s infinite linear;
}

.light-1 {
    width: 2px;
    height: 100%;
    left: 20%;
    animation-delay: 0s;
}

.light-2 {
    width: 1px;
    height: 100%;
    left: 60%;
    animation-delay: 3s;
}

.light-3 {
    width: 3px;
    height: 100%;
    left: 80%;
    animation-delay: 6s;
}

@keyframes lightSweep {
    0% { transform: translateX(-100px) scaleY(0); opacity: 0; }
    50% { transform: translateX(0) scaleY(1); opacity: 1; }
    100% { transform: translateX(100px) scaleY(0); opacity: 0; }
}

/* Formas 3D mejoradas */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.shape-3d {
    position: absolute;
    border-radius: 50%;
    animation: advancedFloat 12s ease-in-out infinite;
    filter: blur(0.5px);
}

.shape-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: innerRotate 8s linear infinite;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #ff8e8e, transparent 70%);
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 30% 30%, #4ecdc4, #44a08d, transparent 70%);
    bottom: 25%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #a8edea, #fed6e3, transparent 70%);
    top: 55%;
    right: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #ffecd2, #fcb69f, transparent 70%);
    top: 25%;
    left: 15%;
    animation-delay: 1s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at 30% 30%, #667eea, #764ba2, transparent 70%);
    bottom: 40%;
    right: 35%;
    animation-delay: 5s;
}

@keyframes advancedFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg); 
    }
    25% { 
        transform: translateY(-30px) translateX(20px) scale(1.1) rotate(90deg); 
    }
    50% { 
        transform: translateY(-10px) translateX(-15px) scale(0.9) rotate(180deg); 
    }
    75% { 
        transform: translateY(20px) translateX(10px) scale(1.05) rotate(270deg); 
    }
}

@keyframes innerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content-container {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté por encima del fondo y el overlay */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    max-width: 800px;
    text-align: left;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.tag-text {
    color: #b0b0b0;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.tag-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot.green { 
    background: #4ecdc4; 
    animation-delay: 0s;
}
.dot.yellow { 
    background: #ffd93d; 
    animation-delay: 0.3s;
}
.dot.red { 
    background: #ff6b6b; 
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.hero-title {
    font-size: 5em;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

.title-line:first-child {
    animation-delay: 0.8s;
}

.highlight-line {
    animation-delay: 1.2s;
}

.highlight {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation: underlineGrow 1s ease-out 1.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes underlineGrow {
    to {
        transform: scaleX(1);
    }
}

.hero-description {
    font-size: 1.2em;
    line-height: 1.7;
    color: #b0b0b0;
    margin-bottom: 0;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.8s forwards;
}

.btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.3);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 30px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover .btn-glow {
    opacity: 0.7;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.5);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.play-icon {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.play-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-icon span {
    position: relative;
    z-index: 1;
}

.btn-secondary:hover .play-icon {
    border-color: #4facfe;
    transform: scale(1.1);
}

.btn-secondary:hover .play-icon::before {
    opacity: 1;
}

/* Personaje VR súper mejorado */
.vr-character {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.character-container {
    position: relative;
    width: 350px;
    height: 350px;
    animation: characterFloat 6s ease-in-out infinite;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.vr-headset {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 120px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    border-radius: 20px;
    border: 3px solid #4facfe;
    box-shadow: 
        0 0 40px rgba(79, 172, 254, 0.6),
        inset 0 0 20px rgba(79, 172, 254, 0.2);
    z-index: 3;
    position: relative;
}

.headset-strap {
    position: absolute;
    top: 20%;
    left: -15px;
    right: -15px;
    height: 60%;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 30px;
    z-index: -1;
}

.lens {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, #4facfe 0%, #00f2fe 50%, #2c3e50 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(79, 172, 254, 0.8),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: lensGlow 3s ease-in-out infinite alternate;
}

.lens-left { left: 25%; }
.lens-right { right: 25%; }

@keyframes lensGlow {
    0% { 
        box-shadow: 
            0 0 20px rgba(79, 172, 254, 0.8),
            inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% { 
        box-shadow: 
            0 0 40px rgba(79, 172, 254, 1),
            inset 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

.headset-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
}

.detail {
    width: 8px;
    height: 8px;
    background: #4facfe;
    border-radius: 50%;
    animation: detailBlink 2s ease-in-out infinite;
}

.detail-1 { animation-delay: 0s; }
.detail-2 { animation-delay: 0.5s; }
.detail-3 { animation-delay: 1s; }

@keyframes detailBlink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.character-face {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 100px;
    background: linear-gradient(135deg, #fdbcb4 0%, #f4a6a6 50%, #e8989b 100%);
    border-radius: 70px 70px 40px 40px;
    z-index: 2;
    position: relative;
}

.face-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(ellipse, rgba(79, 172, 254, 0.3) 0%, transparent 70%);
    border-radius: 80px 80px 50px 50px;
    z-index: -1;
    animation: faceGlow 4s ease-in-out infinite alternate;
}

@keyframes faceGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.character-hair {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 80px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    border-radius: 80px 80px 20px 20px;
    z-index: 1;
}

.character-neck {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #fdbcb4 0%, #f4a6a6 100%);
    border-radius: 30px 30px 0 0;
    z-index: 1;
}

/* Efectos alrededor del personaje */
.character-effects {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    border: 2px solid rgba(79, 172, 254, 0.3);
    border-radius: 50%;
    animation: orbitRotate 20s linear infinite;
}

.ring-1 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: normal;
}

.ring-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: reverse;
    animation-duration: 15s;
}

@keyframes orbitRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.icon {
    position: absolute;
    font-size: 1.5em;
    animation: iconFloat 8s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.icon-2 {
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 4s;
}

.icon-4 {
    bottom: 20%;
    right: 25%;
    animation-delay: 6s;
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

/* Estilos para la sección Cómo Funciona */
.how-it-works {
    padding: 120px 0;
    background-color: #0f1322; /* Un fondo ligeramente diferente para destacar la sección */
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-it-works-header h2 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.how-it-works-header p {
    font-size: 1.2em;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
}

.how-it-works-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.how-it-works-image {
    flex: 1;
    text-align: center; /* Centrar la imagen si es más pequeña que el contenedor */
}

.how-it-works-image img {
    max-width: 100%;
    height: auto;
    /* Se eliminan border-radius y box-shadow para que no parezca contenida */
}

.how-it-works-text {
    flex: 1;
}

.how-it-works-text h3 {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.3;
}

.how-it-works-text p {
    font-size: 1.1em;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Reutilizamos el estilo del botón .btn-primary, pero podríamos crear uno específico si es necesario */
.how-it-works-text .btn-primary {
    padding: 15px 30px;
    font-size: 1em;
}

/* Footer mejorado */
.footer {
    background: rgba(8, 12, 20, 0.95);
    color: #ffffff;
    padding: 60px 0 30px 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before { /* Eliminar si existía un borde superior con gradiente */
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Layout responsive de 3 columnas */
    gap: 40px; /* Espacio entre columnas */
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1em; /* Tamaño de la referencia */
    font-weight: 600; /* Ligeramente bold */
    margin-bottom: 25px;
    position: relative;
}

.footer-section h4::after { /* Línea debajo del título, como en la referencia */
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #44d6f0; /* Color celeste del botón de newsletter */
}

.footer-logo {
    margin-bottom: 20px; /* Mover los estilos de alineación a .footer-section.about-section si es necesario */
}

.footer-logo-image {
    width: 100px; 
    height: 100px; 
    object-fit: contain;
    /* Quitar filter drop-shadow si no está en la referencia */
}

.footer-logo .logo-text {
    color: #fff; /* Texto blanco simple */
    font-size: 1.6em; /* Ajustar tamaño si es necesario */
    /* Quitar background-clip: text si no se usa */
}

.footer-description {
    color: #a0a0a0; /* Gris claro para la descripción */
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials .social-link {
    width: 35px; /* Iconos sociales más pequeños y simples */
    height: 35px;
    background: transparent; /* Sin fondo */
    border: 1px solid #555; /* Borde gris sutil */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1em;
    color: #a0a0a0; /* Iconos grises */
    transition: all 0.3s ease;
}

.footer-socials .social-link:hover {
    border-color: #44d6f0; /* Borde celeste al hover */
    color: #44d6f0; /* Icono celeste al hover */
    transform: translateY(-2px);
    /* Quitar background y box-shadow */
}

.footer-links { /* Estilo para Enlaces Rápidos y Legales */
    list-style: none;
    padding: 0; margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0; /* Texto gris para enlaces */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95em;
    /* Quitar padding-left y ::before si no se usa el estilo de punto */
}

.footer-links a::before { /* Eliminar el punto decorativo */
    display: none;
}

.footer-links a:hover {
    color: #44d6f0; /* Color celeste al hover */
    padding-left: 0; /* Asegurar que no haya padding extra */
}

.footer-contact-info {
    list-style: none;
    padding: 0; margin: 0;
}

.footer-contact-info li {
    color: #a0a0a0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.footer-contact-info li i {
    color: #44d6f0; /* Iconos de contacto celestes */
    margin-right: 10px;
    font-size: 1.1em; /* Tamaño del icono */
    width: 20px; /* Para alinear texto */
    text-align: left;
}

.footer-contact-info li a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info li a:hover {
    color: #44d6f0;
}

.footer-legal-links { /* Hereda estilos de .footer-links, pero puede tener ajustes */
    list-style: none;
    padding: 0; margin: 0;
    margin-top: 20px; /* Espacio sobre los enlaces legales */
}
.footer-legal-links li {
    margin-bottom: 10px;
}
.footer-legal-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9em; /* Ligeramente más pequeños */
    transition: color 0.3s ease;
}
.footer-legal-links a:hover {
    color: #44d6f0;
}


.footer-bottom {
    text-align: center; /* Centrar el copyright */
    padding-top: 30px;
    border-top: 1px solid #333; /* Línea divisoria gris sutil */
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #888; /* Color de copyright más sutil */
    margin: 0;
    font-size: 0.9em;
}

.primordial-logo {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.primordial-logo:hover {
    opacity: 1;
}

.footer-bottom-links { /* Eliminar si ya no se usa */
    display: none;
}

/* Ajustes responsive para el nuevo footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Apilar columnas en móviles */
        text-align: center; /* Centrar texto de secciones */
    }
    .footer-section h4::after {
        left: 50%; /* Centrar línea bajo título */
        transform: translateX(-50%);
    }
    .footer-socials {
        justify-content: center; /* Centrar iconos sociales */
    }
    .footer-contact-info li {
        justify-content: center; /* Centrar items de contacto */
    }
    .footer-contact-info li i {
        text-align: center; /* Asegurar que el icono se centre */
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .primordial-logo {
        height: 20px;
    }
}

/* Grid overlay mejorado */
#grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.02;
}

/* Responsive mejorado */
@media (max-width: 768px) {
    /* Header responsive mejorado */
    header {
        padding: 12px 0;
    }
    
    header .container {
        padding: 8px 20px;
        height: 56px;
        border-radius: 28px;
        max-width: calc(100% - 24px);
        margin: 0 12px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menú móvil mejorado */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: linear-gradient(135deg, rgba(10, 15, 28, 0.98), rgba(26, 31, 46, 0.98));
        backdrop-filter: blur(20px);
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1001;
        padding: 80px 0 20px 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Botón de registro arriba del todo */
    .mobile-signup {
        display: block !important;
        margin: 0 20px 20px 20px;
        padding: 14px 26px;
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        color: white;
        text-decoration: none;
        border-radius: 12px;
        text-align: center;
        font-weight: 600;
        font-size: 1em;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
        transform: translateY(-20px);
        opacity: 0;
        order: 1;
    }
    
    .nav-menu.active .mobile-signup {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.1s;
    }
    
    .mobile-signup:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4) !important;
    }
    
    /* Enlaces de navegación en el centro */
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 10px 20px;
        flex: 1;
        display: flex;
        justify-content: center;
        order: 2;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateX(50px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.4s; }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu .nav-link {
        display: block !important;
        padding: 14px 0 !important;
        font-size: 1.1em !important;
        font-weight: 500 !important;
        color: #fff !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .nav-menu .nav-link:hover {
        color: #4facfe !important;
        padding-left: 10px !important;
    }
    
    .nav-menu .nav-link::before {
        content: '' !important;
        position: absolute !important;
        left: -100% !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.1), transparent) !important;
        transition: left 0.4s ease !important;
    }
    
    .nav-menu .nav-link:hover::before {
        left: 100% !important;
    }
    
    /* Selector de idiomas abajo del todo */
    .language-selector {
        margin: 10px 20px 0 20px;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease;
        order: 3;
    }
    
    .nav-menu.active .language-selector {
        transform: translateY(0);
        opacity: 1;
        transition-delay: 0.5s;
    }
    
    .language-toggle {
        padding: 12px 18px;
        font-size: 16px;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
    
    .language-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
}

/* Responsive para móviles muy pequeños */
@media (max-width: 480px) {
    header .container {
        padding: 6px 16px;
        height: 52px;
        border-radius: 26px;
        margin: 0 8px;
        max-width: calc(100% - 16px);
    }
    
    .logo-image {
        width: 36px;
        height: 36px;
    }
    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    
    .nav-menu {
        width: min(280px, 90vw);
        padding-top: 70px;
    }
    
    .nav-menu ul {
        margin: 0 16px;
        padding: 16px 0;
    }
    
    .nav-menu .nav-link {
        padding: 16px 0 !important;
        font-size: 1em !important;
    }
    
    .mobile-signup {
        margin: 24px 16px 16px 16px;
        padding: 14px 24px;
        font-size: 0.95em;
    }
    
    .language-selector {
        margin: 16px;
    }
    
    .language-toggle {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
}

/* Responsive para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    header .container {
        padding: 0 25px;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    nav ul {
        gap: 25px;
    }
    
    .nav-link,
    .nav-link:hover,
    .nav-link:focus,
    .nav-link:active,
    .nav-link:visited,
    .nav-link:link,
    .nav-link::before,
    .nav-link::after,
    .nav-link:hover::before,
    .nav-link:hover::after,
    .nav-link:focus::before,
    .nav-link:focus::after,
    .nav-link:active::before,
    .nav-link:active::after {
        font-size: 0.9em !important; 
        padding: 8px 0 !important; 
        /* Heredan el resto de !important de la regla general .nav-link */
        color: #ffffff !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        transform: none !important;
        text-decoration: none !important;
        transition: none !important;
        animation: none !important;
        content: '' !important; 
        display: inline !important; 
        position: static !important;
    }
    
    .signup-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Estilos para la Sección Productos */
.products-section {
    padding: 80px 0;
    background: transparent; /* Para heredar el fondo oscuro del body */
    color: #ffffff; /* Texto claro por defecto para la sección */
}

.products-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-section-header h2 {
    font-size: 2.8em;
    font-weight: 700;
    color: #ffffff; /* Texto blanco para el encabezado */
}

.product-cards-container {
    display: flex;
    justify-content: center; /* Centrar las tarjetas si no ocupan todo el ancho */
    gap: 30px;
    flex-wrap: wrap; /* Permitir que las tarjetas pasen a la siguiente línea en pantallas pequeñas */
}

.product-card {
    background-color: rgba(18, 9, 66, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 450px; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrar todos los items flexibles horizontalmente */
    text-align: center; /* Centrar todo el texto por defecto */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.product-image {
    width: 200px; /* Ancho fijo para el contenedor CUADRADO */
    height: 200px; /* Alto fijo para el contenedor CUADRADO (igual al ancho) */
    margin-bottom: 25px;
    display: flex; 
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Mantiene la proporción, no estira, encaja dentro del contenedor */
    display: block; /* A veces ayuda con algunos comportamientos de imagen residuales */
}

.product-card h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: #ffffff; 
    margin-bottom: 10px;
    /* width: 100%; Se quita para permitir centrado de texto si el título es corto */
}

.product-description {
    font-size: 0.95em;
    color: #c0c0c0; 
    margin-bottom: 8px;
    min-height: 40px; 
    /* width: 100%; Se quita para permitir centrado de texto */
}

.product-price {
    font-size: 1.1em;
    color: #f0f0f0; 
    font-weight: 500;
    margin-bottom: 20px;
    /* width: 100%; Se quita para permitir centrado de texto */
}

.btn-buy {
    background-color: #007bff; 
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: background-color 0.3s ease;
    display: inline-block; 
    margin-bottom: 15px;
    /* align-self: flex-start; Se quita, el padre .product-card ya centra */
}

.btn-buy:hover {
    background-color: #0056b3; 
}

.shipping-info {
    font-size: 0.9em;
    color: #c0c0c0; 
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centrar el contenido de shipping-info (ícono y texto) */
    gap: 8px;
    /* width: 100%; Se quita */
}

.shipping-info i {
    color: #ffffff !important; /* Icono de envío en blanco */
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.product-features-list li {
    font-size: 0.9em;
    color: #d0d0d0; 
    padding: 20px 0; /* Aumentar padding vertical para más aire */
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
    display: flex;
    flex-direction: column; /* Apilar ícono y texto verticalmente */
    align-items: center;    /* Centrar el contenido del li */
    gap: 8px; /* Espacio entre ícono y texto, o entre bloques en el de almacenamiento */
    text-align: center; /* Centrar el texto dentro del li */
}

.product-features-list li:first-child {
    border-top: none;
    padding-top: 10px; /* Un poco de padding si no hay borde */
}

.product-features-list li:last-child {
    padding-bottom: 10px; 
}

.product-features-list li .feature-icon { 
    font-size: 1.8em; /* Icono más grande y prominente */
    color: #ffffff !important; /* Iconos de características en blanco */
    margin-bottom: 5px; /* Espacio entre el icono y el texto debajo de él */
    /* min-width y text-align:center ya no son tan necesarios si el li centra todo */
    /* flex-shrink:0; */
}

.product-features-list li .feature-text { 
    flex-grow: 0; 
    max-width: 100%; /* Puede ocupar todo el ancho del li, el li ya está centrado */
}

.storage-options {
    display: flex;
    gap: 15px; 
    margin-bottom: 5px; 
    justify-content: center; /* Centrar las opciones de GB */
    width: 100%; 
}

.storage-option {
    font-weight: 600;
    color: #ffffff; 
    font-size: 1.2em; /* Opciones de GB más grandes */
}

/* Ajuste para la última característica que tiene opciones de almacenamiento */
/* La clase .storage-feature-item ya hereda flex-direction:column y align-items:center del li general */
.product-features-list li.storage-feature-item .feature-icon {
    display: none; /* Ocultar el icono genérico para el item de almacenamiento, ya que la referencia no lo tiene */
}

.product-features-list li.storage-feature-item .feature-text {
    font-size: 0.85em; /* Texto descriptivo del almacenamiento un poco más pequeño */
    color: #b0b0b0; /* Un gris un poco más suave para este texto */
}

/* Responsive para la sección de productos */
@media (max-width: 992px) {
    .product-card {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .product-cards-container {
        flex-direction: column; /* Apilar tarjetas en móviles */
        align-items: center; /* Centrar tarjetas apiladas */
    }
    .product-card {
        max-width: 90%; /* Permitir que las tarjetas sean más anchas en móviles */
    }
    .products-section-header h2 {
        font-size: 2.4em;
    }
}

/* Estilos para la Sección Lentes Inteligentes */
.smart-glasses-section {
    padding: 80px 0;
    background: transparent; /* Hereda el fondo estrellado del body */
    color: #ffffff; /* Texto blanco por defecto */
    text-align: center; /* Centrar contenido principal */
}

.smart-glasses-header {
    margin-bottom: 50px;
}

.smart-glasses-header h2 {
    font-size: 2.8em; /* Ajusta según sea necesario */
    font-weight: 700;
    margin-bottom: 15px;
}

.smart-glasses-header p {
    font-size: 1.1em;
    color: #c0c0c0;
    margin-bottom: 30px;
}

.smart-glasses-header .gradient-link {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-decoration: none;
}

.smart-glasses-header .gradient-link:hover {
    text-decoration: underline;
}

.btn-virtual-tryon {
    background-color: #007bff; /* Color azul primario */
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    display: inline-flex; /* Para alinear icono y texto */
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.btn-virtual-tryon i {
    font-size: 1.2em;
}

.btn-virtual-tryon:hover {
    background-color: #0056b3; /* Azul más oscuro al hover */
}

.glasses-cards-container {
    display: flex;
    justify-content: space-around; /* Distribuye las tarjetas */
    gap: 30px;
    flex-wrap: wrap; /* Para responsiveness */
    margin-top: 40px;
}

.glass-card {
    background-color: transparent; /* Fondo transparente para las tarjetas */
    border: none; /* Sin bordes para un look limpio como la referencia */
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 340px; /* Ajusta según sea necesario */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* No añadir sombras o efectos de hover pronunciados para mantener el estilo de la referencia */
}

.glass-image-container {
    width: 100%;
    max-width: 300px; /* Ancho máximo para la imagen */
    height: auto; /* Altura automática basada en la imagen */
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-image {
    max-width: 100%;
    max-height: 150px; /* Limitar altura para que no sean demasiado grandes verticalmente */
    object-fit: contain;
}

.glass-brand {
    font-size: 0.9em;
    color: #c0c0c0;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glass-model-name {
    font-size: 1.7em; /* Nombre del modelo más grande */
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.glass-price {
    font-size: 1.1em;
    color: #e0e0e0; /* Precio un poco más claro */
    font-weight: 500;
    margin-bottom: 20px;
}

.glass-buy-link {
    color: #007bff; /* Color azul para el enlace de compra */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.glass-buy-link i {
    font-size: 0.8em;
}

.glass-buy-link:hover {
    color: #0056b3; /* Azul más oscuro al hover */
    text-decoration: underline;
}

/* Responsive para sección Lentes Inteligentes */
@media (max-width: 992px) {
    .glass-card {
        max-width: 300px;
    }
    .smart-glasses-header h2 {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .glasses-cards-container {
        flex-direction: column;
        align-items: center;
    }
    .glass-card {
        max-width: 90%;
    }
    .smart-glasses-header h2 {
        font-size: 2em;
    }
    .smart-glasses-header p {
        font-size: 1em;
    }
    .btn-virtual-tryon {
        padding: 10px 24px;
        font-size: 0.95em;
    }
}

/* Estilos para la Sección Newsletter */
.newsletter-section {
    padding: 70px 0;
    background: transparent; /* Mantiene el fondo estrellado */
    text-align: center;
    color: #ffffff;
}

.newsletter-section h2 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 1.1em;
    color: #c0c0c0;
    max-width: 550px;
    margin: 0 auto 35px auto; /* Centrado y con margen inferior */
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px; /* Ancho máximo del formulario */
    margin: 0 auto; /* Centrar el formulario */
    border-radius: 30px; /* Bordes redondeados para el conjunto */
    overflow: hidden; /* Para que los hijos hereden el borde redondeado */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
    flex-grow: 1; /* El input ocupa el espacio disponible */
    padding: 18px 25px;
    border: none;
    font-size: 1em;
    color: #333;
    background-color: #f0f0f0; /* Fondo gris claro como en la referencia */
    /* No necesita border-radius aquí si .newsletter-form tiene overflow:hidden */
}

.newsletter-input:focus {
    outline: none;
    background-color: #e9e9e9; /* Ligero cambio al enfocar */
}

.newsletter-button {
    padding: 18px 30px;
    border: none;
    background-color: #44d6f0; /* Color rojo/granate de la referencia */
    color: #ffffff;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* No necesita border-radius aquí */
}

.newsletter-button:hover {
    background-color: #5bcfe4; /* Tono más oscuro al pasar el mouse */
}

/* Responsive para Newsletter */
@media (max-width: 768px) {
    .newsletter-section h2 {
        font-size: 2.4em;
    }
    .newsletter-section p {
        font-size: 1em;
        max-width: 90%;
    }
    .newsletter-form {
        flex-direction: column; /* Apilar en móviles */
        border-radius: 10px; /* Ajustar radio para apilado */
        max-width: 90%;
    }
    .newsletter-input,
    .newsletter-button {
        width: 100%;
        border-radius: 0; /* Quitar redondeo individual */
    }
    .newsletter-input {
        border-radius: 8px 8px 0 0; /* Redondeo superior para input */
    }
    .newsletter-button {
        border-radius: 0 0 8px 8px; /* Redondeo inferior para botón */
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .newsletter-section h2 {
        font-size: 2em;
    }
}

/* Selector de idiomas */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-toggle i.fa-globe {
    font-size: 16px;
    color: #4facfe;
}

.language-toggle i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector:hover .language-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.current-language {
    font-weight: 500;
    white-space: nowrap;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(26, 31, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 10px 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
}

.language-option.active {
    background: rgba(79, 172, 254, 0.15);
    color: #4facfe;
    font-weight: 500;
}

.language-option.active::before {
    content: '✓';
    margin-right: 8px;
    color: #4facfe;
}

/* Estados adicionales para funcionalidad de click */
.language-selector.active .language-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Estilos para Modal de Login */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(26, 31, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 0 30px;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-body {
    padding: 0 30px 30px 30px;
}

/* Mensajes inline del modal */
.modal-message {
    margin-bottom: 25px;
    padding: 15px 20px;
    border-radius: 12px;
    animation: slideInDown 0.3s ease-out;
}

.modal-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.modal-message.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.modal-message.info {
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.3);
    color: #0dcaf0;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.message-icon {
    font-size: 1.2em;
    flex-shrink: 0;
}

.message-text {
    font-size: 0.95em;
    line-height: 1.4;
    font-weight: 500;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    font-size: 0.95em;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: #4facfe;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-input::placeholder {
    color: #a0a0a0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9em;
    color: #c0c0c0;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #4facfe;
    border-color: #4facfe;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.forgot-password {
    color: #4facfe;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #00f2fe;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    background: rgba(26, 31, 46, 0.95);
    color: #a0a0a0;
    padding: 0 20px;
    font-size: 0.9em;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.google-btn:hover {
    border-color: #db4437;
    background: rgba(219, 68, 55, 0.1);
}

.facebook-btn:hover {
    border-color: #4267B2;
    background: rgba(66, 103, 178, 0.1);
}

.auth-footer {
    text-align: center;
}

.auth-footer p {
    color: #c0c0c0;
    font-size: 0.9em;
    margin: 0;
}

.register-link {
    color: #4facfe;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #00f2fe;
    text-decoration: underline;
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 25px 20px 0 20px;
    }
    
    .modal-body {
        padding: 0 20px 25px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.6em;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .modal-message {
        margin-bottom: 20px;
        padding: 12px 16px;
    }
    
    .message-content {
        gap: 10px;
    }
    
    .message-icon {
        font-size: 1.1em;
    }
    
    .message-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .modal-header {
        padding: 20px 15px 0 15px;
    }
    
    .modal-body {
        padding: 0 15px 20px 15px;
    }
}

/* Reutilizamos el estilo del botón .btn-primary, pero podríamos crear uno específico si es necesario */
.how-it-works-text .btn-primary {
    padding: 15px 30px;
    font-size: 1em;
}

/* Responsive para la sección How It Works */
@media (max-width: 768px) {
    .how-it-works {
        padding: 80px 0;
    }
    
    .how-it-works-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .how-it-works-header h2 {
        font-size: 2.4em;
    }
    
    .how-it-works-header p {
        font-size: 1.1em;
    }
    
    .how-it-works-text h3 {
        font-size: 1.8em;
    }
    
    .how-it-works-text p {
        font-size: 1em;
    }
    
    .how-it-works-text .btn-primary {
        padding: 16px 32px;
        font-size: 1em;
        width: auto;
        display: inline-block;
        text-align: center;
        white-space: nowrap;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .how-it-works-header h2 {
        font-size: 2em;
    }
    
    .how-it-works-text h3 {
        font-size: 1.6em;
    }
    
    .how-it-works-text .btn-primary {
        padding: 14px 28px;
        font-size: 0.95em;
        border-radius: 25px;
        width: fit-content;
        max-width: 280px;
    }
}

