/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F5F7FA;
}

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

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #165DFF;
}

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

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

.nav ul li a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #165DFF;
}

.nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #165DFF;
    animation: underline 0.3s ease;
}

@keyframes underline {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* 首屏 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.code-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #165DFF;
    opacity: 0.9;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero p {
    font-size: 24px;
    color: #E8F3FF;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFFFFF;
    color: #165DFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1.1s forwards;
}

.btn:hover {
    background-color: #E8F3FF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(22, 93, 255, 0.3);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 核心优势 */
.advantages {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.advantages h3 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333333;
}

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

.advantage-item {
    background-color: #F5F7FA;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.advantage-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333333;
}

.advantage-item p {
    color: #666666;
    line-height: 1.6;
}

/* 需求拆解流程 */
.process {
    padding: 100px 0;
    background-color: #F5F7FA;
}

.process h3 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333333;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    margin: 20px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background-color: #165DFF;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #165DFF;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333333;
}

.process-step p {
    color: #666666;
    line-height: 1.6;
}

/* 技术栈展示 */
.tech-stack {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.tech-stack h3 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333333;
}

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

.tech-item {
    background-color: #F5F7FA;
    padding: 30px;
    border-radius: 10px;
}

.tech-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #165DFF;
}

.tech-item ul {
    list-style: none;
}

.tech-item ul li {
    margin-bottom: 10px;
    color: #666666;
    position: relative;
    padding-left: 20px;
}

.tech-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #165DFF;
    font-weight: bold;
}

/* 案例展示 */
.cases {
    padding: 100px 0;
    background-color: #F5F7FA;
}

.cases h3 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333333;
}

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

.case-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #165DFF;
}

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

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

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

.case-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px;
    color: #333333;
}

.case-item p {
    margin: 0 20px 20px;
    color: #666666;
    line-height: 1.6;
}

.case-link {
    display: inline-block;
    margin: 0 20px 20px;
    color: #165DFF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-link:hover {
    color: #7B61FF;
}

/* 联系我们 */
.contact-section {
    padding: 100px 0;
    background-color: #165DFF;
    text-align: center;
    color: #FFFFFF;
}

.contact-section h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-section .btn {
    background-color: #FFFFFF;
    color: #165DFF;
}

.contact-section .btn:hover {
    background-color: #E8F3FF;
}

/* 页脚 */
.footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 60px 0 30px;
}

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

.footer-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

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

.footer-links ul li a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
}

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

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #E8F3FF;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav ul {
        display: none;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .advantages h3,
    .process h3,
    .tech-stack h3,
    .cases h3,
    .contact-section h3 {
        font-size: 28px;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .process-step {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .advantages h3,
    .process h3,
    .tech-stack h3,
    .cases h3,
    .contact-section h3 {
        font-size: 24px;
    }
    
    .advantage-item,
    .tech-item {
        padding: 20px;
    }
    
    .footer .container {
        gap: 20px;
    }
}