/* ─── My Decysion CRM ─────────────────────────────────────────────────────
   Reutiliza los tokens de marca de shared.css (--primary, --gradient, etc.).
   Patrón de página de producto consistente con SAE y POS.
   ───────────────────────────────────────────────────────────────────────── */

.section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--dark);
}

.crm-section-sub {
    text-align: center;
    font-size: 1.2em;
    color: var(--gray);
    max-width: 680px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 18px 48px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.crm-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.crm-hero {
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.crm-hero h1 {
    font-size: 3.5em;
    font-weight: 900;
    line-height: 1.15;
    margin: 20px 0 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crm-hero-sub {
    font-size: 1.3em;
    color: var(--gray);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.crm-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.crm-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 32px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.2s ease;
}

.crm-link-btn:hover {
    background: rgba(99, 102, 241, 0.08);
}

/* ─── Problema / Solución ──────────────────────────────────────────────── */
.crm-problem {
    padding: 100px 0;
    background: #fafbff;
}

.crm-problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 12px;
}

.crm-problem-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.crm-problem-card h3 {
    color: var(--dark);
    font-size: 1.2em;
    margin-bottom: 12px;
}

.crm-problem-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ─── Funcionalidades ──────────────────────────────────────────────────── */
.crm-features {
    padding: 100px 0;
    background: white;
}

.crm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.crm-feature-card {
    background: #fafbff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crm-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.crm-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.crm-feature-card h3 {
    color: var(--dark);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.crm-feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ─── CTA final ────────────────────────────────────────────────────────── */
.crm-final-cta {
    background: var(--gradient);
    color: white;
    padding: 110px 0;
    text-align: center;
}

.crm-final-cta h2 {
    font-size: 2.6em;
    font-weight: 800;
    margin-bottom: 16px;
}

.crm-final-cta p {
    font-size: 1.25em;
    opacity: 0.95;
    margin-bottom: 40px;
}

.crm-final-cta .cta-button {
    background: white;
    color: var(--primary);
}

.crm-final-cta .cta-button:hover {
    background: var(--light);
}

@media (max-width: 768px) {
    .crm-hero h1 {
        font-size: 2.3em;
    }

    .crm-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}
