:root {
    --brandeis-blue: #0072CE;
    --guppie-green: #00FF7F;
    --cetacean-blue: #001440;
    --midnight-blue: #191970;
    --eagle-green: #004953;
    --white: #FFFFFF;
    --text-light: #F0F0F0;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif; /* Usando Manrope como ejemplo de sans-serif moderna */
    color: var(--white);
    background-color: #0E1530; /* Midnight Blue - para mejor integración con el hero */
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
    z-index: 1;
}

/* Configuración de los canvas que cubren todo el hero */
#hero-canvas,
#hero-canvas-threejs,
.hero-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Contenedor del contenido hero */
.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    z-index: 2;
    position: relative;
}

/* Restaurar la estructura original del hero-headline */
.hero-headline {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    margin-top: 0;
    letter-spacing: -0.02em;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    white-space: nowrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Optional: Style for the static part if needed */
.headline-static {
    /* display: inline-block; /* Default behavior is fine */
    white-space: nowrap; /* Prevent wrapping of 'Beyond ' itself */
}

.hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    padding: 0.8rem 1.8rem;
    border-radius: 50px; /* Bordes redondeados */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background-color: var(--cetacean-blue); /* Botón oscuro */
    color: var(--white);
}

.cta-button.primary:hover {
    background-color: #001f5a; /* Un poco más claro al hacer hover */
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Indicador de scroll en la parte inferior */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 70px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        margin-top: 50px;
    }
    
    .hero-headline {
        font-size: 2.8rem;
        height: auto;
        display: block;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Aquí irán los estilos para las demás secciones */

/* Estilos generales para secciones */
section {
    padding: 6rem 2rem 8rem 2rem;
    position: relative; /* Necesario para z-index de contenido */
    z-index: 1; /* Contenido sobre el canvas fijo */
    overflow: hidden; /* Mantener por si acaso */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem; /* Padding lateral dentro del contenedor */
}

/* Clases para alternar fondos */
/* .dark-section { ... } */
/* .light-section { ... } */

/* Estilos comunes para títulos de sección */
section h2 {
    font-size: 3.2rem; /* Ligeramente más grande */
    font-weight: 700;
    margin-bottom: 4rem; /* Más espacio debajo */
    text-align: center;
    letter-spacing: -0.02em; /* Ajuste de kerning */
    position: relative;
    z-index: 1;
}

section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

section p {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9; /* Ligeramente menos opaco para suavizar */
}

/* 2. The Problem Section */
.problem-section {
    padding: 6rem 2rem 8rem 2rem;
    position: relative;
    overflow: visible; /* Permitir que el ::before del título salga un poco */
    z-index: 1;
}

/* 3. Cuadrícula (detrás del contenido) */
/* .problem-section::after { ... } */

/* Layout de 2 columnas (Contenido) */
.problem-layout {
    display: flex; /* Re-asegurar Flexbox */
    gap: 5rem; 
    align-items: center; /* Re-asegurar centrado vertical */
    position: relative; 
    z-index: 1; 
}

/* Asegurar que las columnas flex ocupen espacio */
.problem-text-content,
.problem-cards-content {
    display: block; /* Asegurar que sean bloques */
    flex: 1; /* Re-asegurar que ocupen mitad del espacio */
    min-width: 0; 
}

.problem-text-content {
    position: relative; 
    z-index: 1;
}

.problem-text-content h2 {
    font-size: 3.5rem;
    text-align: left;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 114, 206, 0.3);
    position: relative; /* Para el pseudo-elemento de la cuadrícula */
    z-index: 1; /* Encima de su propia cuadrícula */
    display: inline-block; /* Para que la cuadrícula se ajuste al texto */
    padding: 0.5rem; /* Espacio para que la cuadrícula no toque el texto */
}

/* Cuadrícula LOCAL solo para el título H2 */
.problem-text-content h2::before {
    content: '';
    position: absolute;
    top: -30px; /* Ajustar según sea necesario */
    left: -40px;
    right: -40px;
    bottom: -30px;
    background-image:
        linear-gradient(rgba(0, 255, 127, 0.1) 1px, transparent 1px), /* Guppie Green más sutil */
        linear-gradient(90deg, rgba(0, 255, 127, 0.1) 1px, transparent 1px); /* Guppie Green más sutil */
    background-size: 80px 80px; /* Cuadrícula más espaciada */
    background-position: center center;
    opacity: 0.7; /* Reducir opacidad general */
    filter: blur(0.5px); /* Añadir leve desenfoque/glow */
    z-index: -1; 
    border-radius: 8px; 
    pointer-events: none;
}

/* Estilo para texto resaltado en verde */
.highlight-green {
    color: var(--guppie-green);
    /* Podríamos añadir un text-shadow verde también si quisiéramos más efecto neón */
    /* text-shadow: 0 0 8px rgba(0, 255, 127, 0.5); */
}

.problem-text-content .subheadline {
    font-size: 1.3rem;
    text-align: left;
    color: var(--text-light);
    opacity: 0.75; /* Un poco más opaco */
    max-width: 500px;
    line-height: 1.6;
}

.problem-cards-content {
    display: flex; /* Re-asegurar flex para columna interna */
    flex-direction: column;
    gap: 1.5rem; 
    position: relative; 
    /* Re-aplicar ajuste manual hacia ARRIBA */
    top: -1rem; 
}

.problem-card {
    display: flex;
    align-items: center; 
    background-color: rgba(0, 13, 41, 0.8); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    padding: 1.8rem;
    border-radius: 10px; 
    border: 1px solid rgba(0, 114, 206, 0.3); 
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease; /* Asegurar transición */
    cursor: default;
    position: relative; 
    overflow: hidden; 
}

.problem-card:hover {
    background-color: rgba(0, 17, 51, 0.85); 
    transform: translateY(-5px) scale(1.01); 
    box-shadow: 0 0 35px 5px rgba(0, 114, 206, 0.5); 
    border-color: rgba(0, 114, 206, 0.7); 
}

.card-icon-wrapper {
    margin-right: 1.5rem;
    color: var(--brandeis-blue);
    flex-shrink: 0; 
    width: 36px; /* Icono un poco más grande */
    height: 36px;
    /* Añadir un sutil glow al icono */
    filter: drop-shadow(0 0 5px rgba(0, 114, 206, 0.5));
}

.card-icon-wrapper svg {
    display: block; 
    width: 100%;
    height: 100%;
    stroke-width: 1.5; 
}

.card-text-wrapper h4 {
    font-size: 1.25rem; 
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.4rem 0;
}

.card-text-wrapper p {
    font-size: 0.95rem; 
    color: var(--text-light);
    opacity: 0.7; /* Aumentar un poco opacidad descripción */
    line-height: 1.5;
    margin: 0;
    max-width: none; 
    text-align: left;
}

/* Eliminar estilos anteriores de .problem-list que ya no aplican */
.problem-list, .problem-list li, .problem-list li::before, .problem-list span {
    /* Podemos dejar algunas propiedades si queremos reutilizar clases, pero por claridad las quitamos */
    all: unset; /* O remover las reglas una por una */
}

/* Media query para ajustar layout en pantallas pequeñas */
@media (max-width: 992px) {
    .problem-layout {
        /* grid-template-columns: 1fr; */ /* Quitar propiedad de Grid */
        flex-direction: column; /* Apilar columnas con Flexbox */
        gap: 4rem; 
    }
    .problem-text-content h2, .problem-text-content .subheadline {
        text-align: center; 
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .problem-text-content h2 {
        font-size: 2.8rem;
    }
    .problem-text-content .subheadline {
        font-size: 1.1rem;
    }
    .problem-card {
        padding: 1.5rem;
    }
    .card-icon-wrapper {
        font-size: 1.6rem;
        margin-right: 1rem;
    }
    .card-text-wrapper h4 {
        font-size: 1.15rem;
    }
    .card-text-wrapper p {
        font-size: 0.95rem;
    }
}

/* 3. Our Solution Section - Crypto Layout */
.solution-section.dark-section { /* Re-asegurar padding */
    padding: 6rem 2rem 8rem 2rem;
}

/* Encabezado Centrado */
.solution-header-centered {
    text-align: center;
    margin-bottom: 5rem; 
    position: relative; /* Necesario para el pseudo-elemento ::before del h2 */
}

.solution-header-centered h2 {
    font-size: 3.5rem;
    text-align: center;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 114, 206, 0.3); 
    display: inline-block; /* Para que ::before se ajuste al texto */
    position: relative; /* Para que ::before se posicione relativo al h2 */
    padding: 0.5rem; /* Espacio para la cuadrícula */
}

/* Cuadrícula para el título de la sección 3 */
.solution-header-centered h2::before {
    content: '';
    position: absolute;
    top: -30px; /* Ajustar según sea necesario */
    left: -40px;
    right: -40px;
    bottom: -30px;
    background-image:
        linear-gradient(rgba(0, 255, 127, 0.1) 1px, transparent 1px), /* Guppie Green sutil */
        linear-gradient(90deg, rgba(0, 255, 127, 0.1) 1px, transparent 1px);
    background-size: 80px 80px; 
    background-position: center center;
    opacity: 0.7; 
    filter: blur(0.5px); 
    z-index: -1; 
    border-radius: 8px; 
    pointer-events: none;
}

.solution-header-centered .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
    max-width: 650px; /* Ancho del subtítulo */
    margin: 0 auto; /* Centrar subtítulo */
}

/* Contenedor Principal (Stats Izquierda, Visual Derecha) */
.solution-content-crypto {
    display: flex;
    /* display: grid; grid-template-columns: 1.5fr 1fr; */ /* Alternativa con Grid */
    gap: 5rem; /* Espacio entre columnas */
    align-items: center; /* Centrar verticalmente */
}

.solution-stats-crypto {
    flex: 1.5; /* Columna stats un poco más ancha */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Rejilla de 2 columnas */
    gap: 2rem; /* Espacio entre bloques */
    /* Hacer que el último bloque ocupe las dos columnas */
    grid-template-areas:
        "block1 block2"
        "block3 block3"; 
}

/* Asignar áreas */
.empathy-block { grid-area: block1; }
.adaptive-block { grid-area: block2; }
.insights-block { grid-area: block3; }

.stat-block-crypto {
    /* Copiar estilos visuales de .problem-card */
    background-color: rgba(0, 13, 41, 0.8); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    padding: 1.8rem; /* Ajustar padding si es necesario */
    border-radius: 10px; 
    border: 1px solid rgba(0, 114, 206, 0.3); 
    /* Mantener flex y gap */
    display: flex;
    align-items: center; 
    gap: 1.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease; /* Transiciones completas */
}

.stat-block-crypto:hover {
    /* Copiar estilos hover de .problem-card */
    background-color: rgba(0, 17, 51, 0.85); 
    transform: translateY(-5px) scale(1.01); 
    box-shadow: 0 0 35px 5px rgba(0, 114, 206, 0.5); 
    border-color: rgba(0, 114, 206, 0.7); 
}

.stat-block-crypto .stat-icon-wrapper {
    flex-shrink: 0; 
    color: var(--guppie-green); /* Iconos verdes */
    width: 40px; /* Tamaño icono */
    height: 40px;
    /* Estilos adicionales para el icono si es necesario, como fondo */
    /* background-color: rgba(0, 255, 127, 0.1); */
    /* border-radius: 8px; */
    /* display: flex; align-items: center; justify-content: center; */
    filter: drop-shadow(0 0 5px rgba(0, 255, 127, 0.5));
}

.stat-block-crypto .stat-icon-wrapper svg {
    display: block; 
    width: 100%;
    height: 100%;
}

.stat-block-crypto .stat-text-wrapper h4 {
    font-size: 1.2rem; 
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.4rem 0;
}

.stat-block-crypto .stat-text-wrapper p {
    font-size: 0.95rem; 
    color: var(--text-light);
    opacity: 0.7;
    line-height: 1.5;
    margin: 0;
    max-width: none; 
    text-align: left;
}

.solution-visual-crypto {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Necesario para posicionar las partículas */
}

/* Restaurar estilos de la imagen */
.solution-visual-crypto img {
    max-width: 400px; 
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 114, 206, 0.4)); 
    transform: rotateY(-10deg) rotateX(5deg); 
    opacity: 0.9;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, filter 0.8s ease-in-out;
    animation: pulsing-glow 3s ease-in-out infinite alternate; 
}

/* Contenedor de las partículas */
.particle-orbit-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%; /* Ajustar tamaño si es necesario */
    height: 100%;
    max-width: 450px; /* Un poco más grande que el logo para órbitas */
    max-height: 450px;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Para no interferir con el hover del logo */
    /* border: 1px dashed red; /* Descomentar para depurar posicionamiento */
}

/* Estilo de cada partícula */
.orbiting-particle {
    position: absolute;
    top: 50%; /* Posición inicial (GSAP la moverá) */
    left: 50%;
    width: 6px; 
    height: 6px;
    background-color: #5dade2; /* Azul claro brillante */
    border-radius: 50%;
    box-shadow: 0 0 8px 2px #85c1e9; /* Glow azul */
    opacity: 0.8;
}

.solution-visual-crypto img:hover {
    opacity: 1;
    transform: rotateY(0deg) rotateX(0deg) scale(1.03); 
    animation-play-state: paused; 
}

/* Media Query para apilar */
@media (max-width: 992px) {
    .solution-content-crypto {
        flex-direction: column; /* Apilar */
        gap: 4rem;
    }
    .solution-stats-crypto {
        grid-template-columns: 1fr; /* Una columna en móvil */
        grid-template-areas:
            "block1"
            "block2"
            "block3"; /* Resetear areas */
        width: 100%; /* Ocupar todo el ancho */
        max-width: 500px; /* Limitar ancho máximo en móvil */
        margin: 0 auto; /* Centrar la columna de stats */
    }
     .solution-visual-crypto {
        order: -1; 
        margin-bottom: 0; 
        width: 100%;
    }
    
    /* Restaurar estilos de img en móvil */
    .solution-visual-crypto img {
        max-width: 280px; 
        transform: none; /* Quitar perspectiva en móvil */
    }
    .solution-visual-crypto img:hover {
        transform: scale(1.03); /* Mantener solo el escalado */
    }
    /* Eliminar reglas del SVG inline */
    /* #boomerang-logo-visual { max-width: 280px; } */
}


/* Restaurar Keyframes para la animación del glow */
@keyframes pulsing-glow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 114, 206, 0.4)); 
    }
    to {
        filter: drop-shadow(0 0 60px rgba(100, 180, 255, 0.8)); 
    }
}

/* --- Limpieza de Estilos Anteriores --- */

/* Eliminar estilos del layout de screenshot anterior */
.solution-layout-screenshot, .solution-text-content-screenshot, 
.solution-feature-blocks, .feature-block-screenshot, 
.solution-visual-content-screenshot, .feature-block-screenshot:hover, 
.feature-block-screenshot .block-icon-wrapper, 
.feature-block-screenshot .block-icon-wrapper svg, 
.feature-block-screenshot .block-text-wrapper h4, 
.feature-block-screenshot .block-text-wrapper p {
    all: unset !important; /* Forzar eliminación */
}

/* Asegurarse que la media query anterior también se limpia */
@media (max-width: 992px) {
    /* .solution-layout-screenshot { ... } */
    /* .solution-text-content-screenshot h2, ... */
    /* .solution-visual-content-screenshot { ... } */
    /* .solution-visual-content-screenshot img { ... } */
}


/* 4. How It Works Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.step {
    text-align: left; /* Alinear texto a la izquierda */
    background-color: rgba(0, 20, 64, 0.7); /* Fondo card oscuro/transparente */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 114, 206, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 20, 64, 0.8); 
    border-color: rgba(0, 114, 206, 0.5);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--guppie-green);
    font-weight: bold;
    background-color: rgba(0, 255, 127, 0.1);
    display: inline-flex; /* Para que el fondo se ajuste al contenido */
    padding: 0.8rem;
    border-radius: 8px;
    line-height: 1;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 1rem;
    opacity: 0.8;
    max-width: none;
}

.example {
    background-color: rgba(0, 114, 206, 0.15); /* Un poco más intenso */
    padding: 2.5rem;
    border-radius: 10px;
    margin-top: 4rem;
    border: 1px solid rgba(0, 114, 206, 0.4);
    text-align: center;
}

.example h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--white);
}

.example p {
    color: var(--text-light);
    opacity: 0.9;
    font-style: italic;
    max-width: 600px;
}

/* 5. Real Results (NEW Grid Layout) */
.results-section-grid {
    /* background-color: #0B0E1A; <-- Comentar esto */ 
    padding: 100px 2rem; 
    position: relative; 
    /* Quitar Flexbox de la sección principal */
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center; */
}

/* Rejilla Overlay Sutil */
.results-section-grid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5; /* Muy sutil */
    pointer-events: none;
    z-index: 0;
}

/* Etiqueta Superior */
.section-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    z-index: 1;
}

.tag-text {
    font-size: 13px;
    font-weight: 600;
    color: #8A7FFF; /* Violeta claro (#6E57FF es muy oscuro sobre índigo, usar uno más brillante) */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    white-space: nowrap;
}

/* Eliminar la regla genérica .tag-line si aún existe */
/* 
.tag-line {
    height: 1px;
    flex-grow: 1;
    background-color: rgba(138, 127, 255, 0.3); 
    max-width: 50px;
}
*/

/* Título y Subtítulo (Dentro de .section-header.centered) */
#results-new-grid .section-header.centered h2 {
    font-size: 46px; /* Tamaño Desktop */
    font-weight: 700; /* Bold */
    color: #FFFFFF;
    margin-top: 16px;
    margin-bottom: 12px;
    z-index: 1;
}

#results-new-grid .section-header.centered .subtitle {
    font-size: 17px;
    color: #CCCCCC;
    margin-top: 12px;
    max-width: 600px; /* Limitar ancho subtítulo */
    z-index: 1;
}

/* Grid de Impacto */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-gap: 24px;
    width: 100%;
    max-width: 900px; 
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.impact-card {
    background-color: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s ease-in-out;
    opacity: 0; /* Mantener oculto inicialmente */
}

.impact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.card-icon-wrapper-new {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8A7FFF, #0072CE); /* Violeta claro -> Azul Boomerang */
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-bottom: 16px; /* Corregir: especificación dice margin-top en H3 */
    transition: transform 0.3s ease-out; 
}

.impact-card:hover .card-icon-wrapper-new {
    transform: scale(1.1); /* Pulso en hover */
}

.card-icon-svg {
    width: 30px;
    height: 30px;
    color: #FFFFFF;
    stroke-width: 1.5; /* Ajustar grosor trazo */
}

.impact-card h3 {
    font-size: 21px;
    font-weight: 600; /* Semibold */
    color: #FFFFFF;
    margin-top: 16px; /* Separación del icono */
    margin-bottom: 8px;
}

.impact-card p {
    font-size: 16px;
    color: #DDDDDD;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    max-width: none;
}

/* Responsividad */
@media (max-width: 992px) {
    .results-section-grid {
        padding: 80px 1.5rem; /* Reducir padding */
    }
    #results-new-grid .section-header.centered h2 {
        font-size: 36px;
    }
    .impact-grid {
        /* Mantener 2 columnas en tablets o ajustar si prefieres auto-fit */
        grid-template-columns: repeat(2, 1fr); 
        /* grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); <-- OLD */
        grid-gap: 20px;
    }
}

@media (max-width: 768px) {
    .results-section-grid {
        padding: 60px 1rem;
    }
     #results-new-grid .section-header.centered h2 {
        font-size: 30px;
    }
     #results-new-grid .section-header.centered .subtitle {
        font-size: 15px;
    }
     .impact-grid {
        grid-template-columns: 1fr; /* Apilar en móvil */
        margin-top: 40px;
    }
    .impact-card {
        padding: 24px; /* Reducir padding tarjeta */
    }
    .card-icon-wrapper-new {
        width: 50px;
        height: 50px;
    }
     .card-icon-svg {
        width: 26px;
        height: 26px;
    }
    .impact-card h3 {
        font-size: 19px;
    }
     .impact-card p {
        font-size: 15px;
    }
}

/* Ocultar sección scroll original */
/* Eliminar desde aquí */
/* .hidden-section {
    display: none !important;
} */

/* Asegurar que los estilos del scroll no interfieran */
/* ... (Comentar o eliminar reglas de .results-scroll-pin-container, .result-card-pinned, etc.) ... */
/* .results-scroll-pin-container, 
.results-scroll-cards-wrapper, 
.result-card-pinned, 
.scroll-progress-bar {
    display: none !important; 
} */
/* Eliminar hasta aquí */

/* 6. Final CTA Section - Rediseño UI Expert */
.cta-section {
    position: relative; 
    padding: 100px 0; 
    text-align: center;
    overflow: hidden; 
    color: #FFFFFF; 
}

/* Estilos para el canvas original */
#hero-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -2 !important; /* Por debajo del Three.js canvas */
    display: block !important;
    pointer-events: none; /* Para permitir clicks en elementos debajo */
}

/* Estilos para el nuevo canvas de Three.js */
.hero-canvas-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important; /* Por encima del canvas original pero debajo del contenido */
    display: block !important;
    pointer-events: none; /* Para permitir clicks en elementos debajo */
    mix-blend-mode: overlay; /* Blend mode para mezclar mejor con el canvas inferior */
    opacity: 0.8; /* Ligera transparencia para dejar ver el efecto inferior */
}

/* Estilos específicos para el nuevo H1 */
#cta h1 {
    font-family: 'Inter', 'Poppins', sans-serif; 
    font-size: 48px; 
    font-weight: 700; 
    color: #FFFFFF; 
    line-height: 1.2; 
    text-align: center;
    margin-bottom: 12px; 
    margin-top: 0; 
    padding: 0; 
    position: relative; /* <-- Necesario para ::after */
    z-index: 1; /* <-- Asegurar texto sobre el glow */
}

/* Glow detrás del título */
#cta h1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Tamaño del área del glow (aumentado) */
    width: 150%;   /* <-- Más ancho */
    /* height: 130%; */ /* <-- Valor anterior */
    height: 180%;  /* <-- Más alto */
    /* Gradiente radial (mismo color) */
    background: radial-gradient(ellipse at center, 
                       rgba(79, 96, 250, 0.4) 0%, 
                       rgba(79, 96, 250, 0) 70%
                      );
    filter: blur(35px); /* Mantener desenfoque por ahora */
    z-index: -1;
    pointer-events: none; 
}

#cta .subtitle {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #F0F0F0; 
    text-align: center;
    max-width: 650px; 
    margin: 12px auto 40px auto; 
    line-height: 1.5; 
    opacity: 1; 
}

/* Estilo botones CTA (ahora son <button>) */
#cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px; 
    flex-wrap: wrap; 
    margin-bottom: 60px; 
}

/* Simplificar la regla específica para que herede de .cta-button global */
#cta .cta-button {
    /* Mantener solo fuentes si son específicas, el resto hereda */
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 16px; /* 1rem globalmente */
    font-weight: 600;
}

/* Wrapper del Logo */
#cta .cta-logo-wrapper {
    margin-top: 60px; /* Especificado */
}

#cta .cta-logo-wrapper img {
    /* width: 120px; (ya está inline) */
    height: auto; /* Permitir que la altura se ajuste */
    filter: drop-shadow(0 0 15px rgba(110, 87, 255, 0.2)); /* Glow especificado */
    /* Quitar estilos anteriores */
    opacity: 1;
}

/* Media Query Responsiva */
@media (max-width: 768px) {
    .cta-section {
        padding-top: 80px; /* Padding top reducido */
    }
    #cta h1 {
        font-size: 36px; /* Tamaño h1 reducido */
    }
    #cta .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px; 
    }
    #cta .cta-button {
        width: 80%; 
        max-width: 350px;
    }
    /* Mantener estilos de subtítulo y logo */
}

/* Footer General */
.footer {
    background-color: #001331; /* Cetacean Blue - darker shade */
    padding: 4rem 2rem 2rem 2rem; /* Reduced bottom padding */
    position: relative;
    overflow: hidden; 
    min-height: 320px; 
    display: flex; 
    flex-direction: column;
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem; 
    margin-bottom: 3rem; 
    position: relative;
    z-index: 1;
}

.footer-col {
    color: #E0E0E0; /* Color texto principal */
}

/* Columna Marca */
.footer-brand-logo {
    height: 45px; /* Ajustar tamaño logo */
    width: auto;
    margin-bottom: 1rem;
}
.brand-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* Columnas Contacto, Navegación, Social */
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #FFFFFF; /* Blanco más brillante para títulos */
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li, 
.footer-col ul li a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
/* Estilo específico para texto de dirección que no es link */
.contact-col ul li:last-child {
    opacity: 0.7;
}

.footer-col ul li a:hover {
    color: var(--guppie-green); /* Acento hover */
}

/* Texto Legal */
.footer-legal {
    margin-top: auto; 
    padding-top: 2rem; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-legal p {
    margin: 0;
    font-size: 0.85rem;
    color: #A0A0A0; /* Gris claro */
    opacity: 0.7;
}

/* Estilos para la imagen de fondo del footer */
.footer-background-image {
    position: relative;
    display: block;
    width: 100%; 
    height: auto;
    margin-top: 3rem; /* Space between content and logo */
    max-height: 180px; /* Control height */
    object-fit: contain;
    object-position: center bottom;
    opacity: 0.9; /* Higher visibility */
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Una columna */
        text-align: center; /* Centrar todo en móvil */
    }
    .footer-brand-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-col h4 {
        margin-top: 2rem; /* Añadir espacio entre secciones apiladas */
    }
    .footer-col:first-child h4 {
        margin-top: 0;
    }
    .footer-background-image {
        opacity: 0.9;
        max-height: 150px; /* Slightly smaller on mobile */
    }
}

/* Media Queries adicionales para refinar responsividad */
@media (max-width: 992px) {
    section h2 {
        font-size: 2.8rem;
    }
    .solution-section .grid-layout {
        grid-template-columns: 1fr; /* Cambiar a una columna */
        gap: 2rem;
    }
    .solution-visual {
        order: -1; /* Mover visual arriba en móvil */
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem; /* Ajuste padding lateral */
    }
    section h2 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
    section p {
        font-size: 1rem;
    }
    .cta-section .cta-buttons {
        flex-direction: column; /* Apilar botones */
        align-items: center;
        gap: 0.8rem;
    }
    .cta-button {
        width: 80%; /* Hacer botones más anchos */
        max-width: 300px;
        text-align: center;
    }
}

/* Estilos para el canvas */
#hero-canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -2 !important; /* Por debajo del Three.js canvas */
    display: block !important;
    pointer-events: none; /* Para permitir clicks en elementos debajo */
}

/* Estilos para el nuevo canvas de Three.js */
.hero-canvas-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important; /* Por encima del canvas original pero debajo del contenido */
    display: block !important;
    pointer-events: none; /* Para permitir clicks en elementos debajo */
    mix-blend-mode: overlay; /* Blend mode para mezclar mejor con el canvas inferior */
    opacity: 0.8; /* Ligera transparencia para dejar ver el efecto inferior */
}

/* Estilos para la forma de transición SVG */
/* .transition-shape { ... } */
/* .transition-shape svg { ... } */
/* .transition-shape path { ... } */

/* Ajustar padding superior de la sección Problem si es necesario */

/* Ajustar el contenido para que no quede debajo del header fijo */
main {
    padding-top: 0; /* Eliminar el padding-top para que no haya espacio */
}

/* Ajustar padding superior de la sección Problem si es necesario */

/* Soft CTA Section 3 */
.soft-cta-section3 {
    /* display: inline-flex; */ /* Cambiar a block para centrar con margin auto */
    display: block;
    width: fit-content; /* Ajustar ancho al contenido */
    align-items: center;
    margin: 6rem auto 1rem auto; /* Añadir margen inferior y asegurar centrado */
    padding: 0.8rem 1.5rem;
    background-color: rgba(0, 20, 64, 0.8); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 114, 206, 0.3);
    border-radius: 50px; 
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    max-width: 90%; 
    /* Añadir display flex interno para alinear icono y texto */
    display: flex; 
}

.soft-cta-section3:hover {
    background-color: rgba(0, 25, 77, 0.85);
    border-color: rgba(0, 114, 206, 0.5);
    box-shadow: 0 0 15px rgba(0, 114, 206, 0.2);
}

.soft-cta-section3 .cta-icon {
    display: inline-flex; /* Para alinear SVG */
    margin-right: 0.8rem;
    color: var(--text-light); /* Color claro para el icono */
    opacity: 0.8;
}

.soft-cta-section3 .cta-icon svg {
    width: 18px;
    height: 18px;
}

.soft-cta-section3 .cta-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    display: block;
    text-align: center; /* Centrar el contenido (icono) */
    margin-top: 0.5rem; /* Espacio sobre la flecha */
    cursor: pointer;
}

.scroll-down-indicator svg {
    width: 28px;
    height: 28px;
    fill: var(--text-light);
    opacity: 0.6;
    animation: bounce-down 2s ease-in-out infinite;
}

/* Estilos específicos para el indicador de scroll en el hero */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0; /* Inicialmente invisible */
    transition: opacity 0.5s ease, transform 0.3s ease; /* Transición suave */
}

.hero-scroll-indicator svg {
    width: 36px;
    height: 36px;
    fill: var(--white);
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(0, 255, 127, 0.5));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-scroll-indicator:hover svg {
    opacity: 1;
    transform: translateY(3px);
}

/* Animación Bounce para flecha */
@keyframes bounce-down {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* --- Limpieza de Estilos Anteriores --- */

/* Eliminar estilos del layout de screenshot anterior */
.solution-layout-screenshot, .solution-text-content-screenshot, 
.solution-feature-blocks, .feature-block-screenshot, 
.solution-visual-content-screenshot, .feature-block-screenshot:hover, 
.feature-block-screenshot .block-icon-wrapper, 
.feature-block-screenshot .block-icon-wrapper svg, 
.feature-block-screenshot .block-text-wrapper h4, 
.feature-block-screenshot .block-text-wrapper p {
    all: unset !important; /* Forzar eliminación */
}

/* Asegurarse que la media query anterior también se limpia */
@media (max-width: 992px) {
    /* .solution-layout-screenshot { ... } */
    /* .solution-text-content-screenshot h2, ... */
    /* .solution-visual-content-screenshot { ... } */
    /* .solution-visual-content-screenshot img { ... } */
}


/* 4. New Insight Section */
.insight-section {
    opacity: 1 !important; 
}

/* Rejilla Overlay Sutil para Sección 4 */
/* Comentar temporalmente para depurar layout */
/*
.insight-section::before {
    content: '';
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px; 
    opacity: 0.5; 
    pointer-events: none;
    z-index: 0; 
}
*/

/* Reutilizar o definir estilos para la etiqueta en Sección 4 */
#insights .section-tag {
    /* Copiar estilos de .section-tag general */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem; /* Espacio entre etiqueta y título */
    z-index: 1;
}

#insights .tag-text {
    /* Copiar/Ajustar estilos de .tag-text */
    font-size: 13px;
    font-weight: 600;
    color: #8A7FFF; /* Violeta claro (más brillante que #6E57FF) */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    white-space: nowrap;
}

/* Eliminar reglas antiguas para span.tag-line */
/*
#insights .tag-line {
    height: 1px;
    width: 50px; 
    background-color: rgba(138, 127, 255, 0.3);
    box-shadow: 0 0 8px 1px rgba(138, 127, 255, 0.4); 
}
*/

/* (Opcional) Añadir estilos para alinear los nuevos SVG si es necesario */
.tag-line-svg {
    /* Si es necesario, ajustar vertical-align o márgenes aquí */
}

/* Restaurar regla de fallback */
.tag-line-svg line {
    stroke: #8A7FFF; 
    stroke-opacity: 0.8; 
}

/* Ajustar Header Centered de Sección 4 */
#insights .section-header.centered {
    text-align: center;
    margin-bottom: 5rem; /* Mantener margen inferior general */
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}

#insights .section-header.centered h2 {
    font-size: 46px; 
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-top: 0; 
    margin-bottom: 12px; 
    /* Quitar text-shadow */
    /* text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); */
    /* Añadir posicionamiento para pseudo-elemento */
    position: relative;
    z-index: 1; /* Asegurar que el texto esté sobre el pseudo-elemento */
}

/* Pseudo-elemento para el glow detrás del título */
#insights .section-header.centered h2::after {
    content: '';
    position: absolute;
    /* Posicionar detrás y centrado (ajustar valores si es necesario) */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* Tamaño del glow (más grande que el texto) */
    width: 120%; 
    height: 150%;
    /* Fondo radial para el glow */
    background: radial-gradient(ellipse at center, 
                       rgba(138, 127, 255, 0.3) 0%, /* Color violeta claro del tag, más tenue */
                       rgba(138, 127, 255, 0) 70% /* Transparente hacia los bordes */
                      );
    /* Desenfoque para suavizar */
    filter: blur(25px);
    /* Detrás del texto */
    z-index: -1;
    /* Evitar que afecte al layout */
    pointer-events: none;
}

#insights .section-header.centered .subtitle {
    font-size: 17px; /* ~1.06rem */
    font-weight: 400;
    color: #CCCCCC;
    opacity: 1; /* Resetear opacidad anterior */
    margin-top: 12px; /* Margen especificado */
    max-width: 600px; /* Ancho especificado */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6; /* Añadir line-height para mejor lectura */
}

/* ---- INICIO BLOQUE RESTAURADO ---- */

/* Estilo para cada fila/característica */
.insight-feature-row {
    display: flex;
    align-items: center; 
    gap: 5rem; 
    margin-bottom: 5rem; 
    opacity: 1; 
}

/* Invertir orden para layout visual derecha */
.insight-feature-row.layout-visual-right {
    flex-direction: row-reverse;
}

/* Contenedor visual circular */
.insight-visual.placeholder {
    display: flex; 
    justify-content: center;
    align-items: center;
    width: 160px; 
    height: 160px;
    /* Fondo base translúcido */
    background-color: rgba(255, 255, 255, 0.02);
    /* Añadir fondo de cuadrícula encima */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px; /* Hacer la cuadrícula más pequeña para que se note dentro */
    background-position: center center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%; 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 0; 
    transition: all 0.4s ease-in-out; 
    color: inherit; 
    margin: 0 auto; 
    position: relative; /* Necesario para que overflow funcione bien con border-radius en algunos navegadores */
    overflow: hidden; /* Asegurar que la cuadrícula se recorte */
}

.insight-visual.placeholder:hover {
    transform: translateY(-8px) scale(1.05); 
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6); 
}

/* Resetear estilos SVG */
.insight-visual.placeholder svg {
    all: unset;
}

/* Wrapper del icono interno */
.insight-visual.placeholder .card-icon-wrapper-new {
    width: 120px; 
    height: 120px; 
    border-radius: 50%;
    background: linear-gradient(135deg, #8A7FFF, #0072CE); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-out; 
}

.insight-visual.placeholder:hover .card-icon-wrapper-new {
    transform: scale(1.05); 
}

/* Icono SVG interno */
.insight-visual.placeholder .card-icon-svg {
    width: 60px; 
    height: 60px; 
    color: #FFFFFF;
    stroke-width: 1.5; 
}

/* Contenedor de texto */
.insight-text {
    flex: 1.2; 
}

.insight-text h3 {
    font-size: 2rem; 
    font-weight: 700; 
    margin-bottom: 1.2rem;
    opacity: 1; 
}

.insight-text p {
    font-size: 1.05rem; 
    color: var(--text-light); 
    opacity: 1; 
    margin-bottom: 2rem; 
}

/* Botón "Details" */
.details-button {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.details-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}

/* Media Query para Insights (Restaurado) */
@media (max-width: 992px) {
    .insight-feature-row {
        flex-direction: column !important; 
        gap: 2.5rem; 
        margin-bottom: 4rem;
    }
    .insight-visual.placeholder {
       flex-shrink: 0;
    }
    .insight-text {
        text-align: center; 
        flex: 1; 
    }
    .insight-text h3 {
        font-size: 1.6rem; 
    }
}

/* ---- FIN BLOQUE RESTAURADO ---- */

/* Canvas para los destellos dinámicos (Restaurado SIN blur) */
#sparkleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 0; /* Detrás del container */
    filter: blur(2px); /* <-- Re-añadir el desenfoque */
}

.cta-section .container {
    position: relative; 
    z-index: 1; 
}

/* Eliminar duplicados - Estilos ya definidos en la sección principal del footer */

/* ... existing code ... */

/* Texto de invitación al Toggle */
.toggle-prompt-text {
    display: block; /* Ocupar su propia línea */
    text-align: center; /* Centrar texto */
    margin-top: 1.5rem; /* Espacio sobre el texto */
    margin-bottom: 0.5rem; /* Espacio entre texto y flecha */
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.01em;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Añadir cursor pointer al indicador de scroll */
.scroll-down-indicator {
    cursor: pointer;
}

/* Typewriter Effect Styles */
.typewriter {
    color: var(--guppie-green);
    position: relative;
    display: inline-block;
    font-weight: 800;
    text-shadow: 0 0 5px rgba(0, 255, 127, 0.3);
}

.typewriter-cursor {
    color: var(--white);
    font-weight: bold;
    animation: blink 1s step-end infinite;
    display: inline-block;
    margin-left: 2px;
    position: relative;
    user-select: none;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Contenedor para typewriter */
.typewriter-container {
    display: inline-block;
    vertical-align: baseline;
    position: relative;
}

@media (max-width: 768px) {
    /* Fallback para el hero en caso de que los canvas no funcionen bien en móvil */
    .hero-section {
        background: linear-gradient(135deg, #0B0E1A 0%, #1F1046 35%, #0E1530 70%, #0B0E1A 100%) !important;
        background-size: 200% 200% !important;
        animation: gradientBG 15s ease infinite !important;
    }
    
    /* Animación del gradient para el fallback */
    @keyframes gradientBG {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }
    
    .typewriter-container {
        display: inline-flex;
        align-items: center;
        height: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .typewriter {
        min-width: unset;
        font-size: 2.8rem;
        text-align: left;
        display: inline-block;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent; /* Inicialmente transparente */
    backdrop-filter: none; /* Sin blur inicialmente */
    -webkit-backdrop-filter: none;
    transition: all 0.3s ease;
    height: 80px; /* Ajustado para el nuevo tamaño del logo */
    display: flex;
    align-items: center;
}

.header-scrolled {
    background-color: rgba(14, 21, 48, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 70px; /* Ajustado para el nuevo tamaño del logo */
}

.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.logo {
    margin-left: 2rem;
}

.logo img {
    width: 160px; /* Reducido para mantener proporción con el header */
    height: auto;
    transition: all 0.3s ease;
}

/* Cuando el header está scrolled, el logo puede crecer un poco */
.header-scrolled .logo img {
    width: 120px; /* Reducido para mantener proporción con el header */
}

/* Ajustes para los botones de CTA */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: 0.8rem 1.8rem;
    border-radius: 50px; /* Bordes redondeados */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background-color: var(--cetacean-blue); /* Botón oscuro */
    color: var(--white);
}

.cta-button.primary:hover {
    background-color: #001f5a; /* Un poco más claro al hacer hover */
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Restaurar estilos para móviles */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center; /* Centrar los botones en móvil */
        width: 100%; /* Ocupar todo el ancho */
        gap: 0.75rem; /* Reducir espacio entre botones */
    }
    
    .cta-button {
        width: 100%; /* Botones a ancho completo */
        text-align: center;
        max-width: 300px; /* Limitar el ancho máximo */
    }
    
    .header {
        padding: 0.5rem 1rem; /* Reducir el padding en móvil */
        height: 70px; /* Ajustado para el nuevo tamaño del logo en móvil */
    }
    
    .header-scrolled {
        height: 60px; /* Ajustado para el nuevo tamaño del logo en móvil */
    }
    
    .logo {
        margin-left: 0.5rem; /* Reducir el margen en móvil */
    }
    
    .logo img {
        width: 120px; /* Ajustado proporcionalmente para móvil */
    }
    
    .header-scrolled .logo img {
        width: 100px; /* Ajustado proporcionalmente para móvil */
    }
    
    .typewriter-container {
        width: 100%; /* Ancho adaptable */
        max-width: none; /* Limitar ancho máximo */
        display: inline-flex;
    }
    
    .typewriter {
        min-width: unset; /* Eliminar min-width en móviles */
        font-size: 2.8rem; /* Mismo tamaño que hero-headline */
    }
    
    .hero-scroll-indicator {
        bottom: 15px; /* Mover un poco más arriba en móvil */
    }
    
    .hero-scroll-indicator svg {
        width: 30px; /* Reducir tamaño en móvil */
        height: 30px;
    }
}

.card-icon-wrapper-new .card-icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding-bottom: 3px;
}

.neon-green-icon {
  filter: drop-shadow(0 0 12px #00FF7F) drop-shadow(0 0 24px #00FF7F) brightness(1.5) saturate(2);
  /* El color #00FF7F es el verde neón usado en el diseño */
}

.neon-blue-icon {
    filter: drop-shadow(0 0 12px #0072CE) drop-shadow(0 0 24px #0072CE) brightness(1.5) saturate(2);
    /* El color #00FF7F es el azul neón usado en el diseño */
  }

  .neon-purple-icon {
    filter: drop-shadow(0 0 12px #0072CE) drop-shadow(0 0 24px #0072CE) brightness(1.5) saturate(2);
    /* El color #00FF7F es el azul neón usado en el diseño */
  }

.stat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; /* Igual que el tamaño de los iconos */
  height: 80px;
  background: none;
  margin: 0;
  padding: 0;
}

.stat-icon-wrapper .card-icon-img {
  max-width: 100%;
  max-height: 100%;
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding-bottom: 0;
} 