/* Features Section */
.features {
    background-color: #F8F9FA;
    padding: 100px 20px;
    position: relative;
    z-index: 5;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2C3E5D;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.features-subtitle {
    font-size: 1.125rem;
    color: #6C757D;
    line-height: 1.8;
    margin-bottom: 80px;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1) 0%, rgba(0, 136, 204, 0.05) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 136, 204, 0.08) 100%);
    transform: scale(1.05);
}

/* Animación de los SVG al hacer hover */
.feature-icon svg {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
}

/* Títulos de features */
.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}
/* Video Section */
.video-section {
    margin-top: 100px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.video-container:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2;
}

.video-play-button svg {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.video-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Responsive Design */
@media (max-width: 992px) {
    .features {
        padding: 80px 20px;
    }

    .features-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-title {
        min-height: auto;
    }

    .video-section {
        margin-top: 80px;
    }

    .video-play-button svg {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 20px;
    }

    .features-title {
        font-size: 1.3rem;
    }

    .features-subtitle {
        font-size: 1rem;
        margin-bottom: 60px;
    }

    .features-grid {
        gap: 40px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .feature-icon svg {
        width: 60px;
        height: 60px;
    }
    .feature-description {
        font-size: 0.95rem;
    }
    .video-section {
        margin-top: 60px;
    }

    .video-play-button svg {
        width: 60px;
        height: 60px;
    }
}

/* Asegurar que el botón de play se oculte cuando está invisible */
.video-play-button[style*="display: none"] {
    pointer-events: none;
    opacity: 0;
}

/* Asegurar transición suave del botón */
.video-play-button {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-play-button.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* Ocultar controles nativos hasta que se reproduzca */
video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s;
}

video[controls]::-webkit-media-controls {
    opacity: 1;
}

@media (max-width: 480px) {
    .features-title {
        font-size: 1.75rem;
    }

    .features-subtitle {
        font-size: 0.95rem;
    }

    .feature-title {
        font-size: 1.125rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon svg {
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .video-container {
        border-radius: 12px;
    }

    .video-play-button svg {
        width: 50px;
        height: 50px;
    }
}