        /*
  Estilos propiedad de LÍBEROS HUB TALENT S.L.
  © 2024 Todos los derechos reservados.
  Prohibido el uso no autorizado.
  Diseño y desarrollo para LÍBEROS HUB TALENT S.L.
*/

/* --- VARIABLES DE DISEÑO Y RESET --- */
:root {
    --primary-purple: #8133f1;
    --secondary-cyan: #00c9b7;
    --dark-blue: #0f1741;
    --light-bg: #f8f9fa;
    --text-dark: #343a40;
    --text-light: #ffffff;
    --gradient: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); background-color: #ffffff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; overflow: hidden; }
.title-wrapper { text-align: center; margin-bottom: 60px; }
.section-title {
    font-size: 3rem; font-weight: 800; text-align: center; margin-bottom: 20px; color: var(--dark-blue);
    border-bottom: 4px solid var(--primary-purple); display: inline-block; padding-bottom: 10px;
}
.section-subtitle { text-align: center; font-size: 1.2rem; color: #666; max-width: 800px; margin: 15px auto 0 auto; }
.cta-button {
    display: inline-block; padding: 15px 35px; background: var(--gradient); color: var(--text-light);
    text-decoration: none; border-radius: 50px; font-weight: 600; font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease; border: none; cursor: pointer;
}
.cta-button:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(129, 51, 241, 0.3); }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- ANIMACIONES --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- HEADER --- */
header {
    position: fixed; width: 100%; top: 0; left: 0;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); z-index: 1000;
    padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.header-logo { height: 40px; max-width: 100%; }
nav { display: flex; align-items: center; }
nav a { color: var(--dark-blue); text-decoration: none; margin-left: 20px; font-weight: 600; transition: color 0.3s; }
nav a:hover { color: var(--primary-purple); }
.nav-button { margin-left: 25px; padding: 10px 20px; font-size: 0.9rem; }
#menu-toggle { display: none; font-size: 1.5rem; color: var(--dark-blue); background: none; border: none; cursor: pointer; }

/* --- SECCIÓN HÉROE --- */
#hero {
    height: 100vh;
    display: flex; align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #0f1729; /* Fallback color, matches canvas background */
}

/* Capa de grano/ruido */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dHTZ2dnu7u7MzMzPz8+Pj49fX18tLS3FxcWnp6ejo6Nvb29peXnExMTY2NjOzs6vr6+goKCqqqqnp6e4uLgcLY/OAAAAnklEQVRIx+3RSRLDIAxE0QYhAbGZPNu5/z0zrXHiqiz5W72FqhqtVuuXAl3iOV7iPV/iSsAqZa9BS7YOmMXnNNX4TWGxRMn3R6SxRNgy0bzXOW8EBO8SAClsPdB3psqlvG+Lw7ONXg/pTld52BjgSSkA3PV2OOemjIDcZQWgVvONw60q7sIpR38EnHPSMDQ4MjDjLPozhAkGrVbr/z0ANjAF4AcbXmYAAAAASUVORK5CYII=');
    opacity: 0.04;
    pointer-events: none;
    z-index: 1; /* Entre el canvas y el contenido */
}

/* Canvas para animación de blobs */
#blob-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}
.hero-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    color: var(--text-light);
    padding: 50px;
    border-radius: 20px;
    max-width: 700px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}
.hero-content .logo { font-size: 5rem; margin-bottom: 10px; }
.hero-content h2 { font-size: 2rem; font-weight: 600; margin-bottom: 15px; }
.hero-content p { font-size: 1.3rem; margin-bottom: 40px; }

/* --- SECCIÓN ¿POR QUÉ EXISTIMOS? --- */
#porque { background: var(--light-bg); }
.porque-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.porque-card { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.05); }
.porque-card h3 { color: var(--primary-purple); font-size: 1.6rem; margin-bottom: 20px; display: flex; align-items: center; }
.porque-card h3 i { margin-right: 15px; }
.porque-card ul { list-style: none; padding-left: 0; }
.porque-card li { margin-bottom: 10px; display: flex; align-items: flex-start; }
.porque-card li i { margin-right: 10px; margin-top: 5px; color: var(--secondary-cyan); }
.porque-card li i.fa-times-circle { color: #dc3545; }

/* --- SECCIÓN OPORTUNIDAD DE MERCADO --- */
#oportunidad {
    background-color: #ffffff;
}
.oportunidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.oportunidad-card {
    padding: 40px;
    border-radius: 15px;
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}
.oportunidad-card.cyan-card {
    background: var(--secondary-cyan);
}
.oportunidad-card.purple-card {
    background: var(--primary-purple);
}
.oportunidad-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.oportunidad-card .impact-text {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
    text-transform: uppercase;
}
.market-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 60px;
}
.stat-item .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
}
.stat-item .stat-label {
    font-size: 1rem;
    color: var(--text-dark);
}

/* --- SECCIÓN IA --- */
#ia { background: var(--light-bg); }
.ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ia-grid img { width: 100%; border-radius: 15px; }
.ia-grid ul { list-style: none; padding-left: 0; }
.ia-grid li { font-size: 1.1rem; margin-bottom: 15px; display: flex; align-items: center; }
.ia-grid i { color: var(--primary-purple); margin-right: 15px; font-size: 1.5rem; }

/* --- SECCIÓN METAVERSO --- */
.metaverse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.metaverse-grid h3 { margin-bottom: 25px; }

.metaverse-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.metaverse-card {
    background-color: #fafafa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metaverse-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.metaverse-card i {
    font-size: 1.8rem;
    color: #8133f1;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: #f0e6ff;
    border-radius: 50%;
}

.metaverse-card h4 {
    color: #000000;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.metaverse-card p {
    color: #000000;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}
.modelo-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.modelo-content-wrapper.image-left {
    grid-template-columns: 1fr 1fr; /* Mantenemos la misma definición para claridad */
}

.modelo-content-wrapper.image-left .modelo-imagen {
    order: -1; /* Mueve la imagen a la primera posición */
}
/* --- SECCIÓN MODELO Y ROADMAP --- */
#modelo { background: #ffffff; }
.modelo-content-wrapper { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.modelo-texto { flex: 1; }
.modelo-texto h3 { font-size: 2rem; color: var(--dark-blue); margin-bottom: 20px; }
.modelo-texto p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 25px; color: #555; }
.modelo-features { list-style: none; padding: 0; }
.modelo-features li { display: flex; align-items: center; margin-bottom: 15px; font-size: 1.1rem; }
.modelo-features li i { color: var(--secondary-cyan); margin-right: 15px; font-size: 1.3rem; }
.modelo-imagen { flex: 1; text-align: center; }
.modelo-imagen img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
#roadmap { padding-top: 100px; }
.timeline { position: relative; max-width: 1000px; margin: 50px auto 0 auto; }
.timeline::after {
    content: ''; position: absolute; width: 4px; background-color: #e0e0e0;
    top: 0; bottom: 0; left: 50%; margin-left: -2px;
}
.timeline-item { padding: 20px 40px; position: relative; width: 50%; box-sizing: border-box; }
.timeline-item.left { left: 0; text-align: right; padding-right: 60px; }
.timeline-item.right { left: 50%; text-align: left; padding-left: 60px; }
.timeline-icon {
    position: absolute;
    top: 20px;
    /* Usamos clamp() para un tamaño fluido con límites */
    width: clamp(80px, 12vw, 160px);
    height: clamp(80px, 12vw, 160px);
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 4px var(--primary-purple);
    z-index: 1;
    overflow: hidden;
}

.timeline-item.left .timeline-icon {
    /* La mitad del valor mínimo y máximo de clamp() */
    right: clamp(-80px, -6vw, -40px);
}

.timeline-item.right .timeline-icon {
    left: clamp(-80px, -6vw, -40px);
}

.timeline-icon img {
    /* La imagen se escala con el contenedor */
    width: 60%;
    height: 60%;
}
.timeline-content { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.07); }
.timeline-content h3 { color: var(--primary-purple); font-size: 1.5rem; }
.highlight-metaverso { background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-cyan) 100%); color: white; padding: 3px 8px; border-radius: 5px; font-weight: 600; display: inline-block; }
.timeline-tag { display: inline-block; background: var(--secondary-cyan); color: white; padding: 5px 15px; border-radius: 20px; font-weight: 600; margin-top: 15px; }

/* --- SECCIÓN FINANZAS --- */
#finanzas { background: var(--light-bg); }
        .charts-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 60px; }
        .chart { text-align: center; }
        .chart h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--dark-blue); }
        
        /* Estilos mejorados para los botones de alternancia */
        .chart-toggle { display: flex; justify-content: center; margin-bottom: 30px; gap: 15px; }
        .toggle-btn {
            padding: 10px 25px;
            border-radius: 30px;
            border: none;
            background-color: var(--light-bg);
            color: var(--dark-blue);
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }
        .toggle-btn::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: var(--gradient);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }
        .toggle-btn:hover::before { opacity: 0.1; }
        .toggle-btn.active {
            background: var(--gradient);
            color: var(--text-light);
            box-shadow: 0 5px 15px rgba(129, 51, 241, 0.3);
            transform: translateY(-2px);
        }
        .bar-chart { display: flex; justify-content: space-around; align-items: flex-end; height: 300px; border-left: 2px solid #ccc; border-bottom: 2px solid #ccc; padding: 0 10px; }
        /* Fijando dimensiones del canvas para evitar crecimiento infinito */
        #main-chart { max-height: 300px !important; height: 300px !important; }
        .bar { width: 15%; background: var(--gradient); position: relative; transition: height 1.5s ease-out; height: 0; }
        .bar-label, .bar-value { position: absolute; width: 100%; text-align: center; font-weight: 600; }
        .bar-label { bottom: -30px; font-size: 0.9rem; }
        .bar-value { top: -25px; color: var(--dark-blue); font-size: 0.9rem; }
        .finance-highlight {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Espacio entre tarjetas */
}
        .finance-table-wrapper { margin-top: 60px; overflow-x: auto; }
        /* --- Estilos Unificados de Tablas --- */
.finance-table, .metrics-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden; /* Clave para que el border-radius funcione */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.finance-table th, .finance-table td,
.metrics-table th, .metrics-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.finance-table tbody tr:last-child td,
.metrics-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cabecera con Gradiente (para ambas tablas) */
.finance-table thead tr,
.metrics-table thead tr {
    background: var(--gradient);
}

.finance-table thead th,
.metrics-table thead th {
    background: transparent;
    color: white;
}

/* --- Estilos Específicos para la Tabla de Métricas --- */
.metrics-table thead th:first-child { border-top-left-radius: 10px; }
.metrics-table thead th:last-child { border-top-right-radius: 10px; }

.metrics-table td ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.metrics-table .fa-check-circle {
    color: #28a745; /* Verde éxito */
    margin-right: 8px;
}
.finance-table td { font-weight: 600; }

/* Estilos mejorados para los elementos KPI */
.kpi {
    padding: 25px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.kpi::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
}
.kpi:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
    display: block;
}
.kpi-label {
    font-size: 0.95rem;
    color: #666;
    display: block;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.kpi:hover .kpi-label {
    color: var(--primary-purple);
}
.finance-table tr:last-child td { border-bottom: none; }
/* .finance-table tr:nth-child(even) { background-color: #f9f9f9; } */ /* Se elimina para unificar estilo */

/* --- SECCIÓN EQUIPO --- */
#equipo { background: #ffffff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 50px; }
.team-member { display: flex; flex-direction: column; background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s; }
.team-member:hover { transform: translateY(-10px); }
.member-photo { width: 100%; height: 250px; overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-info { padding: 25px; }
.member-info h3 { font-size: 1.6rem; color: var(--dark-blue); margin-bottom: 5px; }
.member-role { font-size: 1.1rem; color: var(--primary-purple); font-weight: 600; margin-bottom: 15px; }
.member-description { font-size: 0.95rem; line-height: 1.6; color: #555; margin-bottom: 20px; }
.member-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.member-skills span { background: var(--light-bg); color: var(--dark-blue); font-size: 0.8rem; padding: 5px 12px; border-radius: 20px; }

.team-structure { margin-top: 60px; background: var(--light-bg); border-radius: 15px; padding: 40px; }
.team-structure h3 { font-size: 1.8rem; text-align: center; margin-bottom: 30px; color: var(--dark-blue); }
.org-chart { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: repeat(2, auto);
    gap: 25px; 
    max-width: 1000px;
    margin: 0 auto;
}

.org-department { 
    background: white; 
    padding: 25px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(129, 51, 241, 0.1);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.6s forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

.org-department:nth-child(1) { --delay: 1; }
.org-department:nth-child(2) { --delay: 2; }
.org-department:nth-child(3) { --delay: 3; }
.org-department:nth-child(4) { --delay: 4; }
.org-department:nth-child(5) { --delay: 5; }
.org-department:nth-child(6) { --delay: 6; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.org-department::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.org-department:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(129, 51, 241, 0.15);
}

.org-department:hover::after {
    transform: scaleX(1);
}

.org-department h4 { 
    color: var(--primary-purple); 
    display: flex; 
    align-items: center; 
    margin-bottom: 20px; 
    font-size: 1.3rem; 
    position: relative;
}

.org-department h4 i { 
    margin-right: 12px;
    background: rgba(129, 51, 241, 0.1);
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.org-department:hover h4 i {
    background: var(--primary-purple);
    color: white;
    transform: rotate(360deg);
}

.org-department ul { 
    list-style: none; 
    padding-left: 10px; 
}

.org-department li { 
    margin-bottom: 12px; 
    font-size: 1rem; 
    color: #555; 
    position: relative;
    padding-left: 20px;
}

.org-department li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-cyan);
    font-weight: bold;
}

/* --- SECCIÓN FUTURO Y SALIDA --- */
#futuro-salida { position: relative; overflow: hidden; }
#futuro-salida.gradient-bg { 
    background: linear-gradient(145deg, var(--primary-purple) 0%, var(--dark-blue) 100%);
    position: relative;
}

#futuro-salida.gradient-bg::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255, 255, 255, 0.08)"/></svg>');
    opacity: 0.2;
}

.future-strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.strategy-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: all 0.8s ease;
}

.strategy-card:hover::before {
    transform: translateX(100%);
}

.strategy-card.fade-in {
    animation: fadeInUp 0.8s forwards;
    animation-delay: calc(var(--delay) * 0.2s);
}

.strategy-card:nth-child(1) { --delay: 1; }
.strategy-card:nth-child(2) { --delay: 2; }
.strategy-card:nth-child(3) { --delay: 3; }

.strategy-card h3 {
    font-size: 1.8rem;
    margin-top: 25px;
    margin-bottom: 20px;
    color: white;
}

.strategy-card p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 1.05rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-icon i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--secondary-cyan), white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.strategy-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(var(--secondary-cyan-rgb), 0.5);
    background: rgba(var(--secondary-cyan-rgb), 0.3);
}

/* Valuation Timeline */
.valuation-timeline {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



.valuation-timeline h3.timeline-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.valuation-timeline h3.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-cyan);
    border-radius: 10px;
}

.valuation-timeline .timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Línea horizontal eliminada */
/* .valuation-timeline .timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-cyan), white);
    border-radius: 4px;
} */

.valuation-timeline .timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.valuation-timeline.fade-in .timeline-item {
    animation: fadeInUp 0.8s forwards;
    animation-delay: calc(var(--delay) * 0.3s);
}

.valuation-timeline .timeline-item:nth-child(1) { --delay: 1; }
.valuation-timeline .timeline-item:nth-child(2) { --delay: 2; }
.valuation-timeline .timeline-item:nth-child(3) { --delay: 3; }

.valuation-timeline .timeline-date {
    background: var(--secondary-cyan);
    color: var(--dark-blue);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(var(--secondary-cyan-rgb), 0.3);
    transition: all 0.3s ease;
}

.valuation-timeline .timeline-item:hover .timeline-date {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(var(--secondary-cyan-rgb), 0.5);
}

.valuation-timeline .timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Eliminando flecha triangular sobre las cards */
/* .valuation-timeline .timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(255, 255, 255, 0.1);
} */

.valuation-timeline .timeline-item:hover .timeline-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.valuation-timeline .timeline-content h4 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--secondary-cyan), white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.valuation-timeline .timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SECCIÓN GO-TO-MARKET --- */
#go-to-market {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#go-to-market::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--primary-purple-rgb), 0.05), rgba(var(--secondary-cyan-rgb), 0.05));
    z-index: 0;
}

#go-to-market::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--secondary-cyan-rgb), 0.05), rgba(var(--primary-purple-rgb), 0.05));
    z-index: 0;
}

.gtm-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Regla para forzar color de texto en secciones con fondo degradado */
.gradient-bg .section-title,
.gradient-bg .section-subtitle,
.gradient-bg .timeline-title {
    color: #ffffff !important;
}

/* Phases styles */
.gtm-phases {
    margin-bottom: 30px;
}

.gtm-phases h3,
.gtm-acquisition h3,
.gtm-metrics h3 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.gtm-phases h3 i,
.gtm-acquisition h3 i,
.gtm-metrics h3 i {
    margin-right: 15px;
    background: var(--primary-purple);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(var(--primary-purple-rgb), 0.3);
    transition: all 0.3s ease;
}

.gtm-phases:hover h3 i,
.gtm-acquisition:hover h3 i,
.gtm-metrics:hover h3 i {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(var(--primary-purple-rgb), 0.4);
}

.phase-timeline {
    position: relative;
    padding-left: 40px;
}

.phase-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    height: calc(100% - 40px);
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-purple), var(--secondary-cyan));
    border-radius: 3px;
}

.phase {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-20px);
}

.gtm-phases.fade-in .phase {
    animation: fadeInRight 0.8s forwards;
    animation-delay: calc(var(--delay) * 0.3s);
}

.phase:nth-child(1) { --delay: 1; }
.phase:nth-child(2) { --delay: 2; }
.phase:nth-child(3) { --delay: 3; }

.phase-number {
    position: absolute;
    left: -40px;
    top: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 0 5px var(--light-bg), 0 5px 15px rgba(var(--primary-purple-rgb), 0.3);
    transition: all 0.3s ease;
}

.phase:hover .phase-number {
    transform: scale(1.2);
    background: var(--secondary-cyan);
    box-shadow: 0 0 0 5px var(--light-bg), 0 8px 20px rgba(var(--secondary-cyan-rgb), 0.4);
}

.phase-content {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-purple-rgb), 0.1);
    transition: all 0.3s ease;
}

.phase:hover .phase-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(var(--primary-purple-rgb), 0.15);
    border-color: rgba(var(--secondary-cyan-rgb), 0.3);
}

.phase-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-purple);
}

.phase-content p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.phase-time {
    display: inline-block;
    background: rgba(var(--secondary-cyan-rgb), 0.1);
    color: var(--dark-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 15px;
    font-weight: 600;
    border: 1px solid rgba(var(--secondary-cyan-rgb), 0.2);
}

/* Acquisition channels */
.acquisition-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.channel {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-purple-rgb), 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.gtm-acquisition.fade-in .channel {
    animation: fadeInUp 0.8s forwards;
    animation-delay: calc(var(--delay) * 0.2s);
}

.channel:nth-child(1) { --delay: 1; }
.channel:nth-child(2) { --delay: 2; }
.channel:nth-child(3) { --delay: 3; }

.channel:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--primary-purple-rgb), 0.15);
    border-color: rgba(var(--secondary-cyan-rgb), 0.3);
}

.channel-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.channel-icon i {
    font-size: 1.8rem;
    color: white;
}

.channel:hover .channel-icon {
    transform: rotate(10deg);
    box-shadow: 0 10px 25px rgba(var(--primary-purple-rgb), 0.3);
}

.channel h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.channel p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Metrics table */
.metrics-table-wrapper {
    background: white;
    border-radius: 15px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
}

.gtm-metrics.fade-in .metrics-table-wrapper {
    animation: fadeInUp 0.8s forwards;
}

.metrics-table {
    width: 100%;
    border-collapse: collapse;
}

.metrics-table thead {
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    color: white;
}

.metrics-table th,
.metrics-table td {
    padding: 15px 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.metrics-table th {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.metrics-table tbody tr {
    transition: all 0.3s ease;
}

.metrics-table tbody tr:hover {
    background-color: rgba(var(--primary-purple-rgb), 0.03);
}

.metrics-table tbody tr:last-child td {
    border-bottom: none;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- SECCIÓN HISTORIAS DE ÉXITO --- */
#exito { 
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%); 
    position: relative;
    overflow: hidden;
}

#exito::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="100" cy="100" r="80" fill="none" stroke="rgba(129, 51, 241, 0.03)" stroke-width="20" /></svg>');
    opacity: 0.5;
    z-index: 0;
}

#exito::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="100" cy="100" r="60" fill="none" stroke="rgba(64, 224, 208, 0.05)" stroke-width="15" /></svg>');
    z-index: 0;
    transform: rotate(45deg);
}

.success-slider { 
    max-width: 800px; 
    margin: auto; 
    position: relative; 
    overflow: hidden;
    z-index: 1;
    padding: 30px 0;
}

.slides-wrapper { 
    display: flex; 
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    height: 280px;
}

.slide { 
    min-width: 100%; 
    background: white; 
    padding: 50px; 
    border-radius: 20px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.08); 
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
    transition: all 0.4s ease;
}

.slide::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 120px;
    color: rgba(var(--primary-purple-rgb), 0.07);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(var(--primary-purple-rgb), 0.12);
}

.slide h3 { 
    font-size: 2rem; 
    color: var(--primary-purple); 
    text-align: center; 
    margin-bottom: 25px;
    position: relative;
}

.slide h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    border-radius: 3px;
}

.slide p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 0;
}

.slide p strong {
    color: var(--dark-blue);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(var(--primary-purple-rgb), 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 30px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
}

.slider-nav { 
    text-align: center; 
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-btn { 
    background: white; 
    color: var(--primary-purple); 
    border: none; 
    border-radius: 50%; 
    width: 50px; 
    height: 50px; 
    cursor: pointer; 
    font-size: 1.2rem; 
    box-shadow: 0 5px 20px rgba(var(--primary-purple-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.slider-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.slider-btn:hover { 
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(var(--primary-purple-rgb), 0.25);
}

.slider-btn:hover::before {
    opacity: 1;
}

.slider-btn:hover i {
    color: white;
}

.slider-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(var(--primary-purple-rgb), 0.15);
}

/* Slide animation */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- ROADMAP ESTRATÉGICO --- */
#roadmap {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

#roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="rgba(129, 51, 241, 0.05)"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    z-index: 1;
}

/* Línea vertical eliminada */
/* .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-purple) 0%, var(--secondary-cyan) 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(var(--primary-purple-rgb), 0.3);
    z-index: 1;
} */

.timeline-item {
    padding: 15px 30px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 50px;
}

#roadmap .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    top: 25px;
    border-radius: 50%;
    z-index: 3;
    background: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(var(--primary-purple-rgb), 0.2), 
                0 0 10px rgba(var(--primary-purple-rgb), 0.5);
    transition: all 0.5s ease;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

#roadmap .timeline-item.right::after {
    left: -10px;
}

#roadmap .timeline-item:hover::after {
    background: var(--secondary-cyan);
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.2), 
                0 0 15px rgba(64, 224, 208, 0.5);
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 4;
    border: 3px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    background-image: linear-gradient(white, white), 
                     linear-gradient(to right, var(--primary-purple), var(--secondary-cyan));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item.left .timeline-icon {
    right: -90px;
}

.timeline-item.right .timeline-icon {
    left: -90px;
}

.timeline-icon img {
    max-width: 65%;
    max-height: 65%;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(var(--primary-purple-rgb), 0.2);
}

.timeline-item:hover .timeline-icon img {
    transform: scale(1.1);
}

.timeline-content {
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
    z-index: 2;
}

.timeline-item.left .timeline-content {
    margin-right: 40px;
}

.timeline-item.right .timeline-content {
    margin-left: 40px;
}

#roadmap .timeline-content::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 1;
}

#roadmap .timeline-item.left .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

#roadmap .timeline-item.right .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    border-radius: 2px;
    width: 100%;
}

.timeline-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.timeline-tag {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(90deg, rgba(var(--primary-purple-rgb), 0.1), rgba(var(--secondary-cyan-rgb), 0.1));
    border-radius: 15px;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.85rem;
    border: 1px solid rgba(var(--primary-purple-rgb), 0.1);
}

.highlight-metaverso {
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-purple-rgb), 0.15);
}

/* Animation for roadmap items */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item.left.visible {
    animation: slideInLeft 0.8s forwards;
}

.timeline-item.right.visible {
    animation: slideInRight 0.8s forwards;
}

/* Círculo morado eliminado */
/* .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-purple);
    border-radius: 50%;
    z-index: 2;
    animation: pulse 2s infinite;
} */

/* Eliminando animación de la línea vertical */
/* .timeline::after {
    animation: growLine 3s forwards;
} */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-purple-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-purple-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-purple-rgb), 0);
    }
}

@keyframes growLine {
    from {
        height: 0%;
    }
    to {
        height: 100%;
    }
}

/* --- SECCIÓN GO-TO-MARKET --- */
#go-to-market {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

#go-to-market::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 30%;
    height: 30%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><polygon points="60,10 90,40 60,70 30,40" fill="none" stroke="rgba(129, 51, 241, 0.04)" stroke-width="6" /></svg>');
    opacity: 0.6;
    z-index: 0;
}

#go-to-market::after {
    content: '';
    position: absolute;
    bottom: -5%;
    right: -5%;
    width: 25%;
    height: 25%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="20" y="20" width="60" height="60" rx="10" fill="none" stroke="rgba(64, 224, 208, 0.06)" stroke-width="6" /></svg>');
    opacity: 0.5;
    z-index: 0;
}

.gtm-content {
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* GTM Phases */
.gtm-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.phase-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-purple-rgb), 0.1);
}

.phase-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    position: relative;
}

.phase-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-cyan));
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
    animation: pulse 2s infinite;
}

.phase-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
    font-weight: 700;
}

.phase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.phase-list li:hover {
    transform: translateX(5px);
}

.list-icon {
    margin-right: 12px;
    color: var(--primary-purple);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* GTM Strategy Tabs */
.gtm-strategy {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    background: rgba(var(--primary-purple-rgb), 0.05);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    transition: width 0.3s ease;
    z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
    width: 100%;
}

.tab-btn:hover,
.tab-btn.active {
    color: white;
    box-shadow: 0 10px 20px rgba(var(--primary-purple-rgb), 0.2);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.strategy-metrics {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.metric-card {
    text-align: center;
    padding: 20px 30px;
    background: rgba(var(--primary-purple-rgb), 0.03);
    border-radius: 15px;
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-purple-rgb), 0.1);
    background: rgba(var(--primary-purple-rgb), 0.05);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.metric-name {
    font-size: 0.95rem;
    color: #666;
}

.strategy-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.strategy-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .gtm-phases {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .gtm-phases {
        grid-template-columns: 1fr;
    }
    
    .gtm-strategy {
        padding: 25px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .strategy-metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .metric-card {
        width: 100%;
        max-width: 250px;
    }
}

/* --- SECCIÓN EQUIPO --- */
#equipo {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

#equipo::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -5%;
    width: 40%;
    height: 40%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(129, 51, 241, 0.03)" stroke-width="8" /></svg>');
    opacity: 0.6;
    z-index: 0;
    transform: rotate(15deg);
}

#equipo::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150"><circle cx="75" cy="75" r="50" fill="none" stroke="rgba(64, 224, 208, 0.05)" stroke-width="8" /></svg>');
    opacity: 0.5;
    z-index: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-purple-rgb), 0.1);
    border-color: rgba(var(--primary-purple-rgb), 0.2);
}

.member-photo {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-social {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
    opacity: 0;
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.member-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(129, 51, 241, 0.4);
}



.member-social a i {
    transition: transform 0.3s ease-out, color 0.3s ease;
    position: relative;
    z-index: 2;
}

.member-social a:hover {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 25px rgba(129, 51, 241, 0.5);
    background: var(--secondary-cyan);
}



.member-social a:hover i {
    color: white;
    transform: rotate(360deg);
}

/* Responsive adjustments for team member photos */
.member-photo {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #f5f5f5;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-info {
    padding: 25px;
    text-align: center;
    background: white;
    border-radius: 0 0 15px 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
}

.team-member:hover .member-info {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.member-role {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    margin: 10px 0 15px;
    position: relative;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.member-role::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-cyan));
    border-radius: 2px;
}

.member-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.team-member:hover .member-info p {
    color: #555;
}

/* Consejo Asesor */
.advisors-section {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.advisor {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
    transition: all 0.3s ease;
}

.advisor:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--primary-purple-rgb), 0.1);
}

.advisor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.advisor-info h4 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.advisor-role {
    font-size: 0.85rem;
    color: #666;
    display: block;
}

/* Team Stats */
.team-stats-container {
    margin-top: 70px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
}

.team-stats {
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .team-grid, .advisors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid, .advisors-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- FOOTER (CONTACTO) --- */
footer { background: var(--dark-blue); color: var(--text-light); padding: 80px 0; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3, .contact-form h3 { font-size: 2rem; color: white; margin-bottom: 20px; }
.contact-info p { margin-bottom: 20px; line-height: 1.7; display: flex; align-items: center; }
.contact-info i { color: var(--secondary-cyan); margin-right: 15px; font-size: 1.2rem; width: 25px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #555; border-radius: 8px; background: #2c3e50; color: white; font-family: 'Poppins', sans-serif; font-size: 1rem; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.footer-bottom { text-align: center; padding-top: 60px; margin-top: 60px; border-top: 1px solid #444; }
.social-icons a { color: white; font-size: 1.5rem; margin: 0 15px; transition: color 0.3s; }
.social-icons a:hover { color: var(--secondary-cyan); }
.footer-bottom p { margin-top: 20px; }

/* --- METAVERSE IMAGE FADER --- */
.image-fader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-fader {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ajusta el ancho máximo según tu diseño */
    margin: 0 auto;
    aspect-ratio: 16 / 9; /* Mantiene la proporción de la imagen */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fade-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Transición suave de 1.5 segundos */
}

.fade-image.active {
    opacity: 1;
}


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) { /* Tablets y móviles */
    header nav {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    header nav.active { display: flex; }
    nav a { margin: 10px 0; }
    .nav-button { display: none; }
    #menu-toggle { display: block; }

    .hero-content {
        padding: 40px;
        max-width: 90%;
    }
    .hero-content .logo { font-size: 4rem; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 1.1rem; }

    .ia-grid, .vision-grid, .contact-wrapper, .oportunidad-grid, .team-grid, .advisors-grid {
        grid-template-columns: 1fr;
    }
    .ia-grid img { margin-top: 40px; }
}

@media (max-width: 768px) { /* Solo móviles */
    .section-title { font-size: 2.2rem; }
    
    .hero-content {
        padding: 30px;
    }
    .hero-content .logo { margin-bottom: 10px; } /* Adjust margin */
    .hero-content .hero-logo { max-width: 220px; } /* Drastically reduce logo size */
    .hero-content h2 { font-size: 1.4rem; } /* Slightly reduce subtitle size */
    .hero-content p { font-size: 0.9rem; }   /* Slightly reduce paragraph size */

    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 20px; text-align: left !important; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-item .timeline-icon { left: -15px !important; right: auto !important; }
    /* El tamaño ya es responsivo, no necesitamos sobreescribirlo aquí */

    .charts-container { grid-template-columns: 1fr; }
    .bar { width: 12%; }

    .team-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* Team Structure / Org Chart */
.team-structure {
    margin-top: 70px;
}

.team-structure h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 40px;
    font-weight: 700;
}

.org-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.org-department {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(var(--primary-purple-rgb), 0.05);
    overflow: hidden;
    position: relative;
}

.org-department:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-purple-rgb), 0.1);
}

.org-department h4 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.org-department h4 i {
    color: var(--primary-purple);
    margin-right: 12px;
    font-size: 1.3rem;
}

.org-department ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.org-department li {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.org-department li::before {
    content: '✓';
    color: var(--secondary-cyan);
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* --- CORRECCIONES PARA TIMELINE DE VALORACIÓN --- */

/* 1. Ocultar las líneas (horizontal y vertical) no deseadas */
.valuation-timeline .timeline::after,
.valuation-timeline .timeline::before {
    display: none;
}

/* 2. Posicionar los círculos como separadores entre los años */
.valuation-timeline .timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px; /* Ajuste vertical para alinear con el texto del año */
    right: 0;
    transform: translateX(50%); /* Centra el círculo en el espacio entre items */
    width: 12px;
    height: 12px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(var(--primary-purple-rgb), 0.2);
    transition: all 0.3s ease;
}

/* 3. Efecto hover para los círculos */
.valuation-timeline .timeline-item:hover::after {
    background-color: var(--secondary-cyan);
    box-shadow: 0 0 0 4px rgba(var(--secondary-cyan-rgb), 0.2);
}

/* Correcciones específicas para tarjetas problemáticas (CORREGIDO) */
.org-chart .org-department:nth-child(1),
.org-chart .org-department:nth-child(4) {
    /* Cambiamos 'transform' por 'all' para que anime todo */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    z-index: 5;
}

.org-chart .org-department:nth-child(1) h4 i,
.org-chart .org-department:nth-child(4) h4 i {
    transition: transform 0.3s ease;
}

.org-chart .org-department:nth-child(1):hover h4 i,
.org-chart .org-department:nth-child(4):hover h4 i {
    transform: scale(1.2);
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-contenido {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

#caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 16px;
    z-index: 1001;
}
