/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

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

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: #4a6cf7;
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4a6cf7;
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4a6cf7;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #4a6cf7 0%, #7292ff 100%);
    color: white;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIj48L3JlY3Q+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiNmN2Y5ZmYiPjwvcmVjdD4KPC9zdmc+');
    opacity: 0.3;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    position: relative;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: white;
    color: #4a6cf7;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #4a6cf7;
    transform: translateY(-3px);
}

/* 通用区块样式 */
.section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4a6cf7;
    border-radius: 3px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 公司简介样式 */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text p strong {
    color: #4a6cf7;
    font-weight: 600;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
}

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

/* 核心优势样式 */
.advantages {
    background-color: #f9f9f9;
}

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

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

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

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #4a6cf7;
}

.advantage-icon i {
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon i {
    transform: scale(1.2);
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* 企业文化样式 */
.culture {
    background-color: white;
}

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

.culture-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.culture-icon {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: #4a6cf7;
    box-shadow: 0 5px 20px rgba(74, 108, 247, 0.1);
}

.culture-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
}

.culture-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.culture-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.culture-card li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #666;
    display: flex;
    align-items: flex-start;
}

.culture-card li i {
    color: #4a6cf7;
    margin-right: 12px;
    font-size: 1.2rem;
    margin-top: 2px;
}

/* 发展历程样式 */
.history {
    background-color: #f9f9f9;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e0e7ff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

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

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid #4a6cf7;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(74, 108, 247, 0.2);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-year {
    position: absolute;
    top: 18px;
    padding: 8px 16px;
    background-color: #4a6cf7;
    color: white;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.9rem;
    min-width: 70px;
    text-align: center;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -35px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -35px;
}

.timeline-content {
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-content i {
    color: #4a6cf7;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: block;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #222;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* 客户案例样式 */
.cases {
    background-color: white;
}

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

.case-card {
    background-color: #f8f9ff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.case-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    font-size: 30px;
    color: #4a6cf7;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.1);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.case-card h3 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: #222;
}

.case-card p {
    color: #666;
    line-height: 1.6;
    padding: 0 30px 30px;
}

/* 加入我们样式 */
.join-us {
    background: linear-gradient(135deg, #4a6cf7 0%, #7292ff 100%);
    color: white;
    text-align: center;
}

.join-us .section-header h2 {
    color: white;
}

.join-us .section-header h2::after {
    background-color: white;
}

.join-us .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.join-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-icon {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    backdrop-filter: blur(10px);
}

.join-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.join-btn .btn {
    background-color: white;
    color: #4a6cf7;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.join-btn .btn:hover {
    background-color: #f0f2ff;
    transform: translateY(-3px);
}

/* 页脚样式 */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 300px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 1;
    min-width: 500px;
}

.link-group {
    flex: 1;
    min-width: 150px;
}

.link-group h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #4a6cf7;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 10px;
}

.link-group a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-5px);
}

.link-group a:hover {
    color: white;
    padding-left: 15px;
}

.link-group a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

.payment-methods p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #b0b0b0;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 30px;
}

.payment-icons i {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.payment-icons i:hover {
    opacity: 1;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    padding-top: 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    
    .timeline-year {
        position: relative;
        top: 0;
        right: auto !important;
        left: auto !important;
        margin-bottom: 15px;
        display: inline-block;
    }
    
    .footer-links {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-links li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .advantages-grid,
    .culture-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .footer-links {
        gap: 30px;
    }
}