/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* AQUI ESTÁ LA MAGIA DEL SCROLL SUAVE */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }

/* Navbar */
.navbar {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2563eb;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover { color: #2563eb; }

.nav-link-special {
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
}

.btn-nav {
    background-color: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn-primary {
    background-color: #fff;
    color: #1e40af;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Video Section Responsiva */
.demo-section {
    padding: 4rem 0;
    text-align: center;
    background: #fff;
}

.video-wrapper {
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Grid Cards */
.info-section { padding: 4rem 0; }
.info-section h2 { text-align: center; margin-bottom: 3rem; font-size: 2rem; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid #2563eb;
}

.card h3 { margin-bottom: 1rem; }

/* Waitlist Form */
.waitlist-section {
    padding: 4rem 0;
    background-color: #eff6ff;
}

.form-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* --- MODIFICACIÓN: Excluimos el checkbox del estilo general --- */
input:not([type="checkbox"]), select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
}

/* --- MODIFICACIÓN: Forzamos la alineación a la izquierda --- */
.legal-check {
    display: flex;
    align-items: center;       /* Centrado verticalmente con el texto */
    justify-content: flex-start; /* Alineado a la izquierda horizontalmente */
    text-align: left;          /* Asegura que el texto no se centre */
    width: 100%;               /* Ocupa todo el ancho disponible */
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.legal-check input {
    width: auto;      /* El checkbox vuelve a su tamaño pequeñito */
    margin-right: 8px; /* Un poco de espacio entre el cuadro y el texto */
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
}

.btn-submit:hover { background-color: #1d4ed8; }

/* Footer */
footer {
    background: #1f2937;
    color: #9ca3af;
    text-align: center;
    padding: 2rem 0;
}

/* ===============================
   ESTILOS DEL MODAL (POPUP) 
   =============================== */
.modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.modal.mostrar {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

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

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover { color: #000; }

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid #eff6ff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal-header h2 { margin-bottom: 0.2rem; color: #1f2937; }
.subtitle { color: #6b7280; margin-bottom: 1.5rem; font-weight: 500; }
.modal-body p { color: #4b5563; margin-bottom: 2rem; font-size: 0.95rem; }

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    color: white;
}

.social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }

/* Colores de marca */
.yt-cloud { background-color: #ff0000; }
.yt-ia { background-color: #282828; }
.insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.linkedin { background-color: #0077b5; }

/* Movil */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; } 
}

/* =========================================
   SECCIÓN DE PRECIOS (NUEVO)
   ========================================= */
.pricing-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Estilo destacado para el plan PRO */
.pricing-card.pro {
    border: 2px solid #2563eb;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #eff6ff);
}

.badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1; /* Empuja el botón al fondo si hay disparidad de altura */
}

.features-list li {
    margin-bottom: 0.8rem;
    color: #4b5563;
    display: flex;
    align-items: start;
    gap: 10px;
}

.features-list i {
    color: #10b981; /* Verde check */
    margin-top: 4px;
}

/* Estilos para el Descuento en el Formulario */
.discount-banner {
    background-color: #dbeafe; /* Azul muy clarito */
    border: 1px dashed #2563eb;
    color: #1e40af;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 600;
    display: inline-block;
}

.discount-highlight {
    color: #dc2626; /* Rojo llamativo */
    font-weight: 800;
    font-size: 1.1em;
}