/* ==================================== */
/* 0. VARIABLES Y RESET BASICO */
/* ==================================== */
:root {
    /* Paleta de Colores SalonFlow */
    --color-primary: #004AAD;      /* Azul Profundo (Confianza) */
    --color-accent: #FFC72C;       /* Dorado Vibrante (Acción/Lujo) */
    --color-success: #28A745;      /* Verde Esmeralda (Éxito) */
    --color-background: #FFFFFF;   /* Blanco Puro */
    --color-text: #343A40;         /* Gris Carbón (Texto) */

    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Sombras 3D Suave */
    --shadow-subtle: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 8px 25px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

/* ==================================== */
/* 1. TIPOGRAFÍA Y ENCABEZADOS */
/* ==================================== */

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
    font-weight: 900; /* Peso fuerte para Montserrat */
}

.hero-title {
    font-size: 3.5rem; /* Título H1 grande y dominante */
    font-weight: 900;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 3rem;
}

.highlight-success {
    color: var(--color-success);
    font-weight: bold;
}

/* ==================================== */
/* 2. HEADER Y NAVBAR */
/* ==================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo-placeholder h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary); /* Azul Profundo para Logo/Título */
}

.nav-links a {
    margin-left: 25px;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* CTA Link en Navbar */
.cta-link {
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    box-shadow: var(--shadow-subtle);
}

/* ==================================== */
/* 3. HERO SECTION */
/* ==================================== */

.hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin: 1.5rem 0 2rem;
}

/* Botón CTA Principal (Dorado Vibrante) */
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(255, 199, 44, 0.5); /* Sombra intensa de acción */
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 199, 44, 0.7);
}

.small-text {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

/* ==================================== */
/* 4. SECCIONES GENERALES */
/* ==================================== */

.section {
    padding: 6rem 0;
}

/* Video Section */
.video-section {
    background-color: #f7f9fc;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ddd;
    height: 500px;
    border-radius: 12px;
    box-shadow: var(--shadow-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder-video {
    font-weight: 700;
    color: #666;
    font-size: 1.2rem;
}

/* ==================================== */
/* 5. SECCIÓN DE CARACTERÍSTICAS (GRID) */
/* ==================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 4rem;
}

.feature-card {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-subtle); /* Efecto 3D Suave */
    border: 1px solid rgba(0, 74, 173, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-top: 15px;
    color: var(--color-text);
}

.icon-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-background);
}

.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); color: var(--color-text); }
.bg-success { background-color: var(--color-success); }

.cta-button-secondary {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

/* ==================================== */
/* 6. SECCIÓN DE AUTOMATIZACIÓN */
/* ==================================== */

.automation-section {
    background-color: #F8F9FA;
}
.automation-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.automation-content .text-content {
    flex: 1;
}

.automation-content .image-placeholder {
    flex: 1;
    min-height: 400px;
    background-color: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
}

.automation-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.automation-content li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.automation-content .bullet {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* ==================================== */
/* 7. PLANES Y PRECIOS */
/* ==================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.pricing-card {
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #ddd;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.pricing-card .period {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.pricing-card.highlighted {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 74, 173, 0.4);
}

.pricing-card.highlighted h3, .pricing-card.highlighted .price {
    color: var(--color-background);
}

.pricing-card.highlighted .period, .pricing-card.highlighted .description {
    color: #e0e0e0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 20px 0 30px;
}

.pricing-card ul li {
    margin-bottom: 10px;
    padding-left: 1.5em;
    position: relative;
    font-weight: 500;
    color: inherit;
}

.pricing-card ul li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: var(--color-success); /* Verde Esmeralda para el Check */
}
.pricing-card.highlighted ul li::before {
    color: var(--color-accent); 
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Botones Outlined para planes no destacados */
.cta-button-outline {
    display: block;
    padding: 12px 0;
    border-radius: 8px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
    transition: background-color 0.3s;
}

.pricing-card.highlighted .cta-button {
    background-color: var(--color-accent);
    color: var(--color-text);
    box-shadow: none;
}

.cta-button-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

/* ==================================== */
/* 8. FOOTER */
/* ==================================== */

.footer {
    padding: 4rem 0;
    color: var(--color-background);
    text-align: center;
}

.footer-cta-title {
    font-size: 2rem;
    color: var(--color-background);
    margin-bottom: 25px;
}

.cta-button-footer {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 900;
    transition: transform 0.2s;
    box-shadow: 0 5px 15px rgba(255, 199, 44, 0.5);
    margin-bottom: 25px;
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================================== */
/* 9. MEDIA QUERIES (RESPONSIVE) */
/* ==================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .automation-content {
        flex-direction: column;
    }
    .automation-content .image-placeholder {
        min-height: 250px;
    }
    .pricing-card.highlighted {
        transform: scale(1.0);
    }
}

/* ==================================== */
/* 10. REGLAS DE MEDIOS RESPONSIVOS */
/* ==================================== */

/* Asegura que las imágenes y videos se ajusten a su contenedor */
.responsive-media {
    max-width: 100%;
    height: auto; /* Mantiene la proporción */
    display: block;
    border-radius: inherit; /* Hereda bordes redondeados si los tiene el contenedor */
}

/* Aplicar al contenedor del video */
.video-container img, .video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen cubriendo el área sin estirarse */
    border-radius: 12px;
}

/* Logo en la barra de navegación */
.navbar-logo {
    height: 160px; /* Define la altura para que no sea muy grande */
    width: auto; /* Mantiene la proporción del logo */
    display: block;
}