/* ======== VARIABLES Y ESTILOS GLOBALES ======== */
:root {
    --primary-color: #0052cc; /* Un azul corporativo fuerte */
    --secondary-color: #0a192f; /* Un azul oscuro casi negro para texto y fondos */
    --accent-color: #64ffda; /* Un acento menta/turquesa para CTAs */
    --light-bg: #f8f9fa;
    --text-color: #333;
    --text-light: #f1f1f1;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--secondary-color);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #555;
}

.bg-light {
    background-color: var(--light-bg);
}

/* ======== BOTONES ======== */
.cta-button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.cta-button-main {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.4);
}

/* ======== HEADER ======== */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* ======== HERO ======== */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

#hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero::after { /* Overlay oscuro */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
    z-index: -1;
}

#hero .hero-content {
    max-width: 800px;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}


/* ======== PROBLEMA/SOLUCIÓN ======== */
.problemas-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}
.problema-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex-basis: 31%;
}
.problema-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.problema-card h3 {
    margin-bottom: 15px;
}

/* ======== COACHES ======== */
.coach-profiles-container {
 display: flex;
    gap: 50px; /* Espacio entre los perfiles */
    align-items: flex-start; /* Alinea los perfiles en la parte superior */
}

/* ======== COACHES ======== */
#coaches {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--light-bg), var(--primary-color));
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: var(--secondary-color); /* Asegura buen contraste con el fondo */
    overflow: hidden; /* Oculta el gradiente animado fuera de la sección */
    position: relative; /* Needed for gradient positioning */
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.coach-profile {
    flex: 1;
    text-align: center;
}
.coach-profile img {
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
 object-fit: cover; /* Asegura que la imagen cubra el contenedor */
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.coach-profile h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* Estilo específico para la imagen de IAN para ajustar su posición */
.coach-profiles-container .coach-profile:first-child img {
 object-position: 20% center; /* Ajusta horizontal (20% desde la izquierda) y vertical (centrado) para mostrar la mano derecha */
}

/* ======== METODOLOGÍA ======== */
.video-container {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-container video {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* ======== PLANES ======== */
.planes-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}
.plan-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 350px;
    transition: all 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-10px);
}
.plan-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}
.plan-card h3 {
    font-size: 1.6rem;
}
.plan-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}
.plan-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}
.plan-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.plan-card ul li {
    margin-bottom: 10px;
}
.plan-card ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}
.plan-card ul li i.fa-times {
    color: #ccc;
}
.cta-button-plan {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.cta-button-plan:hover {
    background-color: #003e99;
}
.plan-card.popular .cta-button-plan {
    background: var(--accent-color);
    color: var(--secondary-color);
}
.plan-card.popular .cta-button-plan:hover {
    background: #50e3c2;
}


/* ======== REGISTRO ======== */
#registro {
    text-align: center;
}
#free-trial-form {
    max-width: 500px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#free-trial-form input {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-family);
}
#form-message {
    margin-top: 15px;
    font-weight: 600;
}

/* ======== FOOTER ======== */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 20px 0;
}

footer p {
    margin-bottom: 15px;
}

footer a {
    color: #fff; /* Set color to white */
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 10px; /* Space below the email */
}

footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    margin: 0 10px; /* Space between social icons */
    font-size: 1.5rem; /* Slightly increase icon size */
    margin-bottom: 0; /* Remove bottom margin for icons */
 color: #fff; /* Set icon color to white */
}

/* ======== RESPONSIVE DESIGN ======== */
@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    header .container { flex-direction: column; height: auto; padding: 15px; }
    header nav ul { margin: 15px 0; }
    #hero { height: 80vh; }
    #hero h1 { font-size: 2.5rem; }
    .problemas-container, .coach-profiles-container, .planes-container { flex-direction: column; }
    .plan-card.popular { transform: scale(1); }
}