/* ============================================
     ARCHIVO: bienvenida.css
     Estilos para la página de bienvenida (landing)
     ============================================ */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a1a;
    display: block;
    padding: 0;
    min-height: 100vh;
}

/* ============================================
     SECTION TAG (etiqueta de sección)
     ============================================ */
.section-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ============================================
     HERO SECTION
     ============================================ */
.hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0a0a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Gradiente decorativo */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primario {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.hero-buttons .btn-primario:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

.hero-buttons .btn-secundario {
    background: rgba(255,255,255,0.06);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-buttons .btn-secundario:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

/* ============================================
     CARACTERÍSTICAS
     ============================================ */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #0f0f1f;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 12px;
}

.features-header h2 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-header p {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
     VISTA PREVIA DEL DASHBOARD
     ============================================ */
.preview {
    background: #0a0a1a;
    padding: 5rem 2rem;
}

.preview-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.preview-container h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.preview-container h2 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-container > p {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.dashboard-mockup {
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: left;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-title {
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.mockup-title i {
    margin-right: 0.3rem;
    color: #667eea;
}

.mockup-badge {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.mockup-card {
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,0.04);
}

.mockup-card h4 {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.8rem;
}

.mockup-card h4 i {
    margin-right: 0.3rem;
    color: #667eea;
}

.mockup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.mockup-item:last-child {
    border-bottom: none;
}

.mockup-item i {
    margin-right: 0.3rem;
    color: rgba(255,255,255,0.3);
}

.mockup-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.tag-completada {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.tag-pendiente {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.progress-bar {
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

/* ============================================
     ESTADÍSTICAS
     ============================================ */
.stats {
    background: #0f0f1f;
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ============================================
     CTA FINAL
     ============================================ */
.cta {
    background: linear-gradient(135deg, #0f0f1f 0%, #1a1a3e 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 12px;
}

.cta p {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

/* ============================================
     FOOTER
     ============================================ */
.footer {
    background: #0a0a1a;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-brand .footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand .footer-logo i {
    color: #667eea;
    margin-right: 0.3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.2);
    font-size: 0.8rem;
}

.footer-bottom i {
    margin-right: 0.3rem;
}

/* ============================================
     RESPONSIVE
     ============================================ */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .features-header h2,
    .preview-container h2,
    .cta h2 {
        font-size: 1.8rem;
    }

    .mockup-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}