/* ========================================
   AI INSIGHTS PAGE - CENTERED CARDS AS PER SCREENSHOT
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ai-insights-hero {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #ced4f1 0%, #b98fe4 50%, #f093fb 100%);
    padding: 4rem 0 6rem 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ai-insights-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 2000"><path fill="rgba(255,255,255,0.04)" d="M0,0 L2000,0 L2000,2000 L0,2000 Z M1000,500 L1500,1000 L1000,1500 L500,1000 Z"/></svg>');
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   CENTERED HEADING SECTION WITH ICON
   ======================================== */

.hero-centered {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-icon {
    font-size: 2.5rem;
    color: #FFD700;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFE66D, #FFA500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   3 CARDS GRID - ALL CONTENT CENTERED
   ======================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 1.5rem;
    transition: all 0.35s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.insight-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.card-badge, .card-badge-ai {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Card Icon - Centered */
.card-icon-wrapper {
    margin-bottom: 0.8rem;
}

.card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Card Title - Centered */
.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

/* Card Description - Centered */
.card-description {
    font-size: 0.8rem;
    color: #4a4a6a;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* Card Feature (Checkmark) - Centered */
.card-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.3rem 0;
}

.card-feature i {
    color: #43e97b;
    font-size: 1rem;
}

.card-feature span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1a1a2e;
}

/* Card Footer / Button - Centered */
.card-footer {
    margin-top: auto;
    padding-top: 0.5rem;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
}

.insight-card:hover .card-btn {
    gap: 1rem;
    color: #764ba2;
}

.card-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.insight-card:hover .card-btn i {
    transform: translateX(5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .cards-grid {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-icon {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .card-title {
        font-size: 0.95rem;
    }
    
    .card-description {
        font-size: 0.75rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 1.3rem;
    }
}

/* Mobile - Stack Cards Vertically */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
        gap: 1.5rem;
    }
    
    .ai-insights-hero {
        padding: 2.5rem 0 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-icon {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .insight-card {
        padding: 1.5rem;
    }
    
    .card-badge, .card-badge-ai {
        font-size: 0.7rem;
        padding: 0.3rem 0.9rem;
        margin-bottom: 1rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 1.3rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        gap: 0.4rem;
    }
    
    .hero-icon {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .insight-card {
        padding: 1.2rem;
    }
    
    .card-badge, .card-badge-ai {
        font-size: 0.65rem;
        padding: 0.25rem 0.7rem;
        margin-bottom: 0.8rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
    }
    
    .card-icon i {
        font-size: 1.2rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-description {
        font-size: 0.75rem;
    }
    
    .card-feature span {
        font-size: 0.7rem;
    }
    
    .card-btn {
        font-size: 0.75rem;
    }
    .card-badge{
        position: absolute !important;
        top: -9px !important;
        left: 70px !important;
}
}
.card-badge{
    position: absolute;
    top: -9px;
    left: 112px;
}