/* ===================================
   AI SOLUTIONS PAGE - HaneSystem
=================================== */

/* ===================================
   AI INTRO SECTION
=================================== */
.ai-intro-section {
    padding: 80px 0 60px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.ai-intro-text {
    color: #666666;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
}

/* Download Cards */
.ai-intro-download {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.ai-download-card:hover {
    border-color: rgba(200, 16, 46, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.ai-download-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(200, 16, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-download-icon i {
    font-size: 22px;
    color: #c8102e;
}

.ai-download-info {
    flex: 1;
}

.ai-download-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}

.ai-download-info p {
    font-size: 12px;
    color: #999999;
    margin: 0;
}

.ai-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #c8102e;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.ai-download-btn:hover {
    background: #a00d25;
}

@media (max-width: 991.98px) {
    .ai-intro-download {
        margin-top: 40px;
    }
}

@media (max-width: 575.98px) {
    .ai-download-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   AI MODULE CARDS
=================================== */
.ai-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ai-module-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.ai-module-card.hide {
    display: none;
}

.ai-module-card:hover {
    border-color: rgba(200, 16, 46, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

/* Module Image */
.ai-module-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.ai-module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ai-module-card:hover .ai-module-image img {
    transform: scale(1.08);
}

.ai-module-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ai-module-card:hover .ai-module-overlay {
    opacity: 1;
}

/* Badges */
.ai-module-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #c8102e;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.ai-module-badge-dark {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(26, 26, 46, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* Module Body */
.ai-module-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ai-module-category {
    display: inline-block;
    color: #c8102e;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.ai-module-title {
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.ai-module-desc {
    color: #666666;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 16px 0;
    flex: 1;
}

/* Tags */
.ai-module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.ai-tag {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    color: #555555;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    transition: all 0.3s ease;
}

.ai-module-card:hover .ai-tag {
    border-color: rgba(200, 16, 46, 0.15);
    background: rgba(200, 16, 46, 0.03);
}

/* Grid Responsive */
@media (max-width: 991.98px) {
    .ai-modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .ai-modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575.98px) {
    .ai-module-body {
        padding: 22px;
    }
    .ai-module-title {
        font-size: 16px;
    }
}

/* ===================================
   AI DETAIL PAGE OVERRIDES
=================================== */
.ai-detail-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.ai-feature-item:hover {
    border-color: rgba(200, 16, 46, 0.2);
    background: rgba(200, 16, 46, 0.02);
}

.ai-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(200, 16, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-feature-icon i {
    font-size: 16px;
    color: #c8102e;
}

.ai-feature-text h5 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px 0;
}

.ai-feature-text p {
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .ai-detail-features {
        grid-template-columns: 1fr;
    }
}
