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

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #1e293b;
    background-color: #f8fafc;
    scroll-behavior: smooth;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 科技风格背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.02) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo i {
    color: #3b82f6;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* 导航栏样式 */
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.mobile-menu-btn:hover {
    background-color: rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

/* Hero区域样式 */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 30px 80px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Hero区域装饰线条 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(59, 130, 246, 0.12) 49%, rgba(59, 130, 246, 0.12) 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(59, 130, 246, 0.12) 49%, rgba(59, 130, 246, 0.12) 51%, transparent 51%);
    background-size: 50px 50px;
    opacity: 0.2;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e293b;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.hero h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, transparent);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: rgba(59, 130, 246, 0.6);
}

/* 功能介绍区域样式 */
.features {
    padding: 100px 30px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.features h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1e293b;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.features h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, transparent);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1e293b;
    text-align: center;
}

.feature-item {
    background: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    background: #ffffff;
}

.feature-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.25);
    transform: scale(1.05);
}

.feature-icon i {
    color: #3b82f6;
    font-size: 2.3rem;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1e293b;
    text-align: center;
}

.feature-item p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    text-align: center;
}

/* 公众号宣传区域样式 */
.wechat {
    padding: 80px 30px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.wechat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.wechat h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1e293b;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.wechat h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, transparent);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.wechat-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wechat-info {
    flex: 1;
    min-width: 300px;
}

.wechat-info p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.8;
}

.wechat-qrcode {
        flex: 0 0 auto;
    }

    .qrcode-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .qrcode-image {
        width: 300px;
        height: auto;
        background: #ffffff;
        border-radius: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.15);
        padding: 10px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .qrcode-image:hover {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
        transform: translateY(-5px);
    }

    .qrcode-img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
    }

/* 页脚样式 */
.footer {
    padding: 35px 30px;
    background: #ffffff;
    color: #64748b;
    text-align: center;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
}

.footer p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.footer p:last-child {
    margin-bottom: 0;
}

.beian-info a {
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.beian-info a:hover {
    color: #3b82f6;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* 响应式设计 - 平板设备 */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* 移动端导航菜单 */
    .nav.active .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px;
        gap: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
        animation: slideDown 0.3s ease-out;
        border-top: 1px solid rgba(59, 130, 246, 0.2);
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }

    @keyframes slideDown {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav.active .nav-item {
        width: 100%;
    }

    .nav.active .nav-link {
        display: block;
        text-align: center;
        padding: 12px;
        background: rgba(59, 130, 246, 0.08);
        border: 1px solid rgba(59, 130, 246, 0.2);
        color: #64748b;
    }

    .nav.active .nav-link:hover {
        color: #3b82f6;
        background: rgba(59, 130, 246, 0.15);
        border-color: rgba(59, 130, 246, 0.3);
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features {
        padding: 60px 20px;
    }

    .features h2 {
        font-size: 1.9rem;
        margin-bottom: 35px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .wechat {
        padding: 60px 20px;
    }

    .wechat h2 {
        font-size: 1.7rem;
    }

    .wechat-content {
        gap: 35px;
    }

    .qrcode-image {
        width: 220px;
        padding: 8px;
    }

    .qrcode-image:hover {
        transform: translateY(0);
    }
}

/* 响应式设计 - 移动设备 */
@media (max-width: 480px) {
    .header .container {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1.8rem;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .btn-primary {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .features h2 {
        font-size: 1.6rem;
    }

    .feature-item {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
    }

    .feature-icon i {
        font-size: 2rem;
    }

    .feature-item h3 {
        font-size: 1.2rem;
    }

    /* 二维码样式 */
    .qrcode-image {
        width: 200px;
        padding: 6px;
    }

    .qrcode-image:hover {
        transform: translateY(0);
    }
}