/* 公共容器样式 */
.index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.index-section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

/* 产品列表样式 */
.index-products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.index-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.index-product-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.index-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.index-product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.index-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.index-product-title {
    font-size: 24px;
    font-weight: bold;
    color: #2a68b2;
    margin-bottom: 10px;
}

.index-product-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.index-product-link {
    display: inline-block;
    padding: 10px 30px;
    background: #2a68b2;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.index-product-link:hover {
    background: #1a5899;
}

/* 解算方案样式 */
.index-solutions-section {
    padding: 80px 0;
    background: white;
}

.index-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.index-solution-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.index-solution-card:hover {
    background: #2a68b2;
    color: white;
    transform: translateY(-5px);
}

.index-solution-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.index-solution-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.index-solution-card:hover h3 {
    color: white;
}

.index-solution-card:hover svg path,
.index-solution-card:hover svg rect,
.index-solution-card:hover svg polygon,
.index-solution-card:hover svg circle,
.index-solution-card:hover svg ellipse,
.index-solution-card:hover svg line {
    fill: white;
    stroke: white;
}

/* 公司介绍样式 */
.index-company-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.index-company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.index-company-text {
    padding-right: 20px;
}

.index-company-name {
    font-size: 28px;
    font-weight: bold;
    color: #2a68b2;
    margin-bottom: 30px;
}

.index-company-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.index-company-image {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.index-company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 联系信息样式 */
.index-contact-section {
    padding: 80px 0;
    background: white;
}

.index-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 868px;
    margin: 0 auto;
}

.index-contact-card {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.index-contact-card:hover {
    background: #2a68b2;
    color: white;
    transform: translateY(-5px);
}

.index-contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}
.index-contact-icon i{
    font-size: 54px;
    color: var(--m-color);
}
.index-contact-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.index-contact-card:hover h3 {
    color: white;
}
.index-contact-card:hover i{
    color: white;
}
.index-contact-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.index-contact-card:hover p {
    color: white;
}

.index-contact-card:hover svg path,
.index-contact-card:hover svg rect,
.index-contact-card:hover svg circle {
    fill: white;
    stroke: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .index-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .index-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .index-company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .index-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .index-products-grid {
        grid-template-columns: 1fr;
    }

    .index-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .index-contact-grid {
        grid-template-columns: 1fr;
        width: auto;
    }

    .index-company-image {
        height: 300px;
    }
}

@media (max-width: 500px) {
    .index-contact-grid {
        width: auto;
    }
    .index-solutions-grid {
        grid-template-columns: 1fr;
    }
    .index-products-section{
        padding: 20px 0 80px 0;
    }
}
