/* ========================================
   为什么选多端板块样式
   ======================================== */
.multi-end-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #f0f0f0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #212529;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* 左侧文案 */
.text-content {
    flex: 1;
}

.text-content .point {
    margin-bottom: 30px;
}

.text-content .point h3 {
    font-size: 1.3rem;
    color: #212529;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.text-content .point p {
    font-size: 1rem;
    color: #495057;
    line-height: 1.7;
}

.highlight {
    color: #e44d26; /* 强调色，如橙色或红色 */
    font-weight: bold;
}

/* 右侧图示 */
.visual-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px dashed #dee2e6;
}

.box {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    min-width: 140px;
}

.box .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.box p {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.box small {
    color: #888;
    font-size: 0.85rem;
}

.arrow {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: bold;
}

.tech-tag {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6c757d;
    background: #e9ecef;
    padding: 5px 15px;
    border-radius: 20px;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    .diagram {
        flex-direction: column;
    }
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}
/* ========================================
   小程序功能模块展示样式
   ======================================== */
.features-section {
    padding: 80px 0;
    background-color: #ffffff;
}

/* Tab 切换按钮样式 */
.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.tab-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* 功能内容区 */
.feature-content {
    position: relative;
}

.tab-pane {
    display: none; /* 默认隐藏 */
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block; /* 显示激活的面板 */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 功能网格卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.feature-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.07);
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #212529;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}
/* ========================================
   小程序报价参考板块样式
   ======================================== */
.price-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #212529;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* 固定成本说明 */
.fixed-cost-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 50px;
    font-size: 0.95rem;
}

.fixed-cost-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.fixed-cost-box ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.fixed-cost-box li {
    color: #495057;
}

/* 价格卡片容器 */
.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.price-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

/* 推荐标签 */
.recommended-tag {
    position: absolute;
    top: 15px;
    right: -35px;
    background: #ff4757;
    color: #fff;
    padding: 5px 40px;
    font-size: 0.85rem;
    transform: rotate(45deg);
}

/* 卡片头部 */
.card-header {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.card-header h4 {
    font-size: 1.4rem;
    color: #212529;
    margin-bottom: 10px;
}

.card-header .price {
    font-size: 1.8rem;
    color: #007bff;
    font-weight: 700;
}

.card-header .price span {
    font-size: 1rem;
    color: #6c757d;
    font-weight: normal;
}

/* 卡片主体 */
.card-body {
    padding: 20px;
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-body li {
    padding: 8px 0;
    color: #495057;
    border-bottom: 1px dashed #eee;
}

.card-body li:last-child {
    border-bottom: none;
}

/* 卡片底部 */
.card-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.btn-price {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #007bff;
    color: #007bff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-price:hover {
    background: #007bff;
    color: #fff;
}

/* 备注 */
.price-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #6c757d;
}
/* ========================================
   小程序开发流程时间轴样式
   ======================================== */
.process-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

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

.section-header h2 {
    font-size: 2.2rem;
    color: #212529;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* 时间轴主体 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* 中间的竖线 */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

/* 时间轴项目 */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

/* 图标样式 */
.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1;
    top: 15px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #007bff;
}

/* 内容卡片 */
.timeline-content {
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    border: 1px solid #e9ecef;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #212529;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 10px;
}

.timeline-content .duration {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 左右交替布局 */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px; /* 图标对齐中线 */
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px; /* 图标对齐中线 */
}

/* 最后一个项目的特殊处理 */
.timeline-item.last-item .timeline-icon {
    background-color: #28a745; /* 绿色表示完成 */
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #28a745;
}

/* 底部 CTA */
.process-cta {
    text-align: center;
    margin-top: 60px;
}

.process-cta p {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 20px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 20px;
    }
}
/* ========================================
   小程序开发 FAQ 手风琴样式
   ======================================== */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}


.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #212529;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* 手风琴容器 */
.faq-accordion {
    border-radius: 8px;
    overflow: hidden;
}

/* 单个 FAQ 项目 */
.faq-item {
    border: 1px solid #e9ecef;
    margin-bottom: -1px; /* 合并边框 */
}

/* 问题按钮 */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

/* 激活状态下的图标旋转 */
.faq-item.active .faq-question .icon {
    transform: rotate(45deg); /* 将 + 变成 x */
}

/* 答案区域 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #f8f9fa;
}

.faq-answer p {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #495057;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 10px;
    color: #495057;
}

.faq-answer li {
    margin-bottom: 5px;
}

/* 激活状态下展开 */
.faq-item.active .faq-answer {
    max-height: 500px; /* 设置一个足够大的值 */
    padding: 20px 25px;
}
/* 父级进入视口后，子项依次显示 */
.scroll-animate-parent.is-active .faq-item {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-parent.is-active .faq-item:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate-parent.is-active .faq-item:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate-parent.is-active .faq-item:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate-parent.is-active .faq-item:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate-parent.is-active .faq-item:nth-child(5) { transition-delay: 0.5s; }
.scroll-animate-parent.is-active .faq-item:nth-child(6) { transition-delay: 0.6s; }