/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #165DFF;
    --background-white: #FFFFFF;
    --background-gray: #F7F8FA;
    --text-dark: #1D1D1F;
    --text-gray: #86868B;
    --border-color: #E5E5E7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    background: var(--background-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-login {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white !important;
    border-radius: 20px;
    transition: opacity 0.3s ease;
}

.btn-login:hover {
    opacity: 0.9;
}

/* Hero 区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #F7F8FA 0%, #E8F4FF 100%);
    padding: 120px 24px 80px;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1D1D1F 0%, #165DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: -0.5px;
}

/* 服务模块 */
.services {
    padding: 120px 0;
    background: var(--background-white);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--background-gray);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    background: white;
    box-shadow: 0 8px 32px rgba(22, 93, 255, 0.15);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.service-icon svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.service-link:hover {
    opacity: 0.8;
}

/* 关于我们 */
.about {
    padding: 120px 0;
    background: var(--background-gray);
    text-align: center;
}

.about-text {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 公众号二维码 */
.wechat-qr {
    margin-top: 60px;
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.qr-text {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-gray);
}

/* 底部 */
.footer {
    padding: 40px 0;
    background: var(--background-white);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-gray);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .service-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 12px;
    }

    .nav-menu a:not(.btn-login) {
        display: none;
    }

    .btn-login {
        display: block;
    }
}
.footer .icp { font-size: 12px; color: #999; margin-top: 10px; }
