/* Paleta Lujosa y Clara */
:root {
    --bg-main: #f8fafc; /* Gris platino ultra suave */
    --bg-surface: #ffffff; /* Blanco puro para tarjetas */
    --bg-accent: #f1f5f9; /* Gris frío ligero */

    --text-primary: #0f172a; /* Azul pizarra oscuro para tipografía nítida */
    --text-secondary: #475569; /* Gris medio para descripciones */

    --brand-blue: #1e40af; /* Azul cobalto corporativo */
    --brand-bright: #2563eb; /* Azul brillante para botones principales */
    --brand-light: #eff6ff; /* Fondo azul tenue para destaques */

    --border-subtle: #e2e8f0; /* Línea sutil de contraste */
    --shadow-soft: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
    --shadow-strong: 0 20px 40px -10px rgba(30, 64, 175, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVBAR CRISTAL CLARO --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 8%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.2s;
}

    .nav-links a:hover {
        color: var(--brand-bright);
    }

.btn-primary-sm {
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.65rem 1.3rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

    .btn-primary-sm:hover {
        background: var(--brand-bright);
        transform: translateY(-1px);
    }

/* --- HERO --- */
.hero {
    padding: 9.5rem 5% 4rem;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(239, 246, 255, 0.8) 0%, var(--bg-main) 70%);
}

.hero-content {
    max-width: 920px;
    text-align: center;
}

.badge-tech {
    background: var(--brand-light);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--brand-bright);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.8px;
}

.highlight-blue {
    color: var(--brand-bright);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.btn-main {
    background: var(--brand-bright);
    color: #ffffff;
    padding: 0.95rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    transition: 0.3s;
}

    .btn-main:hover {
        background: var(--brand-blue);
        transform: translateY(-2px);
    }

.btn-outline {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.95rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

    .btn-outline:hover {
        border-color: var(--brand-bright);
        color: var(--brand-bright);
    }

/* MARCO MUESTRA SISTEMA */
.dashboard-preview {
    background: var(--bg-surface);
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.browser-header {
    background: var(--bg-accent);
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

.dots {
    display: flex;
    gap: 6px;
}

    .dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cbd5e1;
    }

.browser-title {
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-surface);
    padding: 0.25rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    font-weight: 500;
}

.image-container img {
    width: 100%;
    display: block;
}

/* --- SECCIONES --- */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    color: var(--brand-bright);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.section-title h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 0.3rem;
}

.section-title p {
    color: var(--text-secondary);
}

/* FUNCIONES */
.features-section {
    padding: 5rem 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

    .feature-card:hover {
        transform: translateY(-4px);
        border-color: var(--brand-bright);
        box-shadow: var(--shadow-strong);
    }

.highlight-card {
    border: 2px solid var(--brand-blue);
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-light) 100%);
}

.icon-box {
    width: 52px;
    height: 52px;
    background: var(--brand-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.3rem;
    color: var(--brand-blue);
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* PLANES */
.pricing-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.price-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: 0.3s;
}

    .price-card.featured {
        border: 2px solid var(--brand-blue);
        box-shadow: var(--shadow-strong);
        transform: scale(1.02);
    }

.popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 1.2rem;
    border-radius: 20px;
}

.plan-tag {
    font-weight: 800;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

    .plan-tag.highlight {
        color: var(--brand-blue);
    }

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.5rem 0;
}

    .price span {
        font-size: 1rem;
        color: var(--text-secondary);
        font-weight: 500;
    }

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.card-line {
    height: 1px;
    width: 100%;
    background: var(--border-subtle);
    margin-bottom: 1.5rem;
}

.blue-line {
    background: rgba(30, 64, 175, 0.2);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

    .plan-features li {
        margin-bottom: 0.85rem;
        font-size: 0.95rem;
        color: var(--text-primary);
        display: flex;
        align-items: center;
    }

.check {
    font-weight: 800;
    color: #10b981;
    margin-right: 10px;
}

    .check.blue {
        color: var(--brand-blue);
    }

.btn-card-outline {
    display: block;
    text-align: center;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

    .btn-card-outline:hover {
        background: var(--bg-accent);
        border-color: var(--brand-bright);
    }

.btn-card-navy {
    display: block;
    text-align: center;
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.25);
    transition: 0.3s;
}

    .btn-card-navy:hover {
        background: var(--brand-bright);
    }

/* CONTACTO */
.contact-section {
    padding: 4rem 5% 6rem;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-strong);
}

    .contact-card h2 {
        color: var(--text-primary);
        font-size: 2.1rem;
        font-weight: 800;
    }

.creative-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-row {
    display: flex;
    gap: 1rem;
}

.creative-form input, .creative-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-accent);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    outline: none;
    transition: 0.3s;
}

    .creative-form input:focus, .creative-form textarea:focus {
        border-color: var(--brand-bright);
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

.full-width {
    width: 100%;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2.5rem 5%;
    text-align: center;
    font-size: 0.9rem;
}

.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

    .whatsapp-btn:hover {
        transform: scale(1.1);
    }

.wa-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Ajuste de cuadrícula para 6 servicios */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ajuste para el botón gigante de WhatsApp en Contacto */
.contact-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.btn-large {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
    background: #25d366; /* Verde WhatsApp profesional */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

    .btn-large:hover {
        background: #1eb957;
        box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    }
