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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
}

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

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

.nav-menu a:hover {
    color: #007aff;
}

/* 主页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 60px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

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

.btn-primary {
    background: #007aff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: white;
    color: #1d1d1f;
    transform: translateY(-2px);
}

/* 服务区域 */
.services {
    padding: 100px 0;
    background: #f5f5f7;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1d1d1f;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1f;
}

.service-card p {
    color: #86868b;
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1d1d1f;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: #f5f5f7;
    border-radius: 15px;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.contact-item p {
    color: #007aff;
    font-weight: 500;
}

/* 页脚 */
.footer {
    background: #1d1d1f;
    color: white;
    padding: 32px 0 28px 0;
    font-size: 14px;
    letter-spacing: 0.01em;
    border-top: 1px solid #232326;
}

.footer-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
}

.footer-left {
    flex: 1 1 0;
    min-width: 0;
    color: #b0b3b8;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    font-size: 14px;
}

.footer-beian {
    color: #b0b3b8;
    font-size: 14px;
    margin-right: 8px;
    opacity: 0.85;
}

.footer-link {
    color: #b0b3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    padding: 0 4px;
    border-radius: 4px;
}

.footer-link:hover {
    color: #007aff;
    background: rgba(0,122,255,0.08);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
    
    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .footer-right {
        justify-content: flex-start;
        gap: 12px;
    }
    .footer-left, .footer-beian, .footer-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        white-space: normal;
    }
    .footer-right {
        justify-content: flex-start;
        gap: 10px;
        font-size: 13px;
    }
    .footer-left, .footer-beian, .footer-link {
        font-size: 13px;
    }
} 