/* 基础样式 */
:root {
    --primary: #0a5e9c;
    --secondary: #00a3e0;
    --accent: #00c0ff;
    --dark: #1a2a4a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Noto Sans SC', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f8fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 192, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

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

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

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

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

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

.logo img {
    height: 50px;
    margin-right: 12px;
}

.logo h1 {
    font-size: 26px;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover:after {
    width: 100%;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: white;
    padding-top: 100px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(0, 192, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

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

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-links li i {
    margin-right: 12px;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.footer-links a {
    color: #ddd;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-about p {
    color: #bbb;
    margin-bottom: 25px;
    line-height: 1.8;
}

.qr-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-code {
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
}

.qr-code img {
    width: 120px;
    height: 120px;
    display: block;
}

.qr-text {
    color: #bbb;
    font-size: 14px;
    max-width: 150px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    color: #aaa;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

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

.friend-links a {
    color: #aaa;
    transition: var(--transition);
}

.friend-links a:hover {
    color: var(--accent);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .sub-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .hero-slide h2 {
        font-size: 42px;
    }
    
    .hero-slide p {
        font-size: 20px;
    }
    
    .about {
        flex-direction: column;
    }
    
    .service-row {
        flex-direction: column;
    }
    
    .main-service {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .hero {
        min-height: 700px;
    }
    
    .hero-slide h2 {
        font-size: 36px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .qr-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-slide h2 {
        font-size: 32px;
    }
    
    .hero-slide p {
        font-size: 18px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .main-service h3 {
        font-size: 28px;
    }
}