﻿/* ===== SENIOR HEALTH DESIGN SYSTEM ===== */
:root {
    /* ===== SENIOR HEALTH DESIGN SYSTEM ===== */
    
    /* Colores Primarios - Violeta */
    --primary-purple: #7c3aed;
    --primary-light: #a855f7;
    --primary-dark: #5b21b6;
    
    /* Colores Secundarios */
    --secondary-teal: #14b8a6;
    --secondary-blue: #3b82f6;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    
    /* Colores Neutros */
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-400: #94a3b8;
    --neutral-600: #475569;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --white: #ffffff;
    
    /* Colores de Estado */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #06b6d4;
    
    /* Gradientes Principales */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-warm: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    --gradient-soft: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* Gradientes de Fondo */
    --bg-gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --bg-gradient-card: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    --bg-gradient-cta: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    
    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Escalas Tipográficas */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    
    /* Pesos de Fuente */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-purple: 0 10px 25px rgba(124, 58, 237, 0.3);
    --shadow-teal: 0 10px 25px rgba(20, 184, 166, 0.3);
    
    /* Bordes y Radios */
    --radius-sm: 0.375rem;    /* 6px */
    --radius: 0.5rem;         /* 8px */
    --radius-md: 0.75rem;     /* 12px */
    --radius-lg: 1rem;        /* 16px */
    --radius-xl: 1.5rem;      /* 24px */
    --radius-full: 9999px;
    
    /* Espaciado Sistema (8px base) */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    
    /* Animaciones */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Breakpoints */
    --mobile: 320px;
    --mobile-lg: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --desktop-lg: 1440px;
    --desktop-xl: 1920px;
    
    /* Z-index */
    --z-background: -1;
    --z-content: 1;
    --z-header: 10;
    --z-modal: 100;
    
    /* Variables adicionales para compatibilidad */
    --primary-400: var(--primary-light);
    --neutral-300: var(--neutral-400);
    --cream: var(--neutral-50);
    --warm-gray-700: var(--neutral-600);
    
    /* Compatibilidad con espaciado anterior */
    --spacing-xs: var(--space-1);
    --spacing-sm: var(--space-2);
    --spacing-md: var(--space-4);
    --spacing-lg: var(--space-6);
    --spacing-xl: var(--space-8);
    --spacing-2xl: var(--space-12);
    --spacing-3xl: var(--space-16);
    
    /* Compatibilidad con bordes anteriores */
    --border-radius-sm: var(--radius);
    --border-radius-md: var(--radius-md);
    --border-radius-lg: var(--radius-lg);
    --border-radius-xl: var(--radius-xl);
    
    /* Compatibilidad con tipografía anterior */
    --font-family-primary: var(--font-secondary);
    --font-family-secondary: var(--font-primary);
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--neutral-600);
    background: var(--bg-gradient-hero);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Focus ring para accesibilidad */
.focus-ring,
*:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* ===== COMPONENTES BASE ===== */

/* Botones del Sistema de Diseño */
.btn {
    display: inline-flex;
        align-items: center;
        justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-in-out);
        position: relative;
    overflow: hidden;
}

/* Centrar botón del formulario */
.contact-form .btn {
    width: 100%;
    justify-content: center;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Botón Primario */
.btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-purple);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn--primary:active {
    transform: translateY(0);
}

/* Botón Secundario */
.btn--secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn--secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Cards del Sistema de Diseño */
.card {
    background: var(--bg-gradient-card);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===== HEADER Y NAVEGACIÓN ===== */

.header {
    position: relative;
    z-index: var(--z-header);
    padding: var(--space-4) 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    gap: var(--space-4);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav__logo-main {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: transparent;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
}

.nav__logo-icon:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 8px 25px rgba(124, 58, 237, 0.4));
}

.nav__logo-icon svg {
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.2));
    transition: all var(--duration-normal) var(--ease-out);
}

.nav__logo-icon:hover svg {
    filter: drop-shadow(0 6px 20px rgba(124, 58, 237, 0.3));
}

.nav__logo-text-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.nav__logo-text {
    font-family: var(--font-secondary);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}

.nav__logo-subtitle {
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.nav__badge {
    display: flex;
    align-items: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-teal);
    transition: all var(--duration-normal) var(--ease-out);
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.badge svg {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Estilos específicos para el botón webapp */
.webapp-button {
    cursor: pointer;
    border: none;
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-teal);
    transition: all var(--duration-normal) var(--ease-out);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
}

.webapp-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* ===== LAYOUT MOBILE FIRST ===== */

.main-container {
    min-height: 100vh;
    padding: var(--space-4);
    overflow-x: hidden;
    overflow-y: visible;
    height: auto;
}

.hero {
    min-height: calc(100vh - var(--space-16));
    padding: var(--space-6) 0;
    overflow: visible;
    height: auto;
    background: var(--bg-gradient-hero);
    border-radius: var(--radius-xl);
    margin: var(--space-4) 0;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    min-height: auto;
    overflow: visible;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4);
}

.hero__two-columns {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    align-items: center;
    min-height: max-content;
}

.hero__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
    order: 1;
}

.hero__right {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    width: 100%;
}

/* Tipografía Mobile First */
.hero__title {
    font-family: var(--font-secondary);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--neutral-800);
    line-height: 1.2;
    margin: 0;
}

.hero__subtitle {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
    color: var(--neutral-600);
    line-height: 1.5;
    margin: 0;
}

.problem-text {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--primary-purple);
    text-align: center;
    margin: 0;
}

/* Estilos para los beneficios de la APP - Mobile First */
.app-benefits {
    margin: var(--space-4) 0;
    padding: var(--space-4);
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(124, 58, 237, 0.1);
    backdrop-filter: blur(10px);
}

.app-benefits-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--neutral-800);
    margin-bottom: var(--space-4);
    text-align: center;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: all var(--duration-normal) var(--ease-out);
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.9);
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
    width: var(--space-12);
    height: var(--space-12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--white);
}

.benefit-content {
    flex: 1;
    min-width: 0;
}

.benefit-title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--neutral-800);
    margin: 0 0 var(--space-1) 0;
    line-height: 1.4;
}

.benefit-description {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    margin: 0;
    line-height: 1.5;
}

/* Video Styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-6);
    border: 4px solid var(--white);
    background: var(--white);
}

.video-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
}

.video-overlay:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(124, 58, 237, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: var(--primary-purple);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-purple);
}

.play-icon {
    color: var(--white);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-left: 4px;
}

.video-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    justify-content: center;
}

.video-icon {
    font-size: var(--text-xl);
    color: var(--primary-purple);
}

.video-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--neutral-800);
    margin: 0;
}

/* Form Styles */
.form-container {
    background: var(--bg-gradient-card);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-4);
}

.form-header h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--neutral-800);
    margin: 0 0 var(--space-2) 0;
}

.form-subtitle {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    margin: 0;
    white-space: nowrap;
    font-weight: var(--font-medium);
}

.contact-form .form-group {
    margin-bottom: var(--space-3);
}

.contact-form input {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    background: var(--white);
    transition: all var(--duration-normal) var(--ease-in-out);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Estados de error y duplicado */
.contact-form input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

.contact-form input.duplicate {
    border-color: var(--warning);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    animation: pulse-warning 0.6s ease-in-out;
}

/* Animaciones para errores */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes pulse-warning {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Mensajes de error */
.form-error {
    color: var(--error);
    font-size: var(--text-sm);
    margin-top: var(--space-1);
    display: block;
    font-weight: var(--font-medium);
}

.contact-form input::placeholder {
    color: var(--neutral-400);
}

.form-guarantee {
    font-size: var(--text-sm);
    color: var(--neutral-600);
    text-align: center;
    margin-top: var(--space-3);
    line-height: 1.5;
}

/* ===== CORRECCIONES ESPECÍFICAS PARA MÓVIL ===== */

/* Correcciones para móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    .main-container {
        padding: var(--space-2);
    }
    
    .hero {
        margin: var(--space-2) 0;
        padding: var(--space-4) 0;
        border-radius: var(--radius-lg);
    }
    
    .hero__content {
        padding: var(--space-3);
        gap: var(--space-6);
    }
    
    .hero__two-columns {
        gap: var(--space-6);
    }
    
    /* Reordenar contenido para móvil: Video primero, luego contenido */
    .hero__left {
        gap: var(--space-4);
        order: 2; /* Cambiar orden: contenido va después del video */
    }
    
    .hero__right {
        order: 1; /* Cambiar orden: video va primero */
    }
    
    .hero__title {
        font-size: var(--text-2xl);
        line-height: 1.3;
    }
    
    .hero__subtitle {
        font-size: var(--text-base);
        line-height: 1.6;
    }
    
    .problem-text {
        font-size: var(--text-lg);
        line-height: 1.4;
    }
    
    .app-benefits {
        margin: var(--space-3) 0;
        padding: var(--space-3);
    }
    
    .app-benefits-title {
        font-size: var(--text-base);
        margin-bottom: var(--space-3);
    }
    
    .benefit-item {
        gap: var(--space-2);
        margin-bottom: var(--space-3);
        padding: var(--space-2);
    }
    
    .benefit-icon {
        font-size: var(--text-xl);
        width: var(--space-10);
        height: var(--space-10);
    }
    
    .benefit-title {
        font-size: var(--text-sm);
        margin: 0 0 var(--space-1) 0;
    }
    
    .benefit-description {
        font-size: var(--text-xs);
        line-height: 1.4;
    }
    
    .video-container {
        max-width: 100%;
        border-width: 2px;
        margin-bottom: var(--space-4);
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-icon {
        font-size: var(--text-xl);
    }
    
    .video-header {
        margin-bottom: var(--space-3);
    }
    
    .video-title {
        font-size: var(--text-base);
    }
    
    .form-container {
        max-width: 100%;
        padding: var(--space-4);
    }
    
    .form-header h3 {
        font-size: var(--text-lg);
    }
    
    .form-subtitle {
        font-size: var(--text-xs);
        white-space: normal;
        line-height: 1.4;
    }
    
    .contact-form input {
        padding: var(--space-2);
        font-size: var(--text-sm);
    }
    
    /* Header y navegación móvil */
    .header {
        padding: var(--space-2) 0;
    }
    
    .nav {
        padding: 0 var(--space-2);
        gap: var(--space-2);
    }
    
    .nav__logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .nav__logo-text {
        font-size: var(--text-base);
    }
    
    .nav__logo-subtitle {
        font-size: var(--text-xs);
    }
    
    .badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-2);
        gap: var(--space-1);
        white-space: nowrap;
    }
    
    .badge svg {
        width: 10px;
        height: 10px;
    }
}

/* Correcciones para móviles medianos (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .hero__title {
        font-size: var(--text-3xl);
    }
    
    .hero__subtitle {
        font-size: var(--text-lg);
    }
    
    .problem-text {
        font-size: var(--text-xl);
    }
    
    .app-benefits-title {
        font-size: var(--text-lg);
    }
    
    .benefit-title {
        font-size: var(--text-base);
    }
    
    .benefit-description {
        font-size: var(--text-sm);
    }
    
    .video-container {
        max-width: 450px;
    }
    
    .form-container {
        max-width: 400px;
    }
}

/* RESPONSIVE DESIGN - Tablet */
@media (min-width: 768px) {
    .header {
        padding: var(--space-6) 0;
    }
    
    .nav {
        padding: 0 var(--space-6);
    }
    
    .nav__logo-icon {
        width: 48px;
        height: 48px;
    }
    
    .nav__logo-text {
        font-size: var(--text-2xl);
    }
    
    .nav__logo-subtitle {
        font-size: var(--text-sm);
    }
    
    .badge {
        font-size: var(--text-sm);
        padding: var(--space-3) var(--space-4);
    }
    
    .hero__content {
        padding: var(--space-6);
    }
    
    .hero__two-columns {
        gap: var(--space-12);
    }
    
    .hero__left {
        gap: var(--space-8);
    }
    
    .hero__title {
        font-size: var(--text-4xl);
    }
    
    .hero__subtitle {
        font-size: var(--text-xl);
    }
    
    .app-benefits {
        padding: var(--space-6);
    }
    
    .app-benefits-title {
        font-size: var(--text-xl);
        text-align: left;
    }
    
    .benefit-item {
        padding: var(--space-4);
        margin-bottom: var(--space-5);
    }
    
    .benefit-icon {
        font-size: var(--text-3xl);
        width: var(--space-16);
        height: var(--space-16);
    }
    
    .benefit-title {
        font-size: var(--text-lg);
    }
    
    .benefit-description {
        font-size: var(--text-base);
    }
    
    .video-container {
        max-width: 600px;
    }
    
    .play-button {
        width: 100px;
        height: 100px;
    }
    
    .play-icon {
        font-size: var(--text-3xl);
    }
    
    .form-container {
        max-width: 450px;
        padding: var(--space-8);
    }
}

/* RESPONSIVE DESIGN - Desktop */
@media (min-width: 1024px) {
    .header {
        padding: var(--space-8) 0;
    }
    
    .nav {
        padding: 0 var(--space-8);
    }
    
    .nav__logo-icon {
        width: 56px;
        height: 56px;
    }
    
    .nav__logo-text {
        font-size: var(--text-3xl);
    }
    
    .nav__logo-subtitle {
        font-size: var(--text-base);
    }
    
    .badge {
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-5);
    }
    
    .hero__two-columns {
        flex-direction: row;
        align-items: center;
        gap: var(--space-16);
    }
    
    .hero__left {
        flex: 1;
        text-align: left;
        order: 1;
    }
    
    .hero__right {
        flex: 1;
        order: 2;
    }
    
    .hero__title {
        font-size: var(--text-5xl);
    }
    
    .hero__subtitle {
        font-size: var(--text-2xl);
    }
    
    .problem-text {
        font-size: var(--text-2xl);
        text-align: left;
    }
    
    .app-benefits-title {
        font-size: var(--text-2xl);
    }
    
    .benefit-item {
        gap: var(--space-5);
    }
    
    .benefit-icon {
        width: var(--space-20);
        height: var(--space-20);
        font-size: var(--text-4xl);
    }
    
    .benefit-title {
        font-size: var(--text-xl);
    }
    
    .benefit-description {
        font-size: var(--text-lg);
    }
    
    .video-container {
        max-width: 600px;
    }
    
    .form-container {
        max-width: 500px;
    }
}

/* RESPONSIVE DESIGN - Desktop Grande */
@media (min-width: 1440px) {
    .header {
        padding: var(--space-10) 0;
    }
    
    .nav {
        padding: 0 var(--space-10);
    }
    
    .nav__logo-icon {
        width: 64px;
        height: 64px;
    }
    
    .nav__logo-text {
        font-size: var(--text-4xl);
    }
    
    .hero__content {
        max-width: 1400px;
        padding: var(--space-8);
    }
    
    .hero__two-columns {
        gap: var(--space-24);
    }
    
    .video-container {
        max-width: 700px;
    }
}

/* ===== MODAL DE VIDEO ===== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 800px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: scale(0.9);
    transition: all var(--duration-normal) var(--ease-out);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-modal-iframe-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-modal-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-xl);
}

/* Responsive del modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        height: 60%;
        max-height: 400px;
    }
    
    .video-modal-close {
        width: 40px;
        height: 40px;
    font-size: var(--text-xl);
        top: var(--space-2);
        right: var(--space-2);
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 98%;
        height: 50%;
        max-height: 300px;
    }
    
    .video-modal-close {
        width: 36px;
        height: 36px;
        font-size: var(--text-lg);
    }
}