/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顶部导航样式 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, #FF6B6B, #FF8E53);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* 主banner区域样式 */
.hero {
    margin-top: 70px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.apply-btn {
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}

.apply-btn:hover {
    transform: translateY(-3px);
}

/* 核心优势样式 */
.advantages {
    padding: 80px 20px;
    background: #f8f9fa;
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.advantage-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* 产品服务样式 */
.products {
    padding: 80px 20px;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.product-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.product-info li {
    margin-bottom: 10px;
    color: #666;
}

.product-btn {
    width: 100%;
    padding: 12px;
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-btn:hover {
    background: #ff5252;
}

/* 申请流程样式 */
.process {
    padding: 80px 20px;
    background: #f8f9fa;
}

.process h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    text-align: center;
}

.step img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* 新闻资讯样式 */
.news {
    padding: 80px 20px;
}

.news h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.news-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    margin: 10px 0;
}

/* 合作伙伴样式 */
.partners {
    padding: 80px 20px;
    background: #f8f9fa;
}

.partners h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.partner-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.partner-grid img {
    width: 100%;
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-grid img:hover {
    filter: grayscale(0%);
}

/* 页脚样式 */
.footer {
    background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 0 20px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #fff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section a:hover,
.icp:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-section p,
.footer-section a,
.footer-bottom p,
.icp {
    color: rgba(255, 255, 255, 0.9);
}

.icp {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.icp:hover {
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .footer {
        padding: 40px 0 80px; /* 底部预留空间给移动端底部导航条 */
    }
}

/* 移动端底部导航条 - 默认隐藏 */
.mobile-bar {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 隐藏PC端导航菜单 */
    .nav-menu {
        display: none;
    }

    /* 调整网格布局 */
    .advantage-grid,
    .product-grid,
    .process-steps,
    .news-grid,
    .partner-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* 显示移动端底部导航条 */
    .mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #000;
        color: white;
        padding: 15px 20px;
        justify-content: space-between;
        align-items: center;
        z-index: 1000;
    }

    .enter-btn {
        background: #FF6B6B;
        color: white;
        border: none;
        padding: 8px 20px;
        border-radius: 5px;
        cursor: pointer;
    }

    /* 调整其他元素间距和大小 */
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .sections h2 {
        font-size: 28px;
    }
}