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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-text {
    font-size: 24px;
    font-weight: bold;
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2563eb;
}

.btn-primary {
    background: #f59e0b !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #d97706 !important;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e293b;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-cta {
    background: #06b6d4;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.hero-images {
    position: relative;
}

.image-slider {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-controls button {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: white;
    transform: scale(1.1);
}

/* 热门推荐 */
.recommendations {
    padding: 80px 0;
    background: #f8fafc;
}

.recommendations h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e293b;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .service-overlay {
    opacity: 0.95;
}

.service-overlay h3 {
    font-size: 20px;
    font-weight: bold;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.service-info {
    padding: 20px;
}

.service-info h4 {
    font-size: 18px;
    color: #1e293b;
}

/* 软件定制开发 */
.custom-development {
    padding: 80px 0;
    background: white;
}

.development-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.development-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1e293b;
}

.development-text p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-learn-more {
    background: #f59e0b;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-learn-more:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.development-image {
    position: relative;
}

.development-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.tech-stack {
    position: absolute;
    bottom: -30px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tech-category h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

/* 技术优势 */
.advantages {
    padding: 80px 0;
    background: #f8fafc;
}

.advantage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantage-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 客户服务建设 */
.customer-service {
    padding: 80px 0;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.customer-service h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.service-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    display: flex;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.service-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.service-submit {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.service-submit:hover {
    background: #d97706;
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand-text {
    font-size: 24px;
    font-weight: bold;
    color: #06b6d4;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #f1f5f9;
}

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

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #06b6d4;
}

.product-preview img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

.footer-copyright p {
    color: #94a3b8;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .development-content,
    .advantage-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-legal {
        order: 2;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .recommendations,
    .custom-development,
    .advantages,
    .customer-service {
        padding: 60px 0;
    }
    
    .recommendations h2,
    .development-text h2,
    .customer-service h2 {
        font-size: 28px;
    }
} 