/* ===== ESTILOS PRINCIPALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.5;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2d3a8c;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #4f46e5;
}

.btn-download {
    background: #4f46e5;
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.badge {
    background: #4f46e5;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f172a;
}

.gradient-text {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: #4f46e5;
    font-size: 1.3rem;
}

.offer-message {
    background: #f1f5f9;
    color: #0f172a;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 1.5rem;
    border-left: 4px solid #4f46e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.offer-icon {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.offer-message.light {
    background: rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(5px);
    border-left-color: white;
    margin: 1.5rem auto;
    display: inline-flex;
}

.offer-message.light .offer-icon {
    filter: brightness(0) invert(1);
}

.hero-image {
    flex: 1;
    position: relative;
}

.mockup {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.floating-icon {
    width: 35px;
    height: auto;
}

.card1 {
    top: 20%;
    right: 0;
    animation-delay: 0s;
}

.card2 {
    bottom: 20%;
    left: 0;
    animation-delay: 1s;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== BOTONES ===== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-googleplay {
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
    background: #0f172a;
    color: white;
}

.btn-googleplay:hover {
    background: #1e293b;
    transform: scale(1.05);
}

.small-text {
    font-size: 0.9rem;
    color: #64748b;
}

/* ===== BENEFICIOS ===== */
.beneficios {
    padding: 80px 20px;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.beneficio-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid #f1f5f9;
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.2);
    border-color: #4f46e5;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-wrapper i {
    font-size: 2rem;
    color: #4f46e5;
}

.beneficio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.beneficio-card p {
    color: #475569;
    font-size: 0.95rem;
}

/* ===== CÓMO FUNCIONA ===== */
.como-funciona {
    padding: 80px 20px;
    background: #f8fafc;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #0f172a;
}

.step-content p {
    color: #475569;
    margin-bottom: 10px;
}

.qr-small {
    width: 80px;
    background: white;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.step-icon {
    width: 50px;
    height: auto;
    margin-top: 5px;
}

/* Cliente feliz SVG */
.happy-customer {
    margin-top: 50px;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.happy-svg {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.happy-text {
    font-size: 1.2rem;
    color: #334155;
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== DESCARGA ===== */
.descarga {
    padding: 80px 20px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    text-align: center;
}

.descarga h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.descarga p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.descarga .cta-buttons {
    justify-content: center;
}

.descarga .btn-googleplay {
    background: white;
    color: #4f46e5;
    border: none;
}

.qr-container {
    margin-top: 2rem;
}

.qr-large {
    width: 150px;
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
footer {
    background: #0f172a;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-icon {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ===== VERSIÓN MÓVIL MEJORADA ===== */
@media (max-width: 768px) {
    /* Navegación */
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
        z-index: 999;
    }
    
    .nav-menu.active li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu.active a {
        display: block;
        padding: 10px;
    }
    
    .nav-menu.active .btn-download {
        background: #4f46e5;
        color: white;
    }
    
    /* Hero */
    h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px 15px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .features-list {
        text-align: left;
        max-width: 100%;
    }
    
    .feature-item {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .btn-googleplay {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .offer-message {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 10px;
    }
    
    .offer-icon {
        width: 60px;
    }
    
    .hero-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .mockup {
        max-width: 100%;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Beneficios */
    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .beneficio-card {
        padding: 20px 15px;
    }
    
    /* Pasos */
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    
    .step-number {
        margin-bottom: 10px;
    }
    
    .step-content {
        width: 100%;
    }
    
    .qr-small {
        width: 100px;
        margin: 10px auto;
    }
    
    .step-icon {
        width: 60px;
        margin: 10px auto;
    }
    
    /* SVG */
    .happy-customer {
        padding: 20px 15px;
    }
    
    .happy-svg {
        max-width: 200px;
    }
    
    .happy-text {
        font-size: 1rem;
    }
    
    /* Descarga */
    .descarga {
        padding: 60px 15px;
    }
    
    .descarga h2 {
        font-size: 2rem;
    }
    
    .descarga p {
        font-size: 1rem;
    }
    
    .qr-large {
        width: 120px;
    }
    
    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== PANTALLAS MUY PEQUEÑAS (menos de 480px) ===== */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .offer-message {
        font-size: 0.9rem;
    }
    
    .offer-icon {
        width: 50px;
    }
    
    .beneficio-card h3 {
        font-size: 1.1rem;
    }
    
    .beneficio-card p {
        font-size: 0.85rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
}