﻿
/* ===============================
    CRM BLOG PAGE SCOPED STYLES
    =============================== */
.crm-blog-page {
    --bg: #08090d;
    --bg2: #0d0f18;
    --bg3: #111420;
    --card-border: rgba(255,255,255,0.07);
    --accent: #4f6ef7;
    --accent2: #7c3aed;
    --accent3: #06b6d4;
    --grad: linear-gradient(135deg, #4f6ef7, #7c3aed);
    --text: #f0f2ff;
    --muted: #8892b0;
    --font: 'Outfit', sans-serif;
    --font2: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font2);
}

/* ===== ANIMATIONS ===== */
@keyframes crmFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== REVEAL ===== */
.crm-blog-page .reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all .7s ease;
}

    .crm-blog-page .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== HERO ===== */
.crm-blog-page .blog-hero {
    padding: 120px 5% 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.crm-blog-page .grad-text {
    background: linear-gradient(135deg,#4f6ef7,#a78bfa,#06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.crm-blog-page .hero-badge {
    background: rgba(79,110,247,0.1);
    border: 1px solid rgba(79,110,247,0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 20px;
    display: inline-block;
}

/* ===== LAYOUT ===== */
.crm-blog-page .blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 60px 5%;
}

/* ===== ARTICLE ===== */
.crm-blog-page .article-intro {
    background: rgba(79,110,247,0.06);
    border: 1px solid rgba(79,110,247,0.2);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 40px;
}

.crm-blog-page .art-h2 {
    font-family: var(--font);
    font-size: 26px;
    margin: 40px 0 10px;
}

.crm-blog-page .art-p {
    color: var(--muted);
    margin-bottom: 14px;
}

/* ===== LIST ===== */
.crm-blog-page .art-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

    .crm-blog-page .art-list li {
        display: flex;
        gap: 10px;
        color: var(--muted);
    }

        .crm-blog-page .art-list li::before {
            content: '';
            width: 6px;
            height: 6px;
            background: var(--grad);
            border-radius: 50%;
            margin-top: 8px;
        }
/* FIX: remove dot in compare list */
.crm-blog-page .art-comp-list {
    list-style: none !important;
    padding-left: 0 !important;
}

    .crm-blog-page .art-comp-list li {
        list-style: none !important;
        display: flex;
        align-items: center;
        gap: 10px;
    }


        /* KILL inherited dot */
        .crm-blog-page .art-comp-list li::before {
            content: none !important;
            display: none !important;
        }
/* ===== QUOTE ===== */
.crm-blog-page .art-quote {
    border-left: 3px solid var(--accent);
    padding: 15px;
    background: rgba(79,110,247,0.05);
    margin: 20px 0;
}

/* ===== COMPARE ===== */
.crm-blog-page .art-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.crm-blog-page .art-comp-card {
    border-radius: 16px;
    padding: 20px;
}

    .crm-blog-page .art-comp-card.bad {
        background: rgba(239,68,68,0.05);
        border: 1px solid rgba(239,68,68,0.2);
    }

    .crm-blog-page .art-comp-card.good {
        background: rgba(79,110,247,0.05);
        border: 1px solid rgba(79,110,247,0.2);
    }

/* ===== VERDICT ===== */
.crm-blog-page .verdict-banner {
    background: rgba(79,110,247,0.08);
    border: 1px solid rgba(79,110,247,0.3);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
}

/* ===== SIDEBAR ===== */
.crm-blog-page .blog-sidebar {
    position: sticky;
    top: 90px;
}

.crm-blog-page .sidebar-cta {
    background: rgba(79,110,247,0.08);
    padding: 20px;
    border-radius: 16px;
}

/* ===== BUTTONS ===== */
.crm-blog-page .btn-primary {
    display: block;
    background: var(--grad);
    color: #fff;
    padding: 12px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 10px;
    text-decoration: none;
}

.crm-blog-page .btn-outline-sm {
    display: block;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px;
    text-align: center;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
}


.crm-blog-page .verdict-list {
    list-style: none;
    padding-left: 0;
}

    .crm-blog-page .verdict-list li::before {
        content: none !important;
    }
/* =========================
   SM SIDEBAR (ISOLATED CSS)
   ========================= */

.sm-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARD */
.sm-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 20px;
}

/* TITLE */
.sm-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #f0f2ff;
}

/* CTA */
.sm-cta {
    background: rgba(79,110,247,0.08);
    border: 1px solid rgba(79,110,247,0.3);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
}

    .sm-cta h4 {
        font-size: 16px;
        font-weight: 800;
        margin-bottom: 6px;
    }

    .sm-cta p {
        font-size: 13px;
        color: #8892b0;
        margin-bottom: 14px;
    }

/* BUTTONS */
.sm-btn-primary {
    display: block;
    background: linear-gradient(135deg, #4f6ef7, #7c3aed);
    color: #fff;
    padding: 12px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s;
}

    .sm-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(79,110,247,0.4);
    }

.sm-btn-outline {
    display: block;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px;
    text-align: center;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: .2s;
}

    .sm-btn-outline:hover {
        border-color: rgba(79,110,247,0.5);
        background: rgba(79,110,247,0.08);
    }

/* TOC */
.sm-toc {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .sm-toc a {
        font-size: 13px;
        color: #8892b0;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: .2s;
    }

        .sm-toc a span {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4f6ef7, #7c3aed);
        }

        .sm-toc a:hover {
            color: #a5b4ff;
            transform: translateX(4px);
        }

/* RELATED */
.sm-related {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .sm-related a {
        font-size: 13px;
        color: #8892b0;
        text-decoration: none;
        display: flex;
        gap: 8px;
    }

        .sm-related a::before {
            content: '→';
            color: #4f6ef7;
        }

        .sm-related a:hover {
            color: #a5b4ff;
        }

/* TAGS */
.sm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .sm-tags span {
        background: rgba(79,110,247,0.1);
        border: 1px solid rgba(79,110,247,0.2);
        color: #a5b4ff;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 12px;
    }
/* =========================
   SM FINAL CTA (SCOPED)
   ========================= */

.sm-final-cta {
    background: #0d0f18;
    text-align: center;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

    /* ORBS */
    .sm-final-cta .cta-orb1,
    .sm-final-cta .cta-orb2 {
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        opacity: .12;
    }

    .sm-final-cta .cta-orb1 {
        width: 400px;
        height: 400px;
        background: #4f6ef7;
        top: -100px;
        left: -100px;
    }

    .sm-final-cta .cta-orb2 {
        width: 400px;
        height: 400px;
        background: #7c3aed;
        bottom: -100px;
        right: -100px;
    }

    /* TEXT */
    .sm-final-cta h2 {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(32px, 5vw, 56px);
        font-weight: 800;
    }

    .sm-final-cta p {
        color: #8892b0;
        font-size: 16px;
        margin: 16px auto 36px;
        max-width: 540px;
    }

    /* BUTTONS */
    .sm-final-cta .cta-btns {
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .sm-final-cta .btn-cta-primary {
        background: linear-gradient(135deg, #4f6ef7, #7c3aed);
        color: #fff;
        padding: 14px 30px;
        border-radius: 30px;
        font-weight: 700;
        text-decoration: none;
        transition: .2s;
    }

        .sm-final-cta .btn-cta-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(79,110,247,0.5);
        }

    .sm-final-cta .btn-cta-outline {
        border: 1px solid rgba(255,255,255,0.2);
        color: #fff;
        padding: 14px 30px;
        border-radius: 30px;
        text-decoration: none;
        transition: .2s;
    }

        .sm-final-cta .btn-cta-outline:hover {
            border-color: rgba(79,110,247,0.6);
            background: rgba(79,110,247,0.08);
        }


/* =========================
   CLEAN BORDER HOVER ONLY
   ========================= */

/* Base */
.sm-card,
.sm-cta,
.art-comp-card,
.verdict-banner,
.article-intro {
    transition: all 0.3s ease;
}

    /* Hover → ONLY BORDER + slight lift */
    .sm-card:hover,
    .sm-cta:hover,
    .art-comp-card:hover,
    .verdict-banner:hover,
    .article-intro:hover {
        transform: translateY(-4px); /* subtle lift */
        border-color: #4f6ef7; /* clean blue border */
        box-shadow: none; /* remove glow */
    }

    /* Remove any previous glow effects if added */
    .sm-card::after,
    .sm-cta::after,
    .art-comp-card::after,
    .verdict-banner::after,
    .article-intro::after {
        display: none !important;
    }
/* =========================
   FIX: COMPARE CARD HOVER BORDER
   ========================= */

/* Ensure smooth transition */
.crm-blog-page .art-comp-card {
    transition: all 0.3s ease;
}

    /* OVERRIDE existing red/blue borders on hover */
    .crm-blog-page .art-comp-card.bad:hover,
    .crm-blog-page .art-comp-card.good:hover {
        border-color: #4f6ef7 !important; /* force blue */
        transform: translateY(-4px);
        box-shadow: none !important;
    }

    /* Optional: remove background change feeling */
    .crm-blog-page .art-comp-card.bad:hover,
    .crm-blog-page .art-comp-card.good:hover {
        background: inherit; /* keeps original bg */
    }


/* MOBILE */
@media (max-width:768px) {
    .sm-final-cta {
        padding: 70px 20px;
    }

        .sm-final-cta h2 {
            font-size: 28px;
        }

        .sm-final-cta .cta-btns {
            flex-direction: column;
            align-items: center;
        }

            .sm-final-cta .cta-btns a {
                width: 100%;
                max-width: 260px;
            }
}


/* RESPONSIVE */
@media (max-width:1024px) {
    .sm-sidebar {
        position: static;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .crm-blog-page .blog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .crm-blog-page .art-compare {
        grid-template-columns: 1fr;
    }
}

</style >
