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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8fafc;
    overflow-x: hidden;
}

/* 粒子效果 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* 头部导航 */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 6px;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a:last-child {
    background: #108ee9;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(16, 142, 233, 0.2);
    height: 44px;
    display: flex;
    align-items: center;
}

.nav-links a:last-child:hover {
    background: #1a75ff;
    transform: translateY(-2px);
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
}

.btn-primary {
    background: #108ee9;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 142, 233, 0.2);
}

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

/* 通用卡片样式 */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 15px;
        padding: 8px 15px;
    }
} 

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #108ee9, #1a75ff);
    padding: 160px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* 首页英雄区特殊样式 */
.hero.hero-home {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1, .hero h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 20px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

/* 特性区域 */
.features, .process {
    padding: 100px 0;
    background: #fff;
}

.process {
    background: #f8fafc;
}

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

.section-title h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #108ee9, #1a75ff);
    transform: translateX(-50%);
}

.section-title p {
    color: #7f8c8d;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(16, 142, 233, 0.15);
}

.feature-card i {
    font-size: 36px;
    color: #108ee9;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin: 20px 0;
    color: #2c3e50;
    font-size: 24px;
}

.feature-card p {
    color: #7f8c8d;
}

/* 流程步骤 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e1e8ed;
    z-index: 1;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #108ee9;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* 套餐卡片 */
.packages {
    padding: 120px 0 80px;
    background: #fff;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.package-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(16, 142, 233, 0.15);
}

.package-card.popular::before {
    content: '热门';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 14px;
}

.package-name {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.package-price {
    font-size: 36px;
    color: #108ee9;
    margin-bottom: 30px;
    font-weight: bold;
}

.package-price small {
    font-size: 16px;
    color: #7f8c8d;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    margin-bottom: 15px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.package-features i {
    color: #108ee9;
    font-size: 16px;
}

.package-button {
    display: inline-block;
    padding: 12px 30px;
    background: #108ee9;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 142, 233, 0.2);
}

.package-button:hover {
    background: #1a75ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 142, 233, 0.3);
}

/* 联系我们页面 */
.contact-section {
    padding: 120px 0 80px;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.contact-info-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8ed;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-card h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #108ee9;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #7f8c8d;
}

.contact-item i {
    font-size: 24px;
    color: #108ee9;
    width: 40px;
    text-align: center;
}

/* 页脚 */
.footer {
    background: #1e1e2d;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: #1e1e2d;
    border-radius: 50% 50% 0 0;
}

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

.footer-section h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #108ee9;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links i {
    font-size: 14px;
    color: #108ee9;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: #108ee9;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* 二维码 */
.qrcode-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.qrcode-wrapper {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.qrcode-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 按钮样式 */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-button.primary {
    background: #fff;
    color: #108ee9;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    background: #f8f9fa;
}

.cta-button.secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.cta-button i {
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* 动画 */
@keyframes wave {
    0% { transform: translateX(0); }
    50% { transform: translateX(-5%); }
    100% { transform: translateX(0); }
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .packages-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1, .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .features-grid, .packages-grid, .process-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
} 

/* 小程序标签样式 */
.nav-links .mini-program {
    position: relative;
}

.nav-links .mini-program::after {
    content: '小程序';
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 12px;
    color: #fff;
    font-weight: normal;
    background-color: #ff4d4f;
    padding: 2px 6px;
    border-radius: 10px;
    transform: scale(0.8);
    box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
}

/* 代理要求区域 */
.requirements {
    background: #f8fafc;
}

.requirements .feature-card {
    border: 1px solid #e1e8ed;
    background: #fff;
}

.requirements .feature-card i {
    color: #ff4d4f;
}

.requirements .feature-card:hover {
    border-color: #ff4d4f;
    box-shadow: 0 8px 24px rgba(255, 77, 79, 0.15);
}

/* 代销优势布局 */
.features .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.reseller-features .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 992px) {
    .features .features-grid,
    .reseller-features .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .features .features-grid,
    .reseller-features .features-grid {
        grid-template-columns: 1fr !important;
    }
} 

.footer .qrcode-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: -20px;
}

.footer .qrcode-wrapper img {
    width: 180px;
    height: auto;
} 

.nav-links .hidden-link {
    display: none;  /* 隐藏菜单项 */
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 6px;
    position: relative;
    letter-spacing: 0.5px;
} 