﻿:root {
    --primary-blue: #0d6efd;
    --dark-bg: #1a1a1a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-blue) !important;
}

/* 首屏横幅 */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0051d5 100%);
    color: white;
    padding: 80px 0;
}

    .hero-section h1 {
        font-size: 2.5rem;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }

.hero-image {
    max-width: 100%;
    height: auto;
}

.btn-apply {
    background-color: white;
    color: var(--primary-blue);
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    transition: transform 0.3s;
}

    .btn-apply:hover {
        transform: scale(1.05);
    }

/* 升级卡优点 */
.advantages-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.advantage-item {
    text-align: center;
    padding: 30px 15px;
    transition: transform 0.3s;
}

    .advantage-item:hover {
        transform: translateY(-10px);
    }

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.advantage-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.advantage-desc {
    /*font-size: 0.9rem;*/
    color: #666;
}

/* 套餐价格 */
.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 400px;
    margin: 0 auto;
}

.price-tag {
    background: linear-gradient(135deg, #0d6efd 0%, #0051d5 100%);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

    .price-features li {
        padding: 12px 0;
        border-bottom: 1px solid #e0e0e0;
        color: #555;
    }

.btn-order {
    width: 100%;
    background: linear-gradient(135deg, #0d6efd 0%, #0051d5 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 申请流程 */
.process-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0051d5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.step-desc {
    /*font-size: 0.9rem;*/
    color: #666;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #0d6efd;
    z-index: 1;
}

/* 常见问题 */
.faq-section {
    padding: 80px 0;
}

.accordion-button {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 500;
}

    .accordion-button:not(.collapsed) {
        background-color: var(--primary-blue);
        color: white;
    }

/* FAQ 自定义样式 */
.faq-container {
    width: 100%;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    overflow: hidden;
}

.faq-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    margin: 0;
}

    .faq-header:hover {
        background-color: #e9ecef;
    }

.faq-question {
    font-weight: 500;
    font-size: 1rem;
}

.faq-icon {
    font-size: 0.8rem;
    color: #6c757d;
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .faq-content.show {
        max-height: 200px; /* 足够容纳内容 */
    }

.faq-body {
    padding: 15px 20px;
    background-color: #fff;
    margin: 0;
}

/* 广电卡优势 */
.benefits-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

    .benefit-card:hover {
        transform: translateY(-10px);
    }

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0051d5 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    margin-bottom: 20px;
}

.benefit-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.benefit-desc {
    color: #666;
    line-height: 1.8;
}

/* 用户评价 */
.reviews-section {
    padding: 80px 0;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    border: 2px solid #dee2e6; /* 添加明显的边框 */
    transition: border-color 0.3s ease;
}

    .review-card:hover {
        border-color: #007bff; /* 鼠标悬停时边框变色，增强交互效果 */
    }

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.review-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.reviewer-name {
    font-weight: bold;
    color: #333;
}

/* 页脚 */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* 右侧固定按钮 */
.fixed-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fixed-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0051d5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    text-decoration: none;
    position: relative;
}

    .fixed-btn:hover {
        transform: scale(1.1);
        color: white;
    }

.wechat-popup {
    position: absolute;
    right: 70px;
    top: 0;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    width: 200px;
}

    .wechat-popup.show {
        display: block;
    }

.wechat-qr {
    width: 150px;
    height: 150px;
    background: #f0f0f0;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.wechat-id {
    text-align: center;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
}

    .wechat-id:hover {
        background: #e9ecef;
    }

#backToTop {
    display: none;
}

    #backToTop.show {
        display: flex;
    }

/* 移动端底部导航 */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 60px;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
    padding: 8px 0; /* 减少padding降低高度 */
    color: #666;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px; /* 减小间距 */
}

    .mobile-nav-item i {
        font-size: 20px; /* 减小图标大小 */
    }

    .mobile-nav-item span {
        font-size: 11px; /* 稍微减小字体大小 */
    }

    .mobile-nav-item:hover {
        color: var(--primary-blue);
    }

/* 用户评价轮播控制按钮调整 */
#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#reviewsCarousel .carousel-control-prev {
    left: -25px;
}

#reviewsCarousel .carousel-control-next {
    right: -25px;
}

/* 响应式轮播控制按钮 */
@media (max-width: 768px) {
    #reviewsCarousel .carousel-control-prev {
        left: 10px;
    }

    #reviewsCarousel .carousel-control-next {
        right: 10px;
    }
}

/* 移动端微信弹出层 */
.mobile-wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

    .mobile-wechat-modal.show {
        display: flex;
    }

.mobile-wechat-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 90%;
}

    .mobile-wechat-content .wechat-qr {
        width: 200px;
        height: 200px;
        margin: 20px auto;
    }

/* Section 标题 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 15px;
    }

    .section-title p {
        color: #666;
    }

/* 响应式 */
@media (max-width: 768px) {
    .fixed-buttons {
        display: none;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        z-index: 9999;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        align-items: center;
        justify-content: space-around;
    }

    .hero-section {
        padding: 40px 0;
    }

        .hero-section h1 {
            font-size: 1.8rem;
        }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .advantage-item {
        padding: 15px 10px;
    }

    .advantage-icon {
        margin-bottom: 10px;
    }

    .advantages-section,
    .pricing-section,
    .process-section,
    .faq-section,
    .benefits-section,
    .reviews-section {
        padding: 40px 0;
    }

    /* 确保图片适应移动端宽度 */
    img {
        max-width: 100%;
        height: auto;
    }

    /* 确保轮播图在移动端正常显示 */
    #reviewsCarousel {
        max-width: 100%;
        overflow: hidden;
    }

    /* 确保新闻卡片在移动端正常显示 */
    .news-card {
        max-width: 100%;
        overflow: hidden;
    }

    /* 调整移动端底部内边距，确保内容不被底部导航栏遮挡 */
    body {
        padding-bottom: 70px;
        overflow-x: hidden;
    }

    /* 确保所有容器在移动端不超出宽度 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    /* 确保导航栏在移动端不超出宽度 */
    .navbar {
        max-width: 100%;
        overflow: hidden;
    }

    /* 确保导航链接在移动端不超出宽度 */
    .navbar-nav {
        max-width: 100%;
        overflow: hidden;
    }
}
/*新闻*/
#news {
    padding: 40px 0;
}




.feature-check {
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
    font-size: 18px;
}