/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #0f2043, #1a3a6a);
    color: white;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(to right, #4dabf7, #8be9fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #e0eaff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #8be9fd;
    transform: translateY(-2px);
}

nav ul li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8be9fd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 70%;
}

/* 主体内容样式 */
main {
    min-height: calc(100vh - 200px);
}

/* 首页英雄区域 */
.hero {
    background: linear-gradient(rgba(15, 32, 67, 0.8), rgba(26, 58, 106, 0.9)), url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 150px 20px;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #4dabf7, #3b82f6);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(77, 171, 247, 0.3);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: linear-gradient(135deg, #339af0, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 171, 247, 0.4);
}

.btn:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.6s;
}

.btn:hover:after {
    left: 120%;
}

/* 特色服务 */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.feature-item {
    flex: 1;
    min-width: 300px;
    background: white;
    margin: 15px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item h3 {
    color: #1a3a6a;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* 公司简介 */
.company-intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro-content {
    margin-bottom: 40px;
}

.company-intro h2 {
    color: #1a3a6a;
    margin-bottom: 20px;
    text-align: center;
}

.company-intro p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.intro-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    flex: 1;
    min-width: 150px;
}

.stat-item h3 {
    color: #4dabf7;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    margin: 0;
}

/* 核心业务 */
.core-services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    color: #1a3a6a;
    margin-bottom: 50px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #1a3a6a;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style-type: none;
    padding: 0;
}

.service-card li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.service-card li:before {
    content: "•";
    color: #4dabf7;
    position: absolute;
    left: 0;
}

/* 客户案例 */
.case-studies {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f0f4f8);
}

.case-studies .section-title {
    position: relative;
    padding-bottom: 15px;
}

.case-studies .section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4dabf7, #3b82f6);
    border-radius: 2px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid #4dabf7;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(77, 171, 247, 0.2);
}

.case-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4dabf7, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.case-item:hover:before {
    transform: scaleX(1);
}

.case-item h3 {
    color: #1a3a6a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.case-item p {
    color: #666;
    line-height: 1.6;
}

/* 合作伙伴 */
.partners-section {
    padding: 60px 0;
    background: linear-gradient(to right, #ffffff, #f8f9ff);
}

.partners-section .section-title {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.partners-section .section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4dabf7, #3b82f6);
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a3a6a;
    text-align: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(77, 171, 247, 0.15);
}

/* 快速联系 */
.quick-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a3a6a, #0f2043);
    color: white;
    text-align: center;
}

.quick-contact .section-title {
    position: relative;
    margin-bottom: 30px;
    color: white;
}

.quick-contact .section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4dabf7, #8be9fd);
    border-radius: 2px;
}

.quick-contact p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    width: 100%;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    color: #4dabf7;
}

/* 新闻动态 */
.news-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f0f4f8, #e1e8f0);
}

.news-section .section-title {
    position: relative;
    padding-bottom: 15px;
}

.news-section .section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4dabf7, #3b82f6);
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #4dabf7;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(77, 171, 247, 0.2);
}

.news-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4dabf7, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.news-item:hover:before {
    transform: scaleX(1);
}

.news-item h3 {
    color: #1a3a6a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-item h3 a {
    color: #1a3a6a;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.news-item h3 a:hover {
    color: #4dabf7;
}

.news-item h3 a:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4dabf7;
    transition: width 0.3s ease;
}

.news-item h3 a:hover:after {
    width: 100%;
}

.news-meta {
    margin-bottom: 15px;

    align-items: center;
}

.news-meta .date {
    color: #4dabf7;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 15px;
}

.news-item p {
    color: #666;
    line-height: 1.6;
}

.text-center {
    text-align: center;
    margin-top: 40px;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #1a3a6a, #2b5a99);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h2 {
    font-size: 2rem;
}

/* 内容区域 */
.content-section {
    padding: 20px 0 60px;
}

.content-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 文章导航样式 */
.article-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    color: #1a3a6a;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover:not(.disabled) {
    background-color: #f0f4f8;
    color: #4dabf7;
}

.nav-link.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.content-wrapper h3 {
    color: #1a3a6a;
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

.content-wrapper p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.content-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-wrapper li {
    margin-bottom: 8px;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #1a3a6a;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 15px;
    color: #666;
}

.service-card ul {
    margin-left: 20px;
}

.service-card li {
    margin-bottom: 8px;
    color: #555;
}

/* 技术内容 */
.tech-content h3 {
    color: #1a3a6a;
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.tech-content p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.tech-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tech-content li {
    margin-bottom: 8px;
}

/* 新闻列表 */
.news-list {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-item {
    padding: 20px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    color: #1a3a6a;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-meta {

    margin-bottom: 15px;
}

.date {
    color: #4dabf7;
    margin-right: 15px;
    font-weight: 500;
}

.category {
    background: #e7f5ff;
    color: #1c7ed6;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.news-item p {
    color: #666;
    line-height: 1.7;
}

/* 联系方式 */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;

}

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.contact-item {

}

.contact-item h4 {
    color: #1a3a6a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #555;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4dabf7;
}

/* 底部 */
footer {
    background: linear-gradient(135deg, #0f2043, #1a3a6a);
    color: white;
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #4dabf7, #8be9fd);
}

footer p {
    margin: 15px 0;
    font-size: 0.9rem;
    color: #e0eaff;
}

footer .social-links {
    margin: 25px 0;
}

footer .social-links a {
    color: white;
    margin: 0 15px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

footer .social-links a:hover {
    color: #8be9fd;
    transform: translateY(-5px);
}

footer .social-links a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8be9fd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

footer .social-links a:hover:after {
    width: 100%;
}

footer .copyright {
    font-size: 0.8rem;
    color: #a0b3d6;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 10px;
    }
    
    nav ul li {
        margin: 10px 15px;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 8px 12px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    nav ul li a:hover,
    nav ul li a.active {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .hero {
        padding: 50px 15px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features .container {
        flex-direction: column;
    }
    
    .feature-item {
        min-width: 100%;
        margin: 10px 0;
    }
    
    /* 响应式新增内容 */
    .company-intro {
        padding: 40px 0;
    }
    
    .intro-content {
        margin-bottom: 30px;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .core-services {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .case-studies {
        padding: 40px 0;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-item {
        padding: 20px;
    }
    
    .news-section {
        padding: 40px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-item {
        padding: 20px;
    }
    
    .text-center {
        margin-top: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .page-header h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    nav ul {
        padding: 8px;
    }

    nav ul li {
        margin: 5px 8px;
    }

    nav ul li a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .feature-item,
    .service-card,
    .content-wrapper,
    .news-list,
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    /* 小屏幕响应式新增内容 */
    .company-intro h2,
    .section-title {
        font-size: 1.3rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .service-card,
    .case-item,
    .news-item {
        padding: 15px;
    }
    
    .news-item h3 {
        font-size: 1.1rem;
    }
    
    .text-center {
        margin-top: 15px;
    }
}
.more{
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(77, 171, 247, 0.4);
  background: linear-gradient(135deg, #4dabf7, #3b82f6);    
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;}
  footer a{color: #f06b09;}
  .contact-itemnew {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.logo h1 {
  font-size: 0; 
  margin: 0; 
  padding: 0; 
}
.logo h1 img {
  font-size: initial; 
  width: 50px;
  height: auto;
}