/* ========================================
   RESET Y VARIABLES
   ======================================== */

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

:root {
    --color-primario: #6366f1;
    --color-secundario: #ec4899;
    --color-acento: #8b5cf6;
    --color-exito: #10b981;
    --color-fondo: #0f172a;
    --color-fondo-claro: #1e293b;
    --color-texto: #f1f5f9;
    --color-texto-secundario: #94a3b8;
    --fuente-principal: 'Montserrat', sans-serif;
    --fuente-display: 'Space Grotesk', sans-serif;
    --fuente-elegante: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-principal);
    background: var(--color-fondo);
    color: var(--color-texto);
    overflow-x: hidden;
    line-height: 1.6;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contenedor-full {
    width: 100%;
    padding: 0 2rem;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contenedor-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--fuente-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-texto);
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.menu-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.menu-nav a {
    color: var(--color-texto);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.menu-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primario), var(--color-secundario));
    transition: width 0.3s ease;
}

.menu-nav a:hover::after {
    width: 100%;
}

.menu-desplegable {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.menu-desplegable:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.submenu a:hover {
    background: rgba(99, 102, 241, 0.1);
}

.flecha {
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.boton-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.boton-menu span {
    width: 25px;
    height: 3px;
    background: var(--color-texto);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   NAVEGACIÓN LATERAL
   ======================================== */

.navegacion-puntos {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.punto {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.punto::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.95);
    color: var(--color-texto);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.punto:hover::before {
    opacity: 1;
    visibility: visible;
    right: 30px;
}

.punto.activo {
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    transform: scale(1.3);
}

/* ========================================
   SECCIONES
   ======================================== */

.seccion {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 0;
}

.encabezado-seccion {
    text-align: center;
    margin-bottom: 4rem;
}

.etiqueta-seccion {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.titulo-seccion {
    font-family: var(--fuente-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario), var(--color-acento));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradienteAnimado 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradienteAnimado {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.descripcion-seccion {
    font-size: 1.1rem;
    color: var(--color-texto-secundario);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SECCIÓN HERO
   ======================================== */

.seccion-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

#canvasParticulas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.seccion-hero .contenedor {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: aparecer 1s ease-out;
}

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

.badge-animado {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulso 2s ease-in-out infinite;
}

@keyframes pulso {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(99, 102, 241, 0);
    }
}

.titulo-explosivo {
    font-family: var(--fuente-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.palabra {
    display: inline-block;
    opacity: 0;
    animation: explosionPalabra 0.8s ease-out forwards;
}

.palabra:nth-child(1) { animation-delay: 0.2s; }
.palabra:nth-child(2) { animation-delay: 0.4s; }
.palabra:nth-child(3) { animation-delay: 0.6s; }

@keyframes explosionPalabra {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
        filter: blur(10px);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

.palabra:nth-child(1) {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.palabra:nth-child(2) {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.palabra:nth-child(3) {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitulo-hero {
    font-size: 1.25rem;
    color: var(--color-texto-secundario);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.botones-hero {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: var(--fuente-principal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-texto);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primario);
}

.btn-hover-fill {
    position: relative;
    z-index: 1;
}

.btn-hover-fill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-hover-fill:hover::before {
    width: 300px;
    height: 300px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cubo-3d {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotarCubo 20s linear infinite;
}

@keyframes rotarCubo {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cara {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    backdrop-filter: blur(10px);
}

.cara-frontal { transform: translateZ(150px); }
.cara-trasera { transform: translateZ(-150px) rotateY(180deg); }
.cara-izquierda { transform: rotateY(-90deg) translateZ(150px); }
.cara-derecha { transform: rotateY(90deg) translateZ(150px); }
.cara-superior { transform: rotateX(90deg) translateZ(150px); }
.cara-inferior { transform: rotateX(-90deg) translateZ(150px); }

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: rebote 2s ease-in-out infinite;
}

@keyframes rebote {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.rueda {
    width: 4px;
    height: 10px;
    background: var(--color-primario);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollRueda 1.5s ease-in-out infinite;
}

@keyframes scrollRueda {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.scroll-indicator p {
    font-size: 0.85rem;
    color: var(--color-texto-secundario);
}

/* ========================================
   MAZO DE CARTAS INTERACTIVO
   ======================================== */

.seccion-tarjetas-3d {
    background: var(--color-fondo);
    overflow: hidden;
}

.grid-tarjetas-3d {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.carta-mazo {
    position: absolute;
    width: 320px;
    height: 450px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    left: 50%;
    top: 50%;
    margin-left: -160px;
    margin-top: -225px;
}

/* Posición inicial apilada */
.carta-mazo[data-carta="0"] { transform: translateZ(0px) rotate(0deg); z-index: 5; }
.carta-mazo[data-carta="1"] { transform: translateZ(-20px) rotate(-2deg); z-index: 4; }
.carta-mazo[data-carta="2"] { transform: translateZ(-40px) rotate(1deg); z-index: 3; }
.carta-mazo[data-carta="3"] { transform: translateZ(-60px) rotate(-1deg); z-index: 2; }
.carta-mazo[data-carta="4"] { transform: translateZ(-80px) rotate(2deg); z-index: 1; }

/* Expansión del mazo al hover */
.grid-tarjetas-3d:hover .carta-mazo[data-carta="0"] {
    transform: translateX(-400px) translateY(-50px) rotate(-15deg) scale(1.05);
}
.grid-tarjetas-3d:hover .carta-mazo[data-carta="1"] {
    transform: translateX(-200px) translateY(-25px) rotate(-7deg) scale(1.05);
}
.grid-tarjetas-3d:hover .carta-mazo[data-carta="2"] {
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
}
.grid-tarjetas-3d:hover .carta-mazo[data-carta="3"] {
    transform: translateX(200px) translateY(-25px) rotate(7deg) scale(1.05);
}
.grid-tarjetas-3d:hover .carta-mazo[data-carta="4"] {
    transform: translateX(400px) translateY(-50px) rotate(15deg) scale(1.05);
}

.carta-frente,
.carta-reverso {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.carta-frente {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border: 2px solid rgba(99, 102, 241, 0.3);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carta-reverso {
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.patron-reverso {
    width: 80%;
    height: 80%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.2) 10px,
        rgba(255, 255, 255, 0.2) 20px
    );
    border-radius: 10px;
}

/* Carta seleccionada */
.carta-mazo.seleccionada {
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.6) !important;
    filter: brightness(1.2);
}

.carta-mazo.seleccionada .carta-frente {
    border-color: var(--color-primario);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.icono-tarjeta {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.carta-frente h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-texto);
    font-weight: 700;
}

.carta-frente p {
    color: var(--color-texto-secundario);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tarjeta-stats {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    border: 1px solid rgba(99, 102, 241, 0.5);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   TEXTO MAGNÉTICO
   ======================================== */

.seccion-texto-magnetico {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 60vh;
}

.texto-magnetico-wrapper {
    text-align: center;
}

.titulo-magnetico {
    font-family: var(--fuente-display);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 900;
    cursor: default;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.linea-magnetica {
    display: flex;
    justify-content: center;
}

.letra {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario), var(--color-acento));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.descripcion-magnetico {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--color-texto-secundario);
}

/* ========================================
   GALERÍA CON REVELACIÓN MÁGICA
   ======================================== */

.seccion-galeria {
    background: var(--color-fondo);
}

.galeria-hover {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.item-galeria {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    opacity: 0;
    transform: translateX(-100px) rotateY(-90deg);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Animación de entrada alternada */
.item-galeria:nth-child(odd) {
    transform: translateX(-200px) rotateY(-90deg) scale(0.5);
}

.item-galeria:nth-child(even) {
    transform: translateX(200px) rotateY(90deg) scale(0.5);
}

.item-galeria.visible {
    opacity: 1;
    transform: translateX(0) rotateY(0) scale(1);
}

.item-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: grayscale(100%);
}

.item-galeria:hover img {
    transform: scale(1.3) rotate(8deg);
    filter: grayscale(0%) brightness(0.4);
}

.overlay-galeria {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(236, 72, 153, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.item-galeria:hover .overlay-galeria {
    opacity: 1;
    clip-path: circle(150% at 50% 50%);
}

.contenido-overlay {
    text-align: center;
    transform: scale(0) rotate(-180deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s;
}

.item-galeria:hover .contenido-overlay {
    transform: scale(1) rotate(0deg);
}

.categoria {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: rebotePequeno 0.5s ease 0.4s;
}

@keyframes rebotePequeno {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.contenido-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contenido-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   ESTADÍSTICAS, TESTIMONIOS, PRICING, TIMELINE, TEAM, CTA, FOOTER
   ======================================== */

.seccion-stats { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.grid-stats { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: nowrap; }
.stat-card { background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8)); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 20px; padding: 2.5rem; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; flex: 1; }
.stat-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent); transition: left 0.6s ease; }
.stat-card:hover::before { left: 100%; }
.stat-card:hover { transform: translateY(-10px); border-color: var(--color-primario); box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3); }
.stat-icono { font-size: 3rem; margin-bottom: 1rem; }
.stat-numero { font-size: 3.5rem; font-weight: 900; background: linear-gradient(135deg, var(--color-primario), var(--color-secundario)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; }
.stat-label { color: var(--color-texto-secundario); font-size: 1rem; margin-bottom: 1.5rem; }
.stat-barra { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; }
.stat-progreso { height: 100%; background: linear-gradient(90deg, var(--color-primario), var(--color-secundario)); border-radius: 10px; width: 0; transition: width 2s ease; }

.seccion-testimonios { background: var(--color-fondo); }
.testimonios-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonio-card { background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8)); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 20px; padding: 2.5rem; position: relative; transition: all 0.3s ease; }
.testimonio-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3); }
.testimonio-comillas { font-size: 5rem; line-height: 1; color: var(--color-primario); opacity: 0.3; font-family: var(--fuente-elegante); }
.testimonio-texto { font-size: 1.1rem; line-height: 1.8; color: var(--color-texto); margin-bottom: 2rem; }
.testimonio-autor { display: flex; align-items: center; gap: 1rem; }
.testimonio-autor img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--color-primario); }
.testimonio-autor h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.testimonio-autor span { font-size: 0.9rem; color: var(--color-texto-secundario); }

.seccion-pricing { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.grid-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.pricing-card { background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8)); border: 2px solid rgba(99, 102, 241, 0.2); border-radius: 20px; padding: 2.5rem; position: relative; transition: all 0.3s ease; }
.pricing-card:hover { transform: translateY(-10px); border-color: var(--color-primario); box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4); }
.pricing-destacado { border-color: var(--color-primario); transform: scale(1.05); }
.badge-popular { position: absolute; top: -15px; right: 20px; background: linear-gradient(135deg, var(--color-primario), var(--color-secundario)); padding: 0.5rem 1.5rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }
.pricing-header { text-align: center; margin-bottom: 2rem; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.precio { display: flex; align-items: baseline; justify-content: center; gap: 0.5rem; }
.moneda { font-size: 1.5rem; color: var(--color-texto-secundario); }
.cantidad { font-size: 4rem; font-weight: 900; background: linear-gradient(135deg, var(--color-primario), var(--color-secundario)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.periodo { font-size: 1rem; color: var(--color-texto-secundario); }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.btn-pricing { width: 100%; padding: 1rem; background: linear-gradient(135deg, var(--color-primario), var(--color-secundario)); color: white; border: none; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-pricing:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5); }

.seccion-timeline { background: var(--color-fondo); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--color-primario), var(--color-secundario)); }
.timeline-item { position: relative; margin-bottom: 3rem; display: flex; align-items: center; }
.timeline-item:nth-child(odd) { justify-content: flex-end; }
.timeline-item:nth-child(odd) .timeline-contenido { text-align: right; margin-right: 3rem; }
.timeline-item:nth-child(even) .timeline-contenido { margin-left: 3rem; }
.timeline-punto { position: absolute; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; background: linear-gradient(135deg, var(--color-primario), var(--color-secundario)); border-radius: 50%; border: 4px solid var(--color-fondo); z-index: 2; }
.timeline-contenido { flex: 0 0 45%; background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8)); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 15px; padding: 2rem; }
.timeline-fecha { display: inline-block; padding: 0.5rem 1rem; background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2)); border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.timeline-contenido h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.timeline-contenido p { color: var(--color-texto-secundario); line-height: 1.6; }

.seccion-team { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.grid-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-card { background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.8)); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 20px; overflow: hidden; transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3); }
.team-imagen { position: relative; overflow: hidden; aspect-ratio: 1; }
.team-imagen img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; }
.team-card:hover .team-imagen img { transform: scale(1.1); }
.team-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(236, 72, 153, 0.9)); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; }
.team-social { display: flex; gap: 1rem; }
.team-social a { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all 0.3s ease; }
.team-social a:hover { background: white; transform: scale(1.1); }
.team-info { padding: 2rem; text-align: center; }
.team-info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.team-info span { color: var(--color-primario); font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 1rem; }
.team-info p { color: var(--color-texto-secundario); line-height: 1.6; }

.seccion-cta { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 0; width: 100vw; margin-left: calc(-50vw + 50%); }
.cta-content { text-align: center; position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 4rem 2rem; width: 100%; }
.cta-botones { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.cta-formas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.forma { position: absolute; border-radius: 50%; opacity: 0.1; animation: flotarDesplazar 40s ease-in-out infinite; }
.forma-1 { width: 300px; height: 300px; background: linear-gradient(135deg, var(--color-primario), var(--color-secundario)); top: 10%; left: 10%; animation-delay: 0s; }
.forma-2 { width: 200px; height: 200px; background: linear-gradient(135deg, var(--color-secundario), var(--color-acento)); top: 60%; right: 15%; animation-delay: 5s; }
.forma-3 { width: 250px; height: 250px; background: linear-gradient(135deg, var(--color-acento), var(--color-primario)); bottom: 10%; left: 50%; animation-delay: 10s; }

@keyframes flotarDesplazar {
    0% { 
        transform: translate(0, 0) scale(1); 
    }
    25% { 
        transform: translate(60vw, -30vh) scale(1.1); 
    }
    50% { 
        transform: translate(-40vw, 40vh) scale(0.9); 
    }
    75% { 
        transform: translate(50vw, -20vh) scale(1.05); 
    }
    100% { 
        transform: translate(0, 0) scale(1); 
    }
}

.footer { background: rgba(15, 23, 42, 0.95); padding: 2rem 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer p { color: var(--color-texto-secundario); }

/* ========================================
   BOTÓN REFRESCAR ANIMACIONES
   ======================================== */

.btn-refrescar {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-refrescar:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.btn-refrescar:active {
    transform: scale(0.95) rotate(360deg);
}

.btn-refrescar i {
    transition: transform 0.3s ease;
}

.btn-refrescar.animando i {
    animation: girarRefresh 0.6s ease-in-out;
}

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

/* ========================================
   EFECTO LÍQUIDO MORPHING
   ======================================== */

.seccion-liquido-morph { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.contenedor-liquido { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.burbuja-liquida { width: 250px; height: 250px; border-radius: 50%; position: relative; cursor: pointer; transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.burbuja-liquida[data-color="1"] { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.burbuja-liquida[data-color="2"] { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.burbuja-liquida[data-color="3"] { background: linear-gradient(135deg, #10b981, #14b8a6); }
.burbuja-liquida:hover { transform: scale(1.15) rotate(5deg); box-shadow: 0 30px 80px rgba(99, 102, 241, 0.5); animation: morphLiquidoSuave 6s ease-in-out infinite; }
@keyframes morphLiquidoSuave { 
    0% { 
        border-radius: 50%; 
        transform: scale(1) rotate(0deg);
    }
    10% { 
        border-radius: 50%; 
        transform: scale(1.15) rotate(5deg);
    }
    20% { 
        border-radius: 48% 52% 52% 48% / 48% 52% 48% 52%; 
        transform: scale(1.13) rotate(6deg);
    } 
    35% { 
        border-radius: 42% 58% 60% 40% / 55% 45% 55% 45%; 
        transform: scale(1.16) rotate(7deg);
    } 
    50% { 
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; 
        transform: scale(1.18) rotate(3deg);
    } 
    65% { 
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; 
        transform: scale(1.14) rotate(9deg);
    } 
    80% { 
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; 
        transform: scale(1.16) rotate(6deg);
    }
    90% { 
        border-radius: 45% 55% 48% 52% / 50% 50% 50% 50%; 
        transform: scale(1.15) rotate(5deg);
    }
    100% { 
        border-radius: 50%; 
        transform: scale(1) rotate(0deg);
    } 
}
.contenido-burbuja { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.icono-burbuja { font-size: 4rem; display: block; margin-bottom: 1rem; filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5)); }
.contenido-burbuja h3 { font-size: 1.5rem; font-weight: 700; color: white; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }

/* ========================================
   ONDAS RIPPLE
   ======================================== */

.seccion-ripple { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 0; }
.ripple-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }
.ripple-container .contenedor { position: relative; z-index: 2; pointer-events: none; }
.onda-ripple { position: absolute; border-radius: 50%; border: 3px solid rgba(99, 102, 241, 0.8); box-shadow: 0 0 20px rgba(99, 102, 241, 0.6), inset 0 0 20px rgba(99, 102, 241, 0.3); animation: ondaExpansion 2s ease-out forwards; pointer-events: none; }
@keyframes ondaExpansion { 0% { width: 0; height: 0; opacity: 1; } 100% { width: 800px; height: 800px; opacity: 0; } }

/* ========================================
   PARALLAX 3D
   ======================================== */

.seccion-parallax-3d { background: #000; position: relative; overflow: hidden; min-height: 100vh; }
.parallax-scene { width: 100%; height: 100vh; position: relative; }
.parallax-layer { position: absolute; width: 100%; height: 100%; transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.forma-parallax { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.8; }
.forma-p1 { width: 400px; height: 400px; background: linear-gradient(135deg, #6366f1, #8b5cf6); top: 20%; left: 10%; }
.forma-p2 { width: 300px; height: 300px; background: linear-gradient(135deg, #ec4899, #f43f5e); top: 50%; right: 15%; }
.forma-p3 { width: 350px; height: 350px; background: linear-gradient(135deg, #10b981, #14b8a6); bottom: 10%; left: 40%; }
.contenido-parallax { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 10; }
.contenido-parallax h2 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; background: linear-gradient(135deg, #fff, #ccc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }
.contenido-parallax p { font-size: 1.5rem; color: rgba(255, 255, 255, 0.8); }

/* ========================================
   VORTEX PORTAL
   ======================================== */

.seccion-vortex { background: #000; position: relative; min-height: 100vh; padding: 0; width: 100vw; margin-left: calc(-50vw + 50%); }
.vortex-container { position: relative; width: 100vw; height: 100vh; }
#canvasVortex { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.vortex-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.vortex-content .etiqueta-seccion { display: inline-block; padding: 0.5rem 1.5rem; background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2)); border: 1px solid rgba(99, 102, 241, 0.3); border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.titulo-vortex { font-family: var(--fuente-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1rem; background: linear-gradient(135deg, var(--color-primario), var(--color-secundario), var(--color-acento)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.vortex-content h3 { font-size: 2rem; color: white; margin-bottom: 2rem; text-shadow: 0 0 20px rgba(99, 102, 241, 0.8); }
.btn-vortex { padding: 1.5rem 3rem; background: linear-gradient(135deg, #6366f1, #ec4899); color: white; border: none; border-radius: 50px; font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 0 30px rgba(99, 102, 241, 0.5); }
.btn-vortex:hover { transform: scale(1.1); box-shadow: 0 0 50px rgba(99, 102, 241, 0.8); }
.btn-vortex.activo { animation: pulsoVortex 0.5s ease-in-out infinite; }
@keyframes pulsoVortex { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ========================================
   NEÓN PULSANTE
   ======================================== */

.seccion-neon { background: #000; }
.neon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.neon-card { position: relative; background: rgba(0, 0, 0, 0.8); border-radius: 20px; padding: 3rem 2rem; text-align: center; overflow: hidden; }
.neon-border { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 3px solid #00f3ff; border-radius: 20px; box-shadow: 0 0 20px #00f3ff, inset 0 0 20px #00f3ff; animation: neonPulse 2s ease-in-out infinite; }
.neon-card.neon-pink .neon-border { border-color: #ff006e; box-shadow: 0 0 20px #ff006e, inset 0 0 20px #ff006e; animation-delay: 0.5s; }
.neon-card.neon-purple .neon-border { border-color: #b537f2; box-shadow: 0 0 20px #b537f2, inset 0 0 20px #b537f2; animation-delay: 1s; }
@keyframes neonPulse { 0%, 100% { opacity: 1; box-shadow: 0 0 20px currentColor, inset 0 0 20px currentColor; } 50% { opacity: 0.5; box-shadow: 0 0 40px currentColor, inset 0 0 40px currentColor; } }
.neon-text { font-size: 3rem; font-weight: 900; color: #00f3ff; text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff, 0 0 30px #00f3ff; margin-bottom: 1rem; position: relative; z-index: 2; }
.neon-pink .neon-text { color: #ff006e; text-shadow: 0 0 10px #ff006e, 0 0 20px #ff006e, 0 0 30px #ff006e; }
.neon-purple .neon-text { color: #b537f2; text-shadow: 0 0 10px #b537f2, 0 0 20px #b537f2, 0 0 30px #b537f2; }
.neon-card p { color: rgba(255, 255, 255, 0.7); position: relative; z-index: 2; }

/* ========================================
   TEXTO DESINTEGRACIÓN
   ======================================== */

.seccion-desintegracion { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.texto-desintegrar-wrapper { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.texto-desintegrar { font-size: clamp(4rem, 10vw, 8rem); font-weight: 900; color: white; cursor: pointer; position: relative; z-index: 2; transition: all 0.3s ease; white-space: nowrap; }
.texto-desintegrar:hover { color: transparent; }
#canvasDesintegracion { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .menu-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 70%; max-width: 300px; background: rgba(0, 0, 0, 0.95); flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; transition: right 0.3s ease; padding: 5rem 0 2rem 0; overflow-y: auto; z-index: 999; }
    .menu-nav.activo { right: 0; }
    .boton-menu { display: flex; z-index: 1000; }
    .navegacion-puntos { display: none; }
    .seccion-hero .contenedor { grid-template-columns: 1fr; }
    .hero-visual { margin-top: 3rem; }
    .cubo-3d { width: 200px; height: 200px; }
    .cara { width: 200px; height: 200px; }
    .cara-frontal { transform: translateZ(100px); }
    .cara-trasera { transform: translateZ(-100px) rotateY(180deg); }
    .cara-izquierda { transform: rotateY(-90deg) translateZ(100px); }
    .cara-derecha { transform: rotateY(90deg) translateZ(100px); }
    .cara-superior { transform: rotateX(90deg) translateZ(100px); }
    .cara-inferior { transform: rotateX(-90deg) translateZ(100px); }
    .timeline::before { left: 20px; }
    .timeline-item { justify-content: flex-start !important; }
    .timeline-item .timeline-contenido { text-align: left !important; margin-left: 3rem !important; margin-right: 0 !important; flex: 1; }
    .timeline-punto { left: 20px; transform: translateX(0); }
}

