/* Variables */
:root {
    --azul: #092333;
    --morado: #6b239e;
    --verde: #12c4b2;
    --blanco: #ffffff;
    --gris-claro: #f8f9fa;
    --gris: #e9ecef;
    --gris-oscuro: #343a40;
    --negro: #212529;
    --sombra: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transicion: all 0.3s ease;
}

/* Animaciones para elementos al hacer scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--gris-claro);
    color: var(--azul);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--morado);
    text-decoration: none;
    transition: var(--transicion);
}

a:hover {
    color: var(--verde);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--blanco);
    box-shadow: var(--sombra);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    flex-wrap: wrap;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
    color: var(--negro);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid var(--verde);
    color: var(--verde);
}

.language-selector, .language-selector-mobile {
    display: flex;
    gap: 0.5rem;
}

.language-selector-mobile {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--negro);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.language-selector button {
    background: none;
    border: 1px solid var(--gris);
    color: var(--azul);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transicion);
}

.language-selector button:hover {
    background-color: var(--gris);
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 2rem;
    color: var(--blanco);
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    gap: 2rem;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
    transform: scale(1.02);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 35, 51, 0.85) 0%, rgba(107, 35, 158, 0.85) 100%);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.accent-text {
    color: var(--verde);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.hero-tagline span {
    color: var(--verde);
}

.with-text {
    color: var(--blanco) !important;
    font-weight: 400;
    font-size: 1.5rem;
}

.hero-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--verde);
    color: var(--blanco);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transicion);
}

.btn-primary:hover {
    background-color: #10b0a0;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--blanco);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--blanco);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transicion);
}

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

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    /* border-radius: 10px; */
    /* box-shadow: 0 5px 25px rgba(255, 255, 255, 0.15); */
    /* object-fit: contain; */
    animation: float 6s ease-in-out infinite;
}

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

/* Separador */
.separator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.separator-line {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--morado), transparent);
}

/* Secciones generales */
section {
    padding: 4rem 2rem;
    margin-bottom: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--azul);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gris-oscuro);
    max-width: 800px;
    margin: 0 auto;
}

/* Modelo de Trabajo */
.modelo-section {
    background-color: var(--blanco);
}

.modelo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.modelo-comparison {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.modelo-before, .modelo-after {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--gris-claro);
    box-shadow: var(--sombra);
    text-align: center;
}

.modelo-icon {
    font-size: 3rem;
    margin: 1rem 0;
    color: var(--morado);
}

.modelo-arrow {
    font-size: 2rem;
    color: var(--verde);
}

/* Que Son Section */
.que-son-section {
    background-color: var(--gris-claro);
}

.que-son-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.que-son-description {
    flex: 1;
    min-width: 300px;
}

.que-son-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.que-son-image img {
    border-radius: 8px;
    box-shadow: var(--sombra);
    max-width: 100%;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--morado);
    border-left: 4px solid var(--verde);
    padding-left: 1rem;
    margin: 2rem 0;
}

/* Constellation Hub */
.constellation-section {
    background-color: var(--blanco);
    padding: 3rem 0;
    position: relative;
}

.constellation-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Tabs de los Pods */
.pods-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.pods-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gris);
}

.pod-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transicion);
    position: relative;
    min-width: 100px;
}

.pod-tab:before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 4px;
    background-color: var(--morado);
    transition: transform 0.3s ease;
    border-radius: 4px 4px 0 0;
}

.pod-tab.active:before {
    transform: translateX(-50%) scaleX(1);
}

.pod-tab:hover {
    background-color: rgba(107, 35, 158, 0.05);
}

.pod-tab.active {
    background-color: rgba(107, 35, 158, 0.1);
}

.tab-icon {
    width: 60px;
    height: 85px;
    border-radius: 20%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: var(--transicion);
    margin-bottom: 0.5rem;
    filter: grayscale(50%);
}

.pod-tab:hover .tab-icon {
    transform: translateY(-5px);
    border-color: var(--verde);
    filter: grayscale(0%);
}

.pod-tab.active .tab-icon {
    border-color: var(--morado);
    transform: translateY(-5px);
    filter: grayscale(0%);
}

.pod-tab span {
    font-weight: bold;
    transition: var(--transicion);
}

.pod-tab.active span {
    color: var(--morado);
}

/* Contenido de los Pods */
.pods-content {
    position: relative;
}

.pod-content {
    display: none;
    background-color: var(--gris-claro);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--sombra);
    transition: var(--transicion);
    animation: fadeIn 0.5s ease;
}

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

.pod-content.active {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pod-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid var(--gris);
    padding-bottom: 2rem;
}

.pod-character-full {
    width: 160px;
    height: 210px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--sombra);
    background-color: var(--blanco);
}

.pod-character-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pod-content:hover .pod-character-img {
    transform: scale(1.05);
}

.pod-header-info {
    flex: 1;
}

.pod-header-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--morado);
}

.pod-role {
    color: var(--morado);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pod-powers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
}

.power-badge {
    background-color: var(--azul);
    color: var(--blanco);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transicion);
}

.pod-content:hover .power-badge {
    background-color: var(--morado);
}

.pod-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pod-description p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.pod-description p:first-child {
    font-weight: 600;
    color: var(--azul);
    font-size: 1.3rem;
}

.pod-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.pod-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--blanco);
    border-radius: 8px;
    transition: var(--transicion);
}

.pod-feature i {
    color: var(--morado);
    font-size: 1.5rem;
}

.pod-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra);
}

/* Casos de Uso */
.casos-uso-section {
    position: relative;
    padding: 5rem 0;
    color: var(--blanco);
    overflow: hidden;
}

.casos-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--azul) 0%, var(--morado) 100%);
    z-index: -1;
    overflow: hidden;
}

.casos-gradient-bg:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 60s linear infinite;
    z-index: -1;
}

.casos-gradient-bg:after {
    content: '';
    position: absolute;
    bottom: -5%;
    right: -5%;
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--verde) 0%, rgba(18,196,178,0) 70%);
    opacity: 0.3;
    filter: blur(50px);
}

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

.casos-uso-section .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.casos-uso-section h2 {
    color: var(--blanco);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.casos-uso-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--verde);
    border-radius: 2px;
}

.casos-uso-section .section-subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

.casos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.caso-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.caso-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.15);
}

.caso-icon-container {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.caso-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(18, 196, 178, 0.4);
    transition: all 0.3s ease;
}

.caso-card:hover .caso-icon {
    transform: rotateY(360deg);
    background: var(--blanco);
    color: var(--morado);
}

.caso-content {
    padding: 1.5rem;
    flex: 1;
    position: relative;
}

.caso-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: var(--blanco);
}

.caso-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.caso-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--verde);
    color: var(--azul);
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: var(--transicion);
}

.caso-card:hover .caso-tag {
    background-color: var(--blanco);
}

.integration-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.integration-text span {
    color: var(--verde);
    font-weight: bold;
}

/* Órbita de innovación */
.orbita-innovacion-section {
    padding: 5rem 0;
    background-color: var(--gris-claro);
    position: relative;
    overflow: hidden;
}

.orbita-innovacion-section .section-header {
    margin-bottom: 3rem;
}

.orbita-innovacion-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--morado);
    position: relative;
}

.orbita-innovacion-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--verde);
    border-radius: 2px;
}

.orbita-innovacion-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--gris-oscuro);
    font-size: 1.2rem;
}

.orbita-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Diagrama del flujo de trabajo */
.workflow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0 3rem;
}

.workflow-developer {
    margin-bottom: 2rem;
}

.workflow-developer .developer-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--azul) 0%, var(--morado) 60%);
    border-radius: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--blanco);
    box-shadow: 0 0 20px rgba(107, 35, 158, 0.3);
    position: relative;
    margin: 0 auto;
}

.workflow-developer .developer-avatar i {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.workflow-developer .developer-avatar span {
    font-size: 0.8rem;
    font-weight: bold;
}

.workflow-developer .developer-avatar:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background-color: var(--morado);
}

.workflow-cycles {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.workflow-cycle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.75rem;
    position: relative;
}

.primary-cycle {
    background-color: rgba(228, 212, 242, 0.6);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cycle-pod {
    position: relative;
    width: 100px;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    border-radius: 12px;
    background-color: var(--blanco);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cycle-pod .pod-avatar {
    width: 60px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    background-color: var(--blanco);
}

.cycle-pod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cycle-pod-name {
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--azul);
    margin-top: 0.3rem;
    transition: var(--transicion);
}

.cycle-indicator {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--verde);
    border: 2px solid var(--blanco);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cycle-activity-indicator {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--verde);
    border: 2px solid var(--blanco);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(18, 196, 178, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(18, 196, 178, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(18, 196, 178, 0);
    }
}

.cycle-pod:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(244, 242, 242, 0.1);
    background-color: rgba(239, 236, 240, 0.05);
}

.cycle-pod:hover .pod-avatar {
    border-color: var(--verde);
}

.cycle-pod:hover .cycle-pod-name {
    color: var(--verde);
}

.cycle-pod.active {
    background-color: rgba(247, 245, 248, 0.1);
    transform: translateY(-5px);
}

.cycle-pod.active .pod-avatar {
    border-color: var(--gris);
    box-shadow: 0 0 0 5px rgba(243, 241, 244, 0.2);
}

.cycle-pod.active .cycle-pod-name {
    color: var(--morado);
}

.cycle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--azul);
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    margin: 0 -0.5rem;
}

.cycle-arrow.primary {
    color: var(--morado);
    font-size: 1.75rem;
}

.cycle-arrow.repeating {
    background-color: rgba(107, 35, 158, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: rotate 3s linear infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.cycle-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 220px;
    background-color: var(--blanco);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.cycle-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--blanco) transparent transparent transparent;
}

.cycle-pod:hover .cycle-tooltip {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.cycle-tooltip h4 {
    color: var(--morado);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cycle-tooltip p {
    font-size: 0.9rem;
    color: var(--gris-oscuro);
}

.cycle-activity {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 0.5rem;
}

.cycle-activity-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--verde);
    animation: fadeInOut 1.5s infinite;
}

.cycle-activity-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.cycle-activity-dot:nth-child(3) {
    animation-delay: 1s;
}

.cycle-pod .role-badge {
    display: block;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    background-color: var(--gris);
    border-radius: 4px;
    margin-top: 0.25rem;
    color: var(--gris-oscuro);
    transition: var(--transicion);
}

.cycle-pod.active .role-badge {
    background-color: rgba(107, 35, 158, 0.1);
    color: var(--morado);
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
}

.secondary-cycles {
    display: flex;
    gap: 1.75rem;
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.secondary-cycles:before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 15px;
    background-color: var(--azul);
    border-radius: 3px;
}

.workflow-notes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    color: var(--gris-oscuro);
    font-style: italic;
}

.workflow-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-note i {
    color: var(--verde);
}

/* Command Interface Styles */
.command-interface {
    margin-top: 2rem;
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    font-family: 'Courier New', monospace;
    margin: 0 auto;
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--azul);
    padding: 0.8rem 1rem;
    color: var(--blanco);
}

.command-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.command-buttons {
    display: flex;
    gap: 0.5rem;
}

.command-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
}

.command-buttons span:nth-child(1) {
    background-color: #ff5f56;
}

.command-buttons span:nth-child(2) {
    background-color: #ffbd2e;
}

.command-buttons span:nth-child(3) {
    background-color: #27c93f;
}

.command-body {
    background-color: #1e1e1e;
    color: #f1f1f1;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow-x: auto;
}

.command-line {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.command-prompt {
    color: #9cdcfe;
}

.command-text {
    color: #dcdcaa;
}

.command-output {
    padding: 0.5rem 0 0.5rem 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0 1rem 1rem;
}

.output-line {
    margin-bottom: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timestamp {
    color: #6a9955;
}

.pod-jax {
    color: #569cd6;
    font-weight: bold;
}

.pod-max {
    color: #ce9178;
    font-weight: bold;
}

.pod-tess {
    color: #b5cea8;
    font-weight: bold;
}

.pod-bugz {
    color: #d7ba7d;
    font-weight: bold;
}

.pod-lex {
    color: #4ec9b0;
    font-weight: bold;
}

.file-path {
    color: #9cdcfe;
    margin-left: 0.5rem;
}

.success {
    color: #6a9955;
}

.pod-success {
    color: #6a9955;
    font-weight: bold;
}

.command-cursor {
    width: 8px;
    height: 16px;
    background-color: #f1f1f1;
    display: inline-block;
    animation: blink 1s infinite step-end;
}

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

/* Beneficios */
.beneficios-section {
    background-color: var(--gris-claro);
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particles-bg::before,
.particles-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--morado) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, var(--verde) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, var(--azul) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: particleAnimation 15s infinite linear;
}

.particles-bg::after {
    background-size: 40px 40px;
    opacity: 0.03;
    animation-duration: 20s;
    animation-direction: reverse;
}

@keyframes particleAnimation {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, 20px);
    }
}

.metricas-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.metricas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.metrica-card {
    background-color: var(--blanco);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.metrica-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--morado), var(--verde));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.metrica-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.metrica-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.circle-progress {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke: var(--morado);
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1.5s ease-out forwards;
}

.circle.negative {
    stroke: #ff5252;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

.metrica-content {
    position: relative;
    z-index: 2;
}

.metrica-valor {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--morado);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.metrica-valor.negative {
    color: #ff5252;
}

.metrica-valor::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: rgba(107, 35, 158, 0.1);
    bottom: 5px;
    left: 0;
    z-index: -1;
}

.metrica-valor.negative::after {
    background: rgba(255, 82, 82, 0.1);
}

.metrica-descripcion {
    color: var(--gris-oscuro);
    font-size: 1.1rem;
    font-weight: 500;
}

.metrica-card:hover .metrica-valor {
    transform: scale(1.1);
}

.metrica-info {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--azul);
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metrica-info:hover {
    opacity: 1;
}

.metrica-tooltip {
    position: absolute;
    top: 30px;
    right: 0;
    width: 250px;
    background-color: var(--azul);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.metrica-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: var(--azul);
    transform: rotate(45deg);
}

.metrica-info:hover .metrica-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.metricas-testimonial {
    background-color: var(--blanco);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
    position: relative;
    border-left: 4px solid var(--morado);
}

.metricas-testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
    padding: 0;
    color: var(--azul);
    border: none;
}

.metricas-testimonial blockquote::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: 10px;
    color: rgba(107, 35, 158, 0.1);
    font-family: Georgia, serif;
}

.metricas-testimonial cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--morado);
    text-align: right;
    font-style: normal;
    font-size: 1rem;
}

.metricas-footer {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    color: var(--gris-oscuro);
}

/* Orquestación */
.orquestacion-section {
    background-color: var(--blanco);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.orquestacion-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 35, 158, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.orquestacion-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(18, 196, 178, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.orquestacion-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.orquestacion-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orquestacion-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--sombra);
    transition: var(--transicion);
}

.orquestacion-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.orquestacion-description {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: var(--morado);
    border-left: 4px solid var(--verde);
    padding: 1.5rem 2rem;
    background-color: rgba(107, 35, 158, 0.05);
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(107, 35, 158, 0.1);
    position: absolute;
    top: -10px;
    left: 10px;
}

.orquestacion-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

/* Ejecución */
.ejecucion-section {
    background-color: var(--gris-claro);
    padding-bottom: 6rem;
}

.tech-stack-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--sombra);
    border-left: 4px solid var(--morado);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background-color: var(--blanco);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--sombra);
    text-align: center;
    transition: var(--transicion);
    position: relative;
    overflow: hidden;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--morado), var(--verde));
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--morado);
    transition: var(--transicion);
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
}

.tech-item h3 {
    margin-bottom: 1rem;
    color: var(--azul);
}

.tech-item p {
    color: var(--gris-oscuro);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--morado) 0%, var(--azul) 100%);
    color: var(--blanco);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(18, 196, 178, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(18, 196, 178, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03);
    }
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--verde);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    background-color: #10b0a0;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-secondary {
    border: 2px solid var(--verde);
    color: var(--verde);
    background-color: transparent;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-section .btn-secondary:hover {
    background-color: rgba(18, 196, 178, 0.1);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: var(--azul);
    color: var(--blanco);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    color: var(--verde);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--gris);
}

.footer-column a:hover {
    color: var(--verde);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.footer-social a {
    color: var(--blanco);
    font-size: 1.5rem;
    transition: var(--transicion);
}

.footer-social a:hover {
    color: var(--verde);
    transform: translateY(-3px);
}

/* Demo en acción */
.demo-section {
    padding: 5rem 0;
    background-color: var(--blanco);
    background-image: linear-gradient(135deg, rgba(107, 35, 158, 0.05) 0%, rgba(18, 196, 178, 0.05) 100%);
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.video-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.video-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.8rem;
    background-color: var(--blanco);
    border: 2px solid var(--gris);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
    color: var(--azul);
}

.video-tab i {
    font-size: 1.1rem;
}

.video-tab:hover {
    background-color: rgba(107, 35, 158, 0.05);
    border-color: var(--morado);
    transform: translateY(-2px);
}

.video-tab.active {
    background-color: var(--morado);
    color: var(--blanco);
    border-color: var(--morado);
    box-shadow: 0 4px 15px rgba(107, 35, 158, 0.3);
    transform: translateY(-2px);
}

.video-container {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    background-color: var(--negro);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-player {
    position: relative;
    width: 100%;
    background-color: var(--negro);
}

.youtube-player {
    position: relative;
    width: 100%;
    background-color: var(--negro);
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--negro);
    color: var(--blanco);
    text-align: center;
    padding: 2rem;
    z-index: 10;
}

.video-fallback p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.video-fallback a {
    color: var(--verde);
    text-decoration: underline;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 2px solid var(--verde);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.video-fallback a:hover {
    background-color: var(--verde);
    color: var(--blanco);
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    color: var(--blanco);
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0 0 16px 16px;
}

.youtube-player .video-info {
    position: static;
    background: none;
    color: var(--azul);
    padding: 1.5rem;
    transform: none;
    transition: none;
    border-radius: 0;
}

.video-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.youtube-player .video-info p {
    opacity: 0.7;
    color: var(--gris-oscuro);
}

.video-duration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--blanco);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.youtube-player .video-duration {
    position: static;
    background-color: var(--morado);
    color: var(--blanco);
    display: inline-block;
    margin-top: 0.5rem;
}

.video-fallback {
    padding: 2rem;
    text-align: center;
    background-color: var(--gris-claro);
    border-radius: 16px;
}

.video-fallback p {
    color: var(--azul);
    margin-bottom: 1rem;
}

.video-fallback a {
    color: var(--morado);
    text-decoration: none;
    font-weight: 600;
}

.video-fallback a:hover {
    text-decoration: underline;
}

.demo-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    background-color: var(--blanco);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--azul) 0%, var(--morado) 100%);
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.highlight-icon i {
    color: var(--blanco);
    font-size: 1.5rem;
}

.highlight-text h3 {
    margin-bottom: 0.5rem;
    color: var(--azul);
    font-size: 1.1rem;
}

.highlight-text p {
    font-size: 0.9rem;
    color: var(--gris-oscuro);
    margin-bottom: 0;
}

/* Responsive */
/* Tablets y dispositivos medianos */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .pod-tabs {
        gap: 0.5rem;
    }
    
    .pod-tab {
        padding: 0.8rem 1.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }
}

/* Móviles y tablets pequeñas */
@media screen and (max-width: 768px) {
    html, body {
        font-size: 15px; /* Base font size más pequeño para móviles */
    }
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-tagline {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        margin: 0.25rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .modelo-comparison {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .orbit-carousel {
        flex-direction: column;
        gap: 1rem;
    }
    
    .orbit-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .navbar {
        padding: 1rem 0.5rem;
        width: 100%;
        position: relative;
    }
    
    .navbar-container {
        position: relative;
        padding: 0;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .logo img {
        max-height: 35px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--blanco);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        width: 100%;
        padding: 0;
        margin: 0;
        z-index: 999;
    }
    
    .nav-links.active {
        max-height: 400px;
        padding: 1rem 0;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        text-align: center;
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .language-selector {
        display: none;
    }
    
    .language-selector-mobile {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        width: 100%;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo img {
        max-height: 30px;
        margin-bottom: 0.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .video-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-tab {
        width: 100%;
    }
    
    .demo-container {
        padding: 0;
    }
    
    .demo-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .highlight-icon {
        margin-right: 0;
        margin-bottom: 0.8rem;
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    /* Mejoras para reproductores de video en móviles */
    .youtube-player {
        padding-bottom: 56.25%; /* Mantener aspect ratio en móviles */
        border-radius: 8px;
    }
    
    .video-info {
        padding: 0.8rem;
    }
    
    .video-info h4 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .video-duration {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
        right: 0.5rem;
        bottom: 0.5rem;
    }
    
    /* Ajustes para la sección de pods */
    .pod-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pod-tab {
        flex: 0 0 calc(50% - 0.5rem);
        padding: 0.7rem 0.5rem;
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .pod-content {
        padding: 1rem;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {
    html, body {
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .pod-tab {
        flex: 0 0 100%;
        margin-bottom: 0.3rem;
    }
    
    .pod-content {
        padding: 0.8rem;
    }
    
    .navbar {
        padding: 0.7rem 0.3rem;
    }
    
    .logo img {
        max-height: 30px;
    }
    
    .menu-toggle {
        width: 25px;
        height: 18px;
    }
    
    .menu-toggle .bar {
        width: 25px;
        height: 2px;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .hero-image img {
        max-width: 100%;
        height: auto;
    }
    
    .youtube-player {
        border-radius: 6px;
    }
    
    .video-info h4 {
        font-size: 0.9rem;
    }
}

/* Dispositivos táctiles - optimización para YouTube embeds y elementos interactivos */
@media (hover: none) and (pointer: coarse) {
    .youtube-player .video-info {
        background: var(--gris-claro);
        border-radius: 0 0 16px 16px;
    }
    
    .youtube-player iframe {
        border-radius: 16px 16px 0 0;
    }
    
    /* Mejorar áreas táctiles en dispositivos móviles */
    .btn, button, .nav-links a, .pod-tab {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    /* Mostrar estado activo en vez de hover */
    .nav-links a:active,
    .btn:active,
    .pod-tab:active {
        transform: translateY(1px);
        opacity: 0.9;
    }
}

/* Ajustes específicos para orientación vertical en móviles */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .container {
        padding: 0 0.8rem;
    }
    
    /* Asegurar que los elementos interactivos tengan suficiente espacio táctil */
    .nav-links a,
    .btn,
    .pod-tab,
    .highlight-item,
    .footer-link {
        min-height: 44px; /* Recomendación de Apple para elementos táctiles */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Ajustes específicos para orientación horizontal en móviles */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .hero-section {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .hero-tagline {
        justify-content: flex-start;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-content {
        flex: 1;
    }
    
    .hero-image {
        flex: 1;
    }
}

/* Optimizaciones de rendimiento para dispositivos móviles */
@media screen and (max-width: 768px) {
    /* Optimizar imágenes y fondos */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Mejorar la interacción táctil */
    a, button, .btn, .pod-tab {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(107, 35, 158, 0.2);
    }
    
    /* Evitar problemas con texto y fuentes */
    h1, h2, h3, h4, p, span {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    
    /* Corregir problemas de scroll */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    /* Mejorar legibilidad */
    p, li {
        line-height: 1.5;
    }
    
    /* Mejorar velocidad de carga */
    .youtube-player iframe {
        display: block;
    }
}

/* Fix para dispositivos iOS */
@supports (-webkit-touch-callout: none) {
    .btn, .pod-tab, .nav-links a {
        padding-top: 0.8rem;
        padding-bottom: 0.7rem;
    }
    
    /* Fix para el 100vh en iOS */
    .hero-section {
        min-height: 85vh; /* En lugar de 100vh */
    }
    
    /* Fix para la posición fija en iOS */
    .navbar {
        position: sticky;
    }
}

/* Optimizaciones para navegadores antiguos y de baja potencia */
@media screen and (max-width: 480px) {
    /* Reducir animaciones */
    * {
        transition-duration: 0.3s;
    }
    
    /* Simplificar sombras */
    .card, .pod-tab, .btn, .navbar {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    /* Reducir el tamaño de archivos para fuentes */
    body {
        text-rendering: optimizeSpeed;
    }
}
