/* ========================================
   新媒体服务矩阵板块样式
   ======================================== */
.newmedia-matrix-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;
}

/* 矩阵网格 */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* 单个矩阵卡片 */
.matrix-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.matrix-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
    border-color: #007bff;
}

/* 热门标签 */
.ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    background: #ff4757;
    color: #fff;
    padding: 5px 40px;
    font-size: 0.75rem;
    transform: rotate(45deg);
}

/* 图标 */
.matrix-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* 标题 */
.matrix-card h3 {
    font-size: 1.3rem;
    color: #212529;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
}

/* 列表 */
.matrix-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
}

.matrix-card li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #495057;
    border-bottom: 1px dashed #e0e0e0;
}

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

/* 按钮 */
.btn-matrix {
    display: inline-block;
    padding: 10px 25px;
    background: #007bff;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-matrix:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* 高亮卡片 */
.highlight-card {
    border-color: #e83e8c;
    background: linear-gradient(135deg, #fff0f3, #ffffff);
}
/* ========================================
   为什么选择昌码 - 新媒体 样式
   ======================================== */
.why-us-section {
    padding: ：80px 0;
    background-color: #f8f9fa;
}

.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;
}

/* 左右分栏 */
.why-us-wrapper {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

/* 左侧核心差异 */
.left-content {
    flex: 1;
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.left-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.lead-text {
    font-size: 1rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 25px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    padding: 10px 0;
    color: #495057;
    border-top: 1px dashed #eee;
    line-height: 1.6;
}

.check-list li:first-child {
    border-top: none;
}

/* 右侧优势卡片 */
.right-cards {
    flex: 1;
    display: grid;
    gap: 20px;
    align-content: start;
}

.why-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.07);
    border-color: #007bff;
}

.why-card .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.why-card h4 {
    font-size: 1.1rem;
    color: #212529;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .why-us-wrapper {
        flex-direction: column;
    }
}
/* ========================================
   新媒体代运营服务流程板块样式
   ======================================== */
.newmedia-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;
}

/* 漏斗容器 */
.process-funnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ========================================
   新媒体流程 - 对齐修正版
   ======================================== */

.process-step {
    display: flex;
    align-items: flex-start; /* ✅ 关键：顶部对齐 */
    gap: 30px;
    max-width: 800px;
    width: 100%;
    padding: 25px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    z-index: 2;
}

/* 图标 */
.step-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

/* 内容 */
.step-content {
    text-align: left; /* ✅ 强制左对齐 */
}

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

.step-content p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* 连接箭头 */
.connector {
    font-size: 2rem;
    color: #adb5bd;
    margin: -5px 0;
    position: relative;
    z-index: 0;
}

/* ✅ 移动端：依然左对齐 */
@media (max-width: 768px) {
    .process-step {
        flex-direction: row; /* ✅ 不改方向，保持左右结构 */
        align-items: flex-start;
    }

    .step-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .connector {
        display: none; /* 小屏可隐藏箭头，更清爽 */
    }
}
/* ========================================
   新媒体 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;
    background: #fff;
}

/* 问题按钮 */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #fff;
    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: #f8f9fa;
}

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

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

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

.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; }