﻿/* landing.css - Estilos del nuevo landing moderno */

/* Variables */
:root {
    --primary: #0078D4;
    --primary-dark: #005A9E;
    --secondary: #2B88D8;
    --success: #107C10;
    --warning: #FF8C00;
    --danger: #E81123;
    --dark: #201F1E;
    --light: #FAF9F8;
    --gray: #605E5C;
    --border: #E1DFDD;
    --shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
}

/* Reset y base para landing */
body.landing-page {
    background: white;
    color: #1e293b;
    font-family: 'Segoe UI', system-ui, -apple-system, 'Roboto', sans-serif;
}

main.landing-content {
    background: white;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f172a;
}

.hero-description {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-outline-secondary {
    border-color: #cbd5e1;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
}

    .btn-outline-secondary:hover {
        background-color: #f1f5f9;
        border-color: #94a3b8;
    }

.hero-stats {
    display: flex;
    gap: 2rem;
}

    .hero-stats .stat {
        text-align: left;
    }

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
}

.hero-visual {
    background: rgba(0,120,212,0.05);
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0,120,212,0.2);
}

.feature-highlight i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-highlight p {
    font-weight: 600;
    color: #0f172a;
}

/* Features */
.features {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        color: #475569;
        font-size: 1.1rem;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
    }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .feature-icon i {
        font-size: 1.8rem;
        color: white;
    }

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #475569;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .feature-tags span {
        background: #f1f5f9;
        padding: 0.2rem 0.6rem;
        border-radius: 2rem;
        font-size: 0.7rem;
        font-weight: 500;
        color: #0f172a;
    }

/* How it works */
.how-it-works {
    background-color: #f8fafc;
    padding: 4rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Integrations */
.integrations {
    padding: 4rem 0;
}

.integrations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    padding: 0.75rem 1.5rem;
    border-radius: 3rem;
    border: 1px solid var(--border);
}

    .integration-item i {
        font-size: 1.5rem;
        color: var(--primary);
    }

    .integration-item span {
        font-weight: 500;
    }

/* CTA final */
.cta-final {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.cta-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

    .cta-card h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-card p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

    .cta-card .btn-light {
        background: white;
        color: #0f172a;
        padding: 0.75rem 2rem;
        font-weight: 600;
    }

        .cta-card .btn-light:hover {
            background: #e2e8f0;
            transform: translateY(-2px);
        }

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}
