/* ========================================
   知识产权服务矩阵板块样式
   ======================================== */
.ip-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.4s 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: #ffc107;
    background: linear-gradient(135deg, #fff9e6, #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;
    }
}
/* ========================================
   知识产权流程时间轴（静态版）
   ======================================== */
.ip-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;
    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;
}

/* 移动端适配 */
@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;
    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; }