/* 案例详情页样式 - PC端 */

html {
    scroll-behavior: smooth;
}

/* 动态背景球 */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px) saturate(1.2);
    opacity: 0.5;
    z-index: 0;
    transition: all 0.8s ease;
}

.bg-blob-1 {
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent-color) 100%);
    top: -120px;
    right: -120px;
    animation: float 7s ease-in-out infinite;
}

.bg-blob-2 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--gradient-end) 0%, var(--accent-color) 100%);
    bottom: 8%;
    left: -120px;
    animation: float 9s ease-in-out infinite reverse;
}

/* ========== 主体布局（侧边栏 + 内容区） ========== */
.blog-layout {
    position: relative;
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 60px;
    z-index: 1;
}

/* ========== 左侧边栏 ========== */
.blog-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.blog-sidebar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(5, 175, 181, 0.15);
}

.blog-categories {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-category-link {
    display: block;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid transparent;
}

.blog-category-link:hover {
    background: rgba(5, 175, 181, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.blog-category-link.active {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(5, 175, 181, 0.3);
}

.blog-recommend-card {
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-recommend-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.blog-recommend-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.1) 0%, rgba(109, 207, 222, 0.1) 100%);
    box-shadow: 0 0 0 4px rgba(5, 175, 181, 0.12);
}

.blog-recommend-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}

.blog-recommend-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== 右侧详情区 ========== */
.blog-main {
    flex: 1;
    min-width: 0;
}

/* 头部 */
.blog-detail-header {
    margin-bottom: 32px;
}

.blog-detail-header h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* 导读框 */
.blog-reading-guide {
    background: #f5f6f8;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.blog-reading-guide h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.blog-reading-guide ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

/* 提高特异性：防止被 .blog-detail-content ul 的 flex 覆盖 */
.blog-detail-content .blog-reading-guide ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    margin: 0;
}

.blog-reading-guide ul li {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.blog-detail-content .blog-reading-guide ul li {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: none;
}

.blog-detail-content .blog-reading-guide ul li:hover {
    background: none;
    transform: none;
}

.blog-reading-guide ul li a {
    color: inherit;
    text-decoration: none;
}
.blog-reading-guide ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-reading-guide ul li::before {
    content: '▸';
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 12px;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.blog-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-meta time {
    color: var(--text-muted);
}

/* 正文 */
.blog-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
}

.blog-detail-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.blog-detail-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(5, 175, 181, 0.15);
    scroll-margin-top: 90px;
}

.blog-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-detail-content ul li {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.blog-detail-content ul li:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(4px);
}

.blog-detail-content ul li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== 案例关联产品网格（核心改造：每行3个，响应式） ===== */
.case-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.case-product-card {
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(5, 175, 181, 0.12);
}

.case-product-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.1) 0%, rgba(109, 207, 222, 0.1) 100%);
    border-radius: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.case-product-card-icon .icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-product-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.case-product-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* 产品卡片描述：最多两行，超出省略 */
.case-product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    flex: 1;
}

/* 产品卡片 CTA 按钮 */
.case-product-card .btn-cta {
    margin-top: auto;
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.case-product-card .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 175, 181, 0.35);
}

.case-product-card .btn {
    margin-top: auto;
}

/* 保留旧版内联产品卡片样式（兼容 .blog-inline-product） */
.blog-inline-product {
    border-radius: 18px;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 32px 0;
}

.blog-inline-product-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.1) 0%, rgba(109, 207, 222, 0.1) 100%);
    border-radius: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.blog-inline-product h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.blog-inline-product p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-inline-product-icon .icon-img,
.blog-cta-product-icon .icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========== 文末转化组件 ========== */

/* 产品推荐卡片 */
.blog-cta-product {
    border-radius: 22px;
    padding: 36px;
    margin-top: 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.blog-cta-product-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.1) 0%, rgba(109, 207, 222, 0.1) 100%);
    border-radius: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.blog-cta-product h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.blog-cta-product p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* 轻咨询引导条 */
.blog-consult-bar {
    border-radius: 18px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.blog-consult-bar p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

/* ========== 联系销售模态框 ========== */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    position: relative;
    width: 380px;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 40px 36px 36px;
    box-shadow:
        0 16px 56px rgba(0, 0, 0, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-modal-overlay.active .contact-modal {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

.contact-modal-body {
    text-align: center;
}

.contact-modal-qr {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(5, 175, 181, 0.15);
    background: rgba(5, 175, 181, 0.03);
}

.contact-modal-qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-modal-name {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.contact-modal-tip {
    font-size: 14px;
    color: var(--text-muted);
}

.contact-modal-tip strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 动画 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1s { animation-delay: 0.2s; }
.delay-2s { animation-delay: 0.4s; }
.delay-3s { animation-delay: 0.6s; }

/* ========== 案例产品网格响应式 ========== */
@media (max-width: 1024px) {
    .blog-layout {
        padding: 100px 20px 60px;
        gap: 24px;
    }

    .blog-sidebar {
        width: 200px;
    }

    .blog-detail-header h1 {
        font-size: 30px;
    }

    /* 平板：产品网格 2 列 */
    .case-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .case-product-card {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        flex-direction: column;
        padding: 80px 16px 40px;
        gap: 20px;
    }

    .blog-sidebar {
        width: 100%;
        position: static;
    }

    .blog-categories {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }

    .blog-category-link {
        white-space: nowrap;
        padding: 8px 20px;
        font-size: 14px;
    }

    .blog-detail-header h1 {
        font-size: 26px;
    }

    .blog-detail-content h2 {
        font-size: 22px;
    }

    .blog-consult-bar {
        flex-direction: column;
        text-align: center;
    }

    .blog-inline-product {
        flex-direction: column;
    }

    /* 手机：产品网格 1 列 */
    .case-product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .case-product-card {
        padding: 22px 18px;
    }
}

/* ========== FAQ 问答区 ========== */

.faq-section {
    margin-top: 40px;
}

.faq-section .section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    transition: background 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: rgba(5, 175, 181, 0.05);
}

.faq-toggle {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 400;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 16px 24px 20px;
}

/* ========== 案例概览（导读框内） ========== */
.case-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin-bottom: 4px;
}

.case-overview-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.case-overview-label {
    color: var(--primary-color);
    font-weight: 600;
    white-space: nowrap;
    min-width: 42px;
}

.case-overview-value {
    color: var(--text-secondary);
}

.case-overview-tags {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.case-overview-tag {
    display: inline-block;
    padding: 3px 12px;
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.08) 0%, rgba(109, 207, 222, 0.08) 100%);
    border: 1px solid rgba(5, 175, 181, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ========== 痛点卡片列表 ========== */
.case-pain-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 24px;
}

.case-pain-card {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-pain-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.case-pain-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.25;
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.case-pain-body strong {
    font-size: 16px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.case-pain-body p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ========== 效果数据：大数字统计卡片 ========== */
.case-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0 28px;
}

.case-stat-card {
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.06) 0%, rgba(109, 207, 222, 0.04) 100%);
    border: 1px solid rgba(5, 175, 181, 0.12);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(5, 175, 181, 0.12);
}

.case-stat-num {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.case-stat-num small {
    font-size: 24px;
    font-weight: 600;
}

.case-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.case-stat-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ========== 效果数据：对比表格 ========== */
.case-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(5, 175, 181, 0.1);
}

.case-compare-table thead th {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 20px;
    text-align: left;
}

.case-compare-table thead th:first-child {
    border-radius: 16px 0 0 0;
}

.case-compare-table thead th:last-child {
    border-radius: 0 16px 0 0;
}

.case-compare-table tbody td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(5, 175, 181, 0.06);
    background: rgba(255, 255, 255, 0.5);
}

.case-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.case-compare-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 16px;
}

.case-compare-table tbody tr:last-child td:last-child {
    border-radius: 0 0 16px 0;
}

.case-compare-table tbody tr:hover td {
    background: rgba(5, 175, 181, 0.04);
}

.case-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* ========== 客户评价：对话气泡流 ========== */
.case-quote-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0 28px;
}

/* 单条气泡：宽幅限制 + 交替对齐 */
.case-quote-bubble {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 88%;
}

/* 奇数：左对齐（头像在左，气泡在右） */
.case-quote-bubble:nth-child(odd) {
    align-self: flex-start;
    flex-direction: row;
}

/* 偶数：右对齐（气泡在左，头像在右） */
.case-quote-bubble:nth-child(even) {
    align-self: flex-end;
    flex-direction: row-reverse;
}

/* ---------- 头像 ---------- */
.case-quote-avatar-wrap {
    flex-shrink: 0;
    margin-top: 4px;
}

.case-quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.1) 0%, rgba(109, 207, 222, 0.06) 100%);
    border: 2px solid rgba(5, 175, 181, 0.15);
}

/* ---------- 气泡主体 ---------- */
.case-quote-body {
    flex: 1;
    min-width: 0;
}

.case-quote-bubble-inner {
    padding: 18px 22px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 左侧气泡：浅灰底 + 左下小圆角（模拟尾巴） */
.case-quote-bubble:nth-child(odd) .case-quote-bubble-inner {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(5, 175, 181, 0.18);
    border-radius: 18px 18px 18px 6px;
}

/* 右侧气泡：品牌浅渐底 + 右下小圆角 */
.case-quote-bubble:nth-child(even) .case-quote-bubble-inner {
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.15) 0%, rgba(109, 207, 222, 0.1) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(5, 175, 181, 0.22);
    border-radius: 18px 18px 6px 18px;
}

.case-quote-bubble-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* ---------- 引用文字 ---------- */
.case-quote-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

/* ---------- 元信息 ---------- */
.case-quote-meta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 0 4px;
}

.case-quote-bubble:nth-child(odd) .case-quote-meta {
    justify-content: flex-start;
}

.case-quote-bubble:nth-child(even) .case-quote-meta {
    justify-content: flex-end;
}

.case-quote-role {
    font-weight: 600;
    color: var(--text-primary);
}

.case-quote-scene {
    color: var(--text-muted);
}

/* ========== 前后对比：双栏卡片 ========== */
.case-before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0 24px;
}

.case-before-card,
.case-after-card {
    border-radius: 18px;
    padding: 28px;
    transition: transform 0.3s ease;
}

.case-before-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.case-after-card {
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.06) 0%, rgba(109, 207, 222, 0.04) 100%);
    border: 1px solid rgba(5, 175, 181, 0.15);
}

.case-before-card:hover,
.case-after-card:hover {
    transform: translateY(-2px);
}

.case-before-card h4,
.case-after-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: var(--text-primary);
}

.case-before-card p,
.case-after-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 8px 0;
}

/* ========== 前后对比：维度对比行 ========== */
.case-compare-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

.case-compare-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.case-compare-row:hover {
    transform: translateX(4px);
}

.case-compare-dim {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    min-width: 100px;
    flex-shrink: 0;
}

.case-compare-bar-group {
    display: flex;
    flex: 1;
    gap: 12px;
}

.case-compare-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
}

.case-compare-bar-before {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.case-compare-bar-after {
    background: rgba(5, 175, 181, 0.06);
    border: 1px solid rgba(5, 175, 181, 0.15);
}

.case-compare-bar-label {
    font-weight: 600;
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.case-compare-bar-before .case-compare-bar-label {
    color: var(--text-muted);
}

.case-compare-bar-after .case-compare-bar-label {
    color: var(--primary-color);
}

.case-compare-bar-text {
    color: var(--text-secondary);
}

/* ========== 费用与时效卡片 ========== */
.case-cost-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 0 28px;
}

.case-cost-card {
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.04) 0%, rgba(109, 207, 222, 0.02) 100%);
    border: 1px solid rgba(5, 175, 181, 0.1);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-cost-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(5, 175, 181, 0.1);
}

.case-cost-icon {
    font-size: 28px;
    line-height: 1;
}

.case-cost-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-cost-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.case-cost-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== 响应式：案例统计/费用卡片 ========== */
@media (max-width: 1024px) {
    .case-stat-grid,
    .case-cost-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-before-after-grid {
        grid-template-columns: 1fr;
    }

    .case-compare-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .case-compare-bar-group {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .case-stat-grid,
    .case-cost-grid {
        grid-template-columns: 1fr;
    }

    .case-stat-num {
        font-size: 32px;
    }
}

/* ========== 流程对比图 ========== */
.case-flow-compare {
    display: flex;
    gap: 20px;
    margin: 20px 0 28px;
}

.case-flow-item {
    flex: 1;
    border-radius: 18px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-flow-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.case-flow-before {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.case-flow-after {
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.06) 0%, rgba(109, 207, 222, 0.04) 100%);
    border: 1px solid rgba(5, 175, 181, 0.2);
}

.case-flow-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.case-flow-chain {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.case-flow-chain span {
    white-space: nowrap;
}

.case-flow-arrow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
}

.case-flow-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.case-flow-tags span {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== 关键指标对比卡片（PC 适配） ========== */
.case-compare-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 18px 0;
}

.case-compare-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(5, 175, 181, 0.25);
    border-radius: 16px;
    padding: 20px 22px;
}

.case-compare-card-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(5, 175, 181, 0.15);
}

.case-compare-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.7;
}

.case-compare-card-row + .case-compare-card-row {
    margin-top: 6px;
}

.case-compare-card-before-label,
.case-compare-card-after-label {
    font-size: 12px;
    color: #999;
    min-width: 48px;
    flex-shrink: 0;
}

.case-compare-card-before {
    color: #999;
    text-decoration: line-through;
}

.case-compare-card-after {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

.case-compare-card-change {
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

.case-change-down {
    background: rgba(52, 211, 153, 0.15);
    color: #10b981;
}

.case-change-up {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ========== 文章配图区域 ========== */
.section-media {
    margin: 24px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.section-media img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .case-flow-compare {
        flex-direction: column;
    }

    .case-compare-cards {
        grid-template-columns: 1fr;
    }
}

/* ========== FAQ 日期标签 ========== */
.faq-date {
    margin-left: auto;
    padding-right: 12px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted, #999);
    white-space: nowrap;
}

/* ========== 评论日期标签 ========== */
.case-quote-date {
    font-size: 12px;
    color: var(--text-muted, #999);
    margin-left: 8px;
    white-space: nowrap;
}


/* ═══════════════════════════════════════════
 * [V2.22.1 统一] 卡片展示(features-grid) + 表格展示(spec-table) 组件样式
 * 从 product-detail-pc.css 同步，确保全站一致
 * ═══════════════════════════════════════════ */
.product-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.product-section .glass {
    padding: 44px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04);
    position: relative;
}

.product-section .glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

/* 特性卡片网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-6px);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.05);
}

.feature-card-icon {
    font-size: 40px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(5, 175, 181, 0.1) 0%, rgba(109, 207, 222, 0.1) 100%);
    border-radius: 20px;
    margin-bottom: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(5, 175, 181, 0.25));
}

.feature-card-icon .icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.8em; /* 3行 × 1.6 = 4.8em，确保卡片等高 */
}

/* 技术规格表 */
.spec-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
}

.spec-table thead th {
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(5, 175, 181, 0.05);
    border-bottom: 2px solid rgba(5, 175, 181, 0.15);
}

.spec-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.spec-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.spec-table tbody td {
    padding: 14px 24px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.spec-table tbody td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.spec-table tbody tr:hover td {
    background: rgba(5, 175, 181, 0.03);
}

.spec-table tbody tr:last-child td {
    border-bottom: none;
}


/* ═══════════════════════════════════════════
 * [V2.22.1 统一] Dynamic Zone 通用区块容器（pd-section/pd-image-text/pd-text-block/pd-image-block）
 * 从 product-detail-pc.css 同步，确保标题+正文/左图右文/纯文本/纯图片组件样式一致
 * ═══════════════════════════════════════════ */
.pd-section {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
 * 图文混排区块（左图右字 / 右图左字）
 * 适用场景：产品架构图、流程图、截图展示
 * 变体：.reverse 实现右图左字
 * ═══════════════════════════════════════════ */
.pd-image-text {
    display: flex;
    gap: 48px;
    align-items: center;
}

.pd-image-text.reverse {
    flex-direction: row-reverse;
}

.pd-image-text-media {
    flex: 0 0 45%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.pd-image-text-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.pd-image-text-body {
    flex: 1;
    min-width: 0;
}

.pd-image-text-body h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.pd-image-text-body p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ═══════════════════════════════════════════
 * 纯文本块
 * 适用场景：产品介绍长文、使用场景说明
 * ═══════════════════════════════════════════ */
.pd-text-block {
    max-width: 800px;
}

.pd-text-block h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.pd-text-block p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 16px;
}

.pd-text-block p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════
 * 纯图片块（无文字，适用于流程图、截图）
 * ═══════════════════════════════════════════ */
.pd-image-block {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.pd-image-block img {
    width: 100%;
    height: auto;
    display: block;
}
