:root {
    --primary-color: #c62828;
    --primary-dark: #8e0000;
    --primary-light: #ffebee;
    --secondary-color: #d32f2f;
    --secondary-light: #ef9a9a;
    --accent-color: #ff5722;
    --accent-light: #ffccbc;
    --light-bg: #fef6f6;
    --card-bg: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --soft-border: #ffcdd2;
    --shadow-elevation: 0 6px 20px rgba(198, 40, 40, 0.08);
    --shadow-hover: 0 12px 28px rgba(198, 40, 40, 0.15);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 全局链接样式 */
.tag-page-container a {
    text-decoration: none;
    color: #787171;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.tag-page-container a:hover {
    color: var(--primary-dark);
}

.tag-page-container a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.tag-page-container a:hover::after {
    width: 100%;
}

/* 容器和布局 */
.tag-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

/* 头部样式优化 */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 25px 30px;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.1);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

/* 面包屑导航 */
.breadcrumb {
    background: linear-gradient(to right, #fff5f5, #ffffff);
    padding: 16px 30px;
    font-size: 0.95em;
    border-bottom: 1px solid var(--soft-border);
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.04);
}

.breadcrumb a {
    color: var(--secondary-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

/* 英雄区域 */
.tag-hero-section {
    padding: 50px 0 40px;
    margin-bottom: 10px;
    text-align: center;
}

.tag-title {
    font-size: 3.2em;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.tag-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.tag-hero-section .hero-section-p {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 内容区域 */
.editor-content-1 {
    font-size: 16px;
    color: var(--text-color);
    padding: 30px;
    background: linear-gradient(to right, var(--primary-light) 0%, #ffeaea 100%);
    border-radius: var(--radius);
    line-height: 32px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-elevation);
    margin-bottom: 40px;
    transition: var(--transition);
}

.editor-content-1:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.editor-content-1 strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* 内容矩阵布局 */
.content-matrix {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 380px;
}

/* 编辑器模块 */
.editor-module {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition);
    border: 1px solid rgba(255, 205, 210, 0.5);
    font-size: 16px;
}

.editor-module:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}

.editor-module h2 {
    font-size: 1.8em;
    color: var(--primary-dark);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 15px;
    margin: 0 0 25px 0;
    font-weight: 700;
    position: relative;
}

.editor-module h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.editor-module h3,
.editor-module h4 {
    color: var(--primary-dark);
    margin: 25px 0 15px;
    font-weight: 700;
    font-size: 1.5em;
    position: relative;
    padding-left: 20px;
}

.editor-module h3::before,
.editor-module h4::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 0.8em;
    top: 2px;
}

/* 列表样式 */
.editor-module ul {
    font-size: 16px;
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.editor-module li {
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid rgba(255, 205, 210, 0.5);
    position: relative;
    line-height: 1.6;
    transition: var(--transition);
}

.editor-module li:hover {
    background: rgba(255, 235, 238, 0.3);
    padding-left: 35px;
}

.editor-module li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    background: rgba(211, 47, 47, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

/* 表格样式优化 */
.info-column1 table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.06);
}

.info-column1 table th {
    background: #685d5d;
    color: white;
    font-weight: 600;
    padding: 16px;
    text-align: left;
}

.info-column1 table td {
    padding: 16px;
    border-bottom: 1px solid var(--soft-border);
    background: var(--card-bg);
    transition: var(--transition);
}

.info-column1 table tr:hover td {
    background: var(--primary-light);
}

.info-column1 table tbody tr:last-child td {
    border-bottom: none;
}

/* 产品预览区优化 */
.product-preview-section {
    padding: 60px 0;
    margin: 60px 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(255, 235, 238, 0.3));
}

.product-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.product-preview-section h2 {
    font-size: 2.4em;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
}

.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.preview-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 205, 210, 0.7);
}

.preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.preview-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preview-card:hover img {
    transform: scale(1.05);
}

.preview-card-content {
    padding: 24px;
}

.preview-card h3 {
    font-size: 1.3em;
    color: var(--primary-dark);
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.4;
}

.preview-card p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.preview-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95em;
    transition: var(--transition);
}

.preview-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.3);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* 特色模块样式 */
.editor-module1 {
    margin: 50px 0;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 205, 210, 0.8);
}

.editor-module1 h3,
.editor-module1 h4 {
    text-align: center;
    font-size: 2em;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.editor-module1 h3::after,
.editor-module1 h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

p.gs-p {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.jinfeng-ul-1 li {
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 25px;
    text-align: left;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.jinfeng-ul-1 li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.jinfeng-ul-1 li:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-light);
}

.jinfeng-ul-1 li::after {
    content: '✓';
    font-size: 1.2em;
    color: var(--secondary-color);
    background: rgba(211, 47, 47, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.jinfeng-ul-1 li span {
    font-size: 1.1em;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.5;
}

/* FAQ模块优化 - 重点改进 */
.editor-module-faq {
    background-color: #fcfcfc;
    padding: 15px 10px; 
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.editor-module-faq h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
}
.editor-module-faq ul {
    list-style: none;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden; 
}
.editor-module-faq li {
    padding: 15px;
    transition: background-color 0.3s ease;
}
.editor-module-faq li:first-child {
    font-weight: bold;
    cursor: pointer; 
    background-color: #f7f7f7;
    color: #333;
    border-bottom: 1px solid #ddd;
    position: relative; 
}
.editor-module-faq li:first-child::after {
    content: '+'; 
    position: absolute;
    right: 5px;
    font-size: 1.2em;
    line-height: 1;
    top: 50%; 
    transform: translateY(-50%); 
    transition: transform 0.3s ease, content 0.3s ease;
}
.editor-module-faq li:first-child.expanded::after {
    content: '-'; 
}
.editor-module-faq li:last-child {
    background-color: #ffffff;
    color: #555;
    max-height: 0; 
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.3s ease;
}
.editor-module-faq li:last-child.active {
    max-height: 500px; 
    padding: 15px;
    opacity: 1;
    line-height: 30px;
    font-size: 16px;
}





/* 更多信息模块 */
.more-info {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 205, 210, 0.8);
    box-shadow: var(--shadow-elevation);
    padding: 35px 40px;
    margin-top: 60px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.more-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.more-info:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.more-info h4 {
    color: var(--primary-dark);
    font-size: 1.8em;
    margin: 0 0 15px 0;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.more-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.more-info ul.gs-ul {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 30px;
    max-width: 800px;
}

.prodet-3.Auxil-related {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

h3.tit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 20px;
    padding-inline: 5px 30px;
    /* background: linear-gradient(135deg, #ffebee 0%, var(--primary-light) 100%); */
    color: var(--primary-dark);
    /* border: 1px solid rgba(198, 40, 40, 0.2); */
    border-radius: var(--radius-sm);
    font-weight: 400;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

h3.tit:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(198, 40, 40, 0.2);
    border-color: transparent;
}

h3.tit::before {
    content: '#';
    color: inherit;
    opacity: 0.7;
}

/* 响应式设计优化 */
@media (max-width: 1200px) {
    .tag-page-container {
        padding: 0 25px 50px;
    }
    
    .content-matrix {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .tag-title {
        font-size: 2.8em;
    }
    
    .product-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .jinfeng-ul-1 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .editor-module-faq h4 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .tag-page-container {
        padding: 0 20px 40px;
    }
    
    header {
        padding: 20px 25px;
    }
    
    .breadcrumb {
        padding: 15px 25px;
    }
    
    .tag-title {
        font-size: 2.2em;
    }
    
    .tag-hero-section {
        padding: 40px 0 30px;
    }
    
    .editor-module,
    .editor-module1,
    .editor-module-faq,
    .more-info {
        padding: 25px 20px;
    }
    
    .editor-content-1 {
        padding: 25px 20px;
    }
    
    .product-preview-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .jinfeng-ul-1 {
        grid-template-columns: 1fr;
    }
    
    .content-matrix {
        gap: 25px;
    }
    
    .editor-module-faq {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 18px 50px 18px 25px;
        font-size: 1em;
    }
    
    .faq-question::before {
        left: 10px;
    }
    
    .faq-question::after {
        right: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px 25px 25px 45px;
    }
}

@media (max-width: 480px) {
    .tag-title {
        font-size: 1.8em;
    }
    
    .tag-hero-section .hero-section-p {
        font-size: 1.1em;
    }
    
    .editor-module h2 {
        font-size: 1.5em;
    }
    
    .editor-module h3,
    .editor-module h4 {
        font-size: 1.3em;
    }
    
    .product-preview-section h2 {
        font-size: 1.8em;
    }
    
    .editor-module1 h3,
    .editor-module1 h4,
    .editor-module-faq h4 {
        font-size: 1.6em;
    }
    
    .editor-module-faq h4::before {
        width: 40px;
        height: 40px;
        font-size: 1em;
        top: -5px;
    }
    
    .preview-card-content {
        padding: 20px;
    }
    
    .prodet-3.Auxil-related {
        justify-content: center;
    }
    
    h3.tit {
        flex: 1;
        min-width: 140px;
        justify-content: center;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(198, 40, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
    }
}

.editor-module,
.preview-card,
.jinfeng-ul-1 li,
.faq-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.faq-item.active .faq-question::after {
    animation: pulseRed 2s infinite;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #fff5f5;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* 打印样式 */
@media print {
    .tag-page-container a::after,
    .preview-card a,
    h3.tit {
        background: none !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    .editor-module:hover,
    .preview-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .editor-module-faq::before,
    .more-info::before {
        display: none;
    }
}

/* 自定义标题样式 */
h4 {
    font-size: 30px;
    color: var(--primary-dark);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin: 25px 0;
}

h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

h3.singban1 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--soft-border);
}

h3.singban1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--accent-color);
}

h3.title {
    font-weight: 800;
    font-size: 22px;
}

p.gs-p, ul.gs-ul {
    font-size: 16px;
    line-height: 30px;
}