/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 背景SVG动态效果 */
.background-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-svg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../svg/background.svg');
    background-size: cover;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 1000px;
    }
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    color: #4A90E2;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4A90E2;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4A90E2;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* 首页英雄区域 */
.hero {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 星空背景样式 */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: translateZ(0);
}

.stars-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #1a1a4a;
}

.hero-content h1 {
    font-size: 10rem;
    margin-bottom: 15px;
    color: #4A90E2;
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #666;
    font-weight: normal;
}

.hero-content p {
    font-size: 2rem;
    max-width: 750px;
    margin: 0 auto 30px;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 12px 50px;
    background-color: #4A90E2;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.cta-button:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* 服务概览 */
.services-overview {
    padding: 80px 0;
    background-color: white;
}

.services-overview h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #4A90E2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.15);
}

.service-icon {
    margin-bottom: 20px;
}

.icon {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #4A90E2;
}

.service-card p {
    color: #666;
}

/* 公司愿景使命 */
.company-values {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #4A90E2;
}

.value-item p {
    color: #666;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 10px;
    color: #ecf0f1;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4A90E2;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #4A90E2;
    text-decoration: none;
}

/* 页面标题 */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4A90E2;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 详细服务页面 */
.detailed-services {
    padding: 80px 0;
    background-color: white;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-detail-content {
    direction: ltr;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4A90E2;
}

.service-detail-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.service-detail-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-detail-content ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.service-detail-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: bold;
}

.large-icon {
    width: 100%;
    height: 300px;
}

/* 技术优势 */
.tech-advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.tech-advantages h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #4A90E2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #4A90E2;
}

.advantage-item p {
    color: #666;
}

/* 公司介绍 */
.company-intro {
    padding: 80px 0;
    background-color: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4A90E2;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* 愿景使命价值观 */
.vision-mission-values {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.vmv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vmv-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vmv-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.vmv-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #4A90E2;
}

.vmv-item p {
    color: #666;
    line-height: 1.8;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.value-tag {
    background-color: #4A90E2;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 发展历程 */
.development-history {
    padding: 80px 0;
    background-color: white;
}

.development-history h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #4A90E2;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #4A90E2;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-date {
    font-weight: bold;
    color: #4A90E2;
    margin-bottom: 10px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    margin-bottom: 10px;
    color: #4A90E2;
}

/* 联系信息 */
.contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #4A90E2;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: #4A90E2;
}

.contact-text p {
    color: #666;
}

.contact-map h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #4A90E2;
}

.map-placeholder {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
    background-color: white;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #4A90E2;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #4A90E2;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #3a7bc8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-menu {
        margin-top: 15px;
    }
    
    .nav-menu li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .services-grid,
    .values-grid,
    .advantages-grid,
    .vmv-grid,
    .contact-grid,
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .service-detail.reverse .service-detail-content {
        direction: ltr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0;
        padding-left: 60px;
        text-align: left;
    }
}