/* 全局样式 */
:root {
    --primary-color: #4e73df;
    --primary-dark: #3a56b7;
    --secondary-color: #1cc88a;
    --text-color: #333;
    --text-light: #666;
    --background-color: #f8f9fc;
    --white: #fff;
    --gray-100: #f8f9fc;
    --gray-200: #eaecf4;
    --gray-300: #dddfeb;
    --gray-400: #d1d3e2;
    --gray-500: #b7b9cc;
    --gray-600: #858796;
    --gray-700: #6e707e;
    --gray-800: #5a5c69;
    --gray-900: #3a3b45;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* 文本相关变量 */
    --font-base-size: 16px;
    --line-height-base: 1.9;
    --paragraph-spacing: 1.8rem;
    --heading-spacing: 2.2rem;
    --section-spacing: 3rem;
    --text-indent: 2em;
    --horizontal-padding: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: var(--line-height-base);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: var(--font-base-size);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 26px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(78, 115, 223, 0.2);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.btn-download {
    background-color: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-download:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 头部样式 - 简洁设计 */
.header-container {
    position: relative;
    width: 100%;
    z-index: 100;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 3px 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo h1 {
    font-size: 26px;
    color: var(--primary-color);
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* 首页英雄区样式 - 新样式 */
.hero-wrapper {
    position: relative;
    background: linear-gradient(120deg, #f8f9fc 0%, #eaecf4 100%);
    margin: 10px -30px;
    padding: 50px 40px 50px 50px;
    border-radius: 16px;
    overflow: hidden;
    flex: 1;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(78, 115, 223, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    margin-left: 0;
}

.hero-content h2 {
    font-size: 42px;
    line-height: 1.4;
    margin-bottom: 28px;
    color: var(--gray-800);
    text-align: left;
    width: 100%;
    letter-spacing: -0.01em;
}

.hero-content .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-content .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 8px;
    background-color: rgba(78, 115, 223, 0.2);
    z-index: -1;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 36px;
    max-width: 95%;
    text-align: left;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 500px;
}

.hero-backdrop {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 350px;
    height: 350px;
    background: rgba(28, 200, 138, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 180px;
    height: 180px;
    background: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* 优势部分样式 */
.benefits-section {
    margin: 30px 0;
}

.benefits-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--gray-800);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    background-color: var(--white);
    padding: 28px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
    min-height: 110px;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 12px;
    color: var(--primary-color);
}

.benefit-icon i {
    font-size: 24px;
}

.benefit-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.benefit-content p {
    color: var(--gray-600);
    font-size: 14px;
}

/* 流程部分样式 */
.process-section {
    margin: 45px 0;
    padding: 45px 0;
    background-color: var(--white);
    border-radius: 16px;
}

.process-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--gray-800);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 1100px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 25px 15px;
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.process-step:hover {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto 15px;
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.process-step p {
    color: var(--gray-600);
    font-size: 14px;
}

.process-connector {
    color: var(--gray-500);
    font-size: 20px;
}

.process-cta {
    text-align: center;
    margin-top: 30px;
}

/* 章节选择页面样式 */
.section {
    padding: 20px 0 45px;
    display: none;
    flex: 1;
    min-height: calc(100vh - 137px);
}

.section.active {
    display: flex;
    flex-direction: column;
}

h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.function-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex: 1;
    align-items: center;
    position: relative;
    z-index: 4;
}

.function-card {
    width: 350px;
    height: 250px;
    perspective: 1000px;
    margin: 15px;
    position: relative;
    transition: all 0.3s ease;
}

/* 添加视觉提示，让用户知道卡片是可点击的 */
.function-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.function-card:hover::after,
.function-card:active::after {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.function-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.card-front {
    background-color: var(--white);
}

.card-back {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
    text-align: center;
}

.card-front i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-front h3 {
    font-size: 20px;
    text-align: center;
}

.card-back p {
    margin-bottom: 25px;
}

.btn-select {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-select:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* 返回按钮统一样式 */
.back-button {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 99;
}

.back-button .btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.back-button .btn-secondary i {
    font-size: 11px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.back-button .btn-secondary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.back-button .btn-secondary:hover i {
    transform: translateX(-3px);
}

/* 不同页面的按钮主题化 */
#function-select .back-button {
    top: 90px; /* 功能选择页面的按钮位置向下移动 */
}

#function-select .back-button .btn-secondary {
    background-color: rgba(248, 249, 252, 0.95);
    border-color: var(--gray-300);
}

#create #back-to-select {
    background-color: rgba(248, 249, 252, 0.95);
    border-color: var(--gray-300);
}

#result #new-paper {
    background-color: rgba(248, 249, 252, 0.95);
    border-color: var(--gray-300);
}

#unlocked #new-paper-unlocked {
    background-color: rgba(248, 249, 252, 0.95);
    border-color: var(--gray-300);
}

#loading #cancel-loading {
    background-color: rgba(248, 249, 252, 0.95);
    border-color: var(--gray-300);
}

/* 稍微调整位置使视觉效果更佳 */
@media (min-width: 992px) {
    .back-button, #back-to-select, #new-paper, #new-paper-unlocked, #cancel-loading {
        border-radius: 25px;
        padding: 8px 16px;
    }
    
    #function-select .container h2,
    #create .container h2,
    #result .container h2,
    #unlocked .container h2,
    #loading .container h2 {
        margin-top: 30px;
    }
}

/* 标题和按钮间距调整 */
.section .container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 30px;
}

/* 修复特定页面标题位置 */
#function-select h2,
#create h2,
#result h2,
#unlocked h2,
#loading h2 {
    position: relative;
    z-index: 5;
}

/* 创建页面样式 */
#create {
    position: relative;
    background: linear-gradient(150deg, var(--gray-100) 0%, var(--white) 100%);
    overflow: hidden;
    padding-top: 15px;
}

#create::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(78, 115, 223, 0.05);
    border-radius: 50%;
    z-index: 1;
}

#create::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(28, 200, 138, 0.05);
    border-radius: 50%;
    z-index: 1;
}

#create .container {
    max-width: 1400px;
    width: 95%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 创建页面表单样式 */
.input-form {
    max-width: 1300px;
    width: 90%;
    margin: 10px auto 20px;
    background-color: var(--white);
    padding: 30px 45px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-form::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    opacity: 0.08;
    z-index: -1;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 16px;
}

.form-group .required {
    color: #e74a3b;
    margin-left: 4px;
    font-weight: bold;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    color: var(--text-color);
    transition: var(--transition);
    background-color: var(--gray-100);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.2);
    background-color: var(--white);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 14px 18px;
    padding-right: 40px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.3s ease;
    background-color: var(--gray-100);
    background-image: url("data:image/svg+xml;utf8,<svg fill='%236e707e' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.form-group select:hover {
    border-color: var(--gray-500);
    background-color: var(--white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.2);
    background-color: var(--white);
}

/* 设置下拉菜单高度 */
.form-group select option {
    padding: 8px;
}

/* 控制下拉菜单显示的条目数 */
select#research-field {
    height: 50px; /* 正常高度 */
}

/* 限制下拉菜单的最大高度 */
select#research-field option {
    padding: 5px 10px;
}

/* 覆盖浏览器默认下拉菜单高度 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select#research-field {
        background-image: url("data:image/svg+xml;utf8,<svg fill='%236e707e' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    }
    
    /* Chrome和Safari的样式 */
    select#research-field::-webkit-listbox {
        max-height: 150px !important;
    }
}

/* Firefox的样式 */
@-moz-document url-prefix() {
    select#research-field {
        overflow-y: auto;
        max-height: 50px;
    }
    
    select#research-field[size]:focus,
    select#research-field[open] {
        max-height: 150px;
    }
}

/* IE和Edge的样式 */
@supports (-ms-ime-align:auto) {
    select#research-field {
        padding-right: 20px;
    }
}

/* 滑动选择器样式 */
.slider-container {
    padding: 15px 0 8px;
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #4e73df, #1cc88a);
    outline: none;
    margin-bottom: 15px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: var(--gray-600);
    font-size: 15px;
    padding: 0 10px;
}

#ratio-value {
    font-weight: 500;
    color: var(--primary-color);
}

.button-group {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 30px;
}

#start-creating {
    font-size: 16px;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.2);
}

#start-creating:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(78, 115, 223, 0.25);
}

#create h2 {
    margin-top: 15px;
    font-size: 26px;
    margin-bottom: 5px;
    text-align: center;
}

#create .subtitle {
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
}

#selected-option {
    color: var(--primary-color);
    font-weight: 600;
}

#selected-option-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: rgba(78, 115, 223, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
}

#switch-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#switch-option:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

#switch-option i {
    font-size: 11px;
}

/* 加载页面样式 - 增强版 */
.loading-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 4;
    padding: 0 20px;
}

.loading-header {
    margin-bottom: 40px;
    position: relative;
}

.loading-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.loading-header p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: var(--gray-200);
    border-radius: 20px;
    margin: 30px 0 15px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 0.3s ease;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 1px 5px rgba(78, 115, 223, 0.3);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    animation: shining 1.5s infinite;
}

@keyframes shining {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.progress-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
}

#status-icon {
    font-size: 18px;
}

#progress-percent {
    color: var(--gray-800);
    font-weight: 600;
    font-size: 16px;
}

.loading-details-container {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.loading-details-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-details-title i {
    color: var(--primary-color);
}

#loading-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

#loading-details li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-200);
    font-size: 14px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

#loading-details li:last-child {
    border-bottom: none;
}

#loading-details li.completed {
    color: var(--gray-800);
}

#loading-details li.completed i {
    color: var(--secondary-color);
}

#loading-details li.pending {
    color: var(--gray-500);
}

#loading-details li.pending i {
    color: var(--primary-color);
    font-size: 12px;
}

/* 高级动画区域 */
.loading-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 10px auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.loading-animation.phase-transition {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* 粒子背景 */
#particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(0, 40px);
    }
    75% {
        transform: translate(-20px, -20px);
    }
}

/* 大脑连接动画 */
#brain-connections {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.brain-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 0 15px rgba(78, 115, 223, 0.3);
    animation: pulse-brain 3s infinite;
}

.brain-center i {
    font-size: 30px;
    color: var(--primary-color);
}

@keyframes pulse-brain {
    0%, 100% {
        box-shadow: 0 0 15px rgba(78, 115, 223, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(78, 115, 223, 0.5);
    }
}

.brain-connection {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(28, 200, 138, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.brain-connection i {
    font-size: 14px;
    color: var(--secondary-color);
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    background-color: rgba(28, 200, 138, 0.2);
    z-index: 1;
    transform-origin: 0 0;
}

.pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background-color: rgba(28, 200, 138, 0.4);
    animation: pulse-travel 2s linear forwards;
}

@keyframes pulse-travel {
    0% {
        left: 0;
        opacity: 0.6;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* 通知区域 */
#notifications-area {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phase-notification {
    background-color: rgba(28, 200, 138, 0.95);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slide-in 0.3s ease-out;
    transform-origin: right;
}

.phase-notification i {
    font-size: 18px;
}

.phase-notification.fade-out {
    animation: fade-out 0.5s ease-out forwards;
}

@keyframes slide-in {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fade-out {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(30px); opacity: 0; }
}

/* 完成动画 */
#completion-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: fade-in 0.5s ease-out;
}

.checkmark-circle {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 20px;
}

.checkmark-circle-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(28, 200, 138, 0.1);
    position: absolute;
    animation: scale-in 0.3s ease-out;
}

.checkmark {
    width: 60px;
    height: 120px;
    border-right: 6px solid var(--secondary-color);
    border-top: 6px solid var(--secondary-color);
    position: absolute;
    top: 55%;
    left: 50%;
    transform: scaleX(-1) rotate(135deg) translate(-50%, -50%);
    transform-origin: 0 0;
    animation: draw-checkmark 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.completion-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 20px;
    opacity: 0;
    animation: fade-up 0.5s ease-out 0.9s forwards;
}

@keyframes scale-in {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes draw-checkmark {
    0% { height: 0; opacity: 1; }
    100% { height: 60px; opacity: 1; }
}

@keyframes fade-up {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* 已完成状态 */
.loading-content.completed .progress-bar {
    width: 100% !important;
    background: var(--secondary-color);
}

.loading-content.completed .progress-status {
    color: var(--secondary-color);
}

.loading-content.completed .loading-animation {
    filter: brightness(1.1);
}

/* 结果页面样式 */
.result-preview {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 40px 0;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 4;
}

.result-header {
    padding: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.result-header h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.result-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.result-content {
    position: relative;
    padding: 0 25px;
}

.result-content.blurred {
    filter: blur(3px);
    user-select: none;
}

.content-section {
    padding: 25px 0;
    border-bottom: 1px solid var(--gray-200);
    flex: 1;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--gray-700);
}

.preview-text {
    color: var(--gray-700);
    line-height: 1.7;
}

.content-lock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.content-lock i {
    font-size: 48px;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.content-lock p {
    font-size: 18px;
    color: var(--gray-700);
    font-weight: 500;
}

.unlock-panel {
    padding: 25px;
    background-color: var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--gray-200);
}

.price-tag {
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-desc {
    font-size: 14px;
    color: var(--gray-600);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 30px;
    position: relative;
}

/* 解锁成功页面样式 */
.unlock-success {
    text-align: center;
    margin-bottom: 40px;
    flex: 0;
}

.unlock-success i {
    font-size: 64px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.result-content-full {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 40px 0;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 4;
}

.content-full {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.full-text {
    color: var(--text-color);
    line-height: 1.8;
    flex: 1;
}

.download-panel {
    padding: 25px;
    background-color: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

.download-panel p {
    font-weight: 500;
    margin-bottom: 15px;
}

.download-options {
    display: flex;
    gap: 15px;
}

/* 底部版权样式 */
footer {
    background-color: var(--gray-800);
    margin-top: auto;
}

.footer-copyright {
    padding: 15px 0;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}

.section .container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 20px;
}

.result-content-full .content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 表单验证样式 */
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.2);
    background-color: var(--white);
}

/* 表单验证提示框样式 */
.validation-tooltip {
    position: absolute;
    background-color: rgba(231, 74, 59, 0.95);
    color: white;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 5;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 250px;
    left: 0;
    display: none;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.validation-tooltip.show {
    display: block;
}

.validation-tooltip::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(231, 74, 59, 0.95);
}

/* 以下样式已由dropdown-fix.js处理，移除避免冲突 */

/* 加载页面的整体布局 */
#loading {
    background: linear-gradient(150deg, rgba(78, 115, 223, 0.05) 0%, rgba(28, 200, 138, 0.05) 100%);
}

#loading .container {
    max-width: 1400px;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.loading-layout {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    align-items: stretch;
    flex: 1;
}

.loading-sidebar {
    width: 300px;
    padding: 25px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.agent-workflow {
    margin-bottom: 30px;
}

.agent-workflow-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-workflow-title i {
    color: var(--primary-color);
}

.workflow-steps {
    position: relative;
    padding-left: 30px;
}

.workflow-step {
    position: relative;
    padding-bottom: 25px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.workflow-step.active {
    opacity: 1;
}

.workflow-step::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-300);
    z-index: 2;
}

.workflow-step.active::before {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(78, 115, 223, 0.2);
}

.workflow-step.completed::before {
    background-color: var(--secondary-color);
}

.workflow-step::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 16px;
    width: 1px;
    height: calc(100% - 16px);
    background-color: var(--gray-300);
}

.workflow-step:last-child::after {
    display: none;
}

.workflow-step-name {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 5px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.workflow-step.active .workflow-step-name {
    color: var(--primary-color);
    font-weight: 600;
}

.workflow-step.completed .workflow-step-name {
    color: var(--secondary-color);
}

.workflow-step-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.4;
}

.workflow-step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(78, 115, 223, 0.1);
    color: var(--primary-color);
    font-size: 12px;
}

.workflow-step.active .workflow-step-icon {
    background-color: rgba(78, 115, 223, 0.2);
}

.workflow-step.completed .workflow-step-icon {
    background-color: rgba(28, 200, 138, 0.1);
    color: var(--secondary-color);
}

.research-stats {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed var(--gray-200);
}

.stats-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-label {
    color: var(--gray-600);
    font-size: 14px;
}

.stat-value {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 14px;
}

/* 加载内容区域 */
.loading-content {
    flex: 1;
    text-align: left;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 4;
}

.loading-header {
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.loading-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.loading-header p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* 右侧可视化区域 */
.loading-visualization {
    width: 320px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.visualization-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 20px;
    text-align: center;
}

.loading-animation {
    margin: 0 auto 30px;
    height: 200px;
}

.data-visualization {
    margin-top: 30px;
}

.data-vis-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-vis-title i {
    color: var(--primary-color);
}

.keyword-cloud {
    background-color: var(--gray-100);
    border-radius: 8px;
    padding: 15px;
    min-height: 150px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.keyword {
    padding: 6px 12px;
    background: rgba(78, 115, 223, 0.1);
    border-radius: 15px;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.keyword.highlight {
    background: rgba(78, 115, 223, 0.2);
    transform: scale(1.1);
}

.keyword.secondary {
    background: rgba(28, 200, 138, 0.1);
    color: var(--secondary-color);
}

.citation-graph {
    background-color: var(--gray-100);
    border-radius: 8px;
    padding: 15px;
    height: 180px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.graph-node {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(78, 115, 223, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.graph-node.highlight {
    transform: scale(1.2);
    background-color: rgba(78, 115, 223, 0.4);
    z-index: 2;
}

.graph-line {
    position: absolute;
    height: 1px;
    background-color: rgba(78, 115, 223, 0.15);
    transform-origin: 0 0;
    z-index: 1;
}

/* 进度条与状态 */
.progress-container {
    width: 100%;
    height: 8px;
    background-color: var(--gray-200);
    border-radius: 20px;
    margin: 20px 0 15px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 0.3s ease;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 1px 5px rgba(78, 115, 223, 0.3);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    animation: shining 1.5s infinite;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* 当前任务详情区域 */
.loading-details-container {
    background-color: var(--gray-100);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0 20px;
    text-align: left;
    border: 1px solid var(--gray-200);
    flex: 1;
}

.loading-details-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 通知区域 */
#notifications-area {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content-blur {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    height: 75%; /* 修改高度，只覆盖下方75%的内容 */
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.7) 15%,
        rgba(255,255,255,0.85) 25%,
        rgba(255,255,255,0.95) 35%, 
        rgba(255,255,255,1) 50%);
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 30px;
    z-index: 10;
}

.btn-unlock {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
    margin-bottom: 15px;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.4);
    background: linear-gradient(135deg, #2196f3, #1565c0);
}

.btn-unlock i {
    margin-left: 8px;
    animation: wiggle 1.5s infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.unlock-note {
    margin-top: 10px !important;
    color: #666 !important;
    font-size: 14px !important;
    text-align: center;
}

.unlock-message {
    text-align: center;
    margin-bottom: 30px;
    width: 90%;
    max-width: 550px;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.unlock-message h4 {
    font-size: 22px;
    color: #1a73e8;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Markdown表格样式 */
.md-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #dfe2e5;
    overflow: auto;
    page-break-inside: avoid;
    font-size: 14px;
}

.md-table th {
    padding: 10px 15px;
    background-color: #f6f8fa;
    border: 1px solid #dfe2e5;
    font-weight: 600;
    text-align: left;
    color: #24292e;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.md-table td {
    padding: 10px 15px;
    border: 1px solid #dfe2e5;
    text-align: left;
    word-break: break-word;
}

.md-table-header {
    background-color: #f6f8fa;
}

.md-table-row-even {
    background-color: #ffffff;
}

.md-table-row-odd {
    background-color: #f6f8fa;
}

.md-table tr:hover {
    background-color: #f0f4ff;
}

/* Markdown内容样式增强 */
.markdown-content {
    line-height: 1.8;
    font-size: 16px;
    max-width: 100%;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

.markdown-content h1 {
    font-size: 28px;
    margin-top: var(--heading-spacing);
    margin-bottom: calc(var(--heading-spacing) / 2);
    font-weight: 600;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 10px;
    line-height: 1.4;
}

.markdown-content h2 {
    font-size: 24px;
    margin-top: var(--heading-spacing);
    margin-bottom: calc(var(--heading-spacing) / 2);
    font-weight: 600;
    line-height: 1.4;
}

.markdown-content h3 {
    font-size: 20px;
    margin-top: calc(var(--heading-spacing) * 0.8);
    margin-bottom: calc(var(--heading-spacing) / 2.5);
    line-height: 1.4;
}

.markdown-content p {
    margin-bottom: var(--paragraph-spacing);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
    color: #444;
    font-size: 16px;
}

.markdown-content ul, .markdown-content ol {
    padding-left: 30px;
    margin-bottom: var(--paragraph-spacing);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.markdown-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.markdown-content blockquote {
    border-left: 4px solid #dfe2e5;
    padding: 15px 20px;
    color: #6a737d;
    margin: calc(var(--paragraph-spacing) * 1.2) auto;
    background-color: rgba(0,0,0,0.02);
    border-radius: 0 4px 4px 0;
    width: 85%;
    font-style: italic;
}

.markdown-content blockquote p {
    margin-bottom: 10px;
    width: 100%;
}

.markdown-content blockquote p:last-child {
    margin-bottom: 0;
}

.result-section {
    margin-bottom: 40px;
    padding: 0 var(--horizontal-padding);
}

.result-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    border-left: 4px solid #1a73e8;
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.5;
}

.result-section h4 {
    font-size: 18px;
    font-weight: 500;
    color: #444;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #ddd;
    line-height: 1.4;
}

.result-section p {
    line-height: 2.0;
    margin-bottom: 22px;
    color: #444;
    font-size: 16px;
    padding: 0 10px;
    text-align: justify;
    text-justify: inter-word;
    text-indent: var(--text-indent);
    letter-spacing: 0.01em;
}

/* 列表样式优化 */
.result-section ul,
.result-section ol {
    padding-left: 30px;
    padding-right: 20px;
    margin-bottom: 25px;
}

.result-section li {
    margin-bottom: 15px;
    line-height: 1.9;
    padding-left: 5px;
}

/* 引用样式优化 */
.key-reference {
    background-color: #f8f9fa;
    border-left: 3px solid #fbbc05;
    padding: 18px 20px;
    border-radius: 0 6px 6px 0;
    margin: 25px 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.key-reference p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.7;
    text-indent: 0; /* 引用内容不缩进 */
}

/* 响应式优化 */
@media (min-width: 768px) {
    :root {
        --horizontal-padding: 20px;
    }
    
    .result-content {
        padding: 45px 50px;
    }
}

@media (min-width: 1200px) {
    :root {
        --horizontal-padding: 25px;
    }
    
    .result-container {
        max-width: 1200px;
        padding-left: 50px;
        padding-right: 50px;
    }
    
    .result-content {
        padding: 50px 60px;
    }
}
