/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8faff;
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 导航栏样式 */
.header {
    background: #fff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
}
.nav-logo {
    font-size: 28px;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
}

/* 导航栏样式（补充移动端适配） */
.nav-links {
    display: flex;
    gap: 40px;
}

/* 隐藏移动端菜单控制的checkbox输入框（全局生效） */
.mobile-menu-checkbox {
    display: none; /* 完全隐藏输入框，不占用布局空间 */
}

/* 隐藏默认的汉堡菜单按钮（桌面端不显示） */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #1a73e8;
    cursor: pointer;
}

/* 手机端适配（≤768px） */
@media (max-width: 768px) {
    .nav {
        position: relative; /* 为子元素定位 */
    }
    /* 显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }
    /* 默认隐藏导航链接 */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 12px rgba(26, 115, 232, 0.08);
        z-index: 1001;
    }
    .nav-links a {
        padding: 16px 30px;
        border-bottom: 1px solid #f0f6ff;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    /* 当汉堡按钮被点击时显示菜单 */
    .mobile-menu-checkbox:checked ~ .nav-links {
        display: flex;
    }
    
    /* 移动端下拉菜单适配 */
    .dropdown {
        width: 100%; /* 移动端下拉菜单占满宽度 */
    }
    .dropdown-content {
        position: static; /* 移动端取消绝对定位 */
        box-shadow: none; /* 取消阴影 */
        border-top: 1px solid #f0f6ff; /* 添加分隔线 */
        display: none; /* 默认隐藏 */
    }
    .dropdown-content a {
        padding-left: 40px; /* 与移动端菜单缩进一格 */
    }
    /* 移动端点击展开下拉菜单 */
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

.nav-links a {
    color: #425466;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}
.nav-links a:hover {
    color: #1a73e8;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a73e8;
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}

/* 轮播图样式 */
.banner {
    margin-top: 88px;
    height: 680px;
    background: linear-gradient(rgba(26, 115, 232, 0.8), rgba(26, 115, 232, 0.548)), url('../images/banner.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.banner::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}
.banner h1 {
    font-size: 56px;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.banner p {
    font-size: 20px;
    margin-bottom: 56px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.btn {
    display: inline-block;
    padding: 18px 40px;
    background: #fff;
    color: #1a73e8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}
.btn:hover {
    background: #f0f6ff;
    transform: translateY(-2px);
}

/* 导航栏下拉菜单修改 */
.dropdown {
    position: relative; /* 关键：为下拉容器设置相对定位 */
    display: inline-block; /* 确保容器正确包裹内容 */
}
.dropdown-toggle {
    color: #425466;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}
.dropdown-toggle::after {
    content: '▾';
    font-size: 12px;
}
.dropdown-content {
    display: none;
    position: absolute; /* 基于.dropdown的相对定位 */
    top: 100%; /* 紧贴父元素底部 */
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.12);
    border-radius: 8px;
    z-index: 1001; /* 确保层级高于导航栏（导航栏z-index:1000） */
    padding: 8px 0; /* 调整内边距 */
}
.dropdown-content a {
    color: #425466;
    padding: 12px 24px; /* 修复移动端点击区域过小 */
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    font-size: 15px;
    white-space: nowrap; /* 防止文字换行 */
}
.dropdown-content a:hover {
    background-color: #f0f6ff;
    color: #1a73e8;
    padding-left: 30px;
}
.dropdown:hover .dropdown-content {
    display: block; /* 鼠标悬停显示 */
}
.dropdown:hover .dropdown-toggle {
    color: #1a73e8;
}

/* 以下为新补充样式 */

/* 项目流程模块 */
.process {
    padding: 80px 0;
    background: #1a73e8;
    color: white;
}
.process h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* 允许步骤换行 */
}
.process-step {
    text-align: center;
    flex: 1 1 120px; /* 小屏幕下每步最小宽度20px */
}
.process-step-number {
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: white;
    color: #1a73e8;
    margin: 0 auto 15px;
}

/* 核心优势模块响应式适配 */
.solution-advantages .process-steps {
    display: grid; /* 改用grid布局更易控制列数 */
    grid-template-columns: repeat(4, 1fr); /* 默认4列 */
    gap: 30px;
}
.solution-advantages .process-step {
    text-align: left; /* 左对齐更符合长文本阅读 */
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    min-height: 180px; /* 统一卡片高度 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 内容顶部对齐 */
}
.solution-advantages .process-step-number {
    margin: 0 0 15px 0; /* 数字标题左对齐 */
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
}

/* 小屏幕适配（≤768px） */
@media (max-width: 768px) {
    .solution-advantages .process-steps {
        grid-template-columns: 1fr; /* 小屏幕单列 */
    }
    .solution-advantages .process-step {
        min-height: auto; /* 取消固定高度 */
        padding: 20px;
    }
}

/* 中等屏幕适配（769px-1024px） */
@media (min-width: 769px) and (max-width: 1024px) {
    .solution-advantages .process-steps {
        grid-template-columns: repeat(2, 1fr); /* 中等屏幕两列 */
    }
}

/* 工作原则模块 */
.principles {
    padding: 80px 0;
    background: #f8faff;
}
.principles h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.principle-item {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.principle-item h3 {
    color: #1a73e8;
    margin-bottom: 15px;
}

/* 页脚模块 */
.footer {
    background: #1a73e8;
    color: white;
    padding: 50px 0;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}
.footer-item h4 {
    font-size: 20px;
    margin-bottom: 20px;
}
.footer-item p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

/* 页脚链接样式 */
.footer-item p a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-item p a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

/* 响应式媒体查询（覆盖所有下半部分模块） */
@media (max-width: 768px) {
    /* 项目流程 */
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    .process-step {
        flex: 1 1 40%; /* 小屏幕每步占40%宽度 */
    }
    
    /* 工作原则 */
    .principles-grid {
        grid-template-columns: 1fr; /* 切换为单列 */
    }
    
    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr; /* 切换为单列 */
    }
    .footer-item {
        text-align: center; /* 内容居中 */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* 项目流程 */
    .process-steps {
        flex-wrap: wrap;
        gap: 30px;
    }
    .process-step {
        flex: 1 1 30%; /* 中等屏幕每步占30%宽度 */
    }
    
    /* 工作原则 */
    .principles-grid {
        grid-template-columns: repeat(2, 1fr); /* 切换为两列 */
    }
    
    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr 1fr; /* 切换为两列 */
    }
}

/* 数据展示模块响应式适配 */
.data-show {
    padding: 80px 0;
    background: #fff;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(26, 115, 232, 0.06);
}
.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.data-item h3 {
    font-size: 40px;
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 8px;
}
.data-item p {
    color: #66788a;
    font-size: 16px;
}

@media (max-width: 768px) {
    .data-grid {
        grid-template-columns: repeat(2, 1fr); /* 小屏幕两列 */
    }
    .data-item h3 {
        font-size: 32px; /* 减小数字字体 */
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .data-grid {
        grid-template-columns: repeat(3, 1fr); /* 中等屏幕3列 */
    }
}

/* 服务内容模块响应式适配 */
.services {
    padding: 100px 0;
}
.services h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    color: #1a202c;
    font-weight: 600;
}

/* PC端服务交付项目展示样式 */
.service-delivery {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08);
    text-align: center;
}
.service-delivery h3 {
    color: #1a202c;
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
}
.service-delivery p {
    color: #66788a;
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* 交付项目类型展示 */
.delivery-types {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.delivery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    min-width: 100px;
}
.delivery-item:hover {
    background: #f0f6ff;
    transform: translateY(-4px);
}
.delivery-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8faff;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}
.delivery-item:hover .delivery-icon {
    background: #1a73e8;
    border-color: #1a73e8;
    transform: scale(1.1);
}
.delivery-item span {
    color: #425466;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}
.delivery-item:hover span {
    color: #1a73e8;
    font-weight: 600;
}

/* 服务内容模块响应式适配 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.service-item {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08);
}
.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(26, 115, 232, 0.12);
}
.service-item h3 {
    color: #1a202c;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 600;
}
.service-item p {
    color: #66788a;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr; /* 小屏幕单列 */
        gap: 30px;
    }
    .service-item {
        padding: 32px 24px; /* 减小内边距 */
    }
    .service-item h3 {
        font-size: 20px; /* 减小标题字体 */
    }
    .service-item p {
        font-size: 15px; /* 减小正文字体 */
    }
    
    /* 交付项目类型移动端适配 */
    .service-delivery {
        padding: 24px 20px;
    }
    .service-delivery h3 {
        font-size: 20px;
    }
    .service-delivery p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    .delivery-types {
        gap: 20px;
        margin-top: 20px;
    }
    .delivery-item {
        padding: 16px 12px;
        min-width: 80px;
    }
    .delivery-icon {
        font-size: 24px;
        width: 50px;
        height: 50px;
    }
    .delivery-item span {
        font-size: 14px;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 交付项目类型中等屏幕适配 */
    .service-delivery {
        padding: 28px 24px;
    }
    .service-delivery h3 {
        font-size: 22px;
    }
    .service-delivery p {
        font-size: 17px;
        margin-bottom: 28px;
    }
    .delivery-types {
        gap: 30px;
        margin-top: 25px;
    }
    .delivery-item {
        padding: 18px 14px;
        min-width: 90px;
    }
    .delivery-icon {
        font-size: 28px;
        width: 55px;
        height: 55px;
    }
    .delivery-item span {
        font-size: 15px;
    }
}

/* 新增：修复产品卡片标题和描述动态间距 */
.product-item::after {
    display: none !important;
}

/* 使用文本容器背景渐变覆盖文字区域 */
.product-item .product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px; /* 减少内边距，提高视觉平衡 */
    background: linear-gradient(to top, rgba(12, 110, 238, 0.87) 0%, transparent 100%);
    border-radius: 0 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}
.product-item .product-content h3,
.product-item .product-content p {
    position: static;
    margin: 0;
    color: #fff;
}

@media (max-width: 768px) {
    .product-item .product-content {
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        gap: 6px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .product-item .product-content {
        padding: 25px;
        gap: 7px;
    }
}

/* 自研产品模块响应式适配 */
.products {
    padding: 100px 0;
    background: #fff;
}
.products h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 60px;
    color: #1a202c;
    font-weight: 600;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
/* 自研产品模块样式（补充顶部对齐） */
.product-item {
    background: #f8faff;
    padding: 0; /* 移除内边距，因为要用绝对定位 */
    border-radius: 16px;
    text-align: left; /* 文字左对齐 */
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08);
    display: flex; /* 改为block，因为要使用绝对定位 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* 为子元素绝对定位提供参考点 */
    overflow: hidden; /* 确保圆角正确显示 */
    height: auto; /* 取消固定高度，自动适应内容 */
}
.product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* 满宽度，自动高度 */
    height: auto;
    max-height: 300px; /* 限制最大高度，避免过大 */
    object-fit: contain; /* 改为contain以显示完整图片 */
    border-radius: 16px; /* 与容器保持一致 */
    margin-bottom: 0; /* 移除下边距 */
    background: #f8faff; /* 添加背景色填充空白区域 */
    border-radius: 16px 16px 0 0;
}
.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(26, 115, 232, 0.12);
}

/* 自研产品模块更多按钮样式 */
.products-more {
    text-align: center;
    margin-top: 40px;
}
.more-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}
.more-btn:hover {
    background: #1557b0;
    transform: translateY(-2px);
}

/* 自研产品模块移动端适配 */
@media (max-width: 768px) {
    .products {
        padding: 60px 0; /* 减少上下内边距 */
    }
    
    .products h2 {
        font-size: 28px; /* 减小标题字体 */
        margin-bottom: 40px;
    }
    
    /* 产品网格 - 移动端单列 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-item {
        padding: 0; /* 保持无内边距 */
        height: 350px; /* 固定容器高度与移动端图片一致 */
    }
    
    .product-img {
        height: 350px; /* 移动端适当减小但仍足够显示竖长图片 */
        margin-bottom: 0;
        border-radius: 16px;
        object-fit: contain; /* 完整显示图片 */
        background: #f8faff; /* 填充空白区域 */
    }
    
    .product-item h3 {
        font-size: 20px; /* 减小标题字体 */
        margin: 0; /* 移除所有边距避免重叠 */
        position: absolute;
        bottom: 60px; /* 增加h3与p的间距 */
        left: 20px;
        right: 20px;
        z-index: 2;
        color: #fff;
        font-weight: 600;
        line-height: 1.2; /* 移动端更紧凑的行高 */
    }
    
    .product-item p {
        font-size: 14px; /* 减小正文字体 */
        line-height: 1.4; /* 移动端行高 */
        position: absolute;
        bottom: 18px; /* 增加h3与p的间距 */
        left: 20px;
        right: 20px;
        z-index: 2;
        color: rgba(255, 255, 255, 0.9);
        margin: 0; /* 移除默认边距 */
    }
}

/* 中等屏幕适配（769px-1024px） */
@media (min-width: 769px) and (max-width: 1024px) {
    .products {
        padding: 80px 0;
    }
    
    .products h2 {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    /* 产品网格 - 平板端两列 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .product-item {
        padding: 0; /* 保持无内边距 */
        height: 370px; /* 固定容器高度与平板端图片一致 */
    }
    
    .product-item h3 {
        font-size: 22px;
        margin: 0; /* 移除所有边距避免重叠 */
        position: absolute;
        bottom: 45px; /* 调整位置，给p标签留出空间 */
        left: 25px;
        right: 25px;
        z-index: 2;
        color: #fff;
        font-weight: 600;
        line-height: 1.3; /* 平板端行高 */
    }
    
    .product-item p {
        font-size: 15px;
        line-height: 1.5; /* 平板端行高 */
        position: absolute;
        bottom: 15px; /* 调整位置 */
        left: 25px;
        right: 25px;
        z-index: 2;
        color: rgba(255, 255, 255, 0.9);
        margin: 0; /* 移除默认边距 */
    }
    
    .more-btn {
        padding: 12px 35px;
        font-size: 17px;
    }
}

/* -------------------- solution.html 图文动态专属样式 -------------------- */
.news-item {
    display: flex; /* 启用flex布局 */
    flex-direction: column; /* 内容垂直排列 */
    align-items: flex-start; /* 顶部对齐 */
    padding: 24px; /* 调整内边距与图文内容适配 */
}
.news-content {
    flex: 1; /* 允许内容区域扩展填充剩余空间 */
}
.news-meta {
    color: #66788a;
    font-size: 14px;
    margin-bottom: 8px;
}
.news-item h3 {
    font-size: 20px; /* 比自研产品标题稍小 */
    margin-bottom: 8px;
    line-height: 1.4;
}
.news-item p {
    font-size: 15px; /* 减小正文字号 */
    line-height: 1.6;
}

/* 小屏幕适配（≤768px） */
@media (max-width: 768px) {
    .news-item h3 {
        font-size: 18px;
    }
    .news-meta {
        font-size: 13px;
    }
}

/* -------------------- 联系我们页面专属样式 -------------------- */
.contact-main {
    padding-top: 140px; /* 固定导航栏高度88px + 顶部留白52px */
    padding-bottom: 80px;
}
.contact-banner {
    text-align: center;
    margin-bottom: 60px;
}
.contact-banner h1 {
    font-size: 48px;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.3;
}
.contact-banner p {
    font-size: 20px;
    color: #66788a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 表单布局 */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    color: #1a202c;
    font-size: 16px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    color: #425466;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.required {
    color: #ff4747;
    margin-left: 4px;
}
.full-width {
    grid-column: 1 / 3; /* 跨两列 */
}

/* 提交按钮 */
.form-cta {
    text-align: center;
    margin-top: 30px;
}
.form-cta .btn {
    padding: 18px 50px;
    font-size: 18px;
}

/* 小屏幕适配（≤768px） */
@media (max-width: 768px) {
    .contact-main {
        padding-top: 120px;
    }
    .contact-banner h1 {
        font-size: 32px;
    }
    .contact-banner p {
        font-size: 16px;
    }
    .contact-form {
        padding: 24px;
    }
    .form-grid {
        grid-template-columns: 1fr; /* 小屏幕单列 */
    }
    .full-width {
        grid-column: 1 / 1; /* 取消跨列 */
    }
}

/* -------------------- project.html 专属样式 -------------------- */
.project-main {
    padding-top: 140px; /* 固定导航栏高度，留出顶部空间 */
    padding-bottom: 80px;
}
.project-banner {
    text-align: center;
    margin-bottom: 60px;
}
.project-banner h1 {
    font-size: 48px;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.3;
}
.project-banner p {
    font-size: 20px;
    color: #66788a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.project-client-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    color: #66788a;
    font-size: 16px;
    line-height: 1.8;
}
.project-client-list li::before {
    content: "•";
    color: #1a73e8;
    margin-right: 8px;
}
.project-cta {
    text-align: center;
    margin-top: 60px;
}

/* 小屏幕适配（≤768px） */
@media (max-width: 768px) {
    .project-main {
        padding-top: 120px;
    }
    .project-banner h1 {
        font-size: 32px;
    }
    .project-banner p {
        font-size: 16px;
    }
}

/* -------------------- service.html 专属样式 -------------------- */
.service-main {
    padding-top: 140px; /* 固定导航栏高度约88px，留出顶部空间 */
    padding-bottom: 80px;
}

/* 主标题区 */
.service-banner {
    text-align: center;
    margin-bottom: 60px;
}
.service-banner h1 {
    font-size: 48px;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.3;
}
.service-banner p {
    font-size: 20px;
    color: #66788a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 可交付项目类型卡片（补充悬停效果） */
.service-types .service-item {
    min-height: 180px; /* 统一卡片高度 */
    transition: all 0.3s;
}
.service-types .service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.15);
}

/* 流程步骤优化（调整高度限制和溢出控制） */
.service-research .process-step,
.service-implementation .process-step {
    text-align: left;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    min-height: 180px; /* 改为最小高度，允许内容自然扩展 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 保持顶部对齐 */
    overflow: visible; /* 取消溢出隐藏，避免遮挡文字 */
}
.service-research .process-step p,
.service-implementation .process-step p {
    /* 移除行数限制，允许完整显示内容 */
    display: block; 
    -webkit-line-clamp: unset;
}
.service-research .process-step > *,
.service-implementation .process-step > * {
    flex: 0 0 auto;
    margin: 0;
}
.service-research .process-step h3,
.service-implementation .process-step h3 {
    margin-bottom: 8px;
    font-size: 20px;
}
.service-research .process-step p,
.service-implementation .process-step p {
    font-size: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.service-research .process-step-number,
.service-implementation .process-step-number {
    margin: 0 0 15px 0;
}
.service-research .process-step h3,
.service-implementation .process-step h3 {
    margin-bottom: 12px;
    font-size: 20px;
}
.service-research .process-step p,
.service-implementation .process-step p {
    font-size: 16px;
    line-height: 1.6;
}

/* 持续迭代模块优化 */
.service-support .principle-item {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 联系顾问按钮 */
.service-cta {
    text-align: center;
    margin-top: 60px;
}
.service-cta .btn {
    padding: 18px 50px;
    font-size: 18px;
}

/* 小屏幕适配（≤768px） */
@media (max-width: 768px) {
    .service-main {
        padding-top: 120px;
    }
    .service-banner h1 {
        font-size: 32px;
    }
    .service-banner p {
        font-size: 16px;
    }
    .service-types h2,
    .service-research h2,
    .service-implementation h2,
    .service-support h2 {
        font-size: 24px;
    }
    .service-types .service-item {
        min-height: auto;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 自适应产品页面封面图 */
.article-cover {
    max-width: 800px; /* 限制宽度，提升可读性 */
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto 40px; /* 增加底部间距 */
    border-radius: 12px; /* 添加圆角效果 */
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.1); /* 添加阴影 */
}

/* 产品页面正文样式 */
.article-content {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: #66788a;
    line-height: 1.8;
}
.article-content h2 {
    font-size: 28px;
    color: #1a202c;
    margin: 40px 0 20px;
    padding-left: 12px;
    border-left: 4px solid #1a73e8;
}
.article-content ul.article-list {
    list-style: disc inside;
    padding-left: 20px;
    color: #66788a;
    line-height: 1.8;
    margin-bottom: 20px;
}
.article-content ul.article-list li {
    margin-bottom: 8px;
}

/* 产品页面头部样式 */
.article-header {
    text-align: center;
    margin-bottom: 40px;
}
.article-title {
    font-size: 36px;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 20px;
}
.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #66788a;
    font-size: 14px;
    margin-bottom: 30px;
}
.article-meta .meta-item:not(:last-child)::after {
    content: "|";
    margin: 0 8px;
    color: #ccc;
}
