*body{
    font-family: Poppins!important;
}
    /* FIX: Make card content clickable */
.ai-card {
    position: relative;
    z-index: 5;
}

.ai-card:before {
    z-index: 1 !important; /* neon layer behind */
}

/* Content inside card stays above neon layer */
.ai-card > * {
    position: relative;
    z-index: 20;
}

/* ============================== AI NEON FOOTER ============================== */
.ai-footer {
    position: relative;
    padding: 90px 0 40px;
    background: #0a0f1e;
    color: #c9d6ff;
    overflow: hidden;
    z-index: 99999!important;
}

/* Floating Particles */
.ai-footer canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1!important;
}

/* Glass Panels */
.ai-footer .footer-container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 90%;
    margin: auto;
}

.ai-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 30px;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

/* Neon Border Animation */
.ai-card:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #2563eb, #7dd3fc, #1e40af);
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: neonBorder 6s linear infinite;
}
@keyframes neonBorder {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Titles */
.ai-card h3 {
    font-size: 20px;
    color: #7dd3fc;
    margin-bottom: 18px;
}

/* Links */
.ai-card ul {
    list-style: none;
    padding: 0; margin: 0;
}
.ai-card ul li {
    margin-bottom: 10px;
}
.ai-card ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: 0.2s;
}
.ai-card ul li a:hover {
    color: #60a5fa;
    padding-left: 6px;
}

/* Logo & Description */
.ai-logo {
    width: 180px;
    margin-bottom: 15px;
}

/* Store Buttons */
.store-buttons img {
    width: 160px;
    margin: 8px 0;
}

/* Newsletter */
.news-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.news-box button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}
.news-box button:hover { background: #1e40af; }

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}
.social-icons a {
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: 0.2s;
    border: 1px solid rgba(255,255,255,0.15);
}
.social-icons a:hover {
    background: #2563eb;
}
.ai-footer canvas {
    pointer-events: none;
}

/* Copyright */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* Mobile */
@media(max-width: 900px) {
    .ai-footer .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width: 600px) {
    .ai-footer .footer-container {
        grid-template-columns: 1fr;
    }
}

    /* Overlay */
    .crm-modal-overlay{
        position:fixed;
        inset:0;
        background:rgba(241,245,249,.75);
        backdrop-filter: blur(16px);
        display:none;
        z-index:10000;
        align-items:center;
        justify-content:center;
    }

    .crm-modal-overlay.active{
        display:flex;
    }

    /* Modal box */
    .crm-modal-box{
        width:min(1080px,92%);
        background:linear-gradient(180deg,#ffffff,#f8fafc);
        border-radius:26px;
        padding:36px;
        position:relative;
        box-shadow:0 30px 80px rgba(15,23,42,.18);
        animation:crmModalIn .4s cubic-bezier(.4,0,.2,1);
    }

    /* Animation */
    @keyframes crmModalIn{
        from{
            opacity:0;
            transform:translateY(20px) scale(.95);
        }
        to{
            opacity:1;
            transform:translateY(0) scale(1);
        }
    }

    /* Layout */
    .crm-modal-grid{
        display:grid;
        grid-template-columns:42% 58%;
        gap:40px;
        align-items:center;
    }

    /* Image */
    .crm-modal-image{
        height:440px;
        border-radius:22px;
        overflow:hidden;
        background:#020617;
        box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
    }

    .crm-modal-image img{
        width:100%;
        height:100%;
        object-fit:cover;
        transform:scale(1.04);
    }

    /* Content */
    .crm-modal-content h3{
        color:#ffffff;
        font-size:30px;
        font-weight:700;
        margin-bottom:18px;
        letter-spacing:-.02em;
    }

    .crm-modal-content ul{
        padding-left:0;
        list-style:none;
        margin:0 0 22px;
    }

    .crm-modal-content ul li{
        position:relative;
        padding-left:26px;
        color:#e5e7eb;
        margin-bottom:14px;
        font-size:15.5px;
        line-height:1.6;
    }

    /* Custom bullet */
    .crm-modal-content ul li::before{
        content:"✓";
        position:absolute;
        left:0;
        top:0;
        color:#38bdf8;
        font-weight:700;
    }

    /* Note */
    .crm-modal-note{
        margin-top:18px;
        max-width:100%;
        background:#eef2ff;
        color:#1e3a8a;
        padding:14px 16px;
        border-radius:14px;
        font-weight:600;
        font-size:14.5px;
        border-left:5px solid #6366f1;
        display:inline-flex;      /* 🔑 prevents full-width stretch */
        align-items:flex-start;
        gap:8px;
    }

    /* Close */
    .crm-modal-close{
        position:absolute;
        top:22px;
        right:26px;
        font-size:30px;
        color:#94a3b8;
        cursor:pointer;
        transition:.25s ease;
    }

    .crm-modal-close:hover{
        color:#ffffff;
        transform:scale(1.1);
    }

    /* Mobile */
    @media(max-width:768px){
        .crm-modal-grid{
            grid-template-columns:1fr;
            gap:28px;
        }

        .crm-modal-image{
            height:240px;
        }

        .crm-modal-content h3{
            font-size:26px;
        }
    }
    /* Text colors for LIGHT modal */
    .crm-modal-box{
        color:#020617;
    }

    .crm-modal-content h3{
        color:#020617;
    }

    .crm-modal-content ul li{
        color:#334155;
    }

    /* Bullet */
    .crm-modal-content ul li::before{
        color:#4f46e5;
    }

    /* Note */
    .crm-modal-note{
        background:#eef2ff;
        color:#1e3a8a;
        border-left:5px solid #6366f1;
    }

    /* Close button */
    .crm-modal-close{
        color:#475569;
    }
    .crm-modal-close:hover{
        color:#020617;
    }
