:root {
    --primary: #FF7E04;
    --primary-hover: #ff912b;
    --secondary: #FFA764;
    --dark: #121212;
    --light: #FBFDFC; 
    --bg-alt: #F3F5F7; 
    --gray: #6B7280;
    --white: #FFFFFF;
    
    /* TIPOGRAFÍA ACTUALIZADA */
    --font-main: 'Montserrat', sans-serif; /* Títulos y Textos */
    --font-accent: 'Poppins', sans-serif;  /* Subtítulos */
    
    /* Sombras */
    --shadow-soft: 0 10px 30px -5px rgba(0,0,0,0.08);
    --shadow-card: 0 20px 40px -10px rgba(18, 18, 18, 0.15);
    --shadow-primary: 0 10px 25px -5px rgba(255, 126, 4, 0.5);
    --shadow-hover: 0 25px 50px -12px rgba(255, 126, 4, 0.35);
    
    --radius-lg: 24px;
    --radius-btn: 50px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset y Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main); /* Montserrat Regular */
    font-weight: 400;              /* Peso Regular */
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Textura de ruido (Se mantiene igual) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03; 
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="a"%3E%3CfeTurbulence type="fractalNoise" baseFrequency=".005" numOctaves="2" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23a)"/%3E%3C/svg%3E');
}

/* Títulos: Montserrat Semibold */
h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-main); 
    color: var(--dark); 
    font-weight: 600; /* Semibold */
    letter-spacing: -0.5px; 
}

/* Subtítulos Específicos: Poppins Medium */
.hero-subtitle, 
.section-subtitle {
    font-family: var(--font-accent);
    font-weight: 500; /* Medium */
    color: var(--gray);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. PRELOADER (Pantalla de Carga)
   ========================================= */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--light);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.preloader-content { text-align: center; }

.preloader-logo {
    width: 200px; height: 200px;
    margin-bottom: 20px;
    animation: pulse 2s infinite ease-in-out;
}

.spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(255, 126, 4, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } }

body.loaded #preloader { opacity: 0; visibility: hidden; }


/* =========================================
   3. UTILIDADES Y BOTONES
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.small-container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-alt); }
.highlight { color: var(--primary); position: relative; display: inline-block; }


/* Botones con efecto "Shine" */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: var(--radius-btn);
    font-weight: 700; font-size: 1rem; cursor: pointer;
    border: 2px solid transparent; position: relative; overflow: hidden;
    transition: var(--transition); z-index: 1;
}

.shine-effect::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s; z-index: -1;
}
.shine-effect:hover::after { left: 100%; }

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

.btn-primary { background-color: var(--primary); color: var(--white); box-shadow: var(--shadow-primary); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background-color: var(--primary); color: var(--white); transform: translateY(-3px); }

.btn-dark { background-color: var(--dark); color: var(--primary); }
.btn-dark:hover { background-color: #000; color: var(--white); transform: translateY(-3px); }

/* =========================================
   4. NAVBAR MEJORADO
   ========================================= */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0; transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    /* Efecto Glassmorphism */
    background: rgba(251, 253, 252, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-soft);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 42px; width: auto; transition: var(--transition); }
.navbar.scrolled .logo-img { height: 38px; }

.nav-links { display: flex; gap: 35px; align-items: center; }

/* Hover avanzado para links del menú */
.nav-link-item {
    font-weight: 600; font-size: 0.95rem; position: relative;
}
.nav-link-item::before {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-link-item:hover { color: var(--primary); }
.nav-link-item:hover::before { width: 100%; }

.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 28px; height: 3px; background: var(--dark); margin: 6px auto; transition: var(--transition); border-radius: 2px; }

/* Animación del icono hamburguesa a X */
.menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================
   5. HERO SECTION DINÁMICO
   ========================================= */
.hero {
    padding-top: 160px; padding-bottom: 120px;
    /* Degradado más rico */
    background: radial-gradient(circle at top right, #fff0e0 0%, var(--light) 60%);
    position: relative; overflow: hidden;
}

/* Fondo animado "Blob" */
.blob-bg {
    position: absolute;
    top: -20%; right: -10%;
    width: 60%; height: 80%;
    background: linear-gradient(to bottom left, rgba(255, 126, 4, 0.15), rgba(255, 167, 100, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blobMorph 15s ease-in-out infinite alternate;
    z-index: 0;
    filter: blur(60px);
}
@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(20deg); }
}

.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

.badge-hero {
    display: inline-block;
    background: rgba(255, 126, 4, 0.1); color: var(--primary);
    padding: 8px 18px; border-radius: 30px;
    font-weight: 700; font-size: 0.85rem; margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 126, 4, 0.1);
}

.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; }
.hero-subtitle { font-size: 1.2rem; color: var(--gray); margin-bottom: 35px; max-width: 90%; }
.hero-btns { display: flex; gap: 15px; margin-bottom: 35px; flex-wrap: wrap; }
.trust-indicators { font-size: 0.95rem; color: var(--gray); display: flex; align-items: center; gap: 10px; font-weight: 500; }

.hero-img-wrapper { position: relative; display: flex; justify-content: center; perspective: 1000px; }

.phone-frame {
    width: 300px;
    border: 8px solid var(--dark);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.25);
    background: #000; position: relative; z-index: 2;
    transition: var(--transition);
}
/* Efecto 3D sutil al pasar el mouse sobre el héroe */
.hero-content:hover .phone-frame { transform: rotateY(-5deg) rotateX(2deg); }

/* Contenedor de las fotos dentro del celular */
.app-slider {
    position: relative;
    width: 100%;
    /* Asegura que el marco no colapse si las imágenes tardan en cargar */
    display: flex; 
}

/* Estilo base para ambas pantallas */
.app-screen { 
    width: 100%; 
    display: block;
}

/* La foto 2 se posiciona exactamente arriba de la foto 1 */
.app-screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover; /* Asegura que cubra todo el espacio por si tienen diferencias milimétricas */
    
    /* Llamamos a la animación: dura 8 segundos en total y se repite infinito */
    animation: crossfade 8s ease-in-out infinite;
}

/* Animación: Hace que la Foto 2 aparezca y desaparezca */
@keyframes crossfade {
    0%, 35% { opacity: 0; }   /* Del 0 al 35% del tiempo: Se ve la Foto 1 */
    50%, 85% { opacity: 1; }  /* Del 50 al 85% del tiempo: Se ve la Foto 2 */
    100% { opacity: 0; }      /* Al final: Vuelve suavemente a la Foto 1 */
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    font-weight: 700; font-size: 0.95rem; z-index: 3;
    border: 1px solid rgba(255,255,255,0.2);
}

.card-1 { top: 12%; left: -30px; border-left: 5px solid var(--primary); animation: float 6s ease-in-out infinite; }
.card-2 { bottom: 18%; right: -30px; border-left: 5px solid #2563EB; animation: float 5s ease-in-out infinite reverse; }

.card-3 { 
    top: 45%; 
    right: -45px; 
    border-left: 5px solid #EF4444; /* Rojo de urgencia */
    animation: float 7s ease-in-out infinite 1s; /* El '1s' al final hace que flote a destiempo de las otras */
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.wave-bottom { position: absolute; bottom: -2px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.wave-bottom svg { width: 100%; height: auto; fill: var(--bg-alt); }

/* =========================================
   6. SECCIONES DE CONTENIDO
   ========================================= */
.section-header { max-width: 700px; margin: 0 auto 60px; }
.section-title { font-size: 2.8rem; margin-bottom: 15px; position: relative; display: inline-block; }
/* Pequeño punto decorativo después de los títulos */
.section-title::after {
    content: '.'; color: var(--primary); font-size: 3.5rem; line-height: 0;
    position: absolute; bottom: 10px; right: -20px;
}
.section-subtitle { color: var(--gray); font-size: 1.15rem; }

/* Tarjetas "Cómo Funciona" */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

.role-card {
    background: var(--white);
    padding: 50px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative; overflow: hidden;
    border: 1px solid transparent;
}

/* Efecto de borde gradiente al hover */
.role-card::before {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
    padding: 2px; /* Grosor del borde */
    background: linear-gradient(135deg, var(--primary), transparent, var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: var(--transition);
}

.role-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-card); }
.role-card:hover::before { opacity: 1; }

.icon-box {
    width: 70px; height: 70px;
    background: rgba(37, 99, 235, 0.1); color: #2563EB;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 25px;
    transition: var(--transition);
}
.icon-box.orange { background: rgba(255, 126, 4, 0.1); color: var(--primary); }
.role-card:hover .icon-box { transform: scale(1.1) rotate(5deg); }

.role-card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.role-card p { color: var(--gray); margin-bottom: 25px; }
.check-list li { margin-top: 12px; position: relative; padding-left: 30px; color: var(--gray); font-weight: 500; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; font-size: 1.1rem; }

/* =========================================
   7. TESTIMONIOS Y FAQ
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.testimonial-card {
    background: var(--white); padding: 35px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    border-bottom: 4px solid var(--primary); /* Borde abajo en vez de arriba */
    transition: var(--transition);
    position: relative;
}
/* Decoración de comillas */
.testimonial-card::after {
    content: '“'; position: absolute; top: 10px; right: 30px;
    font-size: 5rem; color: rgba(255, 126, 4, 0.1); font-family: serif;
}
.testimonial-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-card); }
.stars { color: #FFC107; margin-bottom: 20px; font-size: 0.9rem; }
.testimonial-card p { font-style: italic; color: #4B5563; margin-bottom: 25px; font-size: 1.05rem; line-height: 1.6; }
.user-info { display: flex; align-items: center; gap: 15px; }
.user-info img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* FAQ Acordeón */
.accordion-item { background: var(--white); margin-bottom: 15px; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.04); transition: var(--transition); }
.accordion-item:hover { box-shadow: var(--shadow-soft); border-color: rgba(255, 126, 4, 0.2); }
.accordion-header {
    width: 100%; padding: 20px 30px; background: none; border: none;
    text-align: left; font-size: 1.1rem; font-weight: 700; color: var(--dark);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-body); transition: var(--transition);
}
.accordion-header .icon { font-weight: 300; font-size: 1.8rem; transition: 0.3s; color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 0 30px; }
.accordion-content p { padding-bottom: 25px; color: var(--gray); line-height: 1.7; }
.accordion-item.active .accordion-header { color: var(--primary); background: rgba(255, 126, 4, 0.03); }
.accordion-item.active .icon { transform: rotate(45deg); }

/* =========================================
   8. CTA SECTION Y FOOTER
   ========================================= */
.cta-section {
    /* Degradado vibrante */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 120px 0; position: relative; overflow: hidden;
}

/* Partículas decorativas en el CTA */
.cta-particles {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 2px, transparent 2px),
                      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 3px, transparent 3px),
                      radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 5px, transparent 5px);
    background-size: 100px 100px; animation: particlesMove 20s linear infinite;
}
@keyframes particlesMove { from { background-position: 0 0; } to { background-position: 100px 100px; } }

.cta-section h2 { color: var(--white); margin-bottom: 20px; font-size: 3rem; }
.cta-section p { color: rgba(255,255,255,0.95); margin-bottom: 45px; font-size: 1.25rem; }

.beta-form { max-width: 550px; margin: 0 auto; position: relative; z-index: 2; }
.input-wrapper {
    background: var(--white); padding: 6px; border-radius: var(--radius-btn);
    display: flex; box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.input-wrapper:focus-within { transform: scale(1.02); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.beta-form input { flex: 1; border: none; padding: 15px 25px; border-radius: 50px 0 0 50px; outline: none; font-family: var(--font-body); font-size: 1rem; }
.beta-form .btn { padding: 15px 35px; }
.feedback-msg { margin-top: 15px; font-weight: 600; min-height: 24px; color: var(--white); }

/* Footer */
.main-footer { background: var(--dark); color: #9CA3AF; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid #262626; }
.footer-logo { max-width: 160px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.15rem; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.social-links { display: flex; gap: 15px; }
.social-links a {
    display: inline-flex; width: 45px; height: 45px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
    align-items: center; justify-content: center; color: var(--white);
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-5px); }
.footer-copyright { text-align: center; padding-top: 30px; font-size: 0.9rem; }

/* =========================================
   9. BOTÓN VOLVER ARRIBA (Back to Top)
   ========================================= */
#back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--primary); color: var(--white);
    width: 50px; height: 50px; border-radius: 50%;
    border: none; outline: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-primary);
    opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 999;
}
#back-to-top:hover { background: var(--primary-hover); transform: translateY(-5px); }
#back-to-top.show { opacity: 1; visibility: visible; }

/* =========================================
   10. ANIMACIONES DE ENTRADA
   ========================================= */
.animate-on-scroll { opacity: 0; transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }

/* Tipos de animación */
.fade-up { transform: translateY(40px); }
.fade-right { transform: translateX(-40px); }
.zoom-in { transform: scale(0.92); }

/* Estado final */
.animate-on-scroll.is-visible { opacity: 1; transform: translate(0) scale(1); }

/* Delays escalonados */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }


/* 1. El Contenedor Principal (Glass Card) */
.extended-form.glass-card {
    /* Fondo oscuro basado en tu variable --dark */
    background: rgba(18, 18, 18, 0.85); 
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    /* Efecto de vidrio esmerilado */
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5),
                inset 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    max-width: 650px; 
    margin: 0 auto;
}

/* Un destello sutil en el fondo usando tu color Naranja (--primary) */
.extended-form.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 126, 4, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* 2. El Interruptor Moderno (Cliente/Profesional) */
.toggle-container {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px;
    gap: 10px;
    border-radius: 50px;
    margin-bottom: 35px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.radio-wrapper {
    flex: 1;
    position: relative;
    text-align: center;
    z-index: 1;
}

.radio-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.toggle-label {
    display: block;
    padding: 12px 10px;
    border-radius: 50px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

/* Toggle activo con el degradado naranja de tu marca */
.radio-wrapper input[type="radio"]:checked + .toggle-label {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transform: scale(1.02);
}

/* 3. Los Campos de Texto */
.ui-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px; 
    margin-bottom: 25px;
}

.ui-grid.hidden { display: none; }
.input-group { position: relative; }
.full-width { grid-column: 1 / -1; }

.premium-inputs input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

/* Efectos al enfocar usando tu color principal */
.premium-inputs input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary); 
    box-shadow: 0 0 0 4px rgba(255, 126, 4, 0.15);
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Etiqueta flotante activa en naranja */
.premium-inputs input:focus + label,
.premium-inputs input:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--primary); 
    background: #181818; /* Fondo oscuro para tapar la línea del borde */
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* 4. El Botón de Enviar */
.extended-form .btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-btn);
    margin-top: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.glow-on-hover:hover {
    box-shadow: 0 0 30px rgba(255, 126, 4, 0.5); /* Resplandor naranja */
    transform: translateY(-3px);
}

/* Título y texto de feedback */
.extended-form h3 { color: var(--white); }
.text-gradient { color: var(--primary); }


/* --- ESTILOS PARA TEXTOS LEGALES --- */
.legal-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-content .check-list {
    margin-bottom: 30px;
}

.legal-content .check-list li {
    margin-bottom: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .extended-form.glass-card {
        padding: 30px 20px;
    }
    .ui-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Ajuste para que la etiqueta no se rompa en pantallas pequeñas */
    .premium-inputs input:focus + label,
    .premium-inputs input:not(:placeholder-shown) + label {
         top: 0px; 
         background: transparent;
    }
}

/* =========================================
   11. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-text { margin: 0 auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .trust-indicators { justify-content: center; }
    .hero-img-wrapper { margin-top: 20px; }
    .phone-frame { width: 260px; }
    .blob-bg { top: -10%; width: 80%; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .section-title { font-size: 2.2rem; }
    .navbar { background: var(--light); padding: 15px 0; }
    .menu-toggle { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: rgba(251, 253, 252, 0.98); backdrop-filter: blur(15px);
        flex-direction: column; padding: 100px 40px; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start; box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; margin-bottom: 20px; }
    .nav-link-item { font-size: 1.3rem; display: block; }
    .nav-cta { width: 100%; text-align: center; margin-top: 20px; }
    
    .grid-2-cols { grid-template-columns: 1fr; gap: 30px; }
    .role-card { padding: 35px; }
    .cta-section h2 { font-size: 2.2rem; }
    .input-wrapper { flex-direction: column; background: transparent; box-shadow: none; padding: 0; }
    .beta-form input { border-radius: 50px; width: 100%; padding: 18px; border: 1px solid rgba(255,255,255,0.3); }
    .premium-inputs input {margin: 10px;}
    .beta-form .btn { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 35px; }
    .social-links { justify-content: center; }
    .footer-logo { margin: 0 auto 20px; }
    
    .floating-card { padding: 10px 18px; font-size: 0.85rem; }
    .card-1 { left: -10px; } .card-2 { right: -10px; }
    .card-3 { right: -10px; top: 50%; }
    #back-to-top { bottom: 20px; right: 20px; }
}