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

body {
    font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 顶部导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #1a365d;
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: #3498db;
}

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

.nav-menu li {
    margin-left: 30px;
}

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

.nav-menu a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner区域 */
.banner {
    background: linear-gradient(135deg, #1e2a4a 0%, #0c1428 100%) !important;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* 添加浮动光点 */
.banner-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.banner-particles::before,
.banner-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 2%),
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 2%),
        radial-gradient(circle at 70% 60%, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 2%),
        radial-gradient(circle at 30% 70%, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 2%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 2%);
    background-size: 150px 150px;
    animation: particlesMove 15s linear infinite;
}

.banner-particles::after {
    background-image: 
        radial-gradient(circle at 60% 40%, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0) 1.5%),
        radial-gradient(circle at 40% 60%, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0) 1.5%),
        radial-gradient(circle at 10% 80%, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0) 1.5%),
        radial-gradient(circle at 90% 10%, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0) 1.5%);
    background-size: 100px 100px;
    animation: particlesMove 10s linear infinite reverse;
}

/* 添加网格点效果 */
.banner-grid {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at center, rgba(52, 152, 219, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: fadeInOut 3s ease-in-out infinite;
    z-index: 1;
}

/* 添加连接线效果 */
.banner-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 2;
}

.banner-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    right: -50%;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,300 L200,250 L400,350 L600,200 L800,400 L1000,300 L1200,350' stroke='rgba(52, 152, 219, 0.2)' stroke-width='1' fill='none'/%3E%3Cpath d='M0,350 L200,300 L400,400 L600,250 L800,450 L1000,350 L1200,400' stroke='rgba(52, 152, 219, 0.1)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    animation: moveLinesHorizontal 15s linear infinite;
}

.banner-content {
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 24px;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background: #2980b9;
}

.cta-button .no-bold {
    font-weight: 400 !important;
    letter-spacing: 0;
}

/* 平台简介 */
.intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro-content {
    text-align: center;
}

.intro h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #3498db;
}

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

.intro-item {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.intro-item:hover {
    transform: translateY(-5px);
}

/* 服务优势 */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #3498db;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

/* 数据资源 */
.statistics {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e2a4a 0%, #0c1428 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 95%, rgba(52, 152, 219, 0.1) 100%),
        linear-gradient(0deg, transparent 95%, rgba(52, 152, 219, 0.1) 100%);
    background-size: 20px 20px;
    animation: moveGrid 10s linear infinite;
}

.statistics .container {
    position: relative;
    z-index: 1;
}

.statistics h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-card i {
    font-size: 40px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 合作流程 */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #3498db;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

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

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e2a4a 0%, #0c1428 100%) !important;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='800' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,200 L200,150 L400,250 L600,100 L800,200' stroke='rgba(52, 152, 219, 0.15)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    background-size: 800px 400px;
    animation: moveNetwork 20s linear infinite;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1e2a4a 0%, #0c1428 100%) !important;
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(52, 152, 219, 0.05) 100%),
        linear-gradient(0deg, transparent 98%, rgba(52, 152, 219, 0.05) 100%);
    background-size: 30px 30px;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-links h3,
.footer-qr h3 {
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.qr-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

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

/* 响应式设计 */
@media (max-width: 1024px) {
    .advantages-grid,
    .stats-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: block;
    }

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

    .banner h1 {
        font-size: 32px;
    }

    .banner p {
        font-size: 18px;
    }

    .advantages-grid,
    .stats-grid,
    .process-steps,
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .advantage-card,
    .stat-card,
    .step,
    .intro-item {
        padding: 20px;
    }

    .advantage-card i,
    .stat-card i {
        font-size: 32px;
    }

    .stat-number {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .advantages-grid,
    .stats-grid,
    .process-steps,
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .advantage-card,
    .stat-card,
    .step,
    .intro-item {
        padding: 15px;
    }

    .advantage-card i,
    .stat-card i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 24px;
    }

    .banner h1 {
        font-size: 28px;
    }

    .banner p {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .qr-placeholder {
        margin: 0 auto;
    }
}

/* 动画效果 */
@keyframes particlesMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 150px 150px;
    }
}

@keyframes moveLines {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes moveLinesHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

@keyframes moveNetwork {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -800px 0;
    }
}

/* 中央光球效果 */
.banner-orb {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(52, 152, 219, 0.6) 0%, 
        rgba(52, 152, 219, 0.3) 30%,
        rgba(52, 152, 219, 0.2) 50%, 
        transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(52, 152, 219, 0.4),
        0 0 100px rgba(52, 152, 219, 0.3),
        0 0 150px rgba(52, 152, 219, 0.2);
    animation: pulseOrb 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.banner-orb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulseOrbGlow 3s ease-in-out infinite alternate;
}

/* 动画效果 */
@keyframes pulseOrb {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes pulseOrbGlow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 确保内容在效果之上 */
.banner-content,
.statistics .container,
.cta-section .container,
.footer-content {
    position: relative;
    z-index: 1;
}

/* 为什么选择我们 */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.choose-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-10px);
}

.choose-card i {
    font-size: 2.5rem;
}

.choose-card h3 {
    margin: 15px 0;
    color: #333;
}

.choose-card p {
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 40px 0;
    }
    .choose-card {
        margin-bottom: 20px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    #floatingPartner {
        bottom: 10px;
        right: 10px;
    }

    #floatingPartner a {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* 页脚间距控制 */
footer {
    margin-top: 0 !important;
}

main {
    min-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
}

section:last-of-type {
    margin-bottom: 0;
}

/* 确保页面内容和页脚之间没有空隙 */
.container-fluid,
.container {
    margin-bottom: 0;
}

/* 移除页脚上方的默认边距 */
footer {
    margin-top: 0 !important;
} 