﻿/* 容器布局样式 */
#mind-features .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 总标题区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.main-title {
    color: #2c3e50;
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.main-desc {
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 网格布局样式 - 确保3列显示 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem auto;
}

/* 卡片基础样式 - 商务风格 */
.feature-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

/* 卡片交互效果 */
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

/* 数字编号样式 - 商务风格 */
.feature-number {
    font-size: 2rem;
    font-weight: 600;
    color: #4a6fa5;
    display: inline-block;
    margin-bottom: 1.2rem;
    padding: 0.3rem 0.8rem;
    background-color: #f0f5ff;
    border-radius: 4px;
}

/* 标题样式 - 居中显示 */
.feature-title {
    font-size: 2.25rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
    text-align: center;
}

/* 描述样式 - 居中显示 */
.feature-desc {
    line-height: 1.7;
    font-size: 14px;
    color: #666666;
    display: block;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* 链接和按钮样式 - 居中显示 */
.feature-link {
    display: inline-block;
}

.feature-action {
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
    background-color: #2c6ecb;
    color: white;
    margin: 0 auto;
}

/* 按钮交互效果 */
.feature-action:hover {
    background-color: #1e50b3;
    transform: translateX(3px);
}

/* 商务风格的卡片细微区分 */
.card-1 { border-top: 3px solid #2c6ecb; }
.card-2 { border-top: 3px solid #3498db; }
.card-3 { border-top: 3px solid #2980b9; }
.card-4 { border-top: 3px solid #34495e; }
.card-5 { border-top: 3px solid #2c3e50; }
.card-6 { border-top: 3px solid #1a5276; }
.card-7 { border-top: 3px solid #27ae60; }
.card-8 { border-top: 3px solid #2ecc71; }
.card-9 { border-top: 3px solid #16a085; }

/* 咨询弹窗样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* 半透明黑色背景 */
    animation: fadeIn 0.3s;
}

/* 弹窗内容 */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.4s;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}

/* 联系卡片样式 */
.contact-card {
    text-align: center;
    padding: 20px 0;
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.qrcode-container {
    flex: 1;
    min-width: 200px;
}

.qrcode {
    width: 200px;
    height: 200px;
    border: 1px solid #eee;
    padding: 10px;
    margin: 0 auto 10px;
    border-radius: 5px;
}

.contact-details {
    flex: 1;
    min-width: 250px;
    text-align: left;
}

.contact-details p {
    margin: 12px 0;
    font-size: 16px;
    color: #333;
}

.contact-details i {
    color: #2c6ecb;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 动画效果 */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .main-title {
        font-size: 1.4rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details {
        text-align: center;
    }
}
.ourAdvantage {
    background-color: #f8fcff;
    
    overflow: hidden;
    position: relative;
}

.wide1190 {
    max-width: 1190px;
    margin: 0 auto;
    padding: 0 20px;
}

.txtP {
    font-size: 32px;
    color: #1a365d;
    text-align: center;
    margin: 0 0 10px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.subtitle {
    text-align: center;
    margin: 0 0 20px;
    color: #64748b;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.5s;
}

.line-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.7s;
}

.line-blue {
    width: 60px;
    height: 3px;
    background-color: #2563eb;
    margin-right: 10px;
    transform-origin: left center;
    transform: scaleX(0);
    animation: scaleIn 0.6s forwards 0.9s;
}

.line-gray {
    width: 120px;
    height: 1px;
    background-color: #cbd5e1;
    transform-origin: left center;
    transform: scaleX(0);
    animation: scaleIn 0.6s forwards 1.1s;
}

.introduction {
    text-align: center;
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 50px;
    font-weight: normal;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 1.3s;
}

/* 二维码区域样式 - 修复居中 */
.qrcode-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 1.5s;
}

.qrcode-prompt {
    font-size: 18px;
    color: #1e293b;
    margin: 0 0 25px;
    font-weight: 500;
}

.qrcode-container {
    display: inline-block;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.qrcode-container:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.qrcode-image {
    width: 200px;
    height: 200px;
    border-radius: 4px;
}

/* 动画关键帧定义 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (max-width: 768px) {
    .txtP {
        font-size: 26px;
    }
    
    .introduction {
        font-size: 15px;
        padding: 0 10px;
    }
    
    .qrcode-prompt {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .qrcode-image {
        width: 180px;
        height: 180px;
    }
}
    /* 为咨询按钮添加样式和交互效果 */
    .feature-action.consult-btn {
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 8px 16px;
        border: none;
        border-radius: 4px;
        background-color: #007bff;
        color: white;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    
    .feature-action.consult-btn:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .feature-action.consult-btn:active {
        transform: translateY(0);
        box-shadow: none;
    }
    
    /* 模态框样式 - 确保居中显示 */
    #consultModal {
        display: none; /* 默认隐藏 */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
        /* 使用flex布局实现完美居中 */
        justify-content: center;
        align-items: center;
        overflow-y: auto; /* 允许在小屏幕上滚动 */
        padding: 20px;
        box-sizing: border-box;
    }
    
    /* 显示模态框时启用flex布局 */
    #consultModal.show {
        display: flex;
        opacity: 1;
    }
    
    .modal-content {
        background-color: #fefefe;
        padding: 20px;
        border-radius: 8px;
        width: 100%;
        max-width: 500px;
        position: relative;
        transform: translateY(-20px);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        /* 确保内容不会超出屏幕 */
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* 模态框显示时的动画 */
    #consultModal.show .modal-content {
        transform: translateY(0);
    }
    
    .close-btn {
        color: #aaa;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        transition: color 0.2s ease;
        line-height: 1;
        z-index: 1001;
    }
    
    .close-btn:hover {
        color: #000;
    }
    
    /* 咨询窗口内容样式优化 */
    .contact-card {
        text-align: center;
        padding: 10px 0;
    }
    
    .contact-card h3 {
        margin-top: 0;
        color: #333;
        font-size: 20px;
    }
    
    .qrcode-container {
        margin: 20px 0;
    }
    
    .qrcode {
        max-width: 200px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
        border: 5px solid #f5f5f5;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .qrcode-container p {
        margin-top: 15px;
        color: #666;
        font-size: 14px;
    }
    
    .contact-other {
        margin-top: 20px;
        line-height: 1.8;
    }
    
    .contact-other i {
        width: 20px;
        color: #007bff;
    }