/* 首页特有样式 — 共享样式见 css/common.css */

/* ==== 首页 Body 覆盖 ==== */
body {
    padding-top: 0;
    line-height: 1.7;
}

.section-title:after {
    display: none;
}

/* ==== 首页 Banner ==== */
.banner {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #0f172a 0%, #172554 30%, #1e3a6b 60%, #1a4f8a 100%);
    overflow: hidden;
    padding: 100px 0 90px;
}

/* 光晕背景 */
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 25% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 75% 35%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 30% at 60% 80%, rgba(129, 140, 248, 0.08) 0%, transparent 60%);
}

/* 网格装饰 */
.banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black 20%, transparent 70%);
}

/* 背景图片装饰 */
.banner .bg-image {
    display: none;
}

.banner .container {
    position: relative;
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    padding: 20px 0;
}

.banner h1 {
    font-size: 46px;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 22px;
    color: #fff;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.88) 60%, rgba(188, 212, 255, 0.9) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 460px;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.banner .btn-blue {
    padding: 14px 38px;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 24px rgba(26, 86, 219, 0.35);
}

.banner .btn-blue:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
}

/* 右侧浮动装饰 */
@media (min-width: 992px) {
    .banner::before {
        background:
            radial-gradient(ellipse 80% 50% at 25% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
            radial-gradient(ellipse 50% 40% at 75% 35%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
            radial-gradient(ellipse 60% 30% at 60% 80%, rgba(129, 140, 248, 0.08) 0%, transparent 60%);
    }

    .banner .col-md-6:first-child::after {
        content: '';
        position: absolute;
        right: -120px;
        top: -40px;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.04);
        pointer-events: none;
    }
}

/* ==== 核心特性 ==== */
.features-section {
    padding: 70px 0;
    background: #fff;
    position: relative;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--gray-50);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 28px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.08), rgba(99, 102, 241, 0.06));
    box-shadow: 0 0 0 1px rgba(26, 86, 219, 0.08);
    transition: var(--transition);
}

.feature-item:hover span {
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.15), rgba(99, 102, 241, 0.12));
    box-shadow: 0 0 0 1px rgba(26, 86, 219, 0.15);
    transform: scale(1.05);
}

.feature-item h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* ==== 解决方案 ==== */
.solutions-section {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 100%);
    position: relative;
}

.solutions-section .section-title {
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
}

.solutions-section .section-title + .row {
    margin-top: 40px;
}

.solution-card {
    background: #fff;
    padding: 0;
    text-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.solution-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.solution-icon {
    height: 180px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.solution-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.5) 100%);
}

.aikf {
    background: url('../image/ai.jpg') center / cover no-repeat;
}

.rag {
    background: url('../image/rag.jpg') center / cover no-repeat;
}

.crm {
    background: url('../image/crm.jpg') center / cover no-repeat;
}

.solution-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 20px 10px;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.solution-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 20px 22px;
    line-height: 1.6;
}

.solution-card .btn-blue {
    margin: 0 20px 28px;
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 86, 219, 0.18);
}

.solution-card .btn-blue:hover {
    box-shadow: 0 4px 16px rgba(26, 86, 219, 0.3);
}

/* ==== 客户案例（已注释，保留 CSS 备用）==== */
.cases-section {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #162544 100%);
    color: #fff;
}

.cases-section .section-title {
    color: #fff;
}

.cases-section .section-title:after {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.case-container {
    background: rgba(255, 255, 255, 0.04);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.case-sidebar {
    background: rgba(255, 255, 255, 0.06);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.case-sidebar-item {
    padding: 12px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
}

.case-sidebar-item:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
}

.case-sidebar-item.active {
    color: #fff;
    font-weight: 600;
    background: rgba(26, 86, 219, 0.25);
}

.case-content img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.case-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}

/* ==== 产品优势 ==== */
.advantages-section {
    padding: 90px 0 100px;
    background: linear-gradient(160deg, var(--gray-50) 0%, #eef2ff 100%);
}

.advantages-section .section-title {
    margin-bottom: 12px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 50px 0 50px;
    text-align: center;
    flex-wrap: wrap;
}

.stat-item {
    padding: 16px 24px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--gray-200);
}

.stat-number {
    font-size: 38px;
    font-weight: 850;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.advantage-list {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.advantage-list-item {
    font-size: 14px;
    padding: 10px 0 10px 28px;
    color: var(--text-body);
    line-height: 1.6;
    position: relative;
}

.advantage-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0.12;
}

.advantage-list-item::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 13px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.advantages-section .img-responsive {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==== 行业方案 ==== */
.industry-section {
    padding: 100px 0;
    background: url('../image/industry.jpg') center / cover no-repeat;
    color: #fff;
    position: relative;
    background-attachment: fixed;
}

.industry-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(26, 58, 107, 0.7) 50%, rgba(15, 23, 42, 0.78) 100%);
}

.industry-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.industry-content .section-title {
    color: #fff;
    text-align: left;
    font-size: 32px;
}

.industry-content .section-title:after {
    display: none;
}

.industry-content p {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 440px;
}

.industry-content .btn-blue {
    box-shadow: 0 6px 24px rgba(26, 86, 219, 0.4);
}

/* ==== 新闻资讯（已注释，保留 CSS 备用）==== */
.news-section {
    padding: 90px 0;
    background: #fff;
}

.news-item {
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-item p {
    font-size: 14px;
    color: var(--text-dark);
    margin: 14px 16px 6px;
    font-weight: 600;
    line-height: 1.5;
}

.news-item .date {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 16px 14px;
}

/* ==== 底部联系 ==== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #eef2ff 0%, #dbeafe 50%, #e0e7ff 100%);
    text-align: center;
}

.contact-section h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.contact-section p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==== 响应式 ==== */
@media (max-width: 767px) {
    .banner {
        min-height: auto;
        padding: 100px 0 70px;
    }
    .banner h1 {
        font-size: 30px;
    }
    .banner p {
        font-size: 15px;
    }
    .stats-row {
        gap: 20px;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .stat-number {
        font-size: 28px;
    }
    .section-title {
        font-size: 24px;
    }
    .industry-content .section-title {
        font-size: 24px;
    }
    .contact-section h3 {
        font-size: 22px;
    }
}
