:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Noto Sans SC', sans-serif; 
    line-height: 1.6; 
    color: var(--dark); 
    background-color: var(--light);
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* 头部样式 */
header { 
    background: rgba(255, 255, 255, 0.95); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    transition: all 0.3s ease;
}

header.scrolled {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-inner { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
}

.logo { 
    font-size: 22px; 
    font-weight: bold; 
    color: var(--primary); 
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    margin-right: 15px;
}

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

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

nav ul li a { 
    text-decoration: none; 
    color: var(--dark); 
    font-weight: 500; 
    transition: all 0.3s ease;
}

nav ul li a:hover { 
    color: var(--primary); 
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(79, 70, 229, 0.9) 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
}

/* 通用部分 */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: white;
}

.section-dark {
    background-color: #f9fafb;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.5em;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #0ea271;
}

/* 特性列表 */
.feature-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-icon {
    color: var(--primary);
    margin-right: 10px;
}

/* 首页英雄区 */
.hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(79, 70, 229, 0.9) 100%), url('./img/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 200px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 服务卡片 */
.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* 关于我们页面 */
.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.2) 100%);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.1em;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5em;
}

/* 资质证明 */
.credential-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.credential-header h3 {
    font-size: 1.3em;
}

.credential-content {
    padding: 30px;
}

.credential-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.credential-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.credential-item h4 {
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 1.1em;
}

.credential-item p {
    color: var(--gray);
}

/* 发展历程 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: white;
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.timeline-text {
    color: var(--gray);
}

/* 企业文化 */
.culture-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 25px;
}

.culture-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.culture-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--dark);
}

.culture-card p {
    color: var(--gray);
}

/* 案例页面 */
.case-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-image {
    height: 250px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--dark);
}

.case-content .case-category {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.case-content p {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.case-stat {
    text-align: center;
    padding: 15px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 10px;
}

.case-stat .stat-value {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

.case-stat .stat-label {
    color: var(--gray);
    font-size: 0.9em;
}

/* 联系我们页面 */
.contact-info {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 20px;
}

.contact-text h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-text p {
    color: var(--gray);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* CTA部分 */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(79, 70, 229, 0.9) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* 页脚 */
footer { 
    background: var(--dark); 
    color: white; 
    padding: 70px 0 50px; 
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3em;
    padding-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .page-header h1, .hero h1 {
        font-size: 2.5em;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .page-header, .hero {
        padding: 120px 0 60px;
    }
    
    .page-header h1, .hero h1 {
        font-size: 2em;
    }
    
    .section-title h2 {
        font-size: 2em;
    }
}